Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(58 Kb)
Download
Updated: 06-23-15 09:58 PM
Pictures
File Info
Compatibility:
Fury of Hellfire (6.2)
The Adventure Continues (6.1)
Updated:06-23-15 09:58 PM
Created:unknown
Downloads:371,965
Favorites:979
MD5:
6.2

Capping  Updated this week!  Popular! (More than 5000 hits)

Version: v6.2.01
by: funkydude , totalpackage

Capping is a battleground timer mod with some extras.

Current Features:

  • All battlegrounds/arenas have start timers
  • Ashran - Event timers, battle timer, graveyard timer
  • Alterac Valley - Node timers, auto quest turnins, and sync
  • Arathi Basin - Node timers and final score estimation
  • Eye of the Storm - Flag respawn timer, flag carrier display, and final score estimation
  • Isle of Conquest - Node timers and siege engine timer
  • Warsong Gulch - Flag respawn timer and flag carrier display with health percent
  • Wintergrasp - Start timer, wall alerts, and auto show zone map
  • Zone Map - Change scale, narrow, and hide border
  • Other - Port expiration timers, queue wait timers, scoreboard/capture bar/vehicle seat repositioning

How to use:
  • Show options - "/capping" or right-click on a timer bar/anchor
  • Toggle anchor - left-click on a timer bar or use options menu
  • Send time info to SAY - shift left-click on that timer bar
  • Send time info to BG - ctrl left-click on that timer bar
  • Hide timer bar (also leaves queue if related) - ctrl, shift, or alt right-click on that timer bar
  • Target carrier (in WSG or EotS) - left-click on the carrier's display
  • Send carrier info to BG - ctrl left-click on the carrier's display

Why no auto-release and auto-join?:
  • I try not to promote bad habits in my mods.
  • No auto-release because knowing when you should or should not release is a part of being a smart player in battlegrounds. For example, say there is five seconds left to capture blacksmith and you die there. Auto-release will send you to the starting area, but if you wait five seconds, you release to blacksmith graveyard.
  • Another reason not to use auto-release is to have time to spy on the flag carrier after a failed kill attempt.
  • Auto-join was useful when there were single queues and long wait time/afk time. Today is different, of course.
  • I'm not telling you how to play, just giving you my reasons.

Why no convenient "Incoming" and such buttons?:
  • The users and I had a discussion about this before when Capping was on wowace. If spoiled, the users would not type something important if there's no lazy way to do it. Am I right?.
  • Messages probably no mod covers:
    1. Incoming? Well, how many? From which direction?
    2. Incoming BS. Oh wait, they're going LM now.
    3. Incoming BS, but we're all here already. I mean fight at the flag, they're capping.
    4. Need help at MT...3 enemies behind
    5. Incoming DR...3 stealth
    6. Flag carrier going ramp side, almost dead
    7. Flag carrier on the way up the roof, behind tree
    8. ...and so on
  • Don't you love seeing "INCOMING BS" "INCOMING BS" "INCOMING BS" with 2 enemies incoming and 5 people already defending? After about 5 more come to help chase these 2 kills, you get spammed "BS CLEAR".
  • Plenty of standalone mods that do this, so use those if needed.

Known issues:
  • Narrow map setting will not work if Mapster is installed. Disabling the battlemap module in Mapster will fix this.

Post A Reply Comment Options
Unread 07-28-13, 07:15 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 887
Uploads: 2
Re: Strand of the Ancients BG LUA error spam

Originally Posted by Naltar
Hello, I'm French, sorry for my bad English.

In the Strand of the Ancients battlegournd I'm getting spamed by this LUA error, and the UI reload solve nothing. For stop this error spam I have to deactivate the battleground minimap (In the blizzard map menu). For infrmation, I'm using the French client. Thank you very much for your work.

The LUA error ...
I cannot figure this out. The errors are pointing at Blizzard's code that I do not touch.

@Grokthag - Maybe the final score string localization needs to be updated.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 07-26-13, 05:28 AM  
Naltar
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Exclamation Strand of the Ancients BG LUA error spam

Hello, I'm French, sorry for my bad English.

In the Strand of the Ancients battlegournd I'm getting spamed by this LUA error, and the UI reload solve nothing. For stop this error spam I have to deactivate the battleground minimap (In the blizzard map menu). For infrmation, I'm using the French client. Thank you very much for your work.

The LUA error :

Code:
Message: ...d_BattlefieldMinimap\Blizzard_BattlefieldMinimap.lua:428: attempt to index field '?' (a nil value)
Time: 07/26/13 12:21:57
Count: 144
Stack: ...d_BattlefieldMinimap\Blizzard_BattlefieldMinimap.lua:428: in function <...d_BattlefieldMinimap\Blizzard_BattlefieldMinimap.lua:269>

