Re: Release Project Blackout pvp emulator with source 8 x 8
Bola can you add the source server to replace the map room and battle type room with command chat ??? as the source server first pb
PROTOCOL_LOBBY_CHATTING_ACK cs = new PROTOCOL_LOBBY_CHATTING_ACK (player, chat);
if (chat.getText (). startsWith ("cmd"))
{
String [] array = chat.getText (). Split ("");
_log.info (Arrays.toString (array));
String cmd = array [1];
if (cmd.equalsIgnoreCase ("map"))
{
if (player.getRoom ()! = null && player.getRoom (). getLeader () == player)
{
String val = array [2];
player.getRoom (). map_id = Integer.parseInt (val);
// _log.info ("Set folder id" + Integer.parseInt (val));
}
}
if (cmd.equalsIgnoreCase ("MAPT"))
{
if (player.getRoom ()! = null && player.getRoom (). getLeader () == player)
{
String val = array [2];
player.getRoom (). room_type = Integer.parseInt (val);
// _log.info ("Set folder id" + Integer.parseInt (val));
}
}