Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-04-2009, 01:07 PM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

Quote:
Originally Posted by cavedude View Post
Hundreds sometimes even thousands of database changes go in daily by several of us, at a mysql prompt, through the PHP editor, and even in-game. While everything is logged, it would not be feasible for me to round them all up and put them into update files. I'm lazy about the current system as is which I've made largely automatic.

Separating the tables isn't a great idea, because as GeorgeS said many tables inter-connect making it real easy to make a mess of the DB if an update gets fudged.

I like the single file mainly because it is as fool proof as one can get with DB sourcing. You don't have to worry about missed or outdated updates, conflicting data, etc. People manage to mess up the current system as is, I couldn't imagine the support requests I'd get if I separate the files or offer individual content updates.
Ah, okay then. Sounds fair enough.
Reply With Quote
  #2  
Old 06-04-2009, 10:01 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Ok I thought this out some more, and it's doable with the current schema IF you do the following. You create a flag field in NPC_TYPES called "CUSTOM" and whenever you make a custom change in the table, the flag becomes = TRUE, you can export that NPC and all dependant tables with either a perl script or .net code. It's pretty clear to me how it should work, and I'm pretty sure it will. IF you want something like this, I can code a backup and restore script.

When you load a new PEQ db from scratch, you can restore by running the script you made earlier, restoring your custom npc's. This can even be applied to items as well.

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #3  
Old 06-05-2009, 02:50 AM
vales
Discordant
 
Join Date: May 2006
Posts: 458
Default

That would be most awesome if you could do that, George.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:57 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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3