This will fix the bug when u make a char and get the "Characted created! Please hit back twice and then re-log in to the game!" message. It will now show the login bar and auto send u back to the login page.
In GameServer/Handlers/NewCharacter.cs
Find
Code:
int CharID = Database.Database.NewCharacter(Name, Mesh, Class, CSocket.AccountName);
if(CharID > -1)
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "Characted created! Please hit back twice and then re-log in to the game!", Struct.ChatType.Dialog));
CSocket.Disconnect();
}
Code:
int CharID = Database.Database.NewCharacter(Name, Mesh, Class, CSocket.AccountName);
if (CharID > -1)
{
CSocket.Send(ConquerPacket.Chat(0, "SYSTEM", "ALLUSERS", "ANSWER_OK", Struct.ChatType.Dialog));
//CSocket.Disconnect();
}
else
{
Console.WriteLine("CharID: " + CharID);
//CSocket.Disconnect();
}






