Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[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
38
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:
Joined
Feb 17, 2011
Messages
75
Reaction score
1
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
 
Initiate Mage
Joined
May 7, 2021
Messages
41
Reaction score
4
It would be good if you gave signs of life man!
 
Initiate Mage
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
38
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