hmm? this?
./Gunz/ZGameClient.cpp - ZGameClient::OnResponsePeerRelay()
Code:
void ZGameClient::OnResponsePeerRelay(const MUID& uidPeer)
{
string strNotify = "Unknown Notify";
NotifyMessage(MATCHNOTIFY_NETWORK_NAT_ESTABLISH, &strNotify);
char* pszName = "UnknownPlayer";
MMatchPeerInfo* pPeer = FindPeer(uidPeer);
if (pPeer) pszName = pPeer->CharInfo.szName;
char szMsg[128];
sprintf(szMsg, "%s : from %s", strNotify.c_str(), pszName);
ZCharacter* pChar = ZGetCharacterManager()->Find( uidPeer);
if ( pChar && pChar->IsAdminHide())
return;
ZChatOutput(szMsg, ZChat::CMT_SYSTEM);
}
./system.mrs/strings.xml
Code:
<!-- notify.xml -->
<STR id="NOTIFY_10">Network initialization has failed.</STR>
<STR id="NOTIFY_11">Network port is in use.</STR>
<STR id="NOTIFY_15">NAT network connection configuration set.</STR>
<STR id="NOTIFY_51">The user is not found.</STR>
<STR id="NOTIFY_70">The character does not exist.</STR>
<STR id="NOTIFY_100">The stage already exists.</STR>
<STR id="NOTIFY_101">The stage does not exist.</STR>
<STR id="NOTIFY_110">The capacity for members has reached its limit.</STR>
<STR id="NOTIFY_150">The Chat Room has been created.</STR>
<STR id="NOTIFY_151">The Chat Room creation has failed.</STR>
<STR id="NOTIFY_152">The Chat Room already exists.</STR>
<STR id="NOTIFY_153">The Chat Room does not exist.</STR>
<STR id="NOTIFY_154">There is no Chat Room to participate in.</STR>
<STR id="NOTIFY_155">You cannot participate in the Chat Room.</STR>
<STR id="NOTIFY_156">Too many participants.</STR>
<STR id="NOTIFY_157">You are not participating in the chat room.</STR>
<STR id="NOTIFY_200">Speed hacking has been declared as having been used.</STR>
<STR id="NOTIFY_201">Use of memory hack has been declared.</STR>
<STR id="NOTIFY_251">Already registered as a friend</STR>
<STR id="NOTIFY_252">Not registered as a friend.</STR>
<STR id="NOTIFY_253">The list of friends is full.</STR>
<STR id="NOTIFY_255">Registered as friend.</STR>
<STR id="NOTIFY_256">Player has been removed from your friends list.</STR>
<STR id="NOTIFY_301">Your counterpart has rejected whispering.</STR>
<STR id="NOTIFY_302">Whispering has been rejected.</STR>
<STR id="NOTIFY_311">Your counterpart has rejected the invitation.</STR>
<STR id="NOTIFY_312">The invitation has been rejected.</STR>