botinventory error
receiving the following error.
Code:
KEY FK_botinventory_1 (BotID), |
That doesn't look like an error. That looks like partial sql.
|
Quote:
|
Table 'bots' created ok?
|
Yea, in the command prompt the only thing that won't create is the botinventory table. In game I can summon bots and everything, they just won't equip items or respond to #bot inventory list. Says bot.inventory table not created or something.
|
That's a duplicate key error message. It could have been left over in the innodb entries from a previous drop command. Did you previously have the regular database and just modify it with the bots sql?
|
Not sure what you mean. It was from a fresh bot server install. Sourced everything in and ran all the update sqls. Everything w/the bot works except the inventory table.
|
Still having this issue...
|
ERROR 1005 (HY000): Can't create table '.\peq\botinventory.frm (errno:121)
|
I'm looking for a fix on this myself.
|
i just followed these steps and everything sourced in without errors. this will get you a fresh install, but you will lose anything you already have.
from the database svn, download everything. http://projecteqdb.googlecode.com/svn/trunk go to the peqdatabase folder where you downloaded everything to on your system extract peqdb_rev2022.sql from peqdb_rev2022.sql.gz open a command window in the peqdatabase folder mysql -u root -p drop schema peq; create database peq; \u peq source peqdb_rev2022.sql; source load_player.sql; source load_bots.sql; |
All I know is I swapped some lines in the load_bots.sql and got the error on bot guilds part instead of the inventory. Something along the 3rd or 4th line of that doesn't wanna play nice. Bots work fine now, just can't join a guild. 8)
|
Quote:
|
That is the only way I could get the botinventory table to be created. Where the botinventory is in the load_bots.sql, i just swapped that w/the guild portion and the guild portion now has the error from above.
I can live w/out the bot in a guild, the inventory would be bleh. |
If you started from scratch and created the database by sourcing peqdb_rev2022.sql, then load_player.sql, then load_bots.sql you should not be receiving an error. I just tested it again, and if you do the steps in that order it works.
|
All times are GMT -4. The time now is 08:16 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.