EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::News (https://www.eqemulator.org/forums/forumdisplay.php?f=615)
-   -   EQEmu 0.4.1 Database addon (https://www.eqemulator.org/forums/showthread.php?t=4887)

zabon 02-15-2003 03:25 AM

I'm getting this error again with the new db (0.4.2) and it even has what Auldar told me to paste in. :?

Tugurce 02-16-2003 07:29 AM

Now all I wanna know is when the official 4.2 addon will be released :wink:

Lurker_005 02-17-2003 05:31 PM

Just a small sql file to update your DB for changes made by 4.2

I suggest using "mysql.exe -f eq < 41to42fix.sql" to load it. The -f means it will ignore any errors, like if you already added the resists stuff to your npc_types


41to42fix.sql
Code:

-- Update EQEmu 4.1 DB to a 4.2 compatable DB

ALTER TABLE `account` CHANGE `password` `password` VARCHAR(50)  NOT NULL;

ALTER TABLE `npc_types` CHANGE `npcspecialattks` `npcspecialattks` varchar(36) default '' NOT NULL;
ALTER TABLE `npc_types` ADD `MR` SMALLINT(5)  DEFAULT "0" NOT NULL;
ALTER TABLE `npc_types` ADD `CR` SMALLINT(5)  DEFAULT "0" NOT NULL;
ALTER TABLE `npc_types` ADD `DR` SMALLINT(5)  DEFAULT "0" NOT NULL;
ALTER TABLE `npc_types` ADD `FR` SMALLINT(5)  DEFAULT "0" NOT NULL;
ALTER TABLE `npc_types` ADD `PR` SMALLINT(5)  DEFAULT "0" NOT NULL;


ALTER TABLE `variables` ADD `ts` timestamp;

INSERT INTO variables VALUES ('AILevel','0','');
INSERT INTO variables VALUES ('ZSPassword', 'EQEMu', '');



All times are GMT -4. The time now is 03:43 AM.

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