Locals: self = BattlefieldMinimap {
 0 = <userdata>
 updateTimer = 0.1
}
elapsed = 0.010000000707805
playerX = 112.94849216938
playerY = -108.36267471313
playerCount = 14
numFlags = 0
numVehicles = 18
totalVehicles = 1
playerBlipFrameLevel = 12
index = 0
(for index) = 1
(for limit) = 18
(for step) = 1
i = 1
vehicleX = 125.80995261669
vehicleY = -84.006464481354
unitName = "Canon anti-personnel"
isPossessed = false
vehicleType = "Idle"
orientation = 0.50614547729492
isPlayer = false
(*temporary) = nil
(*temporary) = BattlefieldMinimap1 {
 0 = <userdata>
 texture = BattlefieldMinimap1Texture {
 }
}
(*temporary) = "CENTER"
(*temporary) = "BattlefieldMinimap"
(*temporary) = "TOPLEFT"
(*temporary) = 125.80995261669
(*temporary) = -84.006464481354
(*temporary) = BattlefieldMinimap {
 0 = <userdata>
 updateTimer = 0.1
}
(*temporary) = <userdata>
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
Naltar is offline Report comment to moderator  
Reply With Quote
Unread 06-10-13, 08:35 AM  
Grokthag
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Capping has some issue while using French client. I get the node timers back with changing ["Arathi Basin"] = "Bassin d'Arathi", to ["Arathi Basin"] = "Bassin Arathi", on line 8 in localization-frFR but it still doesn't display final score estimation.
Grokthag is offline Report comment to moderator  
Reply With Quote
Unread 05-29-13, 10:08 AM  
ild
A Kobold Labourer

Forum posts: 1
File comments: 9
Uploads: 0
Fix for string compare error

Originally Posted by Bobwich III
Latest patch, US client. Queueing for BGs throws this error

Message: Interface\AddOns\Capping\core.lua:514: attempt to compare number with string
Time: 05/25/13 16:32:14
Count: 4
Stack: [C]: ?
Interface\AddOns\Capping\core.lua:514: in function `?'
Interface\AddOns\Capping\core.lua:176: in function <Interface\AddOns\Capping\core.lua:174>

Locals:
This error seems to be happening because the teamsize returned by GetBattlefieldStatus() for a BG is now "BATTLEGROUND" rather than a number (0).

I don't know much LUA, but this hack seems to work... just paste the following between lines 513 and 514 of Interface\AddOns\Capping\core.lua .
Code:
-- 5.3 patch - teamsize now returns as "BATTLGROUND" for BGs.
-- quick hack to force it back to 0 like Capping seems to require.
if (tonumber(teamsize) == nil) then		-- check if it's a string
	if (teamsize == "BATTLEGROUND") then
		teamsize = 0
	end
end
So after the above, it should look like this...
Code:
		for i = 1, maxq, 1 do  -- check the status of each queue
			local status, map, _, _, _, teamsize, _ = GetBattlefieldStatus(i)
		
-- 5.3 patch - teamsize now returns as "BATTLGROUND" for BGs.
-- quick hack to force it back to 0 like Capping seems to require.
if (tonumber(teamsize) == nil) then		-- check if it's a string
	if (teamsize == "BATTLEGROUND") then
		teamsize = 0
	end
end
			
			if map and (teamsize or 0) > 0 then -- arena
				map = format("%s (%dv%d)", map, teamsize, teamsize)
			end
ild is offline Report comment to moderator  
Reply With Quote
Unread 05-27-13, 12:10 AM  
Enforcer84
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Chaosbreaker
I just installed this addon to replace my DBM since it's a smaller file and I only need timers for PvP. I log on to my hunter to do some Random Battlegrounds and I get and error saying "Capping has been blocked from an action only available to the Blizzard UI. You can disable this addon and reload the UI. [Disable] [Ignore]"
If I choose to Ignore it, it doesn't queue me for a random BG. If I disable it, then there is kinda no point in having it.

Got any ideas on how to fix this?
I've found if you reload ui that error goes away and you can just use it. Not sure it follows to 5.3 though.
Enforcer84 is offline Report comment to moderator  
Reply With Quote
Unread 05-25-13, 05:33 PM  
Bobwich III
A Kobold Labourer

Forum posts: 1
File comments: 23
Uploads: 0
Latest patch, US client. Queueing for BGs throws this error

Message: Interface\AddOns\Capping\core.lua:514: attempt to compare number with string
Time: 05/25/13 16:32:14
Count: 4
Stack: [C]: ?
Interface\AddOns\Capping\core.lua:514: in function `?'
Interface\AddOns\Capping\core.lua:176: in function <Interface\AddOns\Capping\core.lua:174>

