Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::General Support

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2015, 10:57 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default Pets breaking mez and not aggroing targets

I've ran a few tests with this and so far I'm having these two issues.

Pets & Mez:
If a pet is targeting a mob and you mez it, he will continue attacking.

If a mezzed mob that your pet is not attacking happens to be on your pet's hate list, he will eventually switch to the mezzed mob and attack it, breaking mez.

Pets should be avoiding mezzed mobs and telling you they cannot attack mezzed targets.


Pets & Aggro:
Pets are only storing one assist target at a time.

If you send pet to attack a mob, but then get attacked by a different mob, the pet will not attack that second mob unless you manually tell it to OR that mob lands a hit on you (or the pet) AFTER the first mob is dead.

This is true no matter how many mobs are pulled. In my tests I pulled waves of mobs and the pet would kill the first one that hit me, then reset back to my side until another hit landed.

The way it should work is pet will gain all mobs that hit it's owner onto it's hate list and attack in order of hate built.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
  #2  
Old 05-17-2015, 06:06 PM
vsab's Avatar
vsab
Discordant
 
Join Date: Apr 2014
Location: United Kingdom
Posts: 276
Default

I noticed this too, the former really irritates since I don't have pet hold yet!
Reply With Quote
  #3  
Old 05-17-2015, 06:21 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I'm assuming this is standard player pets and not bot pets.

I thought this had come up before and been addressed.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #4  
Old 05-18-2015, 02:25 AM
vsab's Avatar
vsab
Discordant
 
Join Date: Apr 2014
Location: United Kingdom
Posts: 276
Default

Yes, normal pc pets. Especially annoying for enchanters; the pet is mostly useless anyway but now your own pet breaks mez- basically you can't run a chanter with a pet.
Reply With Quote
  #5  
Old 05-18-2015, 08:38 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Yep normal pets. No mercs or bots on my server.

I also tested all variations earth/water/necro/enchanter/etc (not like it matters) and various levels of pet.
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
  #6  
Old 05-18-2015, 09:22 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I think I see what's going on...

Gonna take modifying several functions with this - I'll work on this tonight.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #7  
Old 05-19-2015, 08:59 AM
chrsschb's Avatar
chrsschb
Dragon
 
Join Date: Nov 2008
Location: GA
Posts: 904
Default

Quote:
Originally Posted by Uleat View Post
I think I see what's going on...

Gonna take modifying several functions with this - I'll work on this tonight.
Awesome
__________________
Clumsy's World: Resurgence [2019-Present]
Clumsy's World 2.0 [2014-2016]
Clumsy's World [2006-2012]
Reply With Quote
  #8  
Old 05-19-2015, 07:59 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I honestly don't have a full grasp of the hate list system as yet...

But, I did manage to add a few lines that will stop an attacking pet from breaking a newly mezzed mob - so, I know it can be done.


I'll keep messing with this and see what comes of it.


Problems with this approach:

- All pets are affected (npcs as well)

- Pet does not return to owner while pet's hate list is populated

- If Mob::hate_list is ever accessed without pet being center/hater, the exclusion rules are not observed
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #9  
Old 05-20-2015, 08:26 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Ok, I do have some modified code that will allow hate list checks with an optional 'ignore_mezzed' argument.

It's a little different than my original approach..but, is probably a better solution.


Pets (all) will select a new target if their current one is mezzed..or will return to their owners side instead of standing there
gawking at a mezzed mob.


Unfortunately, I'm hitting the 'single mob on hatelist' problem atm and am looking into that. (Not sure if I can modify that
without actually finding it first...)


EDIT: I tested using pet:attack and was able to get a second mob added to the hate list. If the more hated mob is mezzed,
and then breaks, the pet will switch to the more hated one.

I think the auto-add problem is related to IsFocused() and/or other specialized code.
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 05-20-2015 at 09:03 PM..
Reply With Quote
  #10  
Old 05-21-2015, 08:11 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

I have a more refined branch started here: [deleted branch]

..if anyone would like to experiment with/test it.


I'm a little hesitant to arbitrarily add mobs to the hate list without knowing a little more about pet behavior/aa specializations.


As-is:

- multiple hate entities added through pet->attack still work as normal

- any mezzed entity will not be attacked by the hating pet

- pets will return to their owners side if no non-mezzed targets are available

- all HateList::GetEnt## functions have been modified to accept an 'ignore_mezzed' parameter (only two are actively used atm)
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 05-29-2015 at 10:03 PM..
Reply With Quote
  #11  
Old 05-29-2015, 10:05 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Here's a more recent 'dev' branch of this work: https://github.com/EQEmu/Server/tree...ezzable_combat

Pets actually do return to owner this time (instead of ghosting off...)


Feel free to test it and provide feedback
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
  #12  
Old 05-30-2015, 09:50 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

This was on my list to look at and get a resolution, hitching a ride on the thread
Reply With Quote
  #13  
Old 05-30-2015, 08:01 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

One thing I do notice with this code..

When a mob is mezzed and a mem-wipe is associated/performed, the mob wanders off correctly..but, the pet will re-agro.

Not sure if that is the desired behavior..but, there is a newer pet AA that will mem-wipe the pet, alleviating this problem.
__________________
Uleat of Bertoxxulous

Compilin' Dirty
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 07:20 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