Download
(66 Kb)
Download
Updated: 09-20-13 05:34 PM
Pictures
File Info
Compatibility:
Escalation (5.3)
Updated:09-20-13 05:34 PM
Created:unknown
Downloads:1,615,607
Favorites:5,395
MD5:
OmniCC  Popular! (More than 5000 hits)
Version: 5.4.1
by: jaliborc, Tuller
Need help? Check the Guide!

Overview
OmniCC is an addon that adds text to items, spell and abilities that are on cooldown to indicate when they will be ready to use. In other words: it turns all the standard analogue cooldowns into digital ones.

Anything should work with OmniCC, from the action bars to the inventory, from the standard interface to your favorite add-on.

Bugs & Requests
Please submit bugs and feature requests at GitHub. You may post comments as well, but you will get our attention much faster there.
====== 5.4.1
* Now prevents bugs caused due to incorrect usage of the API by some addons (eg: PlateBuffs)
* Fixed issue preventing configuration sliders from behaving properly (ex: font outline)
* Fixed issue preventing configuration sliders from being shown immediately.

====== 5.4.0
* Updated for Siege of Ogrimmar.

====== 5.3.2 (beta)
* Now displays timers for abilities with charges.
* Fixed issue with Ion.

====== 5.3.1
* Fixed bug preventing slash commands from working properly.

====== 5.3.0
* Updated for patch Escalation.

====== 5.2.3
* Fixed "Activate" effect incompatibility with some addons.

====== 5.2.2
* Fixed bug affecting new users on first login.

====== 5.2.1
* Fixed bug causing settings to reset at login.
* New option: spiral opacity! Now, instead of only being able to toggle them on/off, you can set how transparent they should look. Setting to 0% will hide them.

===== 5.2.0
* Updated for patch 5.2: The Thunder King

====== 5.1.3
* Fixed issue causing problems to users coming from extremely outdated versions (pankake and before).

====== 5.1.2
* Fixed issue causing the script engine to not be loaded properly.

====== 5.1.1
* Fixed bug causing french to be the default language.

===== 5.1.0
* Updated for patch 5.1: Landfall.

====== 5.0.9 (beta)
* OmniCC is now fully localized in french! (by Noaah)

====== 5.0.8 (beta)
* Fixed bug preventing the "None" effect from working properly.
* Fixed several issues in the rules panel.

====== 5.0.7 (beta)
* Fixed bug preventing OmniCC from working with addons that do not support spell charges (ex: Ion).

====== 5.0.6 (beta)
* Fixed bug preventing OmniCC from working with addons such as Bartender.
* Fixed settings migration issue.

====== 5.0.5 (beta)
* Optimized the most important bottleneck in OmniCC, for better performance in intense battles.
** Hopefully, this will prevent most of the "script ran for too long" issues.
* Rebuilt OmniCC from the ground-up, for easier bug-fixing and feature addition.

====== 5.0.4
* Added new Monocrome font outline option.
* Added new Flare finish effect (artwork by Renaitre).

====== 5.0.3b
* Wrong file upload.

====== 5.0.3
* Fixed charges bug, still happening in some non-standard action bar addons (ex: Bartender).

====== 5.0.2
* Fixed bug causing abilities with multiple charges to show cooldowns before all are spent.

====== 5.0.1
* Tagging as release.

====== 5.0.0 (beta)
* Updated and tested for Mists of Pandaria.

====== 4.3.2
* Almost finished portuguese translations
* Fixed a bug with the activate effect

====== 4.3.1
* Fixed a bug freezing the addon at extremely small durations

===== 4.3.0
* Updated for WoW 4.3
* Now follows the new Blizzard's *mandatory* cooldown model standard. Addons not yet supporting it may not be tracked by OmniCC properly.
* Dominos and Cornucopia are both confirmed to work with this new release.

====== 4.2.3
* Jaliborc: Reduced download size by about 70%
* Jaliborc: No more "Jaliborc:" tag from now on. If no tag is here, it means it was me.

====== 4.2.2
* Jaliborc: Introducing 2 new finish effects - "Activate" and "Alert"
* Jaliborc: Fixed a bug causing the new update engine button to allways be checked

====== 4.2.1
* Jaliborc: Added a button at the interface options for selecting the update engine
* Jaliborc: Several aestetical improvements to the options menu

