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

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-16-2013, 04:26 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Anyone more adept at troubleshooting than I am will have seen this coming...

This issue does not match my debugging path.


The bot pet hate issue is actually a bot hate issue caused by certain types of spells. (You pegged that one D!)

In the case of 'lifetap-esque' spells, Bot:amage is passed the caster as 'from.'

Where (this == from), there's nothing to avoid wiping the hatelist from 'this' and adding of its group members to the list.


Code:
 zone/bot.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/zone/bot.cpp b/zone/bot.cpp
index 51b649b..2013ad4 100644
--- a/zone/bot.cpp
+++ b/zone/bot.cpp
@@ -6364,6 +6364,8 @@ void Bot::Damage(Mob *from, int32 damage, uint16 spell_id, SkillType attack_skil
 
 	SendHPUpdate();
 
+	if(this == from) { return; }
+	
 	// Aggro the bot's group members
 	if(IsGrouped())
 	{

The double-processing of bot pets issue is still relevant, but not to bot hate..from what I can tell.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
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 08:51 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