[Patch] NPC Bots

I’m still having issues with applying the NPCBots.patch, I used trinitycore b8625f41bd, I must be doing something wrong, any help would be appreciated.

Appears the Trinity source I was using was corrupted.

After compile new ‘worldserver.conf’ file will have additional config options. Just copy bot configuration section into your old config file so you can configure bots as you like.

I followed instructions, I have had no issues in the past, and yes, I know how to use the command window in git extensions, however, you can also just shift click the actual source folder, and it’s the same thing, or should I say, you get the same results since I have git installed in the first place.

I just need to have one thing clear, when I use git extensions and go to git bash, I’m just typing patch -p1 < NPCBots.patch correct? If so, I’m having issues. I pulled the source with git too. Again, I did this prior with no issues, it’s just been awhile, and I feel I’m missing something, but I’m not stupid, I’ve been programming for 40 years, just not too savy with Git as I’m an old school programmer and we didn’t have this great stuff back in the day.

Not using repacks, I have been making my own since wow came out though.

http://eliterepacks.zapto.org

Believe me, I hate to ask for help with something this easy, just don’t know what I’m doing wrong, I remember just a few months ago I used this great bot patch for the first time and had no issues.

Well, I just pulled the latest trinity 3.3.5 master source, and decided to try to run the patch via git without changing the rev, and it worked fine, I was using an old source that must have gotten corrupted or something, thanks for the quick responses, I was up all day and night working on another project when I started tackling this, and I should’ve pulled a new source not use one from my last pull. Thanks again, Trichomes, aka Blasphemous.

i have been getting lots of

In file included from /home/######/TrinityCore/src/server/game/Server/Protocol/Opcodes.h:32:0,
                 from PrecompiledHeaders/gamePCH.h:11:
