EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Empty Database (https://www.eqemulator.org/forums/showthread.php?t=27812)

reddogut 04-03-2009 06:08 PM

Empty Database
 
How would I go about either obtaining or creating an 'empty' database.... Here is what I am thinking...

I want a database that has all of the zones and items, but no NPC's (Guards, mob's, merchants..... anything), no quests (I assume I could just remove all of the .pl files from the eqemu\quests folder).

Any ideas?

Secrets 04-04-2009 02:50 AM

Quote:

Originally Posted by reddogut (Post 167061)
How would I go about either obtaining or creating an 'empty' database.... Here is what I am thinking...

I want a database that has all of the zones and items, but no NPC's (Guards, mob's, merchants..... anything), no quests (I assume I could just remove all of the .pl files from the eqemu\quests folder).

Any ideas?

You can download Navicat and use the empty table tool on the respective tables. That is what I did with Edge. However, if you still want player pets to work, delete all NPC ids above 1000 if you are using a pre-spawned DB.

I am sure HeidiSQL and SQLyog also has a tool like this.

Cripp 04-04-2009 12:28 PM

use truncate table instead of empty table too btw. works better. (sets auto increments back to 0, etc..)

mplayer254 04-04-2009 02:18 PM

Above ways will work really well, I would also humbly suggest using Navicat/HeidiSQL to copy a fresh PEQ/AXClassic DB and switch between the two, really helps having the original DB to compare to. This will require you to change some configuration files to the correct DB each time you switch but I just made shortcuts for them on the desktop, easy to switch quickly.

reddogut 04-04-2009 04:01 PM

Quote:

Originally Posted by Secrets (Post 167094)
You can download Navicat and use the empty table tool on the respective tables. That is what I did with Edge. However, if you still want player pets to work, delete all NPC ids above 1000 if you are using a pre-spawned DB.

I am sure HeidiSQL and SQLyog also has a tool like this.

What are the respective tables?

reddogut 04-04-2009 05:01 PM

Quote:

Originally Posted by Cripp (Post 167113)
use truncate table instead of empty table too btw. works better. (sets auto increments back to 0, etc..)

Nevermind.... I figured it out.... Using Cripp's advice I truncated the spawn2, spawngroup and spawnentry tables..... ding... empty database just like I was looking for....

Thanks everyone!


All times are GMT -4. The time now is 09:21 PM.

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