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 07-07-2008, 12:02 PM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default Client showing spell effects.

How do i enable this on my server?
__________________
lol.
Reply With Quote
  #2  
Old 07-07-2008, 03:33 PM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default

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?
__________________
lol.
Reply With Quote
  #3  
Old 07-07-2008, 04:15 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

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".
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #4  
Old 07-07-2008, 05:10 PM
Aonelyn's Avatar
Aonelyn
Hill Giant
 
Join Date: Jul 2005
Location: Felwithe
Posts: 192
Default

yeah the linux thing is what i was looking for.


Thanks mate.
__________________
lol.
Reply With Quote
  #5  
Old 09-04-2008, 03:42 AM
Weldarr
Sarnak
 
Join Date: Oct 2005
Posts: 45
Default

Quote:
Originally Posted by trevius View Post
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".
Has anyone found a way to enable this for windows?
Reply With Quote
  #6  
Old 09-04-2008, 08:21 PM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Weldarr View Post
Has anyone found a way to enable this for windows?
You have to define SPELL_EFFECT_SPAM when compiling zone. In Linux, it is defined in the makefile:
Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386
I haven't compiled anything in Windows, so I'm not sure what exactly you would need to do in Visual Studio to set this up.
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #7  
Old 09-04-2008, 08:44 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by AndMetal View Post
You have to define SPELL_EFFECT_SPAM when compiling zone. In Linux, it is defined in the makefile:
Code:
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -Di386
I haven't compiled anything in Windows, so I'm not sure what exactly you would need to do in Visual Studio to set this up.
I think there's a post somewhere that says this will not work for windows, or actually nothing will work for windows and this issue -
Reply With Quote
  #8  
Old 09-06-2008, 07:39 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by Weldarr View Post
Has anyone found a way to enable this for windows?
I could've sworn you could just go into zone/spells.cpp and
Code:
#define SPELL_EFFECTS_SPAM
It works the same for windows as it does linux. I haven't tested this, so don't blame me if it goes boom!
Reply With Quote
  #9  
Old 09-07-2008, 03:15 AM
AndMetal
Developer
 
Join Date: Mar 2007
Location: Ohio
Posts: 648
Default

Quote:
Originally Posted by Secrets View Post
I could've sworn you could just go into zone/spells.cpp and
Code:
#define SPELL_EFFECTS_SPAM
It works the same for windows as it does linux. I haven't tested this, so don't blame me if it goes boom!
It looks like all of the SPELL_EFFECT_SPAM uses are in zone/spell_effects.cpp, so you should be able to add it near the top:
Code:
#include "../common/debug.h"
#include "spdat.h"
#include "masterentity.h"
#include "../common/packet_dump.h"
#include "../common/moremath.h"
#include "../common/Item.h"
#include "worldserver.h"
#include "../common/skills.h"
#include "../common/bodytypes.h"
#include "../common/classes.h"
#include "../common/rulesys.h"
#include <math.h>
#include <assert.h>
#ifndef WIN32
#include <stdlib.h>
#include "../common/unix.h"
#endif
#define SPELL_EFFECT_SPAM
__________________
GM-Impossible of 'A work in progress'
A non-legit PEQ DB server
How to create your own non-legit server

My Contributions to the Wiki
Reply With Quote
  #10  
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
  #11  
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


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 05: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