Passive Anticheat System!

Manuels passive anticheat patch for TrinityCore

To apply use git:

-to check if it runs without errors:

git apply --check manuels_passive_anticheat_for_tc_c0d4ca8af120d3c23363d1e7dee08ba24283fe9f.diff

-to apply it:

git apply --whitespace=fix manuels_passive_anticheat_for_tc_c0d4ca8af120d3c23363d1e7dee08ba24283fe9f.diff[/code]

i got these errors when i tried to build passive anticheat

3>…sourcesrcservergameAnticheatAnticheatMgr.cpp(33): error C2065: ‘CONFIG_ANTICHEAT_DETECTIONS_ENABLED’ : undeclared identifier

3>…sourcesrcservergameAnticheatAnticheatMgr.cpp(47): error C2065: ‘CONFIG_ANTICHEAT_DETECTIONS_ENABLED’ : undeclared identifier

3>…sourcesrcservergameAnticheatAnticheatMgr.cpp(70): error C2065: ‘CONFIG_ANTICHEAT_DETECTIONS_ENABLED’ : undeclared identifier

3>…sourcesrcservergameAnticheatAnticheatMgr.cpp(88): error C2065: ‘CONFIG_ANTICHEAT_DETECTIONS_ENABLED’ : undeclared identifier

3>…sourcesrcservergameAnticheatAnticheatMgr.cpp(100): error C2065: ‘DEAD_FALLING’ : undeclared identifier

3>…sourcesrcservergameAnticheatAnticheatMgr.cpp(117): error C2065: ‘CONFIG_ANTICHEAT_ENABLE’ : undeclared identifier


diff -urN a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp

--- a/src/server/game/Spells/SpellEffects.cpp 2012-07-16 09:40:03.000000000 +0400

+++ b/src/server/game/Spells/SpellEffects.cpp 2012-07-16 09:43:59.000000000 +0400

@@ -16,6 +16,7 @@

* with this program. If not, see <http://www.gnu.org/licenses/>.

*/


+#include "AnticheatMgr.h"

#include "Common.h"

#include "DatabaseEnv.h"

#include "WorldPacket.h"

useless?


diff -urN a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp

--- a/src/server/game/Entities/Unit/Unit.cpp 2012-07-16 09:40:03.000000000 +0400

+++ b/src/server/game/Entities/Unit/Unit.cpp 2012-07-16 09:43:59.000000000 +0400

@@ -16,6 +16,7 @@

  * with this program. If not, see <http://www.gnu.org/licenses/>.

  */


+#include "AnticheatMgr.h"

#include "Common.h"

#include "CreatureAIImpl.h"

#include "Log.h"

same here

any update ?

why u need that warden is already included…

warden kick is not work for me

@Thyros i think we both know that Warden doesnt ban/kick/log every hack there is on the interwebz.

i think since new logging system that this passive anticheat system is also dead… /emoticons/default_tongue.png


/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp: In member function ‘void AnticheatMgr::JumpHackDetection(Player*, MovementInfo, uint32)’:

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:41:101: error: no matching function for call to ‘Log::outError(const char [55], uint32)’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:41:101: note: candidate is:

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note: void Log::outError(LogFilterType, const char*, ...)

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note:   no known conversion for argument 1 from ‘const char [55]’ to ‘LogFilterType’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp: In member function ‘void AnticheatMgr::WalkOnWaterHackDetection(Player*, MovementInfo)’:

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:63:108: error: no matching function for call to ‘Log::outError(const char [66], uint32)’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:63:108: note: candidate is:

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note: void Log::outError(LogFilterType, const char*, ...)

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note:   no known conversion for argument 1 from ‘const char [66]’ to ‘LogFilterType’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp: In member function ‘void AnticheatMgr::FlyHackDetection(Player*, MovementInfo)’:

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:82:96: error: no matching function for call to ‘Log::outError(const char [54], uint32)’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:82:96: note: candidate is:

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note: void Log::outError(LogFilterType, const char*, ...)

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note:   no known conversion for argument 1 from ‘const char [54]’ to ‘LogFilterType’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp: In member function ‘void AnticheatMgr::TeleportPlaneHackDetection(Player*, MovementInfo)’:

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:111:116: error: no matching function for call to ‘Log::outError(const char [70], uint32)’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:111:116: note: candidate is:

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note: void Log::outError(LogFilterType, const char*, ...)

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note:   no known conversion for argument 1 from ‘const char [70]’ to ‘LogFilterType’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp: In member function ‘void AnticheatMgr::ClimbHackDetection(Player*, MovementInfo, uint32)’:

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:172:103: error: no matching function for call to ‘Log::outError(const char [56], uint32)’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:172:103: note: candidate is:

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note: void Log::outError(LogFilterType, const char*, ...)

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note:   no known conversion for argument 1 from ‘const char [56]’ to ‘LogFilterType’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp: In member function ‘void AnticheatMgr::SpeedHackDetection(Player*, MovementInfo)’:

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:220:102: error: no matching function for call to ‘Log::outError(const char [56], uint32)’

