Fixed by self. :)
If any one need it can be made in one line:
ServerList.java
else if (gsi.getStatus() != ServerStatus.STATUS_GM_ONLY)
{
// Server is not GM-Only
+ addServer("78.78.78.78", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId());
+ addServer("79.79.79.79", gsi.getPort(), gsi.isPvp(), gsi.isTestServer(), gsi.getCurrentPlayerCount(), gsi.getMaxPlayers(), false, true, gsi.getStatus(), gsi.getId()+1);
}
and in RequestServerLogin.java
public boolean readImpl()
{
if (super._buf.remaining() >= 9)
{
_skey1 = readD();
_skey2 = readD();
_serverId = readC();
+ if(_serverId==2)
+ _serverId=1;
return true;
}
return false;
}
It work for me :)