Download
(29Kb)
Download
Updated: 12-15-07 11:50 AM
Pictures
File Info
Updated:12-15-07 11:50 AM
Created:unknown
Downloads:4,926
Favorites:32
MD5:

CattleProd

Version: 2.3.0
by: cattleprod [More]

Description

CattleProd is an addon to automatically search a battleground for AFK players and report them using the ReportPlayerIsPVPAFK function added in the 2.2 release.

Features

* Automatic reporting of AFK players (skips already debuffed players)
* Manually announce AFK players to battleground chat
* A high level of configuration to influence the effort calculation
* Output levels determine how much reporting is shown to user
* Alterac Valley: Detect Defenders, Reward Assault and Defense of nodes
* Arathi Basin: Detect Defenders, Reward Assault and Defense of nodes
* Eye of the Storm: Detect Defenders, Reward Flag Captures

Details

CattleProd calculates an effort score for each player of your faction in the a battleground by evaluating a player's damage, heal, battleground specific score board data, and player defensive locations. The effort score takes into account the recent performance of the player. The player's effort score is then compared to the average effort score for the battleground to determine if a player is AFK and then reported.

Install

* Extract CattleProd.zip to World of Warcraft\Interface\Addons
* Upgrades require clicking the "Defaults" button on the Configuration

Use

* /cpconf - Bring up the configuration screen
* /cpherd - Scan battleground for AFK players
* /cpdefend - Let you know your location and your defensive status

General Configuration

Report Players AFK
With this option enabled player's who are considered AFK will be have ReportPlayerIsPVPAFK called which will report the player as AFK. When Report Players AFK is disabled players will not be reported, but will still have output printed that the players are AFK.

Required Effort Percentage
A player whose effort is below the average effort by this percentage or less will be considered AFK.

Report Known Leeches
Report known leeches at the start of the battleground. This will occur at 90 seconds from when a player joins the battleground. This allows time for the battleground to fill up.

Known Leech Count
Only leeches who have a zero effort score throughout an entire battleground will be added to the known leech list. Each match that they are with zero effort scores their count will be incremented. Someone is considered a known leech after this many occurrences.

Report Level
The report level determines the amount of output CattleProd generates for the player.

0: No reports will be shown at all for the user. Note, a player will still see the reports output from the ReportPlayerIsPVPAFK() since the 2.3 patch.

1 - 3: Level 1 will be a very small amount of information, just the current identified leeching players will have their data printed. Level 3 will produce a considerable amount of detailed output.

Monitor Configuration

Auto Start Monitor
Enable the monitor to automatically start when you enter a battleground and automatically turn off when leaving a battleground.

NOTE: Auto Start Monitor only works in Alterac Valley, Arathi Basin and Eye of the Storm. Once battleground specific support for Warsong Gulch are added this setting will affect that battlegrounds also.

Display Monitor
The visible frame of the monitor can be turned off with this option. Players will still be reported as normal.

Monitor Duration
When the monitor is enabled it will report players at the end of the duration. Keep this number reasonable as the number of reports allowed per time frame is limited so only the worst offenders should be reported.

http://forums.worldofwarcraft.com/thread.html?topicId=1777966066&postId=20007202120&sid=1#5

Calculate Player State Interval
Player state is calculated each interval. The shorter the interval the more accurate the defense calculation will be for players. However this also increases the CPU usage and bandwidth requirements, though no slow down is noticeable with the default setting.

Required Data Points
A player score will not be evaluated for effort until the required number of data points have been calculated. If the value is too small players will be potentially reported on route back to the battle since travel takes time. If the value is too large players will be able to evade being marked AFK if they only play in spurts. The larger the value the more memory used, though the default setting has not shown to use that much memory.

Announce Top N Leechers
Only the top N leechers will be reported to the battleground when you click the report button on the monitor frame. Keep this number reasonable or you might be reported for spamming.

Alterac Valley Configuration

AV Graveyard Assaulted Bonus Effort
A player's effort score will be adjusted by this amount when they have assaulted a graveyard.

AV Graveyard Defended Bonus Effort
A player's effort score will be adjusted by this amount when they have defended a graveyard.

AV Tower Assaulted Bonus Effort
A player's effort score will be adjusted by this amount when they have assaulted a tower/bunker.

AV Tower Defended Bonus Effort
A player's effort score will be adjusted by this amount when they have defended a tower/bunker.

AV Defender Bonus Effort
A player's effort score will be adjusted by this amount per minute when they are defending a node.

Arathi Basin Configuration

