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.
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?
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);
}
}
What could my problem be?