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
183 stars 78 forks source link

Can't seem to get players from guild or account to join as bots #20

Closed dmanbob closed 9 years ago

dmanbob commented 9 years ago

In latest version can not seem to add playerbots using .bot add command Tried all config settings, this worked in previous versions could at least get guild members to join, but nothing works now. .bot add xxx error add: xxx not allowed

ike3 commented 9 years ago

It works for me (at least for account). But I noticed that player names are case-sensetive in TC. So

.bot add xxx

won't work but

bot add Xxx

will do

dmanbob commented 9 years ago

OK tried it case works for Guild members only can't get non guild members to join are your account players in your guild too?

ike3 commented 9 years ago

Added some friendly error messages in [ai-0.36-69]

dmanbob commented 9 years ago

OK great yeah it seems only guild member I can add in whether they are in my account or other accounts :)

dmanbob commented 9 years ago

Another note if someone changes the config to AiPlayerbot.AllowGuildBots = 0 and they try and add a bot from the guild the server crashes immediately

ike3 commented 9 years ago

Can you post the crash dump?

dmanbob commented 9 years ago

I shut down for the night but I will tomorrow

dmanbob commented 9 years ago

cannot replicate issue perhaps it was just after I restarted server. Now it seems fine it just won't let you invite them if you set AiPlayerbot.AllowGuildBots = 0

dmanbob commented 9 years ago

did it on latest build with flag on this time AiPlayerbot.AllowGuildBots = 1 when I tried to invite non guild bot, I'm just checking dmp now could be an issue with my PC.

ike3 commented 9 years ago

Tested it on the latest build:

Thunter and Trogue - two chars from different accounts.

.guild create "Test guild" Thunter
.guild invite Trogue "Test guild" 

From Thunter

.bot add Trogue

ok

Changed AiPlayerbot.AllowGuildBots = 0 (which is not default)

From Thunter

.bot add Trogue

You are not allowed to control bot Trogue