/home/######/TrinityCore/src/server/game/Server/WorldSession.h:216:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 13%] Built target generate_gamePCH.cpp
Scanning dependencies of target game
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/Accounts/AccountMgr.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/Accounts/RBAC.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/Achievements/AchievementMgr.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/Addons/AddonMgr.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/SmartScripts/SmartAI.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/SmartScripts/SmartScriptMgr.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/SmartScripts/SmartScript.cpp.o
[ 13%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/CreatureAI.cpp.o
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_druid_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp: In member function ‘virtual uint8 druid_bot::bot_druid_ai::GetBotStance() const’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_NONE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_TREE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_TRAVEL’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_AQUA’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_AMBIENT’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_GHOUL’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_STEVES_GHOUL’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_THARONJA_SKELETON’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_TEST_OF_STRENGTH’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_BLB_PLAYER’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_SHADOW_DANCE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_CREATUREBEAR’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_CREATURECAT’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_GHOSTWOLF’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_BATTLESTANCE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_DEFENSIVESTANCE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_BERSERKERSTANCE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_TEST’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_ZOMBIE’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_METAMORPHOSIS’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_UNDEAD’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_MASTER_ANGLER’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_FLIGHT_EPIC’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_SHADOW’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_FLIGHT’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_STEALTH’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_MOONKIN’ not handled in switch [-Wswitch]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_druid_ai.cpp:84:20: warning: enumeration value ‘FORM_SPIRITOFREDEMPTION’ not handled in switch [-Wswitch]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_hunter_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_hunter_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_mage_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_mage_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_rogue_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_rogue_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/botcommands.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/botcommands.cpp:8:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp: In member function ‘void bot_ai::_listAuras(Player*, Unit*) const’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:738:50: warning: format not a string literal and no format arguments [-Wformat-security]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp: In member function ‘void bot_minion_ai::SetStats(bool, bool)’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:933:95: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp: In member function ‘bool bot_minion_ai::OnGossipSelect(Player*, Creature*, uint32, uint32)’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3751:82: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3751:82: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3751:82: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3751:82: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3775:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3775:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3775:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3775:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3775:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3775:98: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp: In member function ‘void bot_minion_ai::SummonBotsPet(uint32)’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:3863:12: warning: variable ‘armor’ set but not used [-Wunused-but-set-variable]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp: At global scope:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.cpp:4681:51: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bothelper.cpp.o
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_death_knight_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_death_knight_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/QBots/botQ_Airen.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/QBots/botQ_Airen.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 14%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_shaman_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_shaman_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_shaman_ai.cpp: In member function ‘virtual void shaman_bot::shaman_botAI::InitSpells()’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_shaman_ai.cpp:1145:85: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_priest_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_priest_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_priest_ai.cpp: In member function ‘virtual void priest_bot::priest_botAI::InitSpells()’:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_priest_ai.cpp:838:83: warning: enumeral and non-enumeral type in conditional expression [enabled by default]
[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_warrior_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_warrior_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_paladin_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_paladin_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/bot_warlock_ai.cpp.o
In file included from /home/######/TrinityCore/src/server/game/AI/NpcBots/bot_warlock_ai.cpp:1:0:
/home/######/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]

Linking CXX static library libgame.a
[ 33%] Built target game
[ 33%] Built target collisionPCH.cpp_dephelp
[ 34%] Built target generate_collisionPCH.cpp
Scanning dependencies of target collision
[ 34%] Building CXX object src/server/collision/CMakeFiles/collision.dir/Management/VMapManager2.cpp.o
[ 34%] Building CXX object src/server/collision/CMakeFiles/collision.dir/Models/GameObjectModel.cpp.o
Linking CXX static library libcollision.a
[ 35%] Built target collision
Scanning dependencies of target authPCH.cpp_dephelp
[ 35%] Building CXX object src/server/authserver/CMakeFiles/authPCH.cpp_dephelp.dir/PrecompiledHeaders/authPCH.cpp.o
Linking CXX shared module libauthPCH.cpp_dephelp.so
[ 35%] Built target authPCH.cpp_dephelp
[ 35%] Generating authPCH.h.gch
[ 35%] Built target generate_authPCH.cpp
Scanning dependencies of target authserver
[ 35%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Realms/RealmList.cpp.o
[ 35%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Server/AuthSocket.cpp.o
[ 35%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Main.cpp.o
[ 35%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/PrecompiledHeaders/authPCH.cpp.o
Linking CXX executable authserver
[ 36%] Built target authserver
Scanning dependencies of target ScriptPCH.cpp_dephelp
[ 36%] Building CXX object src/server/scripts/CMakeFiles/ScriptPCH.cpp_dephelp.dir/PrecompiledHeaders/ScriptPCH.cpp.o
In file included from /home/######/TrinityCore/src/server/game/Grids/Notifiers/GridNotifiers.h:34:0,
                 from /home/######/TrinityCore/src/server/scripts/PrecompiledHeaders/ScriptPCH.h:12,
                 from /home/######/TrinityCore/src/server/scripts/PrecompiledHeaders/ScriptPCH.cpp:5:
/home/######/TrinityCore/src/server/game/Server/WorldSession.h:216:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
Linking CXX shared module libScriptPCH.cpp_dephelp.so
[ 36%] Built target ScriptPCH.cpp_dephelp
[ 36%] Generating ScriptPCH.h.gch
In file included from /home/######/TrinityCore/src/server/game/Grids/Notifiers/GridNotifiers.h:34:0,
                 from PrecompiledHeaders/ScriptPCH.h:12:
/home/######/TrinityCore/src/server/game/Server/WorldSession.h:216:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
[ 36%] Built target generate_ScriptPCH.cpp
Scanning dependencies of target scripts

i have some error on c-make on the latest rev [COLOR=rgb(68,68,68)]98a9a088bf8cb05715e7fe186f241476691bbfee

[COLOR=rgb(68,68,68)]inserting the patch to the rev workes fine but on c make it say’s me

Configuring incomplete, errors occurred!

See also “C:/Build/CMakeFiles/CMakeOutput.log”.

do you have any workaround for it?

ok the latest core has en error but who i dont know

Can’t reproduce, cmake gives me no errors (using 2.8.12.2)

ok have downgrade cmake, install msvc 2013 update to latest core and install the NPCBots.patch than, now it works now /emoticons/default_wink.png but there’s one bug i have found so far. when you spawn any npc at start has no weapon equiped.

get this error latest core 394ac748f8b468c97bcc008d32cc931829a524cb after i patch bots, dont get this error with ahbot or just [SIZE=11px]straight[/SIZE] core

[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/QBots/botQ_Airen.cpp.o
In file included from /home/icey/TrinityCore/src/server/game/AI/NpcBots/QBots/botQ_Airen.cpp:1:0:
/home/icey/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
uint8 const _onOffIcon(uint8 role) const;
^
/home/icey/TrinityCore/src/server/game/AI/NpcBots/QBots/botQ_Airen.cpp:20:43: error: expected ‘;’ at end of member declaration
CreatureAI* GetAI(Creature* creature) const OVERRIDE
^
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/server/game/CMakeFiles/game.dir/AI/NpcBots/QBots/botQ_Airen.cpp.o] Error 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 16%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Spells/spell_generic.cpp.o

[ 78%] Built target scripts
make: *** [all] Error 2
icey@icey-server:~/TrinityCore/build$ [ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/QBots/botQ_Airen.cpp.o
-bash: [: missing ]' icey@icey-server:~/TrinityCore/build$ In file included from /home/icey/TrinityCore/src/server/game/AI/NpcBots/QBots/botQ_Airen.cpp:1:0: In: command not found icey@icey-server:~/TrinityCore/build$ /home/icey/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] -bash: /home/icey/TrinityCore/src/server/game/AI/NpcBots/bot_ai.h:547:44:: No such file or directory icey@icey-server:~/TrinityCore/build$ uint8 const _onOffIcon(uint8 role) const; -bash: syntax error near unexpected token (’
icey@icey-server:~/TrinityCore/build$ ^
^: command not found
icey@icey-server:~/TrinityCore/build$ /home/icey/TrinityCore/src/server/game/AI/NpcBots/QBots/botQ_Airen.cpp:20:43: error: expected ‘;’ at end of member declaration
-bash: /home/icey/TrinityCore/src/server/game/AI/NpcBots/QBots/botQ_Airen.cpp:20:43:: No such file or directory
’: command not found
icey@icey-server:~/TrinityCore/build$ CreatureAI* GetAI(Creature* creature) const OVERRIDE
-bash: syntax error near unexpected token (' icey@icey-server:~/TrinityCore/build$ ^ ^: command not found icey@icey-server:~/TrinityCore/build$ compilation terminated due to -Wfatal-errors. compilation: command not found icey@icey-server:~/TrinityCore/build$ make[2]: *** [src/server/game/CMakeFiles/game.dir/AI/NpcBots/QBots/botQ_Airen.cpp.o] Error 1 make[2]:: command not found icey@icey-server:~/TrinityCore/build$ make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2 make[1]:: command not found icey@icey-server:~/TrinityCore/build$ make[1]: *** Waiting for unfinished jobs.... make[1]:: command not found icey@icey-server:~/TrinityCore/build$ [ 16%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Spells/spell_generic.cpp.o -bash: [: missing ]’
icey@icey-server:~/TrinityCore/build$

The fix is simple. TC changed OVERRIDE to override. so change this line:

CreatureAI* GetAI(Creature* creature) const OVERRIDE

to

CreatureAI* GetAI(Creature* creature) const override

I have this already done, plus a fix for the creature_template changes (removed faction_H and renamed faction_A to faction) on my repo

https://bitbucket.org/lordpsyan/trinitycore-patches

Trickerer, you have done a great job on npcbots. I hope you keep working on it.

can anyone help me?

i got everything properly installed and applied all the sql patches to database and my commands are working.

my issue is that when i type in .npcbot add priest it says “npcbot is NOT created for some reason”

and i looked in my console and it says “cannot create bot of class 5, not found in DB!” tried it couple times with diff classs with same results.

even compiled a couple times…

You forgot sql’s

can you link me the correct sqls then? cause i uploaded the following sqls;

auth_rbac.sql

character_NPC_bots.sql

world_bot_helper_locales_gossip_menu_option.sql

world_bots.sql

world_creature_template_outfits.sql

btw my character_NPC_bots table is empty… or should it be empty?

oh and the world_bots.sql gives me alotta errors when uploading (got continous on errors enabled)

did a whole clean server install and its still not working…

Yes this table is empty initially.

That is the problem. This version is incompatible with your TC version

Ooh ok that makes sence lol. Is this script to be updated anytime soon? Or should i downgrade my TC version?

Try this version: http://www.trinitycore.org/f/topic/6387-patch-ac2/#entry66182

There will be no updates for bots until I finish https://bitbucket.org/trickerer/trinity-bots/issue/77/feature-request-bots-on-world.

Awesome i will try this out /emoticons/default_wink.png

Btw do bots also go along in queue for dungeons?

No, you still need players

Hhmm is it possible to change the required ppl for rdf? So you can go straight to dungeon alone? That would be awesome lol.

I think such patch already exists, google it