AB Defender Bonus Effort
A player's effort score will be adjusted by this amount per minute when they are defending a node.

AB Bases Assaulted Bonus Effort
A player's effort score will be adjusted by this amount when they have assaulted a base.

AB Bases Defended Bonus Effort
A player's effort score will be adjusted by this amount when they have defended a base.

Eye of the Storm

EotS Defender Bonus Effort
A player's effort score will be adjusted by this amount per minute when they are defending a node. Also while a character is in the middle near the flag spawn they will receive bonus effort.

Flags Captured Bonus Effort
A player's effort score will be adjusted by this amount for each flag capture.

Post A Reply Comment Options
Unread 11-08-10, 08:54 PM  
markhr
A Fallenroot Satyr

Forum posts: 23
File comments: 43
Uploads: 0
bugs

Date: 2010-11-09 02:53:19
ID: 1
Error occured in: Global
Count: 1
Message: [string "CattleProd_Core:OnLoad"] line 1:
attempt to index global 'this' (a nil value)
Debug:
[C]: ?
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1
AddOns:
Swatter, v5.9.4960 (WhackyWallaby)
CattleProd, v2.3.0
BlizRuntimeLib_enUS v4.0.1.40000 <eu>
(ck=62)

Date: 2010-11-09 02:53:19
ID: 2
Error occured in: Global
Count: 1
Message: [string "CattleProd_ConfigurationFrame:OnLoad"] line 1:
attempt to index global 'this' (a nil value)
Debug:
[C]: ?
[string "*:OnLoad"]:1:
[string "*:OnLoad"]:1
AddOns:
Swatter, v5.9.4960 (WhackyWallaby)
CattleProd, v2.3.0
BlizRuntimeLib_enUS v4.0.1.40000 <eu>
(ck=62)
Report comment to moderator  
Reply With Quote
Unread 11-08-10, 11:23 AM  
markhr
A Fallenroot Satyr

Forum posts: 23
File comments: 43
Uploads: 0
Please update for cataclysm?

