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-2010, 03:41 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default Need serious help! Spellls causing crashes! 1585

I just updated my server to the latest binary, 1585.

Example: Radiant Cure 3: #3299 always crashes zone.

There is nothing in the error or debug that shows the issue. HOWEVER, when i go into the quest_zone I see a lot of 'unable to read perl file quests/spells/3299.pl' and thats the last line in any of the zone's files by timestamp.

Any thoughts?

Another confirmed spell: Pillage Enchantment #25, Purify Soul #2745
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #2  
Old 07-10-2010, 09:37 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

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.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #3  
Old 07-10-2010, 10:13 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
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
  #4  
Old 07-10-2010, 11:28 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Yes!! Thank goodness, I was going crazy! Hopefully binaries can be posted soon.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #5  
Old 09-01-2010, 03:31 PM
Woowoo
Fire Beetle
 
Join Date: Mar 2009
Location: california
Posts: 3
Default

I'm having same issue with certain spells causing errors to zone.exe, where am I supposed to put this code? In heidisql? I can't find any spell_effects.cpp anywhere, please point me in the right direction if you can.
Reply With Quote
  #6  
Old 09-02-2010, 09:34 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

The actualy crashes were fixed in the next build. BUT there are still "error messages"...but they're just that. They really are not causing the zone to crash, but just look that way because it may be the last line in the log.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
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 10:03 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3