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 01-15-2011, 01:22 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Pet Taunt

I noticed tonight I have quite a time grabbing aggro from my pet on my Magician. Then I noticed my pet's are not taunting. The pet taunt button does have the pet say "Taunting foes master" but since I do not see the pet taunts on the prompt I do not think the pet is. I tried the same thing on my necro and noticed they do not taunt. Is something wrong with my compile or is it a long time bug ?
Reply With Quote
  #2  
Old 01-15-2011, 02:01 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

I think I remember reading somewhere that the pet taunt is permanently on in the server side code.
Reply With Quote
  #3  
Old 01-15-2011, 08:55 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I would think that you would see a random reply from the pet saying it is taunting then.
Reply With Quote
  #4  
Old 01-15-2011, 09:33 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

If I am reading the code correctly then pets default to taunting on, but it can be turned off.

There's no message for each taunt, but there is a message when you turn taunt on or off.

Try using #hatelist to see what's up. Keep in mind if the pet roots then the mob will attack the closest target, not the top of the hate list.
Reply With Quote
  #5  
Old 01-15-2011, 09:34 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Oh cool, did not know about #hatelist.
Reply With Quote
  #6  
Old 01-15-2011, 10:36 AM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I play as a Magician on my private server. My pets taunt consistently, and I do receive messages that they are taunting. I would check your chat filters unless there's something with your code that has broken taunt.
Reply With Quote
  #7  
Old 01-15-2011, 10:37 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

What client are you running ?
Reply With Quote
  #8  
Old 01-15-2011, 10:59 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I tried with TIT, UF and SoF clients and none of them are reporting pet taunts. I do get a response if I click the pet taunt button "Now taunting foes" but you should get a taunt whenever the pet uses his taunt. I also checked filters, absolutely nothing is filtered on any of my clients. I am running a rather new build.
Reply With Quote
  #9  
Old 01-15-2011, 11:45 AM
Chanus
Hill Giant
 
Join Date: Oct 2010
Posts: 123
Default

I had a problem with my bots and pets not being able to hold aggro, and I found a field in the database called something like Aggro:SmartAggroList that you can toggle. The options seem to end up being either they don't hold aggro seemingly at all or they don't hold aggro properly because you can stand right next to the mob and it will still prefer the pet or bot over you.
Reply With Quote
  #10  
Old 01-15-2011, 04:51 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

Okay, I completely must have made that up. I swear I was receiving messages from my pet that it was taunting, but apparently not. I must have been thinking about my bots (I was looking at the bot taunt code yesterday). I looked back on some logs last night as well as from Feb last year and didn't see any pet taunting messages. lerxst2112 is correct that there's no message, as the code that does the taunt is here, and no message is made within Taunt();

Code:
//general stuff, for all classes....
	//only gets used when their primary ability get used too
	if (taunting && HasOwner() && target->IsNPC() && target->GetBodyType() != BT_Undead && taunt_time) {
		Taunt(target->CastToNPC(), false);
	}
They taunt by default:
Code:
Pet::Pet(NPCType *type_data, Mob *owner, PetType type, int16 spell_id)
: NPC(type_data, 0, owner->GetX()+2, owner->GetY()+2, owner->GetZ(), owner->GetHeading(), FlyMode3)
{
	GiveNPCTypeData(type_data);
	typeofpet = type;
	SetOwnerID(owner->GetID());
	SetPetSpellID(spell_id);
	taunting = true;
}
Bot code I was thinking of, I think..
Code:
                Say("Taunting %s", target->GetCleanName());
		Taunt(target->CastToNPC(), true);
I'm not sure what I have for the SmartAggro rule, but I haven't really had any problems with the pet keeping aggro, unless I nuke too early. If I wait until the mob is <90-95% before I nuke, then I don't have any issues. Or, if I get aggro, I can usually walk away and the pet grabs aggro from me (although sometimes I do have to run around screaming like a little girl when that doesn't work).
Reply With Quote
  #11  
Old 01-15-2011, 06:04 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Well hell it would not be that hard for me to add a line or two to send a message to the client, or am I wrong here ?
Reply With Quote
  #12  
Old 01-15-2011, 06:39 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Change the special_attacks.cpp to this, and boom, I have pet taunt reporting back. Can someone push this change to the SVN and check it first ? I need someone with 40 more points of IQ than me to do it.


Code:
        //general stuff, for all classes....
	//only gets used when their primary ability get used too
	if (taunting && HasOwner() && target->IsNPC() && target->GetBodyType() != BT_Undead && taunt_time) {
                Say("Taunting %s", target->GetCleanName());
		Taunt(target->CastToNPC(), false);
	}
Reply With Quote
  #13  
Old 01-15-2011, 09:43 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

Isn't it "Taunting attacker, master."? I only remember the target on /pet attack.
Reply With Quote
  #14  
Old 01-15-2011, 10:08 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I have no idea.
Reply With Quote
  #15  
Old 01-15-2011, 11:50 PM
bad_captain
Developer
 
Join Date: Feb 2009
Location: Cincinnati, OH
Posts: 512
Default

I spent some time trying to find it earlier, but couldn't find it. From eqstr_us..

438 Taunting attacker, Master.

But I'm not sure is that's just what is done when /pet taunt on or not..
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 04:25 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