===== 4.2.0
* Updated for 4.2
* Made pulse the default finish effect again, since its working without a flicker in the new patch.
* Adjusted update engine again to prevent some possible lag issues people were having.

====== 4.1.pancakes6:
* Altered settings to disable the finish effect by default. This is to workaround the flickering issue that people have been experiencing since the release of WoW 4.1

====== 4.1.pancakes5:
* Updated TOC for 4.1

====== 4.1.pancakes4:
* Updated localization and readme

====== 4.1.pancakes3:
* Fixed a typo that was causing a crash.

====== 4.1.pancakes2:
* Added new slash commands:
* /occ config - Shows the options menu
* /occ setengine <animation | classic> - Switches the timer update engine
* /occ engine - Displays the current timer update engine
* /occ version - Displays the current addon version

===== 4.1.pancakes:
* Extracted the timer scheduling code from the timer code.
* Created two scheduling engines for the timer: One based on the Animation system, and one based on the classic OnUpdate methods, with the animation system used by default. If you're experiencing crashes when using OmniCC, try switching to the OnUpdate engine.
* To switch to the OnUpdate engine, use
/run OmniCC:SetUpdateEngine('ScriptUpdater'); ReloadUI()
* To switch back to the Animation engine, use
/run OmniCC:SetUpdateEngine('AniUpdater'); ReloadUI()

====== 4.0.waffles12:
* More hopeful crash fixes

====== 4.0.waffles11:
* Tweaks to hopefully prevent FPS/crash issues

====== 4.0.waffles10:
* Updated localization

====== 4.0.waffles9:
* Adjusted text update algorithm to hopefully prevent hanging updates

====== 4.0.waffles8:
* Added text anchor offset scaling for buttons of different sizes

====== 4.0.waffles7:
* More attempts at fixing edge cases, like a pulse happening when a cooldown starts.

====== 4.0.waffles6:
* Theoretical edge case bugfixes

====== 4.0.waffles4:
* Updated localization

====== 4.0.waffles3:
* Added back missing code to handle cooldowns of a day or longer.

====== 4.0.waffles2:
* Added support for deathknight rune cooldowns. Apparently the start time of a cooldown may now happen in the future :P
* Fixed Custom text appearing in the finish effect dropdown

===== 4.0.waffles1:
* This is a major new BETA for OmniCC. Major new features added:
* Added the ability to define settings groups: so that things like your auras/etc can have their own look.
* Added options to adjust text anchoring.
* Switched to using the animation system for timers, resulting in a major reduction in overall CPU usage
* For more information, please take a look at the new wiki page: http://code.google.com/p/tullamods/wiki/OmniCC4

====== 3.0.4/3.1.4:
* Fixed 0:59 display issue (for reals)

====== 3.0.3/3.1.3:
* Fixed 0:59 display issue

====== 3.0.2/3.1.cata4
* Removed 90s display
* Fixed tooltip corruption (thanks cremor)
* Updated localization (thanks cremor)

====== 3.0.1/3.1.cata3
* Removed 0 seconds display
* Adjusted text scaling algorithm

====== 3.0.0/3.1.cata2
* First release of OmniCC 3.0

====== 3.0.cata1
* Updated toc for Cataclysm

====== 3.0.beta16
* Made font size independent of UI scale

====== 3.0.beta15
* More bugfixes
* Moved LibSharedMedia from the core addon to the config addon

====== 3.0.beta13
* Applied some performance tweaks to the text updating algorithm
* Applied some fixes to the text scaling algorithm
* Applied some fixes to text display

====== 3.0.beta12
* Hopeful FPS bugfix

====== 3.0.beta11
* Fixed a bug causing frames to repeatedly be created

====== 3.0.beta10
* Fixed an error causing the show cooldown models option to not work.

====== 3.0.beta9
* Merged some changes from tullCC: Text scaling should work properly again
* Split out the timer code from the config code

====== 3.0.beta8
* Fixed the invalid font issue

====== 3.0.beta7
* Updated localization
* Made a few tweaks to how frequent timers update

====== 3.0.beta6
* Reverted to using a single OnUpdate handler per cooldown text item. Turns out, it actually is faster with my old optimizations :P
* Added scale and opacity options for each duration
* Reimplemented the show cooldown models option
* Dropped the whitelist option. Added back support for the noCooldownCount flag.