Locals:
Bobwich III is offline Report comment to moderator  
Reply With Quote
Unread 05-24-13, 02:06 AM  
jostor
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 16
Uploads: 13
Hello there, are there any plans for doing an update for 5.3 and adding the new battleground Deepwind Gorge? The battleground is in many ways similar to AB/BFG with a flag element WSG style added, so it would need cap timers for bases, a time to win-timer and one of those convenient quick-target things for the cart (flag) carrier.

I love this addon and it would be a shame to have to use something different because it doesn't get updated. Oh, and the estimated queue bar doesn't pop up anymore, presumably since they changed how the BG queue works in 5.1, 5.2 and 5.3
jostor is offline Report comment to moderator  
Reply With Quote
Unread 04-05-13, 07:43 PM  
Chaosbreaker
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I just installed this addon to replace my DBM since it's a smaller file and I only need timers for PvP. I log on to my hunter to do some Random Battlegrounds and I get and error saying "Capping has been blocked from an action only available to the Blizzard UI. You can disable this addon and reload the UI. [Disable] [Ignore]"
If I choose to Ignore it, it doesn't queue me for a random BG. If I disable it, then there is kinda no point in having it.

Got any ideas on how to fix this?
Chaosbreaker is offline Report comment to moderator  
Reply With Quote
Unread 03-10-13, 05:04 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 887
Uploads: 2
Fixed for 5.2. Thanks for pointing out the issue.
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 03-09-13, 09:44 PM  
Lockslap
Premium Member
 
Lockslap's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 8
5.2 Fix

To fix the error upon logging in open Capping\core.lua and change line 331
Code:
	PVPFrame:HookScript("OnShow", StartWorldTimers)
To:

Code:
	if not IsAddOnLoaded("Blizzard_PVPUI") then LoadAddOn("Blizzard_PVPUI") end
	PVPUIFrame:HookScript("OnShow", StartWorldTimers)
Lockslap is offline Report comment to moderator  
Reply With Quote
Unread 03-09-13, 04:16 PM  
totalpackage
A Fallenroot Satyr
 
totalpackage's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 887
Uploads: 2
Originally Posted by donteventrii
Any 5.2 update in the works?
Heh, didn't know there was a major patch. Looking into it...
totalpackage is offline Report comment to moderator  
Reply With Quote
Unread 03-09-13, 10:08 AM  
donteventrii
A Murloc Raider

Forum posts: 4
File comments: 66
Uploads: 0
Any 5.2 update in the works?
donteventrii is offline Report comment to moderator  
Reply With Quote
Unread 03-07-13, 11:15 PM  
reanism
A Kobold Labourer

Forum posts: 0
File comments: 34
Uploads: 0
Originally Posted by kaustos
Code:
Message: ..\AddOns\Capping\core.lua line 331:
   attempt to index global 'PVPFrame' (a nil value)
5.2 moved the PVPFrame to PVPUIFrame and is loaded on demand now as Blizzard_PVPUI.

how to fix it?
reanism is offline Report comment to moderator  
Reply With Quote
Unread 03-05-13, 04:31 PM  
kaustos
A Kobold Labourer
 
kaustos's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 43
Uploads: 1
Code:
Message: ..\AddOns\Capping\core.lua line 331:
   attempt to index global 'PVPFrame' (a nil value)
5.2 moved the PVPFrame to PVPUIFrame and is loaded on demand now as Blizzard_PVPUI.
kaustos is offline Report comment to moderator  
Reply With Quote
Unread 01-12-13, 04:26 AM  
merola
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Hi there!

I'd have some feature suggestions to make this great addon even more useful in Bgs, especially in AV.
Back in TBC I used an addon (maybe AlarGBHelper, which is pretty bugged now), which had the option to report all tower timers with one click for both sides, which was really great. It can be quite tedious to find and click each horde / alliance tower timer one by one when there are like ten or more tower and gy timers. It would be great to be able to send all horde / alliance tower statuses either by clicking designated buttons (one for alli, one for horde) or by, for example, CTRL + Middle clicking on a horde / alliance tower's timer bar. The same goes for gy statuses.

Thanks in advance,

RoL

P.S. Should anyone know any addon that has the features that I suggested above, please let me know about it
Last edited by merola : 01-12-13 at 04:41 AM.
merola is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.