Open SoulEater opened 8 years ago
bin and etc folder also has the config file.
drwxr-xr-x 5 root root 4096 Oct 14 11:59 /home/wow/server -rw-r--r-- 1 root root 6015 Oct 14 11:58 /home/wow/server/ahbot.conf -rw-r--r-- 1 root root 5769 Oct 14 11:59 /home/wow/server/aiplayerbot.conf drwxr-xr-x 2 root root 4096 Oct 14 12:46 /home/wow/server/bin -rw-r--r-- 1 root root 6015 Oct 14 12:46 /home/wow/server/bin/ahbot.conf -rw-r--r-- 1 root root 5769 Oct 14 12:46 /home/wow/server/bin/aiplayerbot.conf
drwxr-xr-x 2 root root 4096 Oct 14 10:16 /home/wow/server/etc -rw-r--r-- 1 root root 6015 Oct 14 10:41 /home/wow/server/etc/ahbot.conf -rw-r--r-- 1 root root 6015 Mar 9 2015 /home/wow/server/etc/ahbot.conf.dist.in -rw-r--r-- 1 root root 5769 Oct 14 10:41 /home/wow/server/etc/aiplayerbot.conf -rw-r--r-- 1 root root 5829 Mar 9 2015 /home/wow/server/etc/aiplayerbot.conf.dist.in -rw-r--r-- 1 root root 8975 Oct 13 11:16 /home/wow/server/etc/authserver.conf -rw-r--r-- 1 root root 8975 Mar 9 2015 /home/wow/server/etc/authserver.conf.dist -rw-r--r-- 1 root root 115598 Oct 14 10:41 /home/wow/server/etc/worldserver.conf -rw-r--r-- 1 root root 107053 Mar 9 2015 /home/wow/server/etc/worldserver.conf.dist
You need to put them in your bin folder. Or in windows your EXE location....for some dumb reason.
Well, the "dumb" reason is that unless configured otherwise, the binaries authserver + worldserver will look for their respective .conf files in the same folder. On Linux, that usually means in the /bin folder, because that seems to be how the TC source has defined the location of the binaries, but on Windows it does not matter which folder, as long as it is the same folder as authserver.exe and worldserver.exe .
If you want to enable finding them in other folders as well, you will need to modify the source to support additional path settings to be searched in, to find the conf files in other folders than the core folder.
It was fixed at one point in LP's commits and then got lost. But either way, I just put them in both spots anymore. Not like the kb's will be missed.
my "fix" didn't really work... if I remember correctly, it worked only on 1 OS (either debian or windows. can't remember) but not on the other. I may combine the aiplayerbot.conf file with worldserver.conf file to resolve this issue. Waiting on more input to see if people would want this.
I'm on Mac and the worldserver does not find:
AhBot is Disabled. Unable to open configuration file ahbot.conf Initializing AI Playerbot by ike3, based on the original Playerbot by blueboy AI Playerbot is Disabled. Unable to open configuration file aiplayerbot.conf
I put the necessary files -both- in /etc/ and in /bin/ folder; so I've duplicates! I tried to just use one directory and empty the other one as it may have caused trouble but it also didn't work out.
How can I get this running? Please help.
edit. I checked also my access permissions, but read and write is set for everyone for every file in my folder...
Check the TrinityCore wiki guide for how the source is set up under OSX to see if you can find a solution.
I know how to set-up the source. I've done it a couple times with multiple realm running - the problem is, that the LordPsyan source (with the bots) simply doesn't find the config file and I have no idea where to put it, because I already put it in every place I can imagine...
ping @LordPsyan for comment on that issue. I don't know since it seems to work OK on Windows.
I took a look at this old issue: https://bitbucket.org/lordpsyan/trinitycore-patches/issues/313/ike3-playerbots-playerbot-system-is Open my configuration file and hardcoded my complete path inside like /Users/username/server-directory/bin/aiplayerbot.conf And now it seems to work. My worldserver is processing the bots right now...
OK, good job. Thanks for checking it out and reporting back. :+1:
Under Linux, conf file can't be load.
Initializing AuctionHouseBot... Initializing AhBot by ike3 AhBot is Disabled. Unable to open configuration file ahbot.conf Initializing AI Playerbot by ike3, based on the original Playerbot by blueboy AI Playerbot is Disabled. Unable to open configuration file aiplayerbot.conf