• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Season2][Source] How to send packets (as client does) on versions 6.49 and 6.72

Junior Spellweaver
Joined
Nov 21, 2006
Messages
137
Reaction score
39
This is how you can send packets to the server as if it was the native client sending.

For V6.49:

Code:
void SendGamePacket(BYTE* lpaddress, WORD len)
{
    DWORD* baseaddrpacket = (DWORD*)[B]0x0089EE00[/B];
    DWORD* packetfunc = (DWORD*)[B]0x00451370[/B];

    memcpy((DWORD*)(*baseaddrpacket + 0x9C), lpaddress, len);                                                      *PWORD(*PDWORD(baseaddrpacket) + 0x4098) = len;

    __asm
    {
        pushad        mov esi, [baseaddrpacket]
        mov esi, [esi]
        lea ecx, [esi + 0x80BC]
        popad
        mov ecx, [baseaddrpacket]
        mov ecx, [ecx]        mov[ebp - 4], ecx
        mov ecx, [packetfunc]
        mov[ebp - 8], ecx
        push[ebp - 4]
        call dword ptr[ebp - 8]
    }
}

For V6.72:

Code:
void SendGamePacket(BYTE* lpaddress, WORD len)
{
    DWORD* baseaddrpacket = (DWORD*)[B]0x008DA670[/B];
    DWORD* packetfunc = (DWORD*)[B]0x004596A0[/B];

    memcpy((DWORD*)(*baseaddrpacket + 0x9C), lpaddress, len);                                                      *PWORD(*PDWORD(baseaddrpacket) + 0x4098) = len;

    __asm
    {
        pushad mov esi, [baseaddrpacket]
        mov esi, [esi]
        lea ecx, [esi + 0x80BC]
        popad
        mov ecx, [baseaddrpacket]
        mov ecx, [ecx] mov[ebp - 4], ecx
        mov ecx, [packetfunc]
        mov[ebp - 8], ecx
        push[ebp - 4]
        call dword ptr[ebp - 8]
    }
}


* I will post codes for version 8.92 and 9.23 later.

Thanks to @c4str0 for the original function.
 
Last edited:
Newbie Spellweaver
Joined
Feb 17, 2011
Messages
76
Reaction score
3
How can I get the package delivery address, I found a th with dragon and unicorn and tried it but the screen was minimized and distorted, since it does not count in the files to put the dragon and unicorn on me
 
Newbie Spellweaver
Joined
May 7, 2021
Messages
41
Reaction score
4
It would be good if you gave signs of life man!
 
Newbie Spellweaver
Joined
May 7, 2021
Messages
41
Reaction score
4
With the global situation around the disease ... one no longer knows if they are still ... or left to the other world. It's good to know about you.

Leo, Kimberly, and you... are the last hope of picking up the game ... and if illness takes them away ... I don't know what will become of the gunbound projects.

Happy new year!
 
Junior Spellweaver
Joined
Nov 21, 2006
Messages
137
Reaction score
39
With the global situation around the disease ... one no longer knows if they are still ... or left to the other world. It's good to know about you.

Leo, Kimberly, and you... are the last hope of picking up the game ... and if illness takes them away ... I don't know what will become of the gunbound projects.

Happy new year!

I am still alive :D pm me
 
Back
Top