EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Saving custom NPCs (https://www.eqemulator.org/forums/showthread.php?t=33687)

Tdiin 06-08-2011 11:29 PM

Saving custom NPCs
 
Is there an easy way to save just my custom NPCs? I find myself restoring the original database then reinstalling my NPCs one by one. There has to be an easier way.

Any suggestions?

blackdragonsdg 06-08-2011 11:43 PM

Save your custom content to an sql file that way you can source it in just like you would the main database. You can create .sql files in notepad. Do it like you would a normal txt document except the name will look like mynpcs.sql then set the file type to all files.

revloc02c 06-09-2011 10:06 PM

Quote:

Originally Posted by blackdragonsdg (Post 200711)
Save your custom content to an sql file

I am just wondering what you do to do this.

wolfwalkereci 06-10-2011 10:05 AM

Use notepadd++ or your favorite text editor.
To elaborate on what black said here is a simple example:

Code:

UPDATE doors SET dest_zone = 'NONE' WHERE dest_zone = 'PoTranquility';
Then you just save to something you remember like Notranq.sql
In notepad save it as "all files" but in notepad++ you can set the file name to Notranq and on the save as type there is "Structured Query Language file (*.sql)" or just like notepad save it as Notranq.sql and save it as "All types (*.*)"

Make sense?


All times are GMT -4. The time now is 04:37 PM.

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