Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 06-23-2003, 07:02 PM
Velosity
Sarnak
 
Join Date: May 2003
Location: Rancho Cucamonga, Ca
Posts: 77
Default

go into mysql

then . . . .
type use eq (if eq is your database name, if not use your database name)

it should say Database Changed, if so, good

Then once you get the database changed message type this

Drop table doors

Double check to make sure your source has the create table doors and all the columns for the table so when your doors.sql does the insert into doors values (yadda, yadda);
if so then go ahead and type this

Source doors.sql;

that will begin the source from your doors.sql

if not add this into your doors.sql at the very beginning

DROP TABLE doors;

CREATE TABLE doors (

id int(11) NOT NULL auto_increment,

doorid smallint(4) NOT NULL default '0',

zone varchar(16) NOT NULL default '',

name varchar(10) NOT NULL default '',

pos_y float NOT NULL default '0',

pos_x float NOT NULL default '0',

pos_z float NOT NULL default '0',

heading int(11) NOT NULL default '0',

opentype smallint(4) NOT NULL default '0',

guild smallint(4) NOT NULL default '0',

lockpick smallint(4) NOT NULL default '0',

keyitem int(11) NOT NULL default '0',

triggerdoor smallint(4) NOT NULL default '0',

triggertype smallint(4) NOT NULL default '0',

doorisopen smallint(4) NOT NULL default '0',

liftheight int(4) NOT NULL DEFAULT '0',

PRIMARY KEY (id)

) TYPE=MyISAM;


Please note: MAKE A BACK UP OF YOUR DATABASE, this might be a different table with differnt colums in which you will get a whole bunch of column count doesnt match at yadda yadda

Hope this helps

If you still have problems i can mail you sources that i have sourced in perfectly with a couple, and i do mean a couple column count doesnt match Just PM me
Reply With Quote
 


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 12:36 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