Closed KaloyanDDimitrov closed 2 years ago
Please ensure you are compiling using the correct fork and branch of AzerothCore. It appears you are trying to compile with the master branch.
My bad i did compiled it with your version. But i dont know how to use it or check if it`s working. Some Guidance?
It is all working and i have to applaud you for the great work. Im still getting some errors in the console but for now all is fine.
I am happy it is working for you! Please report if you find any more issue.
Hello This is the errors i get when i run Make
/root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:83:20: warning: moving a local objec t in a return statement prevents copy elision [-Wpessimizing-move] return std::move(keys); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:83:20: note: remove std::move call h ere return std::move(keys); ^());
^
/root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:217:20: note: remove std::move call here
return std::move(std::set());
^());
^
/root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:217:20: note: remove std::move call here
return std::move(std::set());
^
~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:145:20: warning: moving a local obje ct in a return statement prevents copy elision [-Wpessimizing-move] return std::move(keys); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:145:20: note: remove std::move call here return std::move(keys); ^~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:217:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] return std::move(std::set~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:231:20: warning: moving a local obje ct in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:231:20: note: remove std::move call here return std::move(result); ^~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:245:20: warning: moving a local obje ct in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:245:20: note: remove std::move call here return std::move(result); ^~~~~~ ~ In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/AiFactory.cpp:7: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/Playerbots.h:8: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/AiObjectContext.h:9: /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:83:20: warning: moving a local objec t in a return statement prevents copy elision [-Wpessimizing-move] return std::move(keys); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:83:20: note: remove std::move call h ere return std::move(keys); ^~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:145:20: warning: moving a local obje ct in a return statement prevents copy elision [-Wpessimizing-move] return std::move(keys); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:145:20: note: remove std::move call here return std::move(keys); ^~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:217:20: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] return std::move(std::set~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:231:20: warning: moving a local obje ct in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:231:20: note: remove std::move call here return std::move(result); ^~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:245:20: warning: moving a local obje ct in a return statement prevents copy elision [-Wpessimizing-move] return std::move(result); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/NamedObjectContext.h:245:20: note: remove std::move call here return std::move(result); ^~~~~~ ~ In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/AiFactory.cpp:7: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/Playerbots.h:15: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/values/SharedValueContext.h:11: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/values/QuestValues.h:9: /root/azerothcore-wotlk/modules/mod-playerbots/src/TravelMgr.h:85:9: warning: definition of implicit copy assignment operator for 'WorldPosition' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] WorldPosition(WorldPosition const& pos) : WorldLocation(pos), visitors(pos.visitors) { } ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/TravelMgr.h:371:117: note: in implicit copy assignment operator fo r 'WorldPosition' first required here FindPointCreatureData(WorldPosition point1 = WorldPosition(), float radius1 = 0, uint32 entry1 = 0) { point = point1; radius = radius1; entry = entry1; } ^ In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/ChatFilter.cpp:7: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/Playerbots.h:15: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/values/SharedValueContext.h:11: In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/values/QuestValues.h:9: /root/azerothcore-wotlk/modules/mod-playerbots/src/TravelMgr.h:85:9: warning: definition of implicit copy assignment operator for 'WorldPosition' is deprecated because it has a user-declared copy constructor [-Wdeprecated-copy] WorldPosition(WorldPosition const& pos) : WorldLocation(pos), visitors(pos.visitors) { } ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/TravelMgr.h:371:117: note: in implicit copy assignment operator fo r 'WorldPosition' first required here FindPointCreatureData(WorldPosition point1 = WorldPosition(), float radius1 = 0, uint32 entry1 = 0) { point = point1; radius = radius1; entry = entry1; } ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/AiFactory.cpp:269:12: warning: moving a local object in a return s tatement prevents copy elision [-Wpessimizing-move] return std::move(specName); ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/AiFactory.cpp:269:12: note: remove std::move call here return std::move(specName); ^~~~~~ ~ /root/azerothcore-wotlk/modules/mod-playerbots/src/AiFactory.cpp:681:77: warning: unused parameter 'facade' [-Wunused -parameter] void AiFactory::AddDefaultDeadStrategies(Player player, PlayerbotAI const facade, Engine deadEngine) ^ In file included from /root/azerothcore-wotlk/modules/mod-playerbots/src/ChatFilter.cpp:8: /root/azerothcore-wotlk/modules/mod-playerbots/src/strategy/values/RtiTargetValue.h:16:117: warning: field 'type' wil l be initialized after base 'TargetValue' [-Wreorder-ctor] RtiTargetValue(PlayerbotAI botAI, std::string const type = "rti", std::string const name = "rti target") : t ype(type), TargetValue(botAI, name) { } ^ /root/azerothcore-wotlk/modules/mod-playerbots/src/ChatFilter.cpp:166:47: fatal error: no member named 'GetTargetIcon ' in 'Group' ObjectGuid rtiTarget = group->GetTargetIcon(RtiTargetValue::GetRtiIndex(rti.substr(1)));