EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Bots (https://www.eqemulator.org/forums/showthread.php?t=36397)

Disorder 02-02-2013 05:01 PM

Bots
 
I debated whether this issue went in this forum or bots forum, but I think it relates more directly towards compiling/building issues.

I'm trying to get bots working. I chose to enable bots in cmake. I also used the bots.sql, and I executed the three 2380_optional_merc_rules.sql/type -- I'm unable to locate a guide in reference to implementing bots only. If any one could link or possibly briefly explain where I'm going wrong I would appreciate it.

The use of #bot commands does nothing when I attempt to use in game.

Thanks in advance.

Zamthos 02-02-2013 05:41 PM

Check here: http://www.eqemulator.org/forums/showthread.php?t=32980

Are you sure you did this?:
Code:

source load_bots.sql
Edit: I know this isn't for bots only, but you have to choose ReleaseBots in CMake then source in bots using the load_bots.sql.

Derision 02-02-2013 05:46 PM

If you type #bot and don't get the response saying "Bad argument, type #bot help" then for some reason your executables don't have bot support compiled in.

Assuming you ticked EQMU_ENABLE_BOTS in cmake, did you then click configure and then click generate, then go to the Build directory, open EQEMu.sln, right click on ALL_BUILD, select clean, then right click on ALL_BUILD and select Build, then copy the compiled .exe and .dll files from Build/Debug (or Build/Release) to wherever you run your server from ?

The 'Clean' step may not be necessary.

If #bot on it's own gives the 'Bad argument' error, but bot commands don't do anything, then that is probably a DB issue as Zamthos suggested.

Disorder 02-02-2013 08:46 PM

Derision, I do believe this is what I did, but I shall try again. :)

Uleat 02-02-2013 09:21 PM

Yep, I fell to that too. You have to re-configure or it generates with defaults.

You really don't want to generate with 'red,' but it's not gonna kill ya.

Disorder 02-02-2013 09:34 PM

It's always in the red. Am I doing something wrong? haha.


And #bots command still does nothing. Yikes, sounds like I've really got something goofed.

FievelMousey 02-02-2013 09:48 PM

When turns red on me I just empty the folder it generates stuff to as output folder clear it to fix then redo generate etc should fix it. I would clear all files in output folder redo generate etc it should fix the red issue.

sorvani 02-02-2013 09:53 PM

Click delete cache in the GUI

Disorder 02-02-2013 10:49 PM

Ok, a step closer. Now I get responses to #bot commands but, for example, creating a bot yields:

Quote:

#1054: Unknown column 'HP' in 'field list'
Suggestions?

:) Thanks!

sorvani 02-03-2013 12:33 AM

You did not source all the database updates in.

Disorder 02-03-2013 12:43 AM

hmmmmmm I guess I could try doing them all again, see if I find one I missed.

Disorder 02-03-2013 11:43 PM

I've gone and executed every bot SQL in the svn. Still getting errors. Any suggestions?

Disorder 02-04-2013 12:58 AM

I redid everything from start to finish. New database and all. Still not getting it to work. Getting

Quote:

#1054: Unknown Column 'HP' in 'field list'
I know it must be something small. I'm using rev 2294, executed every number after it, including the load_bots.sql and bots.sql.

Do I need to start with Rev2165-Bots.sql instead of the latest vanilla rev then execute all consecutive files?

Thanks in advance :)

Disorder 02-04-2013 01:29 AM

Started over again with Rev 2294, load_players, load_bots, and bots.sql only.

Bots work. So I must be running an update that is causing problems. I'm guessing I am using a merc related update or something.


All times are GMT -4. The time now is 04:58 AM.

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