Advertisement
DrArkaneX

Bot Error-4-11-19-01

Apr 11th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. pal9000 ~/source/azerothcore-wotlk/build # make
  2. Scanning dependencies of target bot
  3. [ 0%] Building CXX object modules/bot/CMakeFiles/bot.dir/ahbot/AhBot.cpp.o
  4. In file included from /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:7:
  5. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBotConfig.h:14:28: error: attempt to use a deleted function
  6. static AhBotConfig instance;
  7. ^
  8. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBotConfig.h:87:15: note: destructor of 'AhBotConfig' is implicitly deleted because field 'config' has an inaccessible destructor
  9. ConfigMgr config;
  10. ^
  11. In file included from /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:11:
  12. /root/source/azerothcore-wotlk/modules/bot/ahbot/../playerbot/PlayerbotAIConfig.h:15:34: error: attempt to use a deleted function
  13. static PlayerbotAIConfig instance;
  14. ^
  15. /root/source/azerothcore-wotlk/modules/bot/ahbot/../playerbot/PlayerbotAIConfig.h:90:15: note: destructor of 'PlayerbotAIConfig' is implicitly deleted because field 'config' has an inaccessible destructor
  16. ConfigMgr config;
  17. ^
  18. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:294:92: warning: format specifies type 'int' but the argument has type 'int64' (aka 'long') [-Wformat]
  19. proto->Name1.c_str(), item->GetCount(), auctionIds[auction], curPrice, availableMoney);
  20. ^~~~~~~~~~~~~~
  21. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:320:82: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
  22. proto->Name1.c_str(), item->GetCount(), auctionIds[auction], buytime - time(0));
  23. ^~~~~~~~~~~~~~~~~
  24. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:473:64: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
  25. proto->Name1.c_str(), auctionIds[auction], sellTime - time(0));
  26. ^~~~~~~~~~~~~~~~~~
  27. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:479:64: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
  28. proto->Name1.c_str(), auctionIds[auction], time(0) - sellTime);
  29. ^~~~~~~~~~~~~~~~~~
  30. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:537:37: error: no member named 'GetGUIDObject' in 'Item'
  31. auctionEntry->item_guidlow = item->GetGUIDObject().GetCounter();
  32. ~~~~ ^
  33. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:637:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  34. sLog->outBasic(out.str().c_str());
  35. ^~~~~~~~~~~~~~~~~
  36. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:637:28: note: treat the string as an argument to avoid this
  37. sLog->outBasic(out.str().c_str());
  38. ^
  39. "%s",
  40. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:915:55: warning: format specifies type 'int' but the argument has type 'std::vector::size_type' (aka 'unsigned long') [-Wformat]
  41. sLog->outBasic("{A=%d,H=%d,N=%d} bidders loaded", bidders[1].size(), bidders[2].size(), bidders[3].size());
  42. ~~ ^~~~~~~~~~~~~~~~~
  43. %zu
  44. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:915:74: warning: format specifies type 'int' but the argument has type 'std::vector::size_type' (aka 'unsigned long') [-Wformat]
  45. sLog->outBasic("{A=%d,H=%d,N=%d} bidders loaded", bidders[1].size(), bidders[2].size(), bidders[3].size());
  46. ~~ ^~~~~~~~~~~~~~~~~
  47. %zu
  48. /root/source/azerothcore-wotlk/modules/bot/ahbot/AhBot.cpp:915:93: warning: format specifies type 'int' but the argument has type 'std::vector::size_type' (aka 'unsigned long') [-Wformat]
  49. sLog->outBasic("{A=%d,H=%d,N=%d} bidders loaded", bidders[1].size(), bidders[2].size(), bidders[3].size());
  50. ~~ ^~~~~~~~~~~~~~~~~
  51. %zu
  52. 8 warnings and 3 errors generated.
  53. make[2]: *** [modules/bot/CMakeFiles/bot.dir/build.make:63: modules/bot/CMakeFiles/bot.dir/ahbot/AhBot.cpp.o] Error 1
  54. make[1]: *** [CMakeFiles/Makefile2:123: modules/bot/CMakeFiles/bot.dir/all] Error 2
  55. make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement