//Login Zone In public void DoLogin(Player player) { //Add player to new zone and update Zone zone = GetZone(player.zoneId); //This server does not contain that zoneId if (zone == null) { return; } //Set the current zone and add player player.zone = zone; LuaEngine.onBeginLogin(player); zone.addActorToZone(player); //Send packets player.sendZoneInPackets(this, 0x1); LuaEngine.onLogin(player); LuaEngine.onZoneIn(player); }