Client showing spell effects.
How do i enable this on my server?
|
let me clarify this, When you cast a spell, or get a spell casted on you, how do you see what the spell does to you via client?
|
You are wanting the text to appear that describes the effect of the spell once it is cast on you? If so, that is something that happens automatically if you run a Linux server (but it can be turned off on Linux). I don't know how to enable that in Windows, if that is what you are wanting.
If you just want to see the particle effects, all you have to do is "/showspell effects on". |
yeah the linux thing is what i was looking for.
Thanks mate. |
Quote:
|
Quote:
Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386 |
Quote:
|
Quote:
Code:
#define SPELL_EFFECTS_SPAM |
Quote:
Code:
#include "../common/debug.h" |
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. |
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)){ ruletypes.h - Add this line to the Spells Category: Code:
RULE_BOOL (Spells, EnableSpellEffectSpam, false) //Enable or Disable spell effect text spam Code:
Insert into rule_values values (0, 'Spells:EnableSpellEffectSpam', false); |
All times are GMT -4. The time now is 09:54 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.