ike3 / mangosbot

This is a modification of MaNGOS (Zero, One, R2, Trinity) server which brings a number of bots online and available for any player. Also allows you to use your account/guild characters as bots.
http://ike3.github.io/mangosbot-docs/
GNU General Public License v2.0
185 stars 79 forks source link

Failure to compile Ubuntu 16.04 #84

Open PICARD99 opened 7 years ago

PICARD99 commented 7 years ago

Failure to compile Ubuntu 16.04 x64

`[ 12%] Building CXX object src/plugins/CMakeFiles/plugins.dir/ahbot/TradeCategory.cpp.o
[ 13%] Building CXX object src/plugins/CMakeFiles/plugins.dir/ahbot/ItemBag.cpp.o
In file included from /home/trinity/MangosBot/src/plugins/ahbot/ItemBag.cpp:4:0:
/home/trinity/MangosBot/src/plugins/ahbot/ConsumableCategory.h: In member function ‘virtual bool ahbot::OtherConsumable::Contains(const ItemTemplate*)’:
/home/trinity/MangosBot/src/plugins/ahbot/ConsumableCategory.h:81:115: error: ‘ITEM_FLAG_UNK6’ was not declared in this scope
 BCLASS_CONSUMABLE_OTHER) && (proto->RequiredSkill || proto->Flags & ITEM_FLAG_U
                                                                     ^
src/plugins/CMakeFiles/plugins.dir/build.make:182: die Regel für Ziel „src/plugins/CMakeFiles/plugins.dir/ahbot/ItemBag.cpp.o“ scheiterte
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/ahbot/ItemBag.cpp.o] Fehler 1
CMakeFiles/Makefile2:1790: die Regel für Ziel „src/plugins/CMakeFiles/plugins.dir/all“ scheiterte
make[1]: *** [src/plugins/CMakeFiles/plugins.dir/all] Fehler 2
Makefile:127: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

` Branch : mangosbot/trinity-wotlk-ai

can you pls fix it or tell me how can i fix it by my self?