• Welcome to Valhalla Legends Archive.
 

D2 Game Creation

Started by LordNevar, August 28, 2004, 06:37 PM

Previous topic - Next topic

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.

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

teK

After packet 0xAE you send 0x67.

LordNevar

I got 0xAE built alrdy and I send 0x67, but it freezez at 5c, and no idea why.

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

UserLoser.

#3
Quote from: LordNevar on August 28, 2004, 06:37 PM
Or if anyone knows where to find more info about these packets that would be greatly appreciated.

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.

NiNe

YeP :) OnlyMeat is the Man!

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 ?

Newby

I'm gonna assume disassemble it.
- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

UserLoser.

Quote from: Newby on August 29, 2004, 10:15 AM
I'm gonna assume disassemble it.

Right.

Some various addresses:


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


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.

A good fortune may forbode a bad luck, which may in turn disguise a good fortune.
The greatest trick the Devil ever pulled, was convincing the world he didn't exsist.

UserLoser.

Quote from: LordNevar on September 03, 2004, 08:52 AM
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.

Looks like D2GS packet 0x8A, set length of 6.  You really won't get far without decompressing the packets.