mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
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:
@@ -1412,7 +1412,12 @@ void AnticheatMgr::BuildReport(Player* player, uint16 reportType)
|
||||
data << str;
|
||||
sWorld->SendGlobalGMMessage(&data);
|
||||
|
||||
// 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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user