Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2009, 06:08 PM
reddogut
Sarnak
 
Join Date: Jun 2007
Posts: 83
Default 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?
Reply With Quote
  #2  
Old 04-04-2009, 02:50 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by reddogut View Post
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.
Reply With Quote
  #3  
Old 04-04-2009, 12:28 PM
Cripp's Avatar
Cripp
Discordant
 
Join Date: Oct 2003
Location: The Shire
Posts: 474
Default

use truncate table instead of empty table too btw. works better. (sets auto increments back to 0, etc..)
__________________
Nug Blazers - ServerOP / founder
^^comming... later!

www.nugblazers.com
Reply With Quote
  #4  
Old 04-04-2009, 02:18 PM
mplayer254
Sarnak
 
Join Date: Oct 2008
Location: Texas
Posts: 32
Default

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.
Reply With Quote
  #5  
Old 04-04-2009, 04:01 PM
reddogut
Sarnak
 
Join Date: Jun 2007
Posts: 83
Default

Quote:
Originally Posted by Secrets View Post
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?
Reply With Quote
  #6  
Old 04-04-2009, 05:01 PM
reddogut
Sarnak
 
Join Date: Jun 2007
Posts: 83
Wink

Quote:
Originally Posted by Cripp View Post
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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

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


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3