Go Back   EQEmulator Home > EQEmulator Forums > Development > EQEmu Operations Center

EQEmu Operations Center Web development tools

Reply
 
Thread Tools Display Modes
  #1  
Old 09-06-2015, 02:59 PM
starblight's Avatar
starblight
Sarnak
 
Join Date: Jan 2007
Posts: 76
Default Question on how to use spell Editor

So in the EOC 2.0 there are 2 places to edit spells. There is the one under tools witch seems to work but dose not have a export and then there is the one under PEQ editor. From what I have read modifying the database dose not change the spells though unless you also modify the clients with the new spells_us.txt file. Is this all the steps needed?

What I am trying to do is modify 261 - Levitate to no longer require bat wings. I modified the Reagents Components 1: and changed it to -1 like any spell that dose not take a reagent. But it dose not work. I have tried rebooting client but Not server yet. Is a server reboot needed as well?
Reply With Quote
  #2  
Old 09-06-2015, 07:38 PM
starblight's Avatar
starblight
Sarnak
 
Join Date: Jan 2007
Posts: 76
Default

Figured it out you do need to reboot the server.
Reply With Quote
  #3  
Old 09-06-2015, 08:05 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Yeah, the server loads spell information from the database when it starts up, and the client loads the spell information from spells_us.txt when it starts up.

To apply a spell change made in the database, you need to restart the server, update the spells_us.txt file on the client, and restart the client.
Reply With Quote
  #4  
Old 09-18-2015, 03:52 PM
starblight's Avatar
starblight
Sarnak
 
Join Date: Jan 2007
Posts: 76
Default

I keep missing reply to my posts. I need to see if I can default subscribe to my own threads.

Thanks for the clarification. I am getting a grasp of how this all works but still have a long ways to go. One of the problems I ran into after this was spell ID number. I found on the wiki what number ranges work for what client but I was not sure what number would be a good area for custom spells? Is there a number range others use that would be less likely in the future to get in the way?
Reply With Quote
  #5  
Old 09-18-2015, 03:54 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

Use this query to see spell ID ranges that are open:
Code:
SELECT (a.id + 1) AS `START`, (MIN(b.id) - 1) AS `END`, ((MIN(b.id - 1)) - (a.id + 1)) AS `AMOUNT` FROM spells_new AS a, spells_new AS b WHERE (a.id < b.id) GROUP BY a.id HAVING (`START` < MIN(b.id)) ORDER BY `AMOUNT` DESC;
Reply With Quote
  #6  
Old 09-18-2015, 03:55 PM
Shendare
Dragon
 
Join Date: Apr 2009
Location: California
Posts: 814
Default

Ha. Was going to post just about the same query. Thumbs up!

Yeah, I'm not aware of any spell id range that's going to be avoided by EQ. Using gaps in the existing ID numbers is likely your safest bet to maintain compatibility with future spell additions.
Reply With Quote
  #7  
Old 09-18-2015, 04:30 PM
starblight's Avatar
starblight
Sarnak
 
Join Date: Jan 2007
Posts: 76
Default

Thanks for the quick responses. I will check it out.
Reply With Quote
  #8  
Old 09-18-2015, 04:49 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

You're welcome.
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 10:47 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