Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(19 Kb)
Download
Updated: 01-20-12 12:06 AM
Pictures
File Info
Updated:01-20-12 12:06 AM
Created:07-31-10 08:10 AM
Downloads:6,773
Favorites:29
MD5:

CCP (Class Combo Points)  Popular! (More than 5000 hits)

Version: 3.3
by: richerich [More]

This is a class styled combopoint addon.

This mod doesn't only display combopoints for Druids and Rogues, but for other classes as well.
In other words, it fakes combopoints.


Currently Supported Classes:
* Shaman (Maelstrom Weapon) / (Tidal Waves) / (Fulmination)
* Mage (Arcane Blast) / (Fingers of Frost)
* Priest (Evangelism) / (Serendipity) / (Shadow Orb)
* Paladin (Holy Power)
* Warrior (Thunderstruck) / (Meat Cleaver) / (Slaughter)
* Warlock (Soul Shards)
* Hunter (Frenzy Effect) / (Ready, Set, Aim...)
* Death Knight (Shadow Infusion) / (Bone Shield)
* Druid (Lunar Shower) / (Lacerate)

Configuration is all done in LUA, on top of CCP_Display\combo.lua, such as font and position.
(NOW WITH TUKUI AND ELVUI SUPPORT!)

Code:
--[[ START OF CONFIG ]]--

-- Font name
cfg.font = 	"Interface\\AddOns\\DSM\\font\\font.ttf" or						-- 1. DSM check
			"Interface\\AddOns\\ElvUI\\media\\fonts\\Action_Man.ttf" or		-- 2. ElvUI check
			"Interface\\AddOns\\CCP_Display\\font.ttf"						-- 3. Normal check

-- Font size
cfg.fonts = 40

-- Font type ("OUTLINE", "THINOUTLINE", "THICKOUTLINE")
cfg.fontf = "OUTLINE"

-- Horizontal position
cfg.pointy = 0

-- Vertical position
cfg.pointx = -160

--[[ END OF CONFIG ]]--
If you have a suggestion to add more classes/specs, leave a comment and i'll look into it.

A lot of code is from Combo and ArcaneComboPoints. I thank the authors for making this possible



Official discussion thread: WoWInterface.com and Tukui.org

Curse Link: http://wow.curseforge.com/addons/ccp...-combo-points/

-- CHANGELOG --
-- 3.3 --
- TOC update.
- Changed some code with the font (nothing major).
-- 3.2 --
- TOC update.
- Fixed a error with the ElvUI support.
-- 3.1 --
- Added ElvUI support (don't ask me why)
- Fixed a login error.
-- 3.0 --
- update for 4.1
- fixed the druid, hunter and death knight modules.
- added some missing spellid's.
- split up the modules and display into 2 seperate folders, so you can choose yourself what display you wanna use.
- changed name from "Class Combo Points" to "CCP" and "CCP_Display".
- added support for both my Tukui edit and default Tukui (other edits may work as well)
-- 2.3 --
- fixed Fulmination (finally)... (Hope you guys are into pink :) )
-- 2.2 --
- changed how auras are checked, now u dont have to reload ui to recheck if auras is there or not, it's all checked now by your current talent spec :)
- fixed druid module, should be working now.
- fixed bug on warrior module when it tried to check for both spellids at once.
-- 2.1 --
- added Tidal Waves display for restoration shaman.
- added Lacerate display for bear druids to use for their Pulverize. [NOT WORKING ATM, WORKING ON IT]
- fixed warlock module, its working again. Also fixed it so it hides out-of-combat. No more static display :P
- fixed hunter and death knight pet modules, should work now.
-- 2.0 --
- cleaned up a lot of old code (now with a new config).
- added a color code for each point. Now it should be a bit easier to read :)
- added death knight module (Shadow Infusion) for Unholy pet and (Bone Shield) for Blood.
- added warlock module (Soul Shards). - Still needs recoding, so it hides in combat. Atm, it stays viseble at al times.
- added hunter module (Frenzy Effect) for pet and (Ready, Set, Aim...) for Marksman.
- added druid module (Lunar Shower) for Balance.
- changed paladin module. Now it displays Holy Power instead of Holy Venegance/Blood Corruption stacks.
- changed priest module. Now it displays Evangelism instead of Serendipity stacks.
- changed warrior module. Now it displays both Meat Cleaver(Fury) and Thunderstruck (Protection) instead of Sunder Armor stacks.
- changed font to a more readable one.
-- 1.5 --
- changed TOC to 4.0 (Cataclysm ONLY (for Beta and PTR)), will not work with live servers.
-- 1.3 --
- finalizing paladin module, works for both ally and horde paladins now (thx Starinnia for testing)
- fixed warrior module, should work now
- added changelog file in the package
-- 1.2 --
- fixed paladin module, should work now (Blood Corruption (tested)/Holy Venegance (untested))
- moved the counter even more down
- added warrior module (placeholder, not currently working at al)
-- 1.1 --
- added priest module (Serendipity)
- added paladin module (placeholder, not currently working at al)
- changed font (the old one was just too much to just display numbers)
- moved the counter slightly down
--- 1 ---
- first release
Optional Files (0)


