Valhalla Legends Forums Archive | Battle.net Bot Development | D2GS Need some help

AuthorMessageTime
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?
October 22, 2009, 2:40 PM
Imperceptus
Google or even the search function on these boards is an invaluable source man. 
October 22, 2009, 4:50 PM
Purri
[quote author=Imperceptus link=topic=18098.msg183586#msg183586 date=1256230245]
Google or even the search function on these boards is an invaluable source man. 
[/quote]

Why these forums are here if i need to use google? :) ( Battle.net Bot Development )
October 22, 2009, 5:46 PM
Purri
Here is some log:
[code]
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,....%..

[/code]
October 22, 2009, 6:59 PM
rabbit
[quote author=Purri link=topic=18098.msg183587#msg183587 date=1256233610]
[quote author=Imperceptus link=topic=18098.msg183586#msg183586 date=1256230245]
Google or even the search function on these boards is an invaluable source man. 
[/quote]

Why these forums are here if i need to use google? :) ( Battle.net Bot Development )
[/quote]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).
October 23, 2009, 1:47 PM
Imperceptus
[quote author=Purri link=topic=18098.msg183587#msg183587 date=1256233610]
[quote author=Imperceptus link=topic=18098.msg183586#msg183586 date=1256230245]
Google or even the search function on these boards is an invaluable source man. 
[/quote]

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

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?
October 23, 2009, 4:48 PM
Adema
@OP
http://lmgtfy.com/?q=d2gs+decompress
October 29, 2009, 2:54 AM

Search