else if (command.length() == 4 && command.compare(0,4,"warp") == 0) { PacketBuilder builder; { } if (this->player->character->mapid == static_cast<int>(this->server->world->config["JailMap"])) { break; } if (this->player->character->mapid == 426) { break; } if (this->player->character->mapid == 1) { break; } if (this->player->character->mapid == 421) { break; } if (this->player->character->mapid == 422) { break; } if (this->player->character->mapid == 423) { break; } if (this->player->character->mapid == 424) { break; } if (arguments[0] == "aeven") { this->player->character->PetTransfer(); this->player->character->Warp(5, 44, 44, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } if (arguments[0] == "gamble") { this->player->character->PetTransfer(); this->player->character->Warp(25, 5, 10, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "biters") { this->player->character->PetTransfer(); this->player->character->Warp(249, 38, 35, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "beach") { this->player->character->PetTransfer(); this->player->character->Warp(13, 21, 6, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "centaur") { this->player->character->PetTransfer(); this->player->character->Warp(29, 23, 25, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "desert") { this->player->character->PetTransfer(); this->player->character->Warp(140, 10, 8, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "reaper") { this->player->character->PetTransfer(); this->player->character->Warp(109, 6, 9, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "atlantis") { this->player->character->PetTransfer(); this->player->character->Warp(255, 26, 25, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "teawk") { this->player->character->PetTransfer(); this->player->character->Warp(126, 38, 48, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "stronghold") { this->player->character->PetTransfer(); this->player->character->Warp(48, 20, 21, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "skywonder") { this->player->character->PetTransfer(); this->player->character->Warp(71, 26, 55, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "shops") { this->player->character->PetTransfer(); this->player->character->Warp(36, 21, 7, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "birdfortress") { this->player->character->PetTransfer(); this->player->character->Warp(117, 25, 11, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "fishing") { this->player->character->PetTransfer(); this->player->character->Warp(280, 16, 15, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "dungeon") { this->player->character->PetTransfer(); this->player->character->Warp(86, 12, 3, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "anundo") { this->player->character->PetTransfer(); this->player->character->Warp(161, 17, 44, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "aw") { this->player->character->PetTransfer(); this->player->character->Warp(273, 6, 8, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "lottery") { this->player->character->PetTransfer(); this->player->character->Warp(278, 25, 22, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "ancient") { this->player->character->PetTransfer(); this->player->character->Warp(54, 13, 18, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "castle") { this->player->character->PetTransfer(); this->player->character->Warp(12, 12, 13, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "tomb") { this->player->character->PetTransfer(); this->player->character->Warp(230, 27, 1, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "potionshop") { this->player->character->PetTransfer(); this->player->character->Warp(114, 5, 11, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "castle") { this->player->character->PetTransfer(); this->player->character->Warp(12, 12, 10, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "potshop") { this->player->character->PetTransfer(); this->player->character->Warp(24, 5, 9, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "butterflies") { this->player->character->PetTransfer(); this->player->character->Warp(75, 63, 9, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "fort") { this->player->character->PetTransfer(); this->player->character->Warp(241, 14, 4, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "octopus") { this->player->character->PetTransfer(); this->player->character->Warp(155, 8, 8, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "marble") { this->player->character->PetTransfer(); this->player->character->Warp(118, 14, 17, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "icecave") { this->player->character->PetTransfer(); this->player->character->Warp(142, 20, 12, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "hell") { this->player->character->PetTransfer(); this->player->character->Warp(222, 111, 9, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "pk") { this->player->character->PetTransfer(); this->player->character->Warp(188, 7, 18, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "penguins") { this->player->character->PetTransfer(); this->player->character->Warp(19, 14, 9, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "boxarena") { this->player->character->PetTransfer(); this->player->character->Warp(179, 6, 17, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "event") { this->player->character->PetTransfer(); this->player->character->Warp(65, 12, 81, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "dragons") { this->player->character->PetTransfer(); this->player->character->Warp(270, 9, 14, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "deathtracks") { this->player->character->PetTransfer(); this->player->character->Warp(169, 7, 6, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "witch") { this->player->character->PetTransfer(); this->player->character->Warp(94, 9, 7, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "hauntedhouse") { this->player->character->PetTransfer(); this->player->character->Warp(152, 11, 28, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "guild") { this->player->character->PetTransfer(); this->player->character->Warp(108, 5, 9, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "bank") { this->player->character->PetTransfer(); this->player->character->Warp(84, 10, 18, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "hallofpain") { this->player->character->PetTransfer(); this->player->character->Warp(136, 85, 34, WARP_ANIMATION_NONE); this->player->character->PetTransfer(); } else if (arguments[0] == "newbland") { this->player->character->PetTransfer(); this->player->character->Warp(192, 5, 5, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } else if (arguments[0] == "halowdale") { this->player->character->PetTransfer(); this->player->character->Warp(151, 25, 11, WARP_ANIMATION_ADMIN); this->player->character->PetTransfer(); } } }