/home/trinity/TrinityCore/src/server/game/Anticheat/AnticheatMgr.cpp:220:102: note: candidate is:

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note: void Log::outError(LogFilterType, const char*, ...)

/home/trinity/TrinityCore/src/server/shared/Logging/Log.h:54:14: note:   no known conversion for argument 1 from ‘const char [56]’ to ‘LogFilterType’

[ 17%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/ScriptedAI/ScriptedCreature.cpp.o

make[2]: *** [src/server/game/CMakeFiles/game.dir/Anticheat/AnticheatMgr.cpp.o] Error 1

make[2]: *** Waiting for unfinished jobs....

That’s sad that something so simple can stop you from fixing and applying the patch…

Thank you paradox for you always usefull comments… you where very helpfull… not

Just reading the log you posted should be enough, if it isn’t, you are going against the purpose of this project by not learning anything, and expecting to be spoonfed.

Manuels passive anticheat patch for TrinityCore To apply use git: -to check if it runs without errors:

git apply --check manuels_passive_anticheat_for_tc_19cec23f396c0ab8cb6a574eea5665c73e5ce5a2.diff -to apply it:

git apply --whitespace=fix manuels_passive_anticheat_for_tc_19cec23f396c0ab8cb6a574eea5665c73e5ce5a2.diff[/code]

He is right on this one, I kno nothing about c++ and could’ve fixed that myself lol

Manuels passive anticheat patch for TrinityCore

To apply use git:

-to check if it runs without errors:

git apply --check manuels_passive_anticheat_for_tc_a7d8a65bd0a95f21f1e350cefbef94ace20f69ec.diff

-to apply it:

git apply --whitespace=fix manuels_passive_anticheat_for_tc_a7d8a65bd0a95f21f1e350cefbef94ace20f69ec.diff

hi SignFinder

i have this error when i want compile Passive-anticheat …

pls help me

Error 1 error C2228: left of ‘.c_str’ must have class/struct/union D:wowFuun SignFinder-FaceCore-72e68e5srcserverscriptsCommandscs_anticheat.cpp 209 1 scripts
Error 14 error LNK1181: cannot open input file ‘…scriptsReleasescripts.lib’ D:wowbufunsrcserverworldserverLINK worldserver

pls help me thxx

You are using facecore and facecore has its own passive anticheat

https://github.com/SignFinder/FaceCore/tree/passive_anticheat_new

pls help me to fix it. i have More edit in my source and cant change it…

pls help me to fix this error

Why would we help you work on a core we don’t support?

Manuels passive anticheat patch for TrinityCore

To apply use git:

-to check if it runs without errors:

git apply --check manuels_passive_anticheat_for_tc_7d3fa71a03f4cd05f1e233ef2364b4c9dee6f4e0.diff

-to apply it:

git apply --whitespace=fix manuels_passive_anticheat_for_tc_7d3fa71a03f4cd05f1e233ef2364b4c9dee6f4e0.diff

P.S. I am not author and not developer of this code.

manuels_passive_anticheat_for_tc_7d3fa71a03f4cd05f1e233ef2364b4c9dee6f4e0.diff