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 09-07-2008, 12:39 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default spell spam SPELL_EFFECT_SPAM

I had this enabled at one time for windows.

1. In VC2005, right click on the Zone section and select Properties.
2. On the left side of the Zone Property Pages window select the C/C++ Preprocessor section under Configuration Properties.
3. On the right side of the Zone Property Pages window select Preprocessor Settings, these are the compiler settings.
4. Click on the tiny button on the right end of the Preprocessor Settings to open the Preprocessor Definitions window.
5. Edit SPELL_EFFECT_SPAM into its own line at the top of the list of compiler options.
6. Select OK to exit the Preprocessor Definitions window.
7. Select OK to exit the Zone Property Pages window.
8. Rebuild the executables.
Reply With Quote
  #2  
Old 10-02-2008, 12:11 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I see that on the most recent SVN builds, the spell effect spam is gone even from Linux. If possible, I think it would be awesome if we could add it back in, but make a new rule to allow it to be turned on or off easily.

I am unsure where this check would come in, since the spell effect spam check is done so many times in the spell_effects.cpp file. Does anyone know where this rule check would go in? Maybe in defining SPELL_EFFECT_SPAM?

Code:
if(RuleB(Spells, EnableSpellEffectSpam)){
Once that part is figured out, the only other thing would be to add the actual rule in like this:

ruletypes.h - Add this line to the Spells Category:
Code:
RULE_BOOL (Spells, EnableSpellEffectSpam, false) //Enable or Disable spell effect text spam
Then the optional SQL would be this:
Code:
Insert into rule_values values (0, 'Spells:EnableSpellEffectSpam', false);
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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 08:54 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