Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 07-10-2010, 10:13 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by Irreverent View Post
I'm sorry its 1589.

I also went through ALL of my tables and all the contents & columns match up.

I am truely at a loss and this is severly hurting the playability on the server.
I have this fixed on EZ, here's a diff

KLS was supposed to fix it but must've forgot about it; i'll remind someone with commit access.

Code:
Index: spell_effects.cpp
===================================================================
--- spell_effects.cpp	(revision 1589)
+++ spell_effects.cpp	(working copy)
@@ -934,13 +934,12 @@
 				uint32 buff_count = GetMaxTotalSlots();
 				for(slot = 0; slot < buff_count; slot++)
 				{
-					if(spells[buffs[slot].spellid].dispel_flag > 0)
-						continue;
 
 					if
 					(
 						buffs[slot].spellid != SPELL_UNKNOWN &&
-						buffs[slot].durationformula != DF_Permanent
+						buffs[slot].durationformula != DF_Permanent &&
+						spells[buffs[slot].spellid].dispel_flag > 0
 				    )
 				    {
 						BuffFadeBySlot(slot);
@@ -959,15 +958,13 @@
 				uint32 buff_count = GetMaxTotalSlots();
 				for(slot = 0; slot < buff_count; slot++)
 				{
-					if(spells[buffs[slot].spellid].dispel_flag > 0)
-						continue;
-
 					if
-					(
+						(
 						buffs[slot].spellid != SPELL_UNKNOWN &&
 						buffs[slot].durationformula != DF_Permanent &&
-				    	IsDetrimentalSpell(buffs[slot].spellid)
-					)
+				    	IsDetrimentalSpell(buffs[slot].spellid) &&
+						spells[buffs[slot].spellid].dispel_flag > 0
+						)
 				    {
 						BuffFadeBySlot(slot);
 						slot = buff_count;

Last edited by Secrets; 07-10-2010 at 10:18 AM..
Reply With Quote
 


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:25 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3