[Help] Packet when log in

08/03/2009 12:04 Kital82#1
Hi everbody. In my source I have a problem, when i try to log in the server, my screen freeze. I looked into others source and i send
Quote:
Client.Send(Packets.Chat(0, "SYSTEM", "ALLUSERS", "ANSWER_OK", ChatType.LoginInformation));
But nothing is happening. Someone can tell me what packet i have to send to log on correctly?
08/03/2009 13:47 alexbigfoot#2
Once you login, you have to send to client an message so he'll know what to do (eg. "NEW_ROLE" = new character, "ANSWER_OK" = continue login), so, after sending "ANSWER_OK", you should send the character info packet, and wait for the location request 1010 -> 74 if i'm not wrong, once you send the location, you'll be able to walk/jump/what ever you want.
08/03/2009 16:43 _tao4229_#3
After you set location you should have to handle some other packets until you receive the 'complete login' subtype.
08/03/2009 17:17 tanelipe#4
You can just echo the data packets back until you have some action to do when you get them. Works just fine. :P
08/03/2009 17:56 Kital82#5
Quote:
Originally Posted by alexbigfoot View Post
Once you login, you have to send to client an message so he'll know what to do (eg. "NEW_ROLE" = new character, "ANSWER_OK" = continue login), so, after sending "ANSWER_OK", you should send the character info packet, and wait for the location request 1010 -> 74 if i'm not wrong, once you send the location, you'll be able to walk/jump/what ever you want.
Yes it's case 74.

I had an other problem wich is after sending the "CharacterInfo" packet, The client crashed.
My problem was that i didn't the send the MessagePacket at the correct moment. Now it works, and implented more things as Walk/Jump & Chat process.

Thanks alex, tao and tanelipe :o :D

#close