Please could you update this as currently pvphelper [http://wow.curse.com/downloads/wow-a...p-helper.aspx] and afktracker [http://wow.curse.com/downloads/wow-a...ktracker.aspx] seem to be the only other options.

Also, something I found extremely useful, was cavedefenders addon for afk autoreporting if you can still find it, that is.
Report comment to moderator  
Reply With Quote
Unread 02-17-08, 12:57 AM  
kneeki
A Flamescale Wyrmkin
 
kneeki's Avatar
AddOn Author - Click to view AddOns

Forum posts: 134
File comments: 144
Uploads: 5
I must say, I have a foul distaste for this addon. I do respect your hard work though, as I know what it's like being an addon developer myself, but this addon just helps insinuate a lot of arguments in bg chat.

Not enough coordinated fighting due to bickering in /bg - *sigh*
Report comment to moderator  
Reply With Quote
Unread 12-31-07, 08:58 AM  
cattleprod
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 24
Uploads: 1
Re: Suggestion

Originally posted by Ualaa
If you could implement "Load on Demand" type feature that several other addons seem to have, this would be good.

It seems almost every time my toon changes zones (chat channels change on a Griffon etc), I receive the message, "Adding Known Leeches". If the addon turned itself off, outside of battlegrounds and enabled itself in them, I think it would improve an already amazing addon.

Thanks for your time,

~Ualaa
I'll look into this. I don't seem to have an issue with it at all.
Report comment to moderator  
Reply With Quote
Unread 12-30-07, 10:59 AM  
Ualaa
A Deviate Faerie Dragon

Forum posts: 14
File comments: 2
Uploads: 0
Suggestion

If you could implement "Load on Demand" type feature that several other addons seem to have, this would be good.

It seems almost every time my toon changes zones (chat channels change on a Griffon etc), I receive the message, "Adding Known Leeches". If the addon turned itself off, outside of battlegrounds and enabled itself in them, I think it would improve an already amazing addon.

Thanks for your time,

~Ualaa
Report comment to moderator  
Reply With Quote
Unread 12-17-07, 07:21 PM  
cattleprod
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 24
Uploads: 1
Originally posted by galmok
Mouse over a tooltip of my buffs gave this error:

Message: ..\AddOns\CattleProd\CattleProdState.lua line 389:
value == nil
Debug:
[C]: ?
[C]: error()
CattleProd\CattleProd.lua:328: CattleProd_AssertType()
CattleProd\CattleProdState.lua:389: CattleProd_CalculatePlayersStatesEffort()
CattleProd\CattleProd.lua:268: listener()
CattleProd\CattleProdTimer.lua:173: CattleProdTimer_CallListener()
CattleProd\CattleProdTimer.lua:71: CattleProdTimer_UpdateMillis()
CattleProd\CattleProdTimer.lua:42:
CattleProd\CattleProdTimer.lua:41
Is this consistently reproducible? Also, were there any other messages, such as damage == nil or damage < 0: -somenumber? Or heal == nil or heal < 0: -somenumber?

Those appear to be the only way that function the CattleProd_CalculatePlayersStatesEffort function returns a nil value. Sometimes I get some random data from the server about the scoreboard data. That occasionally causes negative numbers for the player data. I think it has to do with players disconnecting and reconnecting. But I cannot prove that.
Report comment to moderator  
Reply With Quote
Unread 12-17-07, 12:56 PM  
galmok
A Defias Bandit

Forum posts: 2
File comments: 55
Uploads: 0
Mouse over a tooltip of my buffs gave this error:

Message: ..\AddOns\CattleProd\CattleProdState.lua line 389:
value == nil
Debug:
[C]: ?
[C]: error()
CattleProd\CattleProd.lua:328: CattleProd_AssertType()
CattleProd\CattleProdState.lua:389: CattleProd_CalculatePlayersStatesEffort()
CattleProd\CattleProd.lua:268: listener()
CattleProd\CattleProdTimer.lua:173: CattleProdTimer_CallListener()
CattleProd\CattleProdTimer.lua:71: CattleProdTimer_UpdateMillis()
CattleProd\CattleProdTimer.lua:42:
CattleProd\CattleProdTimer.lua:41
Report comment to moderator  
Reply With Quote
Unread 12-13-07, 06:05 AM  
cattleprod
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 24
Uploads: 1
Originally posted by Undead
Great mod!
Is there a way to not have to see the little monitor window?
If I click Stop does that stop the whole addon or just remove the window?
In the next release there will be a way to hide the monitor window while it will still run.

Right now, if you stop the monitor window you will need to type /cpherd to manually report players.
Report comment to moderator  
Reply With Quote
Unread 12-12-07, 10:45 PM  
Undead
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great mod!
Is there a way to not have to see the little monitor window?
If I click Stop does that stop the whole addon or just remove the window?
Report comment to moderator  
Reply With Quote
Unread 12-10-07, 07:02 PM  
cattleprod
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 24
Uploads: 1
Originally posted by Cymmeron
Nice addon. Is there a way you could make it NOT spam everyone? I'm so sick and tired of reading the garbage from this addon I'm about to gouge out my eyeballs. Don't get me wrong, it's a great idea and it's much needed but for the love of Pete, just say no to spam.
Only version 2.1.0 to 2.2.0 (iirc) will spam to the battleground automatically. If you are seeing reports to the battleground channel then that is because they are manually pushing the report button. If there is too much spamming report them for spamming.
Report comment to moderator  
Reply With Quote
Unread 12-10-07, 02:04 PM  
Cymmeron
A Defias Bandit

Forum posts: 2
File comments: 22
Uploads: 0
Nice addon. Is there a way you could make it NOT spam everyone? I'm so sick and tired of reading the garbage from this addon I'm about to gouge out my eyeballs. Don't get me wrong, it's a great idea and it's much needed but for the love of Pete, just say no to spam.
Report comment to moderator  
Reply With Quote
Unread 11-18-07, 03:48 PM  
Kywin
A Fallenroot Satyr
 
Kywin's Avatar

Forum posts: 29
File comments: 32
Uploads: 0
I f'n LOVE IT! Now...can you do something about the farmers? Please?!
Report comment to moderator  
Reply With Quote
Unread 11-18-07, 01:29 AM  
Simbuk
A Murloc Raider

Forum posts: 5
File comments: 14
Uploads: 0
I think of it as the addon coming around.
Report comment to moderator  
Reply With Quote
Unread 11-17-07, 08:05 PM  
cattleprod
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 24
Uploads: 1
Originally posted by Simbuk
I have to say that this is growing into a much smarter mod than I originally commented on. Good work.
Well thank you for the vote of confidence. It is nice to see some people coming around. I really appreciate your comment.
Report comment to moderator  
Reply With Quote
Unread 11-17-07, 01:05 PM  
Simbuk
A Murloc Raider

Forum posts: 5
File comments: 14
Uploads: 0
I have to say that this is growing into a much smarter mod than I originally commented on. Good work.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: