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
|