ZGame::GetPing

Results 1 to 2 of 2
  1. #1
    Doggie And Rice. Military is offline
    MemberRank
    Jun 2009 Join Date
    Here and AboutLocation
    3,302Posts

    ZGame::GetPing

    I need ZGame::GetPing's Packet.


  2. #2
    Ecchi addicted adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    Re: ZGame::GetPing

    I found this from Jacob, don't know if will help you.
    Code:
    int GetPing(MUID *uidPlayer)
    {
        unsigned int nObj = NULL; 
        int pPing = 0;
        __asm {
            pushad
                mov eax, ZGetGameClientAddr
                call eax
                mov ecx, eax
                push uidPlayer
                call MMatchClient_FindPeerAddr
                mov nObj, eax
                popad
        }
        if(nObj != 0)
        {
            __asm {
                pushad
                    mov eax, pZGame
                    mov ecx, dword ptr ds:[eax+0x24]
                    mov edx, dword ptr ds:[eax+0x28]
                    add eax, 0x20
                    add edx, ecx
                    mov ecx, nObj
                    push edx
                    call MMatchInfo_GetPingAddr
                    mov pPing, eax
                    popad
            }
        }
        return pPing;
    }



Advertisement