Things of linux being case sensitive and windows no.
I’ll just fixed the casing issue and do a pull request to get it merged.
Thanks!!
Hey there
A friend and I are doing 40 man raids atm with your bots and many of the boss fights are very debuff heavy
Is there any priority combat order I can add to certain bots to put them on dispel/decurse/cure duty?
Ya so… I have a 53.7MB valgrind report on the memory leak issues if you want it let me know and I will post here or your issue tracker.
==8900== LEAK SUMMARY:
==8900== definitely lost: 17,241,896 bytes in 1,034,727 blocks
==8900== indirectly lost: 15,095,000 bytes in 630,935 blocks
==8900== possibly lost: 16,818,861 bytes in 455,058 blocks
==8900== still reachable: 12,664,335 bytes in 252,730 blocks
==8900== suppressed: 0 bytes in 0 blocks
==8900== Reachable blocks (those to which a pointer was found) are not shown.
==8900== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==8900==
==8900== For counts of detected and suppressed errors, rerun with: -v
==8900== Use --track-origins=yes to see where uninitialised values come from
==8900== ERROR SUMMARY: 140370 errors from 32323 contexts (suppressed: 0 from 0)
Hi,
First I would like to say thank you very much for this “patch”. The Playerbots are awsome! /emoticons/default_smile.png
I’m having some small problems with some different things tho.
I pulled the source using this: $ git clone https://github.com/ike3/mangosbot.git
And everything went just fine. I followed the Wiki on how to install the core, and compile and everything. All went with no errors, i got some warnings when i was compiling, but it was only some preformance issues like converting int to bool.
Everything is working, when i run the server and I’m able to .bot add my own characters into my game, so i can do 5 man instances.
The problem im having is when i want to play with some of the Random bots that is spawned. When i do a /who ingame i can see alot of different characters, with “real names” and everytihng. But when i invite one of them into my party, they show up as “Unknown” and I am not able to give them commands or whisper to them, as the game does not recognize the bots because they are “Unknown”
I would like to be able to use the Dungeon Finder system, to create groups and raids, but its not possible because they show up as “Unknown” as soon as they enter the party or raid.
Are there any solution for this? Something i can do to fix it?
Also the Priest have some kind of bug on Hunterpets, when a Hunter enters the party with a Priest, the Priest starts buffing the HunterPet wih fortitude over and over, untill it runs out of mana, then drinks, and then starts buffing over and over again. For now i have solved this by Removing the “power word: fortitude on party”, from the source code file “PriestNonCombatStrategy.cpp” so now the Priest does not buff the party with fortitude, only it self. Other Priest buffs on party, works fine.
Are there any solution for this?
For info:
I’m running the server on a Windows 7 Machine, the MySQL server is running on the same machine.
If more information is needed to be able to assist me, please let me know.
Thank you in advance.
/Jrod
Hi,
I’m not an expert, I only started trying to compile cores a few months ago, but I had a similar issue with my Mage bot constantly buffing. The cause was due to the level difference between the bots. The mage was casting a level 70 version of the buff to a level 10 bot, it fails so the Mage recasts.
I’ve seen the unknown player intermittently, it may be caused by a resource issue, try limiting to 1 or 2 bots to confirm, then scale up
@ Cheekibreeki
Have you tried disabling dps,
co ~dps
is there an option that somebody makes a .patch for it?
when i type .bot i get the message that playerbot is disabled.
however i have this in config file
[SIZE=12px][FONT=Monaco]# Enable or disable AI Playerbot[/FONT][/SIZE]
[SIZE=12px]AiPlayerbot.Enabled = 1[/SIZE]
i fixed it by hardcoding in the AiBotsConfig.cpp file that it should point to the file.
Got this error when i patched with above
patching file src/server/game/Handlers/ChatHandler.cpp
Hunk #1 FAILED at 302.
Hunk #2 succeeded at 322 (offset -11 lines).
Hunk #3 succeeded at 349 (offset -11 lines).
Hunk #4 succeeded at 388 (offset -11 lines).
Hunk #5 succeeded at 418 (offset -11 lines).
Hunk #6 succeeded at 443 (offset -11 lines).
Hunk #7 succeeded at 501 (offset -11 lines).
1 out of 7 hunks FAILED -- saving rejects to file src/server/game/Handlers/ChatHandler.cpp.rej
File sql/characters_ai_playerbot_real_names.zip: git binary diffs are not supported.
patching file src/plugins/playerbot/PlayerbotAI.cpp
compilation terminated due to -Wfatal-errors.
make[2]: *** [src/plugins/CMakeFiles/plugins.dir/playerbot/RandomPlayerbotFactory.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 60%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/zone_ungoro_crater.cpp.o
/home/iceymidgit/TrinityCore/src/plugins/ahbot/ItemBag.cpp: In member function ‘void ahbot::ItemBag::Init(bool)’:
/home/iceymidgit/TrinityCore/src/plugins/ahbot/ItemBag.cpp:90:137: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘std::vector<unsigned int>::size_type {aka long unsigned int}’ [-Wformat=]
sLog->outMessage("playerbot", LOG_LEVEL_INFO, "loaded %d %s items", content[category].size(), category->GetDisplayName().c_str());
^
[ 60%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/WailingCaverns/instance_wailing_caverns.cpp.o
[ 60%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/WailingCaverns/wailing_caverns.cpp.o
[ 61%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/zone_durotar.cpp.o
[ 61%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/Kalimdor/zone_felwood.cpp.o
make[1]: *** [src/plugins/CMakeFiles/plugins.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The TC versions are completely different. You need to adapt the patch / added code to the TC version you use.
If you dont know how… how about trying to use the default install option?
Hi,
I have a new build on Debian 7 based on the instructions at the wiki and Ike3’s Mangos Bot website. I am using DB 57. I imported all of the DB updates. When I run the worldserver, bots never load, ahbot never adds items to AH, and when I try to add a bot manually in game, worldserver seg faults. I attempted to go through the crash, but not really understanding the debug output.
Any help to point me in the right direction would be greatly appreciated!
Thank you!
I’m quite new here, and i don’t know here to start to apply patches to core. Can someone point to a guide or give me some hints. Thanks.
Hi all,
I have successfully installed TrinityCore in 3.3.5 on a Debian server.
After trying to install MangosBot, following the same procedure as before (from the trinitycore wiki), I get the following error:
[ 9%] Building CXX object src/plugins/CMakeFiles/pch.cpp_dephelp.dir/pch/pch.cpp.o
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/shared_mutex.hpp:12,
from /usr/include/boost/thread/shared_mutex.hpp:16,
from /root/mangosbot/src/server/game/Globals/ObjectAccessor.h:26,
from /root/mangosbot/src/plugins/pch/pch.h:6,
from /root/mangosbot/src/plugins/pch/pch.cpp:1:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
compilation terminated due to -Wfatal-errors.
src/plugins/CMakeFiles/pch.cpp_dephelp.dir/build.make:54: recipe for target ‘src/plugins/CMakeFiles/pch.cpp_dephelp.dir/pch/pch.cpp.o’ failed
make[2]: *** [src/plugins/CMakeFiles/pch.cpp_dephelp.dir/pch/pch.cpp.o] Error 1
CMakeFiles/Makefile2:1263: recipe for target ‘src/plugins/CMakeFiles/pch.cpp_dephelp.dir/all’ failed
make[1]: *** [src/plugins/CMakeFiles/pch.cpp_dephelp.dir/all] Error 2
Makefile:113: recipe for target ‘all’ failed
make: *** [all] Error 2
Do you have any idea what the problem could be ?
Thanks in advance
EDIT : solved with http://stackoverflow.com/a/20990847
What GCC and Boost version do you have?
Thanks for your response.
I solved it with http://stackoverflow.com/a/20990847
However, after compiling and configuring the config files, I get the same message as maestro (playerbot disabled).
I tried his solution to hardcode in the cpp file, but it still does not work.
Any idea on this ?
Thanks again
Hi,
I’m trying to figure it out, but is this actually works only on TrinityCore-3.3.5, or can run on 6.X ?
By the way there are some new updates, by ike3 : https://github.com/ike3/mangosbot/commit/f9fcae489348e354a11bbc02211c60185e1d3bca /emoticons/default_smile.png /emoticons/default_smile.png
I am getting the same “playerbot system disabled” bug. I tryd to build a previous version - still no luck though. I dont get why earlier commits dont have the plugins folder in src?
I created an issue on git and will inspect my buildlogfiles when I get home. Any help will be greatly appreciated!
Is there a src version which was compiled succesfully that I can use as a reference?
What OS do you guys with the same error run?
Copy ahbot.conf and playerbot.conf to bin. where is worldserver and authserver.
can’t wait to see these bots integrated in trinity core releases!!! Any official word about integration like in ManGos?