Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-14-2012, 01:06 AM
e030039
Fire Beetle
 
Join Date: Jun 2012
Posts: 2
Default Tried to edit spells on my local server - broke all my spells

Hi,

I recently managed to start my own eqemu server, and I was attempting to edit spells (trying to make certain spells castable by all classes). Short story is now I somehow broke all the spells so now no spells will cast, and trying to forget a spell returns a spellid out of range error.

I'm using the Underfoot client.

A detailed explanation of what I tried to do is
1) Downloaded GeorgeS' Spell Editor tool, imported spells_us.txt and exported it and tried to edit the spell there.
2) When I tested it out, the spells broke (all spells wouldn't cast, saying that I had to be in battle to us it). I assumed I messed up and tried to revert all my changes by dropping the spells_new table
3) Tried editing spells_us.txt manually, but now spells wouldn't cast at all (no "You need to be in battle to use this spell" message even).
4) Reverted spells_us.txt file, but same error persists.

I didn't think spells were stored in the db since I couldn't find any obvious db table named "spells" or something like that. Is there something I can do to revert my server back to a working state now without deleting all my characters/bots?
Reply With Quote
  #2  
Old 07-14-2012, 01:26 AM
e030039
Fire Beetle
 
Join Date: Jun 2012
Posts: 2
Default Okay, I think I solved this. I'm a dummy

Alright, it turns out that spells_new was not some sort of intermediate table only used by the tools, which was what I thought based on some google results.

In case anyone else runs into the same issues I have, this is the following fix.

1) Recreate the spells table from the original SQL dump (in my case peqdb_rev2142.sql)
2) Shut down the server and restart it. The db appears to be cached, so if you try logging in and out again spells still won't work.
Reply With Quote
  #3  
Old 07-14-2012, 03:30 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

Yes, spells are only loaded on the server once when it starts. Changing the table requires a server restart. If you change the database table you also need to export it to a spell file for your clients. There are two formats for the client file, Titanium and SoF+. If you have both types of clients you'll need to export twice.

When you get the "you must be in combat" message it generally means you're using a Titanium style spell file on a non-Titanium client.
Reply With Quote
  #4  
Old 08-22-2012, 10:18 AM
Nagus69
Sarnak
 
Join Date: Jul 2003
Posts: 68
Default

Would rock if that would be more modular, so you could issue a #spellfile reload.

Same with Items, Factions etc etc.
__________________
Tyler - Design Slave ::: The Hidden Forest Server ::: Video ::: Discussion
Reply With Quote
  #5  
Old 10-15-2012, 05:14 PM
thepoetwarrior
Discordant
 
Join Date: Aug 2007
Posts: 307
Default

Quote:
Originally Posted by Nagus69 View Post
Would rock if that would be more modular, so you could issue a #spellfile reload.

Same with Items, Factions etc etc.
I would like that too.
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:14 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