====== 3.0.beta5
* Updated localization
* Added color options, tweaked the defaults
* Added settings to control tenths of seconds display, as well as MM:SS display
* Altered GetFormattedText to handle transition points a bit better

====== 3.0.beta4
* Updated localization
* Fixed a bug causing the pulse/shine not to display unless running with the min effect duration setting at 0 seconds.
* Fixed a rendering issue on the pulse effect
* (Hopefully) fixed a bug causing cooldown timers to not properly hide when reset
* Cooldowns should now update instantly when a timer that is already shown is reset for one reason or another
* Removed Ears dependency

====== 3.0.beta3
* This time, it really should use a good bit less CPU than OmniCC 2 :P
* Tweaked text display to show 90 seconds or below as seconds, instead of one minute or below

====== 3.0.beta2
* Fixed bugs for non US locales

===== 3.0.beta1
* Rewrote OmniCC. Delete all OmniCC folders before installing, or you may have issues.
* Hopefully reduced overall CPU usage by a good bit.
* Rewrote the options menu. Hopefully the font selector won't blow up anymore :)
* Added whitelisting functionality via CooldownTextFrames.
* Added blacklisting functionality.
* Added the ability to disable text scaling
* Merged Pulse and Shine into the core addon. Added a new options menu item to pick between them.
* Changed the minimum size filter to minimum font size to hopefully make it a bit easier to understand

====== 2.5.9
* Updated French localization

====== 2.5.8
* Updated TOC for 3.3

====== 2.5.7
* Implemented kujanssen's bugfix for the noCooldownCount flag

====== 2.5.6
* Updated for patch 3.2

====== 2.5.5
* Increased frequency of updates at the seconds level to fix some tenths of seconds issues (hopefully)

====== 2.5.4
* Adjusted tenths of seconds timing to work for cooldowns under 2 seconds instead of 3.

====== 2.5.3
* Updated localization

====== 2.5.2
* Updated localization

====== 2.5.1
* Added a fix for displaying 0 seconds when in non tenths of seconds mode

===== 2.5.0
* Added an option to display tenths of seconds for durations < 3 seconds.

====== 2.4.1
* Updated localization

===== 2.4.0
* Renamed Min Size, Min Duration sliders to Size Threshold and Duration Threshold
* Added a new slider, Finish Effect Threshold - Used to determine how long a cooldown must last before OmniCC will trigger a finish effect (pulse, shine, etc)

====== 2.3.2
* TOC Bump

====== 2.3.1
* Fixed a bug for users with no previous OmniCC settings

===== 2.3.0
* Removed pulse from the core. Reimplemented as a plugin (OmniCC_Pulse)
* For 51d cooldowns, OmniCC will now attempt to estimate the proper remaining duration.
* Added a hidden setting OmniCC.sets.minFinishEffectDuration: This setting controls how long a cooldown's duration (in seconds) needs to be to show a finish effect (ex, shine, pulse)
* Restructured the folder layout. Log out of WoW completely, delete all OmniCC folders, and install the new version to have everything work properly.

====== 2.2.5
* Updated Chinese translation

====== 2.2.4
* Added Korean translation.

====== 2.2.3
* Pulses will now only happen for cooldowns that have a duration > 30 seconds

====== 2.2.2
* Added a check before calling GetTexture to prevent redbox issues.

====== 2.2.1
* Updated options menu code for the new Wrath build. This will probably break people on the PTR
* Added Russian translation

====== 2.1.1
* Rethrottled the updates
* Tweaked the no cooldown count flag to hide active timers.

===== 2.1.0
* Updated a setting to make LSM3 work properly.
* Fixed a bug with embeds.xml
* Switched to using noCooldownCount to signify that cooldown count should not display on an object, instead of noomnicc

====== 2.0.9
* Updated to LSM 3
* Unthrottled the updates for cooldowns with durations > 1 minute. This is to (hopefully) prevent an issue with the rogue ability Preparation.
* Reimplemented the slash commands
Archived Files (42)
File Name
Version
Size
Author
Date
5.3.1
66kB
jaliborc
06-22-13 03:30 AM
5.3.0
66kB
jaliborc
05-27-13 10:01 AM
5.2.0
67kB
jaliborc
04-14-13 11:07 AM
5.1.2
67kB
jaliborc
12-03-12 05:18 AM
5.0.3
58kB
Tuller
09-08-12 05:52 AM
4.3.0
64kB
Tuller
11-29-11 06:43 PM
4.2.muffin1
60kB
Tuller
06-27-11 07:26 PM
4.1.pancakes6
60kB
Tuller
04-30-11 02:14 PM
4.1.pancakes5
57kB
Tuller
04-26-11 05:08 PM
4.1.pancakes4
60kB
Tuller
04-24-11 09:52 AM
4.0.waffles12
58kB
Tuller
03-17-11 04:41 PM
4.0.waffles11
54kB
Tuller
12-29-10 05:59 PM
4.0.waffles10
58kB
Tuller
12-11-10 12:19 PM
4.0.waffles9
55kB
Tuller
12-05-10 01:42 PM
4.0.waffles8
55kB
Tuller
11-30-10 06:10 PM
4.0.waffles7
52kB
Tuller
11-25-10 07:40 PM
4.0.waffles6
52kB
Tuller
11-18-10 05:59 PM
4.0.waffles4
53kB
Tuller
11-17-10 05:39 PM
4.0.waffles3
51kB
Tuller
11-14-10 08:33 AM
4.0.waffles2
50kB
Tuller
11-13-10 06:28 PM
3.1.4
42kB
Tuller
10-11-10 04:51 PM
3.0.4
42kB
Tuller
09-25-10 08:15 AM
3.0.3
42kB
Tuller
09-24-10 05:09 PM
3.0.2
41kB
Tuller
09-22-10 05:33 PM
3.0.1
41kB
Tuller
09-20-10 07:15 PM
3.0.0
41kB
Tuller
09-19-10 12:12 PM
2.5.9
22kB
Tuller
01-05-10 03:39 PM
2.5.8
24kB
Tuller
12-07-09 08:47 PM
2.5.7
22kB
Tuller
09-21-09 04:22 PM
2.5.6
22kB
Tuller
08-04-09 04:48 PM
2.5.5
22kB
Tuller
06-18-09 03:28 PM
2.5.4
22kB
Tuller
06-14-09 08:52 AM
2.5.3
22kB
Tuller
05-19-09 03:55 PM
2.5.2
21kB
Tuller
05-14-09 04:11 PM
2.5.1
21kB
Tuller
05-10-09 08:52 AM
2.5.0
21kB
Tuller
05-09-09 03:27 PM
2.4.1
22kB
Tuller
04-26-09 03:54 PM
2.4.0
21kB
Tuller
04-26-09 06:45 AM
2.3.2
22kB
Tuller
04-12-09 06:45 PM
2.3.1
21kB
Tuller
02-08-09 04:48 PM
2.3.0
21kB
Tuller
02-08-09 03:44 PM
2.2.5
21kB
Tuller
10-28-08 05:38 PM


Post A Reply Comment Options
Old 04-18-13, 01:04 PM  
Kendian
A Molten Giant
 
Kendian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 614
File comments: 175
Uploads: 13
Originally Posted by rassa
Hi, i recently updated to latest version 5.2.0 and im having issues with the changes im making, like the font type/size etc. Everytime i log from the game it resets to defaults, i already deleted the .lua files in the WTF folder but it keeps doing the same.
Is this a current bug or im missing something?

thanks for any help.
Same problem, but it's every time I /rl.
__________________
Kendian is offline Report comment to moderator  
Reply With Quote
Old 04-17-13, 11:45 AM  
rassa
A Deviate Faerie Dragon

Forum posts: 15
File comments: 130
Uploads: 0
Hi, i recently updated to latest version 5.2.0 and im having issues with the changes im making, like the font type/size etc. Everytime i log from the game it resets to defaults, i already deleted the .lua files in the WTF folder but it keeps doing the same.
Is this a current bug or im missing something?

thanks for any help.
rassa is offline Report comment to moderator  
Reply With Quote
Old 04-17-13, 05:46 AM  
quetzacoatl
A Kobold Labourer
 
quetzacoatl's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: font size too small on retina mbp

Originally Posted by Nibelheim
Originally Posted by quetzacoatl
Hi, Jaliborc and Tuller, thanks for this great add-on.

I just bought a retina mbp and found out that there are an issue about the omnicc. The font of cooldown numbers are too small. I tried to adjust the font size in the config pannel but the actual size will never increase after 9. I mean when I change the font from 9 to 48, the actual font size remains. I tried to set the font size to 200% but it didn't work at all.

