Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-18-2009, 04:15 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default spell file db?

i have updated my server awhile back to use the spell file from the db rather then the spell_us.txt so i am running alone and then i change a spell and WTF it never changed even after reset.. so i figure ok my spell file is still there maybe its reading it because its there so i remove it and spells dont work put it back and they work again so whats up i though it was default to read the db for spells now rather then the spell file what am i missing is there a setting i missed somewhere?

i have the spells_new table i have loaded my spells into it.
Reply With Quote
  #2  
Old 01-18-2009, 05:53 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

This is probably what you are missing, why it is a define rather than a rule, I may never know:


spdat.h:
Code:
//#define NEW_LoadSPDat
#define DB_LoadSPDat  //load from DB vs spells_us.txt. for now, we're piggybacking NEW_LoadSPDat, so it will take precedence
Reply With Quote
  #3  
Old 01-18-2009, 06:02 AM
spider661
Discordant
 
Join Date: Oct 2005
Location: michigain
Posts: 260
Default

thats got to be it.. mine is commented the other way around

Code:
#define NEW_LoadSPDat
//#define DB_LoadSPDat  //load from DB vs spells_us.txt. for now, we're piggybacking NEW_LoadSPDat, so it will take precedence
i left it alone because it said so it will take precedence guess they where wrong? will never know but ill give it a try thanks.
Reply With Quote
  #4  
Old 01-19-2009, 05:32 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Secrets View Post
why it is a define rather than a rule, I may never know
Basically, it's easier in the long run to use a define to just modify the functions than it is to completely redo them. That, and I don't really understand how to work with callbacks.

Quote:
Originally Posted by spider661 View Post
Code:
#define NEW_LoadSPDat
//#define DB_LoadSPDat  //load from DB vs spells_us.txt. for now, we're piggybacking NEW_LoadSPDat, so it will take precedence
i left it alone because it said so it will take precedence guess they where wrong? will never know but ill give it a try thanks.
All that means is that, if both are #define'd, NEW_LoadSPDat will take precedence, so it will load from the spells_us.txt file.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #5  
Old 03-05-2009, 05:07 PM
nosfentora
Discordant
 
Join Date: Oct 2004
Location: In a house
Posts: 377
Default

Just my $0.02 - from a naming convention and clarity standpoint, wouldn't it be better to name NEW_LoadSPDat 'File_LoadSPDat'?

NEW_LoadSPDat has a way of making it seem like that's the 'new' way to do things...
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:31 PM.


 

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