PDA

View Full Version : Need some help with a server


palmerjosh
03-13-2003, 03:26 PM
I am trying to get a server up and running and am having two problems..

I can figure out how to get the npc's to spawn...I have the database up grade but it will not work.

Also...PC's don't seem to have armor turned on?

Anyone have similiar problems?

Memener
03-13-2003, 03:31 PM
did you try reading to readme? and is you want to change spawns download eqemu admin tool and install it and you can make new items, make new account with chars and alot more

palmerjosh
03-13-2003, 05:04 PM
Yes I did read the read me...

I am running into an area trying to merge the 4.3 database into the one that comes with EqEmu. It gets to the spawn.sql file and then has a ton of errors.

Memener
03-13-2003, 06:19 PM
i get alot of errors too so i dont know lol

palmerjosh
03-13-2003, 06:34 PM
Tried this again ...

I have eqemu 4.3 and eqemu 4.0 with the db that comes with it. I source that fine.

I then have the 4.1 db addon file...
When I try to source the addon it seems to go fine til the spawn.sql file where I get this error message.... alot..

ERROR 1136 at line <xxxxx> in file: 'spawns.sql': Coulum count doesn't match value at row one!

Kappen
03-13-2003, 07:56 PM
You have to go into the db.sql and replace the npc_types structure with this:

--
-- 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 smallint(5) unsigned NOT NULL default '0',
class tinyint(2) unsigned NOT NULL default '0',
bodytype int(11),
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 float 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',
merchant_id int(11) unsigned NOT NULL default '0',
npc_spells_id int(11) unsigned not null default '0',
npc_faction_id int(11) not null default '0',
mindmg int(10) unsigned NOT NULL default '0',
maxdmg int(10) unsigned NOT NULL default '0',
npcspecialattks varchar(36) NOT NULL default '',
banish int(10) unsigned NOT NULL default '0',
aggroradius int(10) unsigned NOT NULL default '0',
social int(10) unsigned NOT NULL default '0',
face int(10) unsigned NOT NULL default '1',
luclin_hairstyle int(10) unsigned NOT NULL default '1',
luclin_haircolor int(10) unsigned NOT NULL default '1',
luclin_eyecolor int(10) unsigned NOT NULL default '1',
luclin_beardcolor int(10) unsigned NOT NULL default '1',
fixedz tinyint(2) unsigned NOT NULL default '0',
d_meele_texture1 int(10) unsigned NOT NULL default '0',
d_meele_texture2 int(10) unsigned NOT NULL default '0',
walkspeed float NOT NULL default '0',
runspeed float NOT NULL default '0',
MR smallint(5) NOT NULL default '0',
CR smallint(5) NOT NULL default '0',
DR smallint(5) NOT NULL default '0',
FR smallint(5) NOT NULL default '0',
PR smallint(5) NOT NULL default '0',
PRIMARY KEY (id)
) TYPE=MyISAM;

This is what fixed my problem and my spawns are goin great.
It would probably be best to:
1) Drop your current database
2) Source db.sql again
3) Then do the Database addon