Author | Message | Time |
---|---|---|
Archangel | Well, i have been trying to parse this packet but i got some problems on it, i want to know if someone got any information about this. thnx. | March 29, 2004, 8:44 PM |
FuzZ | paste the hex dump of the packet? what are you doing when you recieve this packet? | March 29, 2004, 9:02 PM |
Archangel | [quote author=FuzZ link=board=17;threadid=6064;start=0#msg52460 date=1080594133] paste the hex dump of the packet? what are you doing when you recieve this packet? [/quote] i just need any information about how to parse it, bnetdocs dont have anything. | March 29, 2004, 9:41 PM |
Myndfyr | [quote author=Archangel link=board=17;threadid=6064;start=0#msg52467 date=1080596481] [quote author=FuzZ link=board=17;threadid=6064;start=0#msg52460 date=1080594133] paste the hex dump of the packet? what are you doing when you recieve this packet? [/quote] i just need any information about how to parse it, bnetdocs dont have anything. [/quote] Well if we haven't parsed it, if you gave us a packet dump, it might help us out. | March 29, 2004, 10:14 PM |
LoRd | MCP 0x11 is the realm ladder request and if you use the forums search feature, I believe UserLoser posted some information on how to parse it a while back. | March 29, 2004, 10:19 PM |
Archangel | [quote author=LoRd[nK] link=board=17;threadid=6064;start=0#msg52479 date=1080598785] MCP 0x11 is the realm ladder request and if you use the forums search feature, I believe UserLoser posted some information on how to parse it a while back. [/quote] [quote] I'm getting stuck and lost while trying to parse this incoming data... I know that usually the server sends two clumps, which i can put together alright. But, what i'm looking for is the format of the data for each user... so far i've come up with the following but it doesn't seem to work for each user returned in 0x11 with their information Starting at byte 23... (DWORD) Experience (DWORD) Dunno, always 0 (WORD) Dunno (WORD) Level (STRING) Character name (DWORD) ...? Maybe character class abreviation (BYTE) Dunno (WORD) Pre name (Baron, Patriarch, ect) Anyone with information on this... [/quote] [pre]1 Hide Hide 6 Send 0000 06 00 11 0A 00 00 ...... 2 Hide Hide 410 Recv 0000 9A 01 11 0A CC 01 90 01 00 00 00 00 00 00 10 00 ................ 0010 00 00 10 00 00 00 A7 A1 53 77 00 00 00 00 00 0C ........Sw...... 0020 5C 00 42 75 74 63 68 2D 53 70 61 72 78 78 78 00 \.Butch-Sparxxx. 0030 00 00 C4 B8 2C 76 00 00 00 00 00 0C 5C 00 53 69 ....,v......\.Si 0040 6C 2D 54 72 69 73 65 6C 6C 61 00 00 00 00 3A E4 l-Trisella....:. 0050 93 69 00 00 00 00 00 0C 5B 00 52 69 67 68 74 65 .i......[.Righte 0060 6F 75 73 2D 50 76 4D 00 00 00 86 F1 01 68 00 00 ous-PvM......h.. 0070 00 00 00 0C 5A 00 6D 64 2D 61 6D 61 7A 6F 6E 00 ....Z.md-amazon. 0080 65 74 75 72 6E 00 CD 31 FB 65 00 00 00 00 00 0C eturn..1.e...... 0090 5A 00 61 6E 67 65 6C 69 6E 61 5F 72 65 74 75 72 Z.angelina_retur 00A0 6E 00 B8 7B 7B 5C 00 00 00 00 00 0C 59 00 46 4C n..{{\......Y.FL 00B0 41 4D 2D 6F 6E 65 00 4E 4E 4E 00 00 6F 00 CC 68 AM-one.NNN..o..h 00C0 F6 59 00 00 00 00 00 0C 59 00 4D 53 2D 41 4D 41 .Y......Y.MS-AMA 00D0 5A 4F 4E 4E 4E 4E 00 00 6F 00 41 CA B0 58 00 00 ZONNNN..o.A..X.. 00E0 00 00 00 0C 59 00 41 5A 54 45 43 41 5F 53 4F 55 ....Y.AZTECA_SOU 00F0 4C 00 61 00 6F 00 C5 A7 AE 58 00 00 00 00 00 0C L.a.o....X...... 0100 59 00 42 65 61 75 2D 49 43 4D 00 41 6C 66 61 00 Y.Beau-ICM.Alfa. 0110 6F 00 A1 54 90 57 00 00 00 00 00 0C 58 00 52 65 o..T.W......X.Re 0120 74 75 72 6E 65 64 2D 41 6C 66 61 00 6F 00 78 13 turned-Alfa.o.x. 0130 5F 55 00 00 00 00 00 0C 58 00 61 6E 63 74 77 72 _U......X.anctwr 0140 69 6F 72 00 68 00 00 00 6F 00 D9 67 FB 51 00 00 ior.h...o..g.Q.. 0150 00 00 00 0C 58 00 4C 61 7A 79 5F 42 65 6F 74 63 ....X.Lazy_Beotc 0160 68 00 00 00 6F 00 20 76 7E 51 00 00 00 00 00 0C h...o. v~Q...... 0170 58 00 42 6C 6F 73 73 6F 6D 54 68 6F 72 6E 00 00 X.BlossomThorn.. 0180 6F 00 CB C1 3D 4F 00 00 00 00 00 0C 57 00 48 43 o...=O......W.HC 0190 5F 4A 65 73 75 73 49 49 00 6E _JesusII.n 3 Hide Hide 70 Recv 0000 46 00 11 0A CC 01 3C 00 90 01 00 00 6F 00 93 E4 F.....<.....o... 0010 D7 4C 00 00 00 00 00 0C 57 00 4C 4D 46 5F 6C 75 .L......W.LMF_lu 0020 63 6B 79 00 2D 57 53 00 00 00 FB 1B C3 4B 00 00 cky.-WS......K.. 0030 00 00 00 0C 57 00 42 4C 79 6E 44 5F 49 6D 6D 6F ....W.BLynD_Immo 0040 72 74 61 4C 00 00 rtaL..[/pre] [EDIT] Ladder Amazon - 0A [Kp edit: added pre tags to the packet dump.] | March 29, 2004, 10:24 PM |
FuzZ | best i can figure is it is by length [pre] ........................Sw......\. Butch-Sparxxx.....,v......\. Sil-Trisella....:..i......[. Righteous-PvM......h......Z. md-amazon.eturn..1.e......Z. angelina_return..{{\......Y. FLAM-one.NNN..o..h.Y......Y. MS-AMAZONNNN..o.A..X......Y. AZTECA_SOUL.a.o....X......Y. Beau-ICM.Alfa.o..T.W......X. Returned-Alfa.o.x._U......X. anctwrior.h...o..g.Q......X. Lazy_Beotch...o. v~Q......X. BlossomThorn..o...=O......W. HC_JesusII.nF.....<.....o....L......W. LMF_lucky.-WS......K......W. BLynD_ImmortaL.. [/pre] it's pretty broken up at the end, not sure what's goin on there but at the begining i'm not sure if Sw is a char name or not, if it is it would be [pre] ...... ..................Sw......\. [/pre] instead. Hope this will help you. :EDIT: If you want the actual characters of the periods, split it up in the hex every 28 (if i counted correctly) bytes. As for the rest of it, I know nothing about parsing D2 stats. | March 30, 2004, 12:29 AM |
UserLoser. | Good luck, I almost got it ;) | March 30, 2004, 12:58 AM |
Archangel | i almost got it 2, but like something changes and screw all, 1 Byte i think lol | March 30, 2004, 1:06 AM |