Archived Files (12)
File Name
Version
Size
Author
Date
3.2
20kB
richerich
06-29-11 09:59 AM
3.1
19kB
richerich
05-12-11 06:32 AM
3
19kB
richerich
04-26-11 10:50 AM
2.3
19kB
richerich
10-31-10 05:38 PM
2.2
19kB
richerich
10-16-10 07:57 AM
2.1
19kB
richerich
10-15-10 01:31 PM
2.0
19kB
richerich
10-14-10 09:56 AM
1.5 [Cataclysm]
25kB
richerich
09-15-10 07:25 AM
1.3
25kB
richerich
08-17-10 01:26 AM
1.2
24kB
richerich
08-16-10 12:23 PM
1.1
24kB
richerich
07-31-10 03:18 PM
1
314kB
richerich
07-31-10 08:10 AM


Post A Reply Comment Options
Unread 11-09-14, 01:16 PM  
cbdgv
A Kobold Labourer
 
cbdgv's Avatar

Forum posts: 0
File comments: 15
Uploads: 0
6.0 UP TK
cbdgv is offline Report comment to moderator  
Reply With Quote
Unread 11-22-12, 10:13 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
@rassa: not by me, i haven't touched WoW in the past 1.5 year and i do not plan to come back, sadly.
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Unread 08-29-12, 07:04 PM  
rassa
A Deviate Faerie Dragon
 
rassa's Avatar

Forum posts: 15
File comments: 130
Uploads: 0
are there any plans to get this updated for 5.0 ?
rassa is offline Report comment to moderator  
Reply With Quote
Unread 07-23-11, 09:26 PM  
ffcloud2000
A Fallenroot Satyr

Forum posts: 22
File comments: 110
Uploads: 0
When i have the Display module enabled i get spammed combo points from combattext
__________________
ffcloud2000 is offline Report comment to moderator  
Reply With Quote
Unread 06-29-11, 11:01 AM  
Crapa
A Kobold Labourer
 
Crapa's Avatar

Forum posts: 1
File comments: 45
Uploads: 0
Not working with ElvUI again
The file structure is different from v3.1. That's maybe why.

edit: confirmed, previous version works fine with ElvUI and 4.2
Last edited by Crapa : 06-29-11 at 11:14 AM.
Crapa is offline Report comment to moderator  
Reply With Quote
Unread 05-13-11, 03:52 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Re: Will never load

Originally posted by smanzo
A quick note. Because of the order of the if/elseif statements, if you happen to be running ElvUI with the Tukui database converter, the ElvUI settings will never be loaded. The Tukui installation is detected first and applied.
Oh yeah, good note. I don't have ElvUI, so forgot he had something like that. Will fix it
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Unread 05-12-11, 06:54 PM  
smanzo
A Defias Bandit

