Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Soul Taker on May 30, 2003, 04:59 PM

Title: D2GS Packet Decompression
Post by: Soul Taker on May 30, 2003, 04:59 PM
I remember seeing a function to decompress packets recieved from a D2 game, but a search is yielding nothing (I think it must have been on the old board).  I'd like to go back and work on parsing game stuff, so if someone could repost it, it would be great.
Title: Re:D2GS Packet Decompression
Post by: Spht on May 30, 2003, 05:19 PM
Quote from: Maddox on May 30, 2003, 05:14 PM
It was deleted, I guess vL didn't want people to have the source to it.

..Huh? What does this forum and its contents have to do with Valhalla Legends? Yes, the forum is hosted by the clan, but topics would never be removed because "the clan doesn't want anyone to have it." The forum is moderated by a 'botdev' community standard that is not based on vL rules, but is based on general guidelines enforced throughout botdev's existance. See forum guidelines as to why posts would get deleted.
Title: Re:D2GS Packet Decompression
Post by: dxoigmn on May 30, 2003, 05:53 PM
Quote from: Maddox on May 30, 2003, 05:14 PM
It was deleted, I guess vL didn't want people to have the source to it. Oh well, that source wasn't complete anyways. I still have it in a .cpp somewhere with all the bad carriage returns removed.

The source was complete, in fact, I use it.  You just had to figure out how to use it properly.
Title: Re:D2GS Packet Decompression
Post by: dxoigmn on May 30, 2003, 07:11 PM
Quote from: Maddox on May 30, 2003, 06:34 PM
Oh it will work... I am not saying it doesn't. But it will not be able to decompress all packets.

What do you mean "will not be able to decompress all packets"?
Title: Re:D2GS Packet Decompression
Post by: smoke on May 30, 2003, 08:09 PM
I'm interested in seeing this source code, would somebody care to post it?

-smoke
Title: Re:D2GS Packet Decompression
Post by: UserLoser on May 30, 2003, 08:43 PM
I might be able to get it for you (possibly tonight :-)/ from the person who originally posted it....
Title: Re:D2GS Packet Decompression
Post by: Eibro on May 30, 2003, 08:48 PM
It's right here:
http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=display;threadid=585;start=msg4318#msg4318
A seach for 'decompress', with a max age of 200 days turned it up.
Title: Re:D2GS Packet Decompression
Post by: Skywing on June 02, 2003, 02:35 PM
Quote from: kamakazie on May 30, 2003, 07:11 PM
Quote from: Maddox on May 30, 2003, 06:34 PM
Oh it will work... I am not saying it doesn't. But it will not be able to decompress all packets.

What do you mean "will not be able to decompress all packets"?
Many of the versions of the D2GS packet decompressor floating around had problems when presented with certain types of messages (they'd decompress them wrong and lose their place in the packet stream).  I don't know if that particular one works correctly, however.