• Welcome to Valhalla Legends Archive.
 

D2GS Packet Parser

Started by LivedKrad, July 12, 2005, 01:05 PM

Previous topic - Next topic

Elneroth

Yes, TY for fixing what format I had it in :-p

Elneroth

Lookin good!
[10:35:25 PM] 51
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] E
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] 51
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] E
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] 51
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] E
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] AC

Ringo

#17
Quote from: Elneroth on July 12, 2005, 09:34 PM
Lookin good!
[10:35:25 PM] 51
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] E
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] 51
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] E
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] 51
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] E
[10:35:25 PM] Unknown Found!, But reparsing it!!! :)
[10:35:25 PM] AC


Your having problems with them packets?

[edit]
[http://forum.valhallalegends.com/phpbbs/index.php?topic=11756.msg120454#msg120454

Elneroth

#18
No, it just looks like they arrive more than once, but in a clump.
When I find an unknown, it get's the length of the packet determined by lengths I took from the .dll.
It cuts that packet's length out of the data and reparses it.
Took mee and krad forever to make up arrays for these lengths.   :D

I plan on researching unknowns still though. It'll be much easier now. I'll post the research I find.

*Edit*: Thanks for the packet information :)

Ringo

ok cool, well i posted what they mean anyways ;)

Archangel

Quote from: Ringo on July 12, 2005, 09:51 PM
ok cool, well i posted what they mean anyways ;)

Heh, you got all the packets parsed?
I'm not an Addict.

Ringo

My bots been round the world and back and hasnt seen unknowns for days, im getting tired of it :(

Elneroth

Nice Ringo, must have taken so long to research all of that :-p.

Once I get all the packet I have right now organized, I'll start researching unknowns, but it will be quite more easier now since that I have the packet length for every single packet there is. All 180 of them :).

Ringo

It tolk time to start with, but once u get into the swing of how packets were sent to d2 clients, its like reading the news paper.
The highest packet i have is 0xB3

0xB3
D2GS_OMGFFS

B3 06 00 00 00
(DWORD) IP BAN! - 0x06

:o

Archangel

Quote from: Elneroth on July 12, 2005, 10:05 PM
Nice Ringo, must have taken so long to research all of that :-p.

Once I get all the packet I have right now organized, I'll start researching unknowns, but it will be quite more easier now since that I have the packet length for every single packet there is. All 180 of them :).

what about posting them :D :D :D.
I'm not an Addict.

Elneroth

#25
Here they are.

*EDIT*: List moved to: http://forum.valhallalegends.com/phpbbs/index.php?topic=12195.0

Undefined means that it has a variable size, meaning it has a size byte within the packet.

*Edit*: This is all thanks to UserLoser for posting that D2Net.dll address before. TY UserLoser
I would never have found it without that address.

UserLoser.

That looks about right.  In a table the undefined should be set as -1, that way it tells your handler to look for a variable packet length

Archangel

LOL, removed the Visual Basic code for no copy + paste? ^^ ;)
I'm not an Addict.

Elneroth