add (jail loc): add alternative jail locations

so we added two additional jailing spots since i am getting dms about people wanting to use gm island as their teletubbie club hangout or whatever. So i added two other isolated locations, Stormwind Stockcades and The Pit of Criminals. They are at seperate locations. Besure to make the changes to both the auto jail and the gm jail command.
all you need to do is commit the exsisting worldlocation loc and uncommit the one you want to have.
This commit is contained in:
M'Dic
2023-01-19 09:51:57 -05:00
parent 8e95bde977
commit cfb21bca01
2 changed files with 11 additions and 1 deletions

View File

@@ -1412,7 +1412,12 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType)
data << str;
sWorld->SendGlobalGMMessage(&data);
WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f); // GM Jail Location
// GM Jail Location is uncommit and used as default for the jailing. Feel free to commit it out with double forward slashes (//) and uncommit,
// removing the double forward slashes (//) if you wish to use the other locations.
WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f);// GM Jail Location
//WorldLocation loc = WorldLocation(35, -98.0155, 149.8360,-40.3827, 3.2f);// Alliance Jail Stormwind Stockade Location
//WorldLocation loc = WorldLocation(0, -11139.1845, -1742.4421, -29.7365, 3.2f);// Horde Jail The Pit of Criminals Location
player->TeleportTo(loc);
player->SetHomebind(loc, 876); // GM Jail Homebind location
player->CastSpell(player, SHACKLES); // Shackle him in place to ensure no exploit happens for jail break attempt

View File

@@ -111,7 +111,12 @@ public:
handler->GetSession()->GetPlayer()->TeleportTo(1, 16226.5f, 16403.6f, -64.5f, 3.2f);
}
// GM Jail Location is uncommit and used as default for the jailing. Feel free to commit it out with double forward slashes (//) and uncommit,
// removing the double forward slashes (//) if you wish to use the other locations.
WorldLocation loc = WorldLocation(1, 16226.5f, 16403.6f, -64.5f, 3.2f);// GM Jail Location
//WorldLocation loc = WorldLocation(35, -98.0155, 149.8360,-40.3827, 3.2f);// Alliance Jail Stormwind Stockade Location
//WorldLocation loc = WorldLocation(0, -11139.1845, -1742.4421, -29.7365, 3.2f);// Horde Jail The Pit of Criminals Location
pTarget->TeleportTo(loc);
pTarget->SetHomebind(loc, 876);// GM Jail Homebind location
pTarget->CastSpell(pTarget, SHACKLES);// shackle him in place to ensure no exploit happens for jail break attempt