EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Can not get bots to work on a fresh install (https://www.eqemulator.org/forums/showthread.php?t=41006)

SCROFT 10-28-2016 02:18 PM

Can not get bots to work on a fresh install
 
I wanted to get a server up again after many years of being away.

I used the Linux auto install.sh script on a Ubuntu 16.04 box. Then I used the script to setp_bots. WOW this is so much easier than a few years ago. got into my server with a client everything works except ^botcreate bob 1 1 1 tells me invalid username A-Z... Etc. So I try to use the install script to dump the bot tables then use the update bots db option... same issue. So I figure I did something wrong and reinstalled everything (after deleting folder and dropping the DB). Still same issue. I search the forums and see that some people have had issues with upgrading bots and instructed to manually instal the bot tables. So I again delete and drop... fresh install but did NOT do setup_bots right away. I manually sourced in all the bot sql files then I did the setup_bots. Same issue.

So I am at a loss as to why a fresh install doesn't work or any other way I have tried.

Any ideas from any of you?

-Scroft

Uleat 10-28-2016 02:46 PM

try ^botcreate Bob 1 1 1 and see if that helps.

The name rejection message is telling you that the first letter needs to be capitalized.

SCROFT 10-28-2016 03:05 PM

Tried that... still get the same message.

SCROFT 10-28-2016 03:13 PM

interesting... I set "Bots:AllowCamelCaseNames" to true... and this happens..
^botcreate Mybot 1 1 1 - Works
^botcreate Bob 1 1 1 - Does not work
^botcreate Bobbot 1 1 1 - Works

not sure but feels like a bug in that logic?

SCROFT 10-28-2016 03:17 PM

So set it back to false...
^botcreate Bob 1 1 1 - Does not work
^botcreate Bobbybot 1 1 1 Works

So looks like no matter what you have to have "bot" in the name with or without the setting on.

SCROFT 10-28-2016 03:20 PM

yea has to be a bug... will leave that you you :-)

At least i know how to work around it for now.

Thanks

Uleat 10-28-2016 04:32 PM

https://github.com/EQEmu/Server/blob.../bot.cpp#L1535

Names are a 4-char minimum..that would reject as well, regardless of CamelCase names.

SCROFT 10-28-2016 05:57 PM

ok didn't know that. Makes sense now.

Thanks again.

Uleat 10-28-2016 06:07 PM

Sorry about the confusion...

I upped the minimum requirement to meet that of player characters.


All times are GMT -4. The time now is 06:32 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.