EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   /pet attack (https://www.eqemulator.org/forums/showthread.php?t=29380)

Shin Noir 08-29-2009 02:22 PM

/pet attack
 
if you /duel another player with a bot and the bot has a pet, the pet spams "That is not a legal target master" over and over.

Taurinus 09-02-2009 02:39 AM

Hey Shin,

This isn't a bug per se. I just looked this up in the source, and the bots are responding properly due to being designed to only attack clients who are a) in the zone 'Arena' or b) are flagged for PvP. Dueling does not flag the client for PvP.

Best to just poof the bot before dueling.

Edit: Should be noted that both the bot owner and target must be flagged for PvP.

lich2594 08-14-2010 07:36 PM

Which file, in the source code, is this in? I need to tweak it for my server.

I need to adjust the pvp flag check, for the bot's pet.

lich2594 08-14-2010 08:57 PM

Never mind, I found it under bot.cpp at Bot::IsBotAttackAllowed.


All times are GMT -4. The time now is 11:53 PM.

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