Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2005, 11:23 AM
Casai
Fire Beetle
 
Join Date: Nov 2004
Posts: 4
Default eq.lootdrop_entries

Hi all.

First off, thank you guys for the emu. I hope I am finally getting a chance to play EQ the way I want on LAN with my brother once I have set everything up.

Anyways I have a problem when I try to source classic Kunark DB into my DB. I get an error when the file gets to eq.lootdrop_entries.

"ERROR 1146 (42S02) : Table 'eq.lootdrop_entries' doesn't exist"

I have no idea how to troubleshoot this since is the first time I ever used MySQL. I have read the guide a few time over now and still cant figure it out.

Any help is appreciated,

Casai
Reply With Quote
  #2  
Old 03-30-2005, 06:38 PM
Casai
Fire Beetle
 
Join Date: Nov 2004
Posts: 4
Default ahaa

I've had some sleep and figured it out.

Here is what to do if you get any sort of error when sourcing the database. Uninstall MySQL go to their site and download version mysql-4.0.24-win-noinstall.zip and install it.


Then follow the guide. Basically
mysql -u root mysql
Create Database eq;
Use eq;
source peq_kunark.sql;


I've installed mysql-4.1.10a-win32.zip and it doesnt work. So don't install MySQL above version 4.0xxx!

Cheers,

Casai
Reply With Quote
  #3  
Old 03-30-2005, 07:26 PM
Casai
Fire Beetle
 
Join Date: Nov 2004
Posts: 4
Default even better

also found this for those who feel comfortable with MySQL. Looks like 4.1 can be used after all.

Quote:
Originally Posted by RangerDown
There was a mistake in its primary key definition -- the same field being listed twice -- and mysql 4 doesn't like that.

The primary key definition for that table has been corrected and should show up in the Sourceforge on the next beta release. If you're keen with editing the SQL file you can go ahead and edit what you have to fix the error.

Go to the lines that read:
Code:
CREATE TABLE lootdrop_entries (
  lootdrop_id int(11) unsigned NOT NULL default '0',
  item_id int(11) NOT NULL default '0',
  item_charges tinyint(2) unsigned NOT NULL default '1',
  equip_item tinyint(2) unsigned NOT NULL default '0',
  chance tinyint(2) unsigned NOT NULL default '1',
  PRIMARY KEY  (lootdrop_id,item_id,lootdrop_id)
) TYPE=MyISAM;
Change that PRIMARY KEY line so that the lootdrop_id field is listed only once in it. Should then read:

Code:
  PRIMARY KEY  (lootdrop_id,item_id)
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 04:15 AM.


 

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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3