Jump to content
ThreeNill

Help me identify 2 addons (and some X-perl help?)

Recommended Posts

Hi, I have 2 annoying parts of my nearly complete UI, first is this:


9280cee6a9.png

After each mob kill and it's kinda annoying..

 

2nd:

0b80312006.png

I think it even does it on per-mob basis. So when you hit a new mob, it pops a new "record". By the font and position I would assume SCT, but nowhere in the menus I found anything about record hits.

 

And lastly, a little bit of X-pearl help:

I am using the class colored nameframes. And it really bothers me that the Shaman is Paladin-Pink, instead of it's supposed Blue. I have looked in the ingame configs, and tried to find it in the x-perl xml files but to no avail. If anyone has a clue how can I edit the color for that I will be very happy.

Share this post


Link to post
Share on other sites

The XP spam was TitanXPBar or TitanXPStatus.

 

The color of the nameframe of the shaman was a bit harder to fix. I had to edit part of the Ace2 library (Babble-Class-2.2.lua) and overwrite the colours such as:

RAID_CLASS_COLORS = {
    ["HUNTER"] = { r = 0.67, g = 0.83, b = 0.45, colorStr = "ffabd473" },
    ["WARLOCK"] = { r = 0.58, g = 0.51, b = 0.79, colorStr = "ff9482c9" },
    ["PRIEST"] = { r = 1.0, g = 1.0, b = 1.0, colorStr = "ffffffff" },
    ["PALADIN"] = { r = 0.96, g = 0.55, b = 0.73, colorStr = "fff58cba" },
    ["MAGE"] = { r = 0.41, g = 0.8, b = 0.94, colorStr = "ff69ccf0" },
    ["ROGUE"] = { r = 1.0, g = 0.96, b = 0.41, colorStr = "fffff569" },
    ["DRUID"] = { r = 1.0, g = 0.49, b = 0.04, colorStr = "ffff7d0a" },
    ["SHAMAN"] = { r = 0.0, g = 0.44, b = 0.87, colorStr = "ff0070de" },
    ["WARRIOR"] = { r = 0.78, g = 0.61, b = 0.43, colorStr = "ffc79c6e" },
};
 

Topic can be closed.

Share this post


Link to post
Share on other sites

Hi ThreeNill!

I hope you can also help me with the SAME problem (shaman = pink), but your solution above wont work with me as i do not use ace2 ! :/

I have running xperl unitframes from: http://www.vanilla-addons.com/dls/xperl-pack/

It works fine, but it is really annoying that shamans are pink and not blue. I already checked most code but only found following in xperl.lua:

-- We craeted our string based colour table from Blizzard's raid colour table in
local function MashXX(class)
	local c = RAID_CLASS_COLORS[class]
	XPerlColourTable[class] = string.format("|c00%02X%02X%02X", 255 * c.r, 255 * c.g, 255 * c.b)
end
XPerlColourTable = {}
MashXX("HUNTER")
MashXX("WARLOCK")
MashXX("PRIEST")
MashXX("PALADIN")
MashXX("MAGE")
MashXX("ROGUE")
MashXX("DRUID")
MashXX("SHAMAN")
MashXX("WARRIOR")

-- XPerl_GetClassColour
function XPerl_GetClassColour(class)
	if (class) then
		local color = RAID_CLASS_COLORS[class];		-- Now using the WoW class color table
		if (color) then
			return color
		end
	end
	return {r = 0.5, g = 0.5, b = 1}
end

For me this means the addon takes the colors from the client? How could i fix shaman to blue?

 

Thanks for helping <3

Edited by yamyam

Share this post


Link to post
Share on other sites
On 1/14/2017 at 4:56 AM, yamyam said:

Hi ThreeNill!

I hope you can also help me with the SAME problem (shaman = pink), but your solution above wont work with me as i do not use ace2 ! :/

I have running xperl unitframes from: http://www.vanilla-addons.com/dls/xperl-pack/

It works fine, but it is really annoying that shamans are pink and not blue. I already checked most code but only found following in xperl.lua:


-- We craeted our string based colour table from Blizzard's raid colour table in
local function MashXX(class)
	local c = RAID_CLASS_COLORS[class]
	XPerlColourTable[class] = string.format("|c00%02X%02X%02X", 255 * c.r, 255 * c.g, 255 * c.b)
end
XPerlColourTable = {}
MashXX("HUNTER")
MashXX("WARLOCK")
MashXX("PRIEST")
MashXX("PALADIN")
MashXX("MAGE")
MashXX("ROGUE")
MashXX("DRUID")
MashXX("SHAMAN")
MashXX("WARRIOR")

-- XPerl_GetClassColour
function XPerl_GetClassColour(class)
	if (class) then
		local color = RAID_CLASS_COLORS[class];		-- Now using the WoW class color table
		if (color) then
			return color
		end
	end
	return {r = 0.5, g = 0.5, b = 1}
end

For me this means the addon takes the colors from the client? How could i fix shaman to blue?

 

Thanks for helping <3

 

In that same file, on a new line, outside of a function (or just on the top of the file) add the text i posted above, it will reroute the call from the client to the custom variable with edited colours.

If it doesn't work, rename the custom variable with colours from RAID_CLASS_COLORS to something else, and substitute it in the "local color = RAID_CLASS_COLORS[class]"

 

Alternatively - do like I did and change to using LunaFrames, I can't completely say I like it more - i haven't tested it in a raid environment but for leveling is mostly the same.

 

P.S. In which file did you find the quoted code?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×