protected void GameCreate(byte type, List<byte> data)
{
UInt32 result = BitConverter.ToUInt32(data.ToArray(), 9);
switch (result) {
case 0x00:
if (ClientlessBot.debugging) Console.WriteLine("{0}: [MCP] Game has been created successfully",m_owner.Account);
break;
case 0x1e:
Console.WriteLine("{0}: [MCP] Invalid game name specified", m_owner.Account);;
//make_game();
break;
case 0x1f:
Console.WriteLine("{0}: [MCP] This game already exists",m_owner.Account);
//make_game();
break;
case 0x20:
Console.WriteLine("{0}: [MCP] Game server down (it is probably that you tried to create a nightmare/hell game with a character who doesn't have access to that difficulty yet, or gamename/password were invalid)", m_owner.Account);
break;
case 0x6e:
Console.WriteLine("{0}: [MCP] Your character can't create a game because it's dead!",m_owner.Account);
break;
}
if (result == 0) {
if (ClientlessBot.debugging) Console.WriteLine("{0}: [MCP] Joining the game we just created",m_owner.Account);
m_owner.JoinGame();
}
}