after Auth Message packet from the client i send the "ANSWER_OK"
Code:
37 00 EC 03 FF FF FF 00 34 08 00 00 01 00 00 00 7.......4.......
00 00 00 00 00 00 00 00 04 06 53 59 53 54 45 4D ..........SYSTEM
08 41 4C 4C 55 53 45 52 53 00 09 41 4E 53 57 45 .ALLUSERS..ANSWE
52 5F 4F 4B 00 00 00 54 51 53 65 72 76 65 72 R_OK...TQServer
Then i send a date packet, hero information, StatusEffect, VipLevel, Nobility
Code:
24 00 09 04 00 00 00 00 6F 00 00 00 01 00 00 00 $.......o.......
29 00 00 00 0A 00 00 00 01 00 00 00 37 00 00 00 )...........7...
13 00 00 00 54 51 53 65 72 76 65 72 ....TQServer
7E 00 EE 03 5B A0 1F 00 A1 4F 1F 00 1E 02 06 11 ~...[....O......
00 00 00 00 00 00 8C F0 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 26 00 0E 00 12 00 00 00 00 00 34 02 00 00 ..&.........4...
00 00 15 15 00 00 00 00 01 14 00 00 00 00 00 00 ................
00 00 00 02 08 00 00 00 00 00 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 03 0A 54 65 ..............Te
73 74 50 6C 61 79 65 72 00 04 4E 6F 6E 65 54 51 stPlayer..NoneTQ
53 65 72 76 65 72 Server
34 00 21 27 5B A0 1F 00 01 00 00 00 19 00 00 00 4.!'[...........
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 00 00 00 ................
00 00 00 00 54 51 53 65 72 76 65 72 ....TQServer
34 00 21 27 5B A0 1F 00 01 00 00 00 27 00 00 00 4.!'[.......'...
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 00 00 00 ................
00 00 00 00 54 51 53 65 72 76 65 72 ....TQServer
5F 00 10 08 03 00 00 00 5B A0 1F 00 00 00 00 00 _.......[.......
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
01 0E 32 30 37 32 36 36 37 20 30 20 30 20 2D 31 ..2072667 0 0 -1
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 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 54 ...............T
51 53 65 72 76 65 72 QServer
Then i start responding to the client, it asks for location information (General Data 74), and the server sends two packets, the map and the complete map change.
Code:
25 00 1A 27 EA 03 00 00 EA 03 00 00 00 00 00 00 %..'............
00 00 00 00 4A 00 00 00 B6 01 79 01 00 00 00 00 ....J.....y.....
00 00 00 00 00 54 51 53 65 72 76 65 72 .....TQServer
25 00 1A 27 5B A0 1F 00 00 00 00 00 00 00 00 00 %..'[...........
00 00 00 00 68 00 00 00 B6 01 79 01 00 00 00 00 ....h.....y.....
00 00 00 00 00 54 51 53 65 72 76 65 72 .....TQServer
doing this right to this point, is enough for the client to show a character in the map? with hud ?
edit: i hope its no big problem for you guys to analyze my packets, i have a few doubts in the hero information packet, but it is almost a copy from a login in an official server, so it should suffice for test purposes.
Thanks in advance