For that creature_proto error, execute this:
Code:alter table creature_proto change health minhealth int(30) unsigned not null; alter table creature_proto add column maxhealth int(30) unsigned not null after minhealth; update creature_proto set maxhealth=minhealth; alter table creature_proto change level minlevel int(30) unsigned not null; alter table creature_proto add column maxlevel int(30) unsigned not null after minlevel; update creature_proto set maxlevel=minlevel; alter table creature_proto add column invisibility_type int(30) unsigned not null; alter table creature_proto add column death_state int(30) unsigned not null;
thanks nice query xd
You're welcome.
This is one of my errors xD How I execute this in navicat?
EDIT: Ok I found it, but have the problem of the loot tables.
try this one:
Code:ALTER TABLE creatureloot DROP heroicchance; ALTER TABLE creatureloot DROP mincount; ALTER TABLE creatureloot DROP maxcount; ALTER TABLE fishingloot DROP heroicchance; ALTER TABLE fishingloot DROP mincount; ALTER TABLE fishingloot DROP maxcount; ALTER TABLE itemloot DROP heroicchance; ALTER TABLE itemloot DROP mincount; ALTER TABLE itemloot DROP maxcount; ALTER TABLE objectloot DROP heroicchance; ALTER TABLE objectloot DROP mincount; ALTER TABLE objectloot DROP maxcount; ALTER TABLE pickpocketingloot DROP heroicchance; ALTER TABLE pickpocketingloot DROP mincount; ALTER TABLE pickpocketingloot DROP maxcount; ALTER TABLE prospectingloot DROP heroicchance; ALTER TABLE prospectingloot DROP mincount; ALTER TABLE prospectingloot DROP maxcount; ALTER TABLE skinningloot DROP heroicchance; ALTER TABLE skinningloot DROP mincount; ALTER TABLE skinningloot DROP maxcount; ALTER TABLE creatureloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE creatureloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE creatureloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE creatureloot ADD column maxcount int(30) NOT NULL default 1; ALTER TABLE fishingloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE fishingloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE fishingloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE fishingloot ADD column maxcount int(30) NOT NULL default 1; ALTER TABLE itemloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE itemloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE itemloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE itemloot ADD column maxcount int(30) NOT NULL default 1; ALTER TABLE objectloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE objectloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE objectloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE objectloot ADD column maxcount int(30) NOT NULL default 1; ALTER TABLE pickpocketingloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE pickpocketingloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE pickpocketingloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE pickpocketingloot ADD column maxcount int(30) NOT NULL default 1; ALTER TABLE prospectingloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE prospectingloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE prospectingloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE prospectingloot ADD column maxcount int(30) NOT NULL default 1; ALTER TABLE skinningloot MODIFY column percentchance float(0) NOT NULL default 0; ALTER TABLE skinningloot ADD column heroicchance float(0) NOT NULL default 0 AFTER percentchance; ALTER TABLE skinningloot ADD column mincount int(30) NOT NULL default 1; ALTER TABLE skinningloot ADD column maxcount int(30) NOT NULL default 1;
Nice, thank you gmaze.