EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::General Discussion (https://www.eqemulator.org/forums/forumdisplay.php?f=613)
-   -   sql noob (https://www.eqemulator.org/forums/showthread.php?t=230)

SVVS 02-02-2002 01:24 PM

sql noob
 
ok, today is my first time with this emulator und sql.
i found a link with spawn-loot infos etc.
i have now the infos to copy and paste at the db.sql

but where exactly???

for example:

#
# Table structure for table 'npc_types'
#

CREATE TABLE npc_types (
id int(11) NOT NULL auto_increment,
name text NOT NULL,
level tinyint(2) unsigned NOT NULL default '0',
race tinyint(2) unsigned NOT NULL default '0',
class tinyint(2) unsigned NOT NULL default '0',
hp int(11) NOT NULL default '0',
gender tinyint(2) unsigned NOT NULL default '0',
texture tinyint(2) unsigned NOT NULL default '0',
helmtexture tinyint(2) unsigned NOT NULL default '0',
size tinyint(2) unsigned NOT NULL default '0',
hp_regen_rate int(11) unsigned NOT NULL default '0',
mana_regen_rate int(11) unsigned NOT NULL default '0',
loottable_id int(11) unsigned NOT NULL default '0',
PRIMARY KEY (id)
) TYPE=MyISAM;

#
# Dumping data for table 'npc_types'
#

where i have to copy the lines?



..yeah i know iam stupid

SVVS 02-02-2002 02:03 PM

/bonk find it, after dumping data.. right? ;)

madborg 02-02-2002 04:18 PM

Re: sql noob
 
Quote:

Originally Posted by SVVS

where i have to copy the lines?



..yeah i know iam stupid

first, its not a matter of being stupid...but don't get ahead of the game yet, if you are new. First get the basic part working:
create the eq database, have a admin, import db.sql.
Then get a working version going.

After that, you can play around with cutting and pasting things. I still don't do the above thing and I have done many, many installations.

Baron Sprite 02-04-2002 07:40 AM

Read through the manuals at mysql's website too, they got a wealth of information there ;)


All times are GMT -4. The time now is 12:00 PM.

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