EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Thanks Everyone! (https://www.eqemulator.org/forums/showthread.php?t=24235)

Angelox 01-24-2008 04:32 AM

Thanks Everyone!
 
Nice to see us all working together,
http://www.eqemulator.net/releases/l...0.7.0-1081.txt
Your fixes are always being looked at, and added to the source - Hope you all can stay with it and send more fixes :)
Thank you KLS and Cavedude, for quickly getting the fixes in.

AiliaMorisato 01-24-2008 01:28 PM

Any hope of getting a diff for code relating to crash fixes only?

-- Ailia

KLS 01-24-2008 06:26 PM

These are the ones I put in the other day, took PEQ down from something like 50 crashes a day? to very few

Code:

Index: zone/hate_list.cpp
===================================================================
--- zone/hate_list.cpp        (revision 1079)
+++ zone/hate_list.cpp        (working copy)
@@ -266,7 +266,7 @@
                                }
                        }
 
-                        if((cur->ent->GetHP()*100/cur->ent->GetMaxHP()) < 20){
+                        if(cur->ent->GetMaxHP() != 0 && ((cur->ent->GetHP()*100/cur->ent->GetMaxHP()) < 20)){
                                aggroMod += RuleI(Aggro, CriticallyWoundedAggroMod);
                        }

Index: zone/MobAI.cpp
===================================================================
--- zone/MobAI.cpp        (revision 1079)
+++ zone/MobAI.cpp        (working copy)
@@ -1229,6 +1229,9 @@
 
 bool Mob::AddRampage(Mob *mob)
 {
+        if(!mob)
+                return false;
+
    if (!SpecAttacks[SPECATK_RAMPAGE])
        return false;
    for (int i = 0; i < MAX_RAMPAGE_LIST; i++)


cavedude 01-25-2008 01:28 AM

Yep, we had an absurd amount of zone crashes one day, and in the past 2 days THANKS to KLS we've had 6, 4 of them were the same and Wild and I are currently testing a solution. The other 2 offered no info via gdb other than a hex address (yeah, real helpful - rm core.1087)

So_1337 01-25-2008 02:21 AM

KLS needs about a billionty more stars under her title =P Great work from everyone lately, and thanks for all the changes that are making it in and getting passed along :)


All times are GMT -4. The time now is 04:47 PM.

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