Valhalla Legends Forums Archive | Battle.net Bot Development | D2 Game Creation

AuthorMessageTime
LordNevar
Does anyone have any info on the packets involved in creating and starting a d2 game, does it end at 0xAE, or are there more to it? Or if anyone knows where to find more info about these packets that would be greatly appreciated.
August 28, 2004, 11:37 PM
Infamous
After packet 0xAE you send 0x67.
August 28, 2004, 11:54 PM
LordNevar
I got 0xAE built alrdy and I send 0x67, but it freezez at 5c, and no idea why.
August 28, 2004, 11:56 PM
UserLoser.
[quote author=LordNevar link=board=17;threadid=8432;start=0#msg77876 date=1093736234]
Or if anyone knows where to find more info about these packets that would be greatly appreciated.
[/quote]

D2Net.dll.

After sending 0x67 packet, you should then receive your first 0x8f packet, which is where you send 0x6a packet. Along the lines there, you'll receive 0x02 packet, which is when you send your first 0x6c packet.
August 29, 2004, 12:16 AM
NiNe
YeP :) OnlyMeat is the Man!
August 29, 2004, 12:18 AM
NetNX
lol, i dont get it. I was making a simple game bot but i only got up to where you connect to the accual game server and couldnt figure the rest out...what would i do wiht D2Net.dll ? how dose that work out ?
August 29, 2004, 2:52 PM
Newby
I'm gonna assume disassemble it.
August 29, 2004, 3:15 PM
UserLoser.
[quote author=Newby link=board=17;threadid=8432;start=0#msg77977 date=1093792505]
I'm gonna assume disassemble it.
[/quote]

Right.

Some various addresses:


.text:6FC01760 ; int __stdcall SendGSPacket(int packetid,char *buf,int len)
.text:6FC01423 GetPacketSize:
.data:6FC08148 ReceivePacketSizeTable

August 29, 2004, 6:21 PM
LordNevar
Ok everything works, but now I get dropped from the game for flooding by an unknown packet. Does anyone have any idea what this packet is and what to do with it so I don't keep getting dropped from the games I create for flooding.

32 Hide Hide 8 Recv
0000 08 1F 1C 0E 00 C3 33 C0 ......3.

I RECV this like 300 time's in about 1min.
September 3, 2004, 1:52 PM
UserLoser.
[quote author=LordNevar link=board=17;threadid=8432;start=0#msg78877 date=1094219562]
Ok everything works, but now I get dropped from the game for flooding by an unknown packet. Does anyone have any idea what this packet is and what to do with it so I don't keep getting dropped from the games I create for flooding.

32 Hide Hide 8 Recv
0000 08 1F 1C 0E 00 C3 33 C0 ......3.

I RECV this like 300 time's in about 1min.
[/quote]

Looks like D2GS packet 0x8A, set length of 6. You really won't get far without decompressing the packets.
September 3, 2004, 7:15 PM

Search