EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=625)
-   -   Programmers: I need a program to convert my NPC Types to new (https://www.eqemulator.org/forums/showthread.php?t=1322)

Ariak 04-20-2002 11:57 AM

Programmers: I need a program to convert my NPC Types to new
 
OLD
INSERT INTO npc_types VALUES (6039,'a_shambling_cube',55,184,1,0,2,2,2,25,0,0,0 ,0,0,0,'','',0,0,0,1,1,1,1,1);


NEW
INSERT INTO npc_types VALUES (6039,'a_shambling_cube',55,184,1,0,2,2,2,25,0,0,0 ,0,0,0,'','',0,0,0,1,1,1,1,1,0,0,0,0,0);

Basically, before the ); it adds the following:
,0,0,0,0,0 and then the );

Sooner I get one, the sooner I can release a working 0.3.1.1+ db :)

Lurker_005 04-20-2002 12:54 PM

For text editing I use www.ultraedit.com there are many others, but the mail thing is a good search/replace! In this case search for ); and replace with 0,0,0,0,0); and it is all done. that one is easy since ); only occurs once per line.

Ariak 04-20-2002 02:09 PM

Thanks man!


All times are GMT -4. The time now is 11:08 AM.

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