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 07-09-2011, 02:26 PM
strider51
Sarnak
 
Join Date: Jan 2011
Posts: 77
Default scribeallspells() and learnalldisciplines()

I recently made an npc that will call these functions as part of a quest. However I noticed that it throws a bunch of extra spells and some 'unknown' disciplines into my toons books and abilities.

I was thinking about just deleting these from the database (the source tables, not the relational table) any harm in this?

Also I may have gotten the exact syntax wrong for the functions bec@ause I'm not on a pc.

Does anyone else experience these extra spells and disc? Is there harm in leaving them in?

Thanks!
Reply With Quote
  #2  
Old 07-09-2011, 02:48 PM
sorvani
Dragon
 
Join Date: May 2010
Posts: 965
Default

They are annoying clutter in the spell books, I glanced at the code once but got side tracked on something else.
Reply With Quote
  #3  
Old 07-09-2011, 03:23 PM
strider51
Sarnak
 
Join Date: Jan 2011
Posts: 77
Default

Ok,

Is this a database fix, or a code fix? I was thinking about just fixing the code rather than DB to include an additional rule check that would filter those out, because I'm afraid they might be used elsewhere for an NPC or item colicky or something.
Reply With Quote
  #4  
Old 07-09-2011, 06:05 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

If you wanted to remove them, you would remove them from the Database.

Though, the easiest solution would be to make use of the spells import/export scripts. You can run those scripts to either export all of the spells in the database into a spells_us.txt file that you can put in your EQ folder, or you can import the spells_us.txt file that you currently have in your EQ folder into your database. Either solution will work and will get rid of the unknown spells. The main point is that you need to have your server and clients matching spell files.

The downside to removing spells from the DB is that you would probably be removing focuses and other spells that higher level items use. As long as you don't plan to use newer items, you shouldn't need to worry about it, though.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 07-09-2011, 06:20 PM
strider51
Sarnak
 
Join Date: Jan 2011
Posts: 77
Default

thanks much for the help.
Trevius, I have taken a lot of your advice, and used a few of your quest scripts. I would like to thank you kindly for your contributions.
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 07:22 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3