Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2008, 04:32 AM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default 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.
Reply With Quote
  #2  
Old 01-24-2008, 01:28 PM
AiliaMorisato
Sarnak
 
Join Date: Sep 2005
Posts: 34
Default

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

-- Ailia
Reply With Quote
  #3  
Old 01-24-2008, 06:26 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

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++)
Reply With Quote
  #4  
Old 01-25-2008, 01:28 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

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)
Reply With Quote
  #5  
Old 01-25-2008, 02:21 AM
So_1337
Dragon
 
Join Date: May 2006
Location: Cincinnati, OH
Posts: 689
Default

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
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 09:15 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