azerothcore / mod-anticheat

Port of PassiveAnticheat to Azerothcore
http://azerothcore.org/
MIT License
33 stars 50 forks source link

compile error #46

Closed mpfans closed 2 years ago

mpfans commented 2 years ago

updated to ac core https://github.com/azerothcore/azerothcore-wotlk/commit/7b041946e163224cb82ba85e734c9a757fa4209f

and then updated mod-anticheat to e5476215dc27a1cc61d594159ae8347db37e2c60

compile error


/azerothcore/modules/mod-anticheat/src/AnticheatMgr.cpp:420:80: fatal error: no member named 'GetUInt32' in 'Field'
            ObjectGuid guid = ObjectGuid::Create<HighGuid::Player>(fieldsDB[0].GetUInt32());
                                                                   ~~~~~~~~~~~ ^
1 error generated.
make[2]: *** [modules/CMakeFiles/modules.dir/build.make:102: modules/CMakeFiles/modules.dir/mod-anticheat/src/AnticheatMgr.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 19%] Building CXX object src/server/game/CMakeFiles/game.dir/cmake_pch.hxx.pch
make[1]: *** [CMakeFiles/Makefile2:1258: modules/CMakeFiles/modules.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....```
mpfans commented 2 years ago

image Replace the red box to complete the compilation