update (detection): False flag reduction

Exempt the Celestial Planetarium Observer Battle that has a narrow path that false flags for jump hack
This commit is contained in:
M'Dic
2022-11-23 10:49:54 -05:00
parent 61487b9d96
commit ce3bd13388

View File

@@ -319,6 +319,10 @@ void AnticheatMgr::JumpHackDetection(Player* player, MovementInfo movementInfo,
if (!sConfigMgr->GetOption<bool>("Anticheat.StricterDetectJumpHack", true))
return;
//Celestial Planetarium Observer Battle has a narrow path that false flags
if (player && GetWMOAreaTableEntryByTripple(5202, 0, 24083))
return;
if (m_Players[key].GetLastOpcode() == MSG_MOVE_JUMP && !player->IsFalling())
return;