Forum posts: 3
File comments: 28
Uploads: 0
Will never load

A quick note. Because of the order of the if/elseif statements, if you happen to be running ElvUI with the Tukui database converter, the ElvUI settings will never be loaded. The Tukui installation is detected first and applied.
smanzo is offline Report comment to moderator  
Reply With Quote
Unread 05-07-11, 05:55 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Originally posted by Sec
Getting the following bug playing Arcane Mage.

Addon works fine - I just get the error on load.
Yeah, i had it fixed for my Tukui edit, just forgot to update this. Will do it in a while.
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Unread 05-06-11, 10:06 PM  
Sec
A Cyclonian
 
Sec's Avatar

Forum posts: 48
File comments: 175
Uploads: 0
Getting the following bug playing Arcane Mage.

Code:
Message: Interface\AddOns\CCP_Display\combo.lua:47: <unnamed>:SetText(): Font not set
Time: 05/07/11 00:05:55
Count: 2
Stack: [C]: in function `SetText'
Interface\AddOns\CCP_Display\combo.lua:47: in function `UpdateComboPoints'
Interface\AddOns\CCP_Display\combo.lua:66: in function `?'
Interface\AddOns\CCP_Display\combo.lua:31: in function `func'
Interface\AddOns\CCP\mage.lua:8: in function <Interface\AddOns\CCP\mage.lua:5>
(tail call): ?

Locals: (*temporary) = <unnamed> {
 0 = <userdata>
}
(*temporary) = ""
Addon works fine - I just get the error on load.
Sec is offline Report comment to moderator  
Reply With Quote
Unread 11-01-10, 10:02 AM  
Saintvallen
An Aku'mai Servant

Forum posts: 32
File comments: 141
Uploads: 0
Originally posted by Dajova
Alright, finally fixed Fulmination -.-

... hope you guys don't mind that the 6:th point is pink
It will simply make us cast Earth Shock quicker!
Saintvallen is offline Report comment to moderator  
Reply With Quote
Unread 10-31-10, 05:39 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Alright, finally fixed Fulmination -.-

... hope you guys don't mind that the 6:th point is pink
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Unread 10-18-10, 04:58 AM  
Garkin
A Kobold Labourer
 
Garkin's Avatar

Forum posts: 0
File comments: 9
Uploads: 0
Re: Re: Elemental shaman

Originally posted by Dajova
Well, it does work... however, the problem is that it doesnt count for the color code and once you reset the counter (from when u cast Earth Shock), it displays default 3 stacks. The thing i must do is to make it count 3 as 0.
You got a point. I have reworked my changes, so now it shows 5 combo points, same as for rogue or druid. It is very usefull because of other addons (eg. Hear Kitty or MSBT) that can play sounds when certain number of combo points is reached.

Now is frame.lua unchanged and change to shaman.lua is:
Code:
this line:
   if unit == 'player' and GetPrimaryTalentTree() == 2 then

replace with:
   if unit == 'player' and GetPrimaryTalentTree() == 1 then
      local _,_,_,count = UnitBuff('player', GetSpellInfo(324)) -- Lightning Shield
      if count then
         if count > 3 then
            count = count - 4
         else
            count = 0
         end
      end
      if count ~= id then
         id = count
         return map(GetFramesRegisteredForEvent('UNIT_COMBO_POINTS'))
      end
   elseif unit == 'player' and GetPrimaryTalentTree() == 2 then
Garkin is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 11:43 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Re: Elemental shaman

Originally posted by Garkin
It would be great to add support for tracking Lightning Shield charges for elemental shamans.

If you are interested, I did some changes by myself:

shaman.lua
Code:
this line:
   if unit == 'player' and GetPrimaryTalentTree() == 2 then

