Where can I find the NAT network connection ?

Results 1 to 3 of 3
  1. #1
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    Where can I find the NAT network connection ?

    Where can I find this NAT network connection from the Source?

    I mean, once the player join the stage, NAT network connection will execute to fix the agent error.
    Where can I find "NAT network connection" line from the source?


  2. #2
    Valued Member aV3PQmCJjM9L is offline
    MemberRank
    Jun 2013 Join Date
    100Posts

    Re: Where can I find the NAT network connection ?

    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>
    Last edited by aV3PQmCJjM9L; 17-06-13 at 08:37 PM. Reason: Fix misspelling class name.

  3. #3
    Be a kicker than cheater. cheaterastic is offline
    MemberRank
    Dec 2009 Join Date
    764Posts

    Re: Where can I find the NAT network connection ?

    Damn, I haven't noticed this Notify.xml
    BTW, thanks for answer.

    Damn myself. Been busy T_T.

    TY aV3PQmCJjM9L....
    Why is it your Forum Name is some kind of random? or Just dual login and accidentally the 2nd account replied?



Advertisement