Closed GoogleCodeExporter closed 8 years ago
} else if (params[0].toLowerCase().equals("test1")) {
PacketSendUtility.sendMessage(admin, "This map is disabled.");
} else if (params[0].toLowerCase().equals("test2")) {
PacketSendUtility.sendMessage(admin, "This map is disabled.");
} else if (params[0].toLowerCase().equals("test3")) {
PacketSendUtility.sendMessage(admin, "This map is disabled.");
}
Original comment by shinji66...@yahoo.com
on 13 Apr 2011 at 10:47
if you want to teleport to an instanced map, you have to create it first.
for testing I have used those regions like this:
else if (params[0].toLowerCase().equals("dredgion"))
{
WorldMapInstance newInstance = WorldMapInstance.getNextAvailableInstance(300110000);
newInstance.registerPlayerWithInstance(admin);
TeleportService.teleportTo(admin, 300110000, newInstance.getInstanceId(), 485, 319, 403, 0);
}
not sure if the instance is destroyed correctly upon leave, need to test it,
so this is a temp solution
Original comment by threa...@gmail.com
on 13 Apr 2011 at 11:48
Better implement //instance command?
//instance create <worldId> <instanceId>
//instance destroy <worldId> <instanceId>
//instance moveto <worldId> <instanceId>
Original comment by mr.pok...@gmail.com
on 14 Apr 2011 at 1:12
Issue 247 has been merged into this issue.
Original comment by mr.pok...@gmail.com
on 14 Apr 2011 at 1:15
This issue was closed by revision r585.
Original comment by mortium...@gmail.com
on 26 Apr 2011 at 1:26
Original issue reported on code.google.com by
shinji66...@yahoo.com
on 13 Apr 2011 at 10:46