• Welcome to Valhalla Legends Archive.
 

W3GS Unknown Packets

Started by PaiD, May 11, 2006, 02:44 AM

Previous topic - Next topic

PaiD

After sending 0x1E, the host replys with alot of different packets. I was hoping someone has some information about these packets

[Recieved]
0x0F
0x01
0x1C
0x3D
0x04
0x05
0x06
0x07
0x09
0x43
0x1B

[Client Sent]
0x21
0x42
0x44

Thanks

maldn

after sending the 0x1e packet, the server/host should send you the 'you are in'-packet (assumed game is not full etc).

should look like this:
(first tcp-packet containing some wc3-packets/blocks)

h->c u are in
f7
04
8a 00       | 138 len of block
73 00       | 115 bytes following in playerRecords?
0c          | 12 records following


01 64 02 00 00 00 60 01 64
^id   ^slot used
02 64 02 00 00 01 60 01 64
03 64 02 00 0c 0c 60 01 64
            ^team
04 64 02 00 04 03 60 01 64
               ^color
05 64 02 00 04 06 60 01 64
                  ^race
06 64 02 00 0c 0c 60 01 64
   ^ unknown
07 64 02 00 0c 0c 60 01 64
         ^human player
08 64 02 00 0c 0c 60 01 64
           
09 64 02 00 03 02 60 01 64
0a 64 02 00 03 04 60 01 64
0b 64 02 00 06 05 60 01 64
0c 64 02 00 06 07 60 01 64
                     ^AI strength, 0x01 for humans


2d 63 40 02 | random seed?
00 08 08 02

00          |0x00 - team & race selectable (for standard custom games)?

81 2a 53 ab a4 37
00 00 00 00
00 00 00 00

f7
06
3b 00       | 59 len of block
00 00 00 00 | timestamp?
01          | playerID
74 68 65 72 |ther
65 61 4c 6e |eaLn
69 67 68 74 |ight
65 4c 66 00 |eLf   => thereaLnighteLf (null-terminated)
01          | playerID
00 00 00 00 | 33 0x00s , that doesnt seem to make (much) sense
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00 00 00 00
00

u got the point, right?
i wont go on on all the players :P
-- snip --

f7
3d
35 00
01 00 00 00
4d 61 70 73 | Maps
5c 46 72 6f | \Fro
7a 65 6e 54 | zenT
68 72 6f 6e | hron
65 5c 28 38 | e\(8
29 46 72 69 | )Fri
65 6e 64 73 | ends
2e 77 33 78 | .w3x
00

d1 9c 03 00 | game-options??

40 5c 8d 09 | mapchecksum?
d3 19 62 ed | mapchecksum?


after that you should receive also a 0x09 (player-options-changed-packet)

hope this helps a bit for now, perhaps im going to post some more packets later...


maldn