Also I tried to deselect the "Automatically scale text to fit within frames" but it tragically didn't work too.


So I wonder if there is a way to manually set the font size by editing some .luas or some other solution.

Thank you again and sorry for my bad english.
As a side note, WoW doesn't support font sizes above 32, so if you only tried 9 and 48 I'm not sure what WoW would do.
Actually, I increased the size from 1 to 48 (which is the maximum size the config panel provides) one by one pt, but they didn't become larger after 9.

When I decrease my game resolution from the original 2880*1800 to 1770*1106 (apple's weird arithmetic on retina), the font size looks much bigger, but it still can't be larger when the font size is set to a number bigger than 9. I mean the 9 pt fonts are much bigger and applicable when at 1770*1106 than at 2880*1800, but the problem are not caused by the resolution of retina screens.
Last edited by quetzacoatl : 04-17-13 at 05:48 AM.
quetzacoatl is offline Report comment to moderator  
Reply With Quote
Old 04-15-13, 08:23 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1490
File comments: 2314
Uploads: 50
Re: font size too small on retina mbp

Originally Posted by quetzacoatl
Hi, Jaliborc and Tuller, thanks for this great add-on.

I just bought a retina mbp and found out that there are an issue about the omnicc. The font of cooldown numbers are too small. I tried to adjust the font size in the config pannel but the actual size will never increase after 9. I mean when I change the font from 9 to 48, the actual font size remains. I tried to set the font size to 200% but it didn't work at all.

Also I tried to deselect the "Automatically scale text to fit within frames" but it tragically didn't work too.


So I wonder if there is a way to manually set the font size by editing some .luas or some other solution.

Thank you again and sorry for my bad english.
As a side note, WoW doesn't support font sizes above 32, so if you only tried 9 and 48 I'm not sure what WoW would do.
__________________
Nibelheim is offline Report comment to moderator  
Reply With Quote
Old 04-15-13, 06:13 AM  
quetzacoatl
A Kobold Labourer
 
quetzacoatl's Avatar

Forum posts: 0
File comments: 3
Uploads: 0
font size too small on retina mbp

Hi, Jaliborc and Tuller, thanks for this great add-on.

I just bought a retina mbp and found out that there are an issue about the omnicc. The font of cooldown numbers are too small. I tried to adjust the font size in the config pannel but the actual size will never increase after 9. I mean when I change the font from 9 to 48, the actual font size remains. I tried to set the font size to 200% but it didn't work at all.

Also I tried to deselect the "Automatically scale text to fit within frames" but it tragically didn't work too.


So I wonder if there is a way to manually set the font size by editing some .luas or some other solution.

Thank you again and sorry for my bad english.
quetzacoatl is offline Report comment to moderator  
Reply With Quote
Old 04-14-13, 06:16 PM  
Tonyleila
A Frostmaul Preserver
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 279
File comments: 1229
Uploads: 31
v 5.2.3?

I already use v5.2.3 from here. Is this 5.2.0 newer? I still have problems that Inline Auras sometimes don't show buffs on target but Don't know it thats an OmniCC problem.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Tonyleila is offline Report comment to moderator  
Reply With Quote
Old 03-16-13, 08:03 AM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 78
Uploads: 4
Originally Posted by d87

Also, I'm not sure if this option is already present, but it would be cool to have a checkbox to display CC even if you still have charges left. (I just vaguely remember making some code changes for that)

edit: Updated GetActionID to check if action is nil
Please do this, I still use a old version of OmniCC so I can control my stacks of HoG since I dont do them both right away
__________________
akgis is offline Report comment to moderator  
Reply With Quote
Old 01-14-13, 09:41 AM  
Partha
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 7
Uploads: 4
Error

Getting this error every time I am casting a lot of spells on a test dummy:

3x OmniCC-5.1.3\effects\shine.lua:31: script ran too long
OmniCC-5.1.3\effects\shine.lua:31: in function "Start"
OmniCC-5.1.3\effects\shine.lua:22: in function "Run"
OmniCC-5.1.3\effects\effects.lua:11: in function "TriggerEffect"
OmniCC-5.1.3\core\timer.lua:127: in function "UpdateText"
OmniCC-5.1.3\core\timer.lua:73: in function "OnScheduledUpdate"
OmniCC-5.1.3\engines\animation-Animation.lua:65: in function "OnFinished"
OmniCC-5.1.3\engines\animation-Animation.lua:26: in function <OmniCC\engines\animation.lua:25>

Locals:
self = <unnamed> {
0 = <userdata>
CreateShineAnimation = <func> @OmniCC\effects\shine.lua:78
OnAnimationFinished = <func> @OmniCC\effects\shine.lua:35
id = "shine"
duration = 0.8
Run = <func> @OmniCC\effects\shine.lua:19
instances = <table> {}
OnHide = <func> @OmniCC\effects\shine.lua:42
Setup = <func> @OmniCC\effects\shine.lua:53
name = "Shine"
Start = <func> @OmniCC\effects\shine.lua:26
mt = <table> {}
scale = 3.5
Bind = <func> @OmniCC\libs\..\Classy-1.0.lua:21
texture = "Cooldown\star4"
}
cooldown = SUFUnitplayerAurabuffs1Cooldown {
0 = <userdata>
omniWidth = 18.000011444092
noCooldownCount = false
omnicc = true
}
shine = <unnamed> {
0 = <userdata>
animation = <unnamed> {}
}
Partha is offline Report comment to moderator  
Reply With Quote
Old 12-23-12, 06:14 AM  
Marthisdil
An Onyxian Warder
AddOn Author - Click to view AddOns

Forum posts: 350
File comments: 98
Uploads: 1
Posted the error below on GitHub, but just to be safe, posting it here too. When logging into the game, I get the following error as soon as I enter the game world:

1x OmniCC-5.1.2\settings\settings-Settings.lua:103: attempt to perform arithmetic on a nil value
OmniCC-5.1.2\settings\settings-Settings.lua:103: in function "GetVersionID"
OmniCC-5.1.2\settings\settings-Settings.lua:31: in function "UpgradeSettings"
OmniCC-5.1.2\settings\settings-Settings.lua:25: in function "StartupSettings"
OmniCC-5.1.2\main.lua:23: in function "?"
OmniCC-5.1.2\main.lua:15: in function <OmniCC\main.lua:14>

Locals:
self = OmniCC {
0 = <userdata>
GetGroupDefaults = <func> @OmniCC\..\settings.lua:59
OnCommand = <func> @OmniCC\extras.lua:37
FindGroup = <func> @OmniCC\..\groups.lua:21
GetGroupIndex = <func> @OmniCC\..\groups.lua:48
VARIABLES_LOADED = <func> @OmniCC\main.lua:22
GetGroupSettingsFor = <func> @OmniCC\..\groups.lua:39
RegisterCommands = <func> @OmniCC\extras.lua:29
GetVersionID = <func> @OmniCC\..\settings.lua:99
GetUpdateEngine = <func> @OmniCC\..\effects.lua:47
GetEffect = <func> @OmniCC\..\effects.lua:23
UpgradeSettings = <func> @OmniCC\..\settings.lua:30
AddGroup = <func> @OmniCC\..\groups.lua:59
AniUpdater = <unnamed> {}
RemoveGroup = <func> @OmniCC\..\groups.lua:70
Cooldown = <unnamed> {}
StartupSettings = <func> @OmniCC\..\settings.lua:23
GetGroupSettings = <func> @OmniCC\..\groups.lua:44
GetVersion = <func> @OmniCC\..\settings.lua:106
GetGroup = <func> @OmniCC\..\groups.lua:11
GetDefaults = <func> @OmniCC\..\settings.lua:49
Actions = <table> {}
RegisterEffect = <func> @OmniCC\..\effects.lua:19
ScriptUpdater = <unnamed> {}
Startup = <func> @OmniCC\main.lua:13
TriggerEffect = <func> @OmniCC\..\effects.lua:9
SetupConfig = <func> @OmniCC\extras.lua:9
sets = <table> {}
SetupEffect = <func> @OmniCC\..\effects.lua:14
effects = <table> {}
GetButtonIcon = <func> @OmniCC\..\effects.lua:30
PLAYER_ENTERING_WORLD = <func> @OmniCC\main.lua:49
SetupEvents = <func> @OmniCC\main.lua:39
UpdateGroups = <func> @OmniCC\..\groups.lua:81
SetupHooks = <func> @OmniCC\main.lua:32
New = <func> @OmniCC\main.lua:56
ACTIONBAR_UPDATE_COOLDOWN = <func> @OmniCC\main.lua:45
Timer = <unnamed> {}
}
CopyTable = <func> @OmniCC\..\settings.lua:7
__________________

Marth


Marthisdil is offline Report comment to moderator  
Reply With Quote
Old 11-10-12, 02:30 PM  
jaliborc
A Chromatic Dragonspawn
 
jaliborc's Avatar
AddOn Author - Click to view AddOns

Forum posts: 179
File comments: 325
Uploads: 20
Originally Posted by d87
Also, I'm not sure if this option is already present, but it would be cool to have a checkbox to display CC even if you still have charges left. (I just vaguely remember making some code changes for that)
Sounds like a good idea.
__________________
Developer of Bagnon, OmniCC, PetTracker and many others
jaliborc is offline Report comment to moderator  
Reply With Quote
Old 10-27-12, 11:36 AM  
Tuller
A Black Drake
 
Tuller's Avatar
AddOn Author - Click to view AddOns

Forum posts: 83
File comments: 1602
Uploads: 36
Actually in practice you can use button.action to figure out a button's effective action ID, and if you're paranoid, ActionButton_CalculateAction can also work
Tuller is offline Report comment to moderator  
Reply With Quote
Old 10-20-12, 08:37 AM  
d87
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 98
File comments: 454
Uploads: 33
Hi, i found a bug.
So, currently you have:
Code:
local function cooldown_ParentAction(self)
	local parent = self:GetParent()
	return parent and parent:GetAttribute("action")
end

local function cooldown_HasCharges(self)
	local action = self.omniccAction or cooldown_ParentAction(self)
	return action and GetActionCharges(action) ~= 0
end
And it doesn't account for the case when actionpage attribute is used.
As a result if i have an action with charges on page 1, action with the same id on other pages won't display CC.

fixed version:
Code:
local GetActionID = function(self)
    local page = self:GetAttribute("actionpage") or 1
    local action = self:GetAttribute("action")
    if action then 
        return (page-1)*12 + action
    end
end
local function cooldown_ParentAction(self)
	local parent = self:GetParent()
	return parent and GetActionID(parent)
end
Also, I'm not sure if this option is already present, but it would be cool to have a checkbox to display CC even if you still have charges left. (I just vaguely remember making some code changes for that)

edit: Updated GetActionID to check if action is nil
Last edited by d87 : 10-20-12 at 08:57 AM.
d87 is offline Report comment to moderator  
Reply With Quote
Old 10-17-12, 08:54 AM  
RandomName
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 10
Uploads: 3
Hello there,

On my paladin I have the glyph of consecration, which allows me to place consecration anywhere within 25 yards. It seems that omnicc doesn't show a cool down for this spell with that glyph present. I was wondering if anyone else is experiencing this issue, or if the author is aware of it?

Haven't played my DK in a while but death and decay used to work in the same way that consecration now does if you have the glyph. As in you can click the spell - target the area - then land the spell - and the cool down starts.

http://www.wowhead.com/item=41099/glyph-of-consecration
RandomName is offline Report comment to moderator  
Reply With Quote
Old 10-03-12, 07:28 AM  
goldorak
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
Originally Posted by AnrDaemon
Originally Posted by goldorak
Is this addon working well on a French client ? Because many skills doesn't display their finish effect when their cooldown is finished. For exemple, on my monk, it works for skills like "Touch of Death (Toucher mortel)" but not for skills like "Flying Serpent Kick (Coup du serpent volant)" or "Fists of Fury (Poings de fureur)".
Is there anything common between skills that not work well?
Well, i don't know. In fact it seems that only touch of death and touch of karma are displaying the finish effect among all skills that i have at lvl 30 on my monk. I don't know if it helps ^^
goldorak is offline Report comment to moderator  
Reply With Quote
Old 10-03-12, 06:39 AM  
AnrDaemon
A Flamescale Wyrmkin
AddOn Author - Click to view AddOns

Forum posts: 115
File comments: 2351
Uploads: 6
Originally Posted by goldorak
Is this addon working well on a French client ? Because many skills doesn't display their finish effect when their cooldown is finished. For exemple, on my monk, it works for skills like "Touch of Death (Toucher mortel)" but not for skills like "Flying Serpent Kick (Coup du serpent volant)" or "Fists of Fury (Poings de fureur)".
Is there anything common between skills that not work well?
AnrDaemon 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.