No hud

02/09/2011 05:06 ikkopz#1
Hi, i'm trying to get a server to run on the current patch.

I got passed the login phase, and i'm dealing with the game server now.
When i log my test character, i get no hud.
I'm able to spawn where i want (tc atm just to test things), but theres no hud. There's chat, "?" help and map. The remaining items are missing (hp, mp, stamina, exp, hotkeys...).

What i'm i missing? is there something i need to send so that the client displays the game hud?
02/09/2011 05:59 QuickCo#2
Try closing client, opening a new one, then trying again?
02/09/2011 06:58 pro4never#3
Well might help if you mentioned what packets you're sending.

Hero info? Is it structured properly? (should show the character itself)

Map Change? (should show where you are on map so that shouldn't be a problem)

Finish map change (or w/e you wanna call it. I just know there's a 2nd gendat that needed to be sent iirc)
02/09/2011 07:20 Santa#4
I had this issue when i was sending ANSWER_OK after someone had created an account. I don't remember what packet i didn't send but i think it was the Char info.
02/10/2011 03:15 ikkopz#5
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
02/10/2011 03:45 pro4never#6
try saving your update packets and datetime packet until AFTER login (I don't send them till the hotkey request packet). Not 100 pct sure but I know it works when I do that.
02/10/2011 03:59 ikkopz#7
the result is the same.. i must be missing something!

Problem solved!
Stupid mistake actually.
The ANSWER_OK packet had Dialog (0x0834) for chat type. Changed it to Login Info (0x0835) and now it's working properly, i login and i get the hud!