diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 5e59137..2ef9360 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -324,9 +324,43 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo) // We also must check the map because the movementFlag can be modified by the client. // If we just check the flag, they could always add that flag and always skip the speed hacking detection. - // 369 == DEEPRUN TRAM - if (m_Players[key].GetLastMovementInfo().HasMovementFlag(MOVEMENTFLAG_ONTRANSPORT) && player->GetMapId() == 369) - return; + + if (m_Players[key].GetLastMovementInfo().HasMovementFlag(MOVEMENTFLAG_ONTRANSPORT) && player->GetMapId()) + switch (player->GetMapId()) + { + case 369: //Transport: DEEPRUN TRAM + case 607: //Transport: Strands of Strand of the Ancients + case 582: //Transport: Rut'theran to Auberdine + case 584: //Transport: Menethil to Theramore + case 586: //Transport: Exodar to Auberdine + case 587: //Transport: Feathermoon Ferry + case 588: //Transport: Menethil to Auberdine + case 589: //Transport: Orgrimmar to Grom'Gol + case 590: //Transport: Grom'Gol to Undercity + case 591: //Transport: Undercity to Orgrimmar + case 592: //Transport: Borean Tundra Test + case 593: //Transport: Booty Bay to Ratchet + case 594: //Transport: Howling Fjord Sister Mercy (Quest) + case 596: //Transport: Naglfar + case 610: //Transport: Tirisfal to Vengeance Landing + case 612: //Transport: Menethil to Valgarde + case 613: //Transport: Orgrimmar to Warsong Hold + case 614: //Transport: Stormwind to Valiance Keep + case 620: //Transport: Moa'ki to Unu'pe + case 621: //Transport: Moa'ki to Kamagua + case 622: //Transport: Orgrim's Hammer + case 623: //Transport: The Skybreaker + case 641: //Transport: Alliance Airship BG + case 642: //Transport: HordeAirshipBG + case 647: //Transport: Orgrimmar to Thunder Bluff + case 672: //Transport: The Skybreaker (Icecrown Citadel Raid) + case 673: //Transport: Orgrim's Hammer (Icecrown Citadel Raid) + case 712: //Transport: The Skybreaker (IC Dungeon) + case 713: //Transport: Orgrim's Hammer (IC Dungeon) + case 718: //Trasnport: The Mighty Wind (Icecrown Citadel Raid) + return; + break; + } uint32 distance2D = (uint32)movementInfo.pos.GetExactDist2d(&m_Players[key].GetLastMovementInfo().pos); uint8 moveType = 0;