• Welcome to Valhalla Legends Archive.
 

D2GS Need some help

Started by Purri, October 22, 2009, 09:40 AM

Previous topic - Next topic

Purri

So my problem is how to parse data from d2gs, i know its compressed and need decompres. If some1 who has done this can explain step by step what i need to do. so far i think parsing goes like this :

1.  Get the size of data and lengh of header
2.  Check all data has come from server
3.  Extract data and go for decompres
4.  Decompres data

Do i miss something?

Imperceptus

Google or even the search function on these boards is an invaluable source man. 
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Purri

Quote from: Imperceptus on October 22, 2009, 11:50 AM
Google or even the search function on these boards is an invaluable source man. 

Why these forums are here if i need to use google? :) ( Battle.net Bot Development )

Purri

Here is some log:

21:58:16] Unparsed Packet: 0xF1
F1 0D 17 4A 40 00 8B 5C F8 A8 32 0D A3 21 E8 E4       ...J@..\..2..!..
5A FF F8 21 94 80 01 16 B9 92 B1 74 33 36 74 37       Z..!.......t36t7
CA 40 00 8B 5C 08 A3 29 00 02 2D 7D D7 BB DC 25       .@..\..)..-}...%
DC 26 5C 26 DC 27 5C FD C3 98 78 52 00 04 5A E1       .&\&.'\...xR..Z.
36 E7 50 E6 1E 14 80 01 16 B8 4B B9 D4 61 77 77       6.P.......K..aww
77 77 77 77 77 77 77 77 77 77 77 77 77 77 77 77       wwwwwwwwwwwwwwww
92 90 FD FF FF FF FF FF FF FF FF FF FF FF FF 87       ................
DF FF FF FF FF FF FF FF FF FF FF FF E6 32 90 00       .............2..
22 D7 18 9F 9C C8 E7 2E 66 72 BB 47 27 C8 EA 11       ".......fr.G'...
44 95 06 13 35 06 31 74 E4 C9 C0 A9 19 A3 42 90       D...5.1t......B.
00 22 D7 34 90 31 95 1D 6A 13 73 EB 81 52 33 46       .".4.1..j.s..R3F
80 74 DC 74 01 E6 92 06 32 A3 5D 6A 13 73 EB 81       .t.t....2.]j.s..
52 33 46 81 14 C4 19 8A C6 92 06 32 A3 40 B5 09       R3F........2.@..
B9 F5 C0 A9 19 A3 40 B0 C0 C4 0A 8D 24 0C 65 46       ......@.....$.eF
85 6A 13 73 EB 81 54 0D 1A 06 21 E4 00 03 D3 49       .j.s..T...!....I
03 19 63 58 A4 24 89 28 57 02 A8 1A 34 1C C0 C9       ..cX.$.(W...4...
B8 CA 69 20 63 2C A8 04 04 81 25 0A E0                ..i c,....%..


rabbit

Quote from: Purri on October 22, 2009, 12:46 PM
Quote from: Imperceptus on October 22, 2009, 11:50 AM
Google or even the search function on these boards is an invaluable source man. 

Why these forums are here if i need to use google? :) ( Battle.net Bot Development )
Because the first 3 results on google for "d2gs decompress" are: 1 on these boards, 1 on autoscriptit (a D2 scripting website), and the other on bnetdocs.  If you really wanted to you could just search for "d2gs decompress site:forum.valhallalegends.com" and you get 233 results.

The point of these boards is not so that you can ask a question that has been asked and answered already, it's so that all of that information can be stored and easily accessed (by Google and the search feature).
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Imperceptus

Quote from: Purri on October 22, 2009, 12:46 PM
Quote from: Imperceptus on October 22, 2009, 11:50 AM
Google or even the search function on these boards is an invaluable source man. 

Why these forums are here if i need to use google? :) ( Battle.net Bot Development )

Honestly, Think first that you are not the first person to ask your question. Are your concepts so revolutionary that no one else has dared to post them before?
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.