Replies: 2 comments 3 replies
-
The Playerbot module must be built from a special fork of AzerothCore because it is use some functionality that is not yet added through hooks. Please ensure to be building it with the correct fork: https://github.com/ZhengPeiRu21/azerothcore-wotlk/tree/Playerbot |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hi :)
Sorry, i'm french user ;) i have a probleme when try to compil the source code with playerbot module.
Vs 2019 16.11 return this lot of error :
22>PlayerbotCommandServer.cpp
22>Please define _WIN32_WINNT or _WIN32_WINDOWS appropriately. For example:
22>- add -D_WIN32_WINNT=0x0601 to the compiler command line; or
22>- add _WIN32_WINNT=0x0601 to your project's Preprocessor Definitions.
22>Assuming _WIN32_WINNT=0x0601 (i.e. Windows 7 target).
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\actions\MovementActions.cpp(1051,37): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\src\server\game\Entities\Vehicle\Vehicle.h(27): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackerCountValues.cpp(34,19): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\src\server\game\Spells\Spell.h(27): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackersValue.cpp(75,24): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\ServerFacade.h(11): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackersValue.cpp(75,68): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\ServerFacade.h(11): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackersValue.cpp(75,111): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\ServerFacade.h(11): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackersValue.cpp(110,37): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\ServerFacade.h(11): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackersValue.cpp(134,59): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\ServerFacade.h(11): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\AttackersValue.cpp(149,44): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\ServerFacade.h(11): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\TargetValue.cpp(24,38): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\src\server\game\Spells\Spell.h(27): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\TargetValue.cpp(24,30): error C2530: 'ThreatMgr' : references must be initialized
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\ThreatValues.cpp(45,31): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\src\server\game\Spells\Spell.h(27): message : see the statement of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\modules\mod-playerbots\src\strategy\values\ThreatValues.cpp(58,36): error C2039: 'getThreatMgr' is not a member of 'Unit'
22>F:\Wow_Serveur\Sources\AzerothCore-PlayerBots\src\server\game\Spells\Spell.h(27): message : see the statement of 'Unit'
Beta Was this translation helpful? Give feedback.
All reactions