replace with:
   if unit == 'player' and GetPrimaryTalentTree() == 1 then
      local _,_,_,count = UnitBuff('player', GetSpellInfo(324)) -- Lightning Shield
      if count ~= id then
         id = count
         return map(GetFramesRegisteredForEvent('UNIT_COMBO_POINTS'))
      end
   elseif unit == 'player' and GetPrimaryTalentTree() == 2 then
frame.lua (change to colloring, because LS has more than 5 charges):
Code:
as a third line add:
local class = select(2,UnitClass("player"))

and replace function Combo:Colorize(points) with:
function Combo:Colorize(points) 
   if class == 'SHAMAN' and GetPrimaryTalentTree() == 1 then
      if(points==4)then return .7,.82,1,1 end
      if(points==5)then return .5,.7,1,1 end
      if(points==6)then return 0,1,0,1 end
      if(points==7)then return 1,1,0,1 end
      if(points==8)then return 1,.5,.2,1 end
      if(points==9)then return 1,0,0,1 end
   else
      if(points==1)then return .5,.7,1,1 end
      if(points==2)then return 0,1,0,1 end
      if(points==3)then return 1,1,0,1 end
      if(points==4)then return 1,.5,.2,1 end
      if(points==5)then return 1,0,0,1 end
   end
   return 1,1,1,1
end
Well, it does work... however, the problem is that it doesnt count for the color code and once you reset the counter (from when u cast Earth Shock), it displays default 3 stacks. The thing i must do is to make it count 3 as 0.
__________________


Livestream | Twitter | Facebook | YouTube


Last edited by Dajova : 10-17-10 at 11:44 AM.
Dajova is offline Report comment to moderator  
Reply With Quote
Unread 10-17-10, 06:18 AM  
Garkin
A Kobold Labourer
 
Garkin's Avatar

Forum posts: 0
File comments: 9
Uploads: 0
Elemental shaman

It would be great to add support for tracking Lightning Shield charges for elemental shamans.

If you are interested, I did some changes by myself:

shaman.lua
Code:
this line:
   if unit == 'player' and GetPrimaryTalentTree() == 2 then

replace with:
   if unit == 'player' and GetPrimaryTalentTree() == 1 then
      local _,_,_,count = UnitBuff('player', GetSpellInfo(324)) -- Lightning Shield
      if count ~= id then
         id = count
         return map(GetFramesRegisteredForEvent('UNIT_COMBO_POINTS'))
      end
   elseif unit == 'player' and GetPrimaryTalentTree() == 2 then
frame.lua (change to colloring, because LS has more than 5 charges):
Code:
as a third line add:
local class = select(2,UnitClass("player"))

and replace function Combo:Colorize(points) with:
function Combo:Colorize(points) 
   if class == 'SHAMAN' and GetPrimaryTalentTree() == 1 then
      if(points==4)then return .7,.82,1,1 end
      if(points==5)then return .5,.7,1,1 end
      if(points==6)then return 0,1,0,1 end
      if(points==7)then return 1,1,0,1 end
      if(points==8)then return 1,.5,.2,1 end
      if(points==9)then return 1,0,0,1 end
   else
      if(points==1)then return .5,.7,1,1 end
      if(points==2)then return 0,1,0,1 end
      if(points==3)then return 1,1,0,1 end
      if(points==4)then return 1,.5,.2,1 end
      if(points==5)then return 1,0,0,1 end
   end
   return 1,1,1,1
end
Garkin is offline Report comment to moderator  
Reply With Quote
Unread 10-16-10, 04:15 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 791
Uploads: 13
Originally posted by autobot
Like this lil addon but i wanted to make the font size lil larger, im pretty i just scaled the size in the lua but doesnt seem to be taking effect.
Yeah, i have been unable to really make it any bigger than what it is atm, i'm not sure why (could be a limitation in blizzard, but not sure).
If you're unhappy about that and want it larger, just take another font to suit your needs

I always find my fonts @ http://www.abstractfonts.com/ (dont like DaFonts, cause their menu is not very user friendly)
__________________


Livestream | Twitter | Facebook | YouTube


Dajova is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: