responseChat.setMessage("[" + client.getPlayer().getUsername() + "] has logged on.");
responseChat.setType((short) 1);
GameServer.getInstance().addResponseForAllOnlinePlayers(client.getId(), responseChat);
ResponseSeeOnlinePlayers responsePlayers = new ResponseSeeOnlinePlayers();
responsePlayers.setOnlinePlayers(GameServer.getInstance().getActivePlayers());
GameServer.getInstance().addResponseForAllOnlinePlayers(client.getId(), responsePlayers);
//Track the player' position (4 means PvE World lobby or PvE world.)
client.getServer().trackPlayerPosition(client.getPlayer().getID(), Constants.LOCATION_PVE_W_LOBBY);