Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2009, 10:03 AM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default Error sourcing load_bots (Rev 946)

Had a problem loading load_bots.sql in the 946 Rev of PEQ

the load_bots.sql code is:
Code:
source player_tables/botinventory.sql;
source player_tables/botgroups.sql;
source player_tables/bots.sql;
The code should be:

Code:
source player_tables/bots.sql;
source player_tables/botinventory.sql;
source player_tables/botgroups.sql;
the bots table needs to be sourced first, as the botinventory and botgroups tables have foriegn key constraints - they're looking for a table that doesn't exist yet, o/w you get Can't Create Table: XXXX 'errno: 150'
Reply With Quote
  #2  
Old 08-21-2009, 10:13 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

I ran into that as well. Running the script a second time solved it, so people can use that fix in the meantime.

I noticed that there were two rules giving errors with this database revision on start-up. They were:

AA:MaxEffectSlots
Pathing:MaxNodesLeftForLOSCheck

It's an "unable to find/unable to interpret" rule error. Any idea what's going on there? They're in the database, so something must be missing in the binaries, I reckon.
Reply With Quote
  #3  
Old 08-21-2009, 01:41 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

Mine failed every time - because i was using

mysql -u<login> -p<pass> <db> < load_bots.sql

if one logs into mysql first, then runs
source load_bots.sql

it'll work the 2nd time.

I had the same 2 rule errors on a clean db install and compile of rev 946.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:36 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3