Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: teK on September 10, 2005, 09:55 PM

Title: D2GS Help
Post by: teK on September 10, 2005, 09:55 PM
I need some information on D2GS packet 0x6D (Keep Alive).

heres the packet format:


6D B4 DD E6 13 52 00 00 00 00 00 00 00

(BYTE)  0x6D
(DWORD) GetTickCount
(DWORD) First byte has a value, the rest are nulls.
(DWORD) Null


wondering if anyone has any information on how the first byte in the 2nd dword is generated.

Thanks.


Title: Re: D2GS Help
Post by: dxoigmn on September 10, 2005, 11:33 PM
I have been looking into this recently and here are my findings. The first dword is just a tick count. The second dword is some value stored in memory right shited by 1. How that value is memory gets filled in I am still not sure. The last value seems is the "memory-checking capabilities" Trojan mentioned (http://forum.valhallalegends.com/phpbbs/index.php?topic=11756.msg123546#msg123546). If someone else wants to take a more in depth look at it, the function at offset 6FB23980 in D2Client is the bulk of the logic.