Character creation problem

12/21/2011 21:49 BaussHacker#1
Once the character is created in the database you only have to send ANSWER_OK right?

My problem is even I send that the client is still stuck, so I'm thinking I maybe forgot something?

I have checked that I actually send ANSWER_OK and I do.

Code:
        public static void Handle(GameClient Client, PacketStructures.CharacterCreationPacket Packet)
        {//breakpoint here
            if (Database.HeroCreation.Create(Packet.CharacterName, Packet.AccountName, Packet.Model, Packet.Job))
            {
                Client.Send(PacketStructures.ChatMessages.ANSWER_OK);//gets here
            }
            else
            {
                Client.Send(PacketStructures.ChatMessages.CHARACTER_EXISTS);
            }
        }
I know for sure my messagepacket is correct structured. Using hybrids structure and if it wasn't I couldn't send NEW_ROLE.

What could my problem be?
12/21/2011 21:57 CptSky#2
Bad channel?

MsgConnect:
Client.Send(MsgTalk.Create("SYSTEM", "ALLUSERS", "ANSWER_OK", MsgTalk.Channel.Entrance, 0x000000));

MsgRegister:
Client.Send(MsgTalk.Create("SYSTEM", "ALLUSERS", "ANSWER_OK", MsgTalk.Channel.Register, 0x000000));
12/21/2011 22:03 BaussHacker#3
Quote:
Originally Posted by CptSky View Post
Bad channel?

MsgConnect:
Client.Send(MsgTalk.Create("SYSTEM", "ALLUSERS", "ANSWER_OK", MsgTalk.Channel.Entrance, 0x000000));

MsgRegister:
Client.Send(MsgTalk.Create("SYSTEM", "ALLUSERS", "ANSWER_OK", MsgTalk.Channel.Register, 0x000000));
Yeah that's it, thank you. Didn't thought you had to do that. :handsdown: