EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Zone crashes when mob dies to dot (https://www.eqemulator.org/forums/showthread.php?t=31860)

Caryatis 08-15-2010 01:06 AM

Zone crashes when mob dies to dot
 
Thought it was just me but tried it on a fresh source(1623) and still happened.

Caryatis 08-15-2010 02:55 AM

Seems to be caused by the new perm buff code as it only happens in zones with that enabled.

Derision 08-15-2010 05:47 AM

This should fix it:
Code:


Index: spdat.cpp
===================================================================
--- spdat.cpp  (revision 1621)
+++ spdat.cpp  (working copy)
@@ -216,7 +216,9 @@

 bool IsBeneficialSpell(int16 spell_id)
 {
-      // EverHood - These spells are actually detrimental
+      if(!IsValidSpell(spell_id))
+              return false;
+
        if(spells[spell_id].goodEffect == 1){
                SpellTargetType tt = spells[spell_id].targettype;
                if(tt != ST_Self || tt != ST_Pet){

I'll commit it to the SVN later on.


All times are GMT -4. The time now is 04:12 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.