Love the update, but i was wondering if you could change your tukui skin function aObj:TukuiInit() to this.
[PHP]-- The following code handles the Initial setup of Skinner when the TukUI is loaded
function aObj:TukuiInit()
if IsAddOnLoaded("Tukui") then
local T, C, L = unpack(Tukui)
borderr, borderg, borderb = unpack(C["media"].bordercolor)
backdropr, backdropg, backdropb = unpack(C["media"].backdropcolor)
else
borderr, borderg, borderb = .6,.6,.6
backdropr, backdropg, backdropb = .1, .1, .1
end
self:RawHook(self, "OnInitialize", function(this)
-- Do these before we run the function
-- setup the default DB values and register them
self:checkAndRun("Defaults", true)
self.Defaults = nil -- only need to run this once
-- create and use a new db profile called Tukui
local dbProfile = self.db:GetCurrentProfile()
if dbProfile ~= "Tukui" then
self.db:SetProfile("Tukui") -- create new profile
self.db:CopyProfile(dbProfile) -- use settings from previous profile
-- change settings
self.db.profile.TooltipBorder = {r = borderr, g = borderg, b = borderb, a = 1}
self.db.profile.BackdropBorder = {r = borderr, g = borderg, b = borderb, a = 1}
self.db.profile.Backdrop = {r = backdropr, g = backdropg, b = backdropb, a = 1}
self.db.profile.BdDefault = false
self.db.profile.BdFile = "None"
self.db.profile.BdEdgeFile = "None"
self.db.profile.BdTexture = "Tukui Background"
self.db.profile.BdBorderTexture = "Tukui Border"
self.db.profile.BdTileSize = 0
self.db.profile.BdEdgeSize = 1
self.db.profile.BdInset = -1
self.db.profile.Gradient = {enable = false, invert = false, rotate = false, char = true, ui = true, npc = true, skinner = true, texture = "Tukui Background"}
self.db.profile.Buffs = false
self.db.profile.Nameplates = false
self.db.profile.ChatEditBox = {skin = false, style = 1}
self.db.profile.StatusBar = {texture = "Tukui StatusBar", r = 0, g = 0.5, b = 0.5, a = 0.5}
self.db.profile.WorldMap = {skin = false, size = 1}
end
....... not whole function but shows what i changed.
[/PHP]
That way if people use this skin have tukui installed, and have custom edits with custom coloring Skinner will pick up on that coloring and use the new colors instead of the default ones, like me :o.
The media path changed in the latest version of Tukui so the skin reflects that change. Maybe the ElvUI doesn't have the changed media path. If required I can create a skin for ElvUI (copy Tukiu's skin and rename it ;))
I checked the media paths and they are the same in Elv and Tukui. I also made a post on tukui.org in the Elvui section to see if its a problem with the tukui db converter which allows Elvui to use Tukui addons.
Hi, i have this error and i don't know if this is in Power Aura or in Power Aura Buttons:
1x Skinner-b4.13623.1\SkinMe\PowerAuras.lua:58: Usage: SecureHook([object], method, [handler]): Attempting to hook a non existing target
AceHook-3.0-5 (Ace3):211: in function <Ace3\AceHook-3.0\AceHook-3.0.lua:118>
AceHook-3.0-5 (Ace3):344: in function `SecureHook'
Skinner-b4.13623.1\SkinMe\PowerAuras.lua:58: in function <Skinner\SkinMe\PowerAuras.lua:56>
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13623.1\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
Skinner-b4.13623.1\UtilFuncs.lua:145: in function `checkAndRunAddOn'
Skinner-b4.13623.1\AddonFrames.lua:144: in function <Skinner\AddonFrames.lua:103>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (Ace3):164: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>
Something changed in the update with the transparancy of stuff, i had to change my settings cos the frames were a lot less visibe then before.
Using the latest version of Skinner, I am getting the same transparent backgrounds again. Going to revert back to previous tukui file from Skinner again and report back if that fixes it.
Using the latest version of Skinner, I am getting the same transparent backgrounds again. Going to revert back to previous tukui file from Skinner again and report back if that fixes it.
Its not TukUI specifik, i don't use it and was affected aswell.
Would it be possible to add a skin for Elvui? Right now I get transparent backgrounds with Elv's edit. I have tested skinner with the default Tukui version plus other edits, and it works fine, just not for Elvui. :(
Would it be possible to add a skin for Elvui? Right now I get transparent backgrounds with Elv's edit. I have tested skinner with the default Tukui version plus other edits, and it works fine, just not for Elvui. :(
Hopefully this will be the solution to the current problem with ElvUI and the Tukui skinner file. ;)
On the PTR I am getting lots of skinner bugs for example.
1x Skinner-b4.13623.2\Skinner.lua:221: table index is nil
Skinner-b4.13623.2\Skinner.lua:1472: in function <Skinner\Skinner.lua:1458>
Skinner-b4.13623.2\Skinner.lua:1504: in function `skinScrollBar'
Skinner-b4.13623.2\CharacterFrames1.lua:41: in function <Skinner\CharacterFrames1.lua:36>
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13623.2\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
(tail call): ?:
Skinner-b4.13623.2\CharacterFrames1.lua:15: in function <Skinner\CharacterFrames1.lua:6>
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13623.2\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
(tail call): ?:
Skinner-b4.13623.2\AddonFrames.lua:19: in function <Skinner\AddonFrames.lua:3>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (Ace3):164: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>
---
1x Skinner-b4.13682.1\SkinMe\FlightMapEnhanced.lua:12: attempt to index field 'modules' (a nil value)
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13682.1\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
Skinner-b4.13682.1\UtilFuncs.lua:145: in function `checkAndRunAddOn'
Skinner-b4.13682.1\AddonFrames.lua:150: in function <Skinner\AddonFrames.lua:109>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (Ace3):164: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>
---
and I logged in to see every window transparent. Reverting the TukUI file back to one from January fixed it. Possibly due to the fact that I haven't made the switch to TukUI v13 yet. Would it be possible to include a file for v12 (and let people delete the one they don't need) as well?
Skinned ElvUI (as requested by xpronic)
Updated AckisRecipeList (as reported by dwarven), Archy, FlightMapEnhanced, MtTrader_SkillWindow & Tukui skins
PTR 4.1 changes (as reported by Jiminimonka)
Updated MagicButton skinning code
b4.13682.1
Thanks for the update, however at the moment I am getting the following error from Skinner with ElvUI.
1x Skinner-b4.13682.1\SkinMe\ElvUI.lua:43: bad argument #1 to 'unpack' (table expected, got nil)
Skinner-b4.13682.1\SkinMe\ElvUI.lua:43: in function <Skinner\SkinMe\ElvUI.lua:39>
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13682.1\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
(tail call): ?:
Skinner-b4.13682.1\SkinMe\ElvUI.lua:154: in main chunk
Thanks for the update, however at the moment I am getting the following error from Skinner with ElvUI.
Hi, Jiminimonka
This error is due to Skinner being included in the list of OptionalDeps when it shouldn't be.
I have contacted the author and it has been fixed in the latest version, which can be found here.
If you use the Curse version then you will have to edit the TOC file and remove the word Skinner from the OptionalDeps line, until it gets updated there.
When I log in, the following error is waiting for me, and a couple small things seem to be unskinned -- so far, all I've noticed is the guild information panel and the guild log window.
1x Skinner-b4.13707.1\CharacterFrames2.lua:741: 'for' limit must be a number
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13707.1\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
(tail call): ?:
Skinner-b4.13707.1\AddonFrames.lua:166: in function <Skinner\AddonFrames.lua:109>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (Ace3):164: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>
---
[PHP]-- The following code handles the Initial setup of Skinner when the TukUI is loaded
function aObj:TukuiInit()
if IsAddOnLoaded("Tukui") then
local T, C, L = unpack(Tukui)
borderr, borderg, borderb = unpack(C["media"].bordercolor)
backdropr, backdropg, backdropb = unpack(C["media"].backdropcolor)
else
borderr, borderg, borderb = .6,.6,.6
backdropr, backdropg, backdropb = .1, .1, .1
end
self:RawHook(self, "OnInitialize", function(this)
-- Do these before we run the function
-- setup the default DB values and register them
self:checkAndRun("Defaults", true)
self.Defaults = nil -- only need to run this once
-- Register Textures
self.LSM:Register("background", "Tukui Background", [[Interface\AddOns\Tukui\medias\textures\blank]])
self.LSM:Register("border", "Tukui Border", [[Interface\AddOns\Tukui\medias\textures\blank]])
self.LSM:Register("statusbar", "Tukui StatusBar", [[Interface\AddOns\Tukui\medias\textures\normTex]])
-- create and use a new db profile called Tukui
local dbProfile = self.db:GetCurrentProfile()
if dbProfile ~= "Tukui" then
self.db:SetProfile("Tukui") -- create new profile
self.db:CopyProfile(dbProfile) -- use settings from previous profile
-- change settings
self.db.profile.TooltipBorder = {r = borderr, g = borderg, b = borderb, a = 1}
self.db.profile.BackdropBorder = {r = borderr, g = borderg, b = borderb, a = 1}
self.db.profile.Backdrop = {r = backdropr, g = backdropg, b = backdropb, a = 1}
self.db.profile.BdDefault = false
self.db.profile.BdFile = "None"
self.db.profile.BdEdgeFile = "None"
self.db.profile.BdTexture = "Tukui Background"
self.db.profile.BdBorderTexture = "Tukui Border"
self.db.profile.BdTileSize = 0
self.db.profile.BdEdgeSize = 1
self.db.profile.BdInset = -1
self.db.profile.Gradient = {enable = false, invert = false, rotate = false, char = true, ui = true, npc = true, skinner = true, texture = "Tukui Background"}
self.db.profile.Buffs = false
self.db.profile.Nameplates = false
self.db.profile.ChatEditBox = {skin = false, style = 1}
self.db.profile.StatusBar = {texture = "Tukui StatusBar", r = 0, g = 0.5, b = 0.5, a = 0.5}
self.db.profile.WorldMap = {skin = false, size = 1}
end
....... not whole function but shows what i changed.
[/PHP]
That way if people use this skin have tukui installed, and have custom edits with custom coloring Skinner will pick up on that coloring and use the new colors instead of the default ones, like me :o.
I checked the media paths and they are the same in Elv and Tukui. I also made a post on tukui.org in the Elvui section to see if its a problem with the tukui db converter which allows Elvui to use Tukui addons.
1x Skinner-b4.13623.1\SkinMe\PowerAuras.lua:58: Usage: SecureHook([object], method, [handler]): Attempting to hook a non existing target
AceHook-3.0-5 (Ace3):211: in function <Ace3\AceHook-3.0\AceHook-3.0.lua:118>
AceHook-3.0-5 (Ace3):344: in function `SecureHook'
Skinner-b4.13623.1\SkinMe\PowerAuras.lua:58: in function <Skinner\SkinMe\PowerAuras.lua:56>
(tail call): ?:
<in C code>: in function `xpcall'
Skinner-b4.13623.1\UtilFuncs.lua:88: in function <Skinner\UtilFuncs.lua:86>
Skinner-b4.13623.1\UtilFuncs.lua:145: in function `checkAndRunAddOn'
Skinner-b4.13623.1\AddonFrames.lua:144: in function <Skinner\AddonFrames.lua:103>
(tail call): ?:
<in C code>: ?
<string>:"safecall Dispatcher[2]":9: in function <[string "safecall Dispatcher[2]"]:5>
(tail call): ?:
AceTimer-3.0-5 (Ace3):164: in function <Ace3\AceTimer-3.0\AceTimer-3.0.lua:138>
---
TY for all.
Updated AucAdvanced (as reported by Jiminimonka), PowerAuras (as reported by burber), Quartz (as reported by Decabah) & Tukui (as requested by VQKatsuko) skins
b4.13623.2
Skinner: Unsupported ARL version [2.2.2]
I presume this is Ackis Recipe List :)
Using the latest version of Skinner, I am getting the same transparent backgrounds again. Going to revert back to previous tukui file from Skinner again and report back if that fixes it.
Its not TukUI specifik, i don't use it and was affected aswell.
Hopefully this will be the solution to the current problem with ElvUI and the Tukui skinner file. ;)
Updated AckisRecipeList (as reported by dwarven), Archy, FlightMapEnhanced, MtTrader_SkillWindow & Tukui skins
PTR 4.1 changes (as reported by Jiminimonka)
Updated MagicButton skinning code
b4.13682.1
and I logged in to see every window transparent. Reverting the TukUI file back to one from January fixed it. Possibly due to the fact that I haven't made the switch to TukUI v13 yet. Would it be possible to include a file for v12 (and let people delete the one they don't need) as well?
Thanks.
Thanks for the update, however at the moment I am getting the following error from Skinner with ElvUI.
Thanks.
Hi, Jiminimonka
I have contacted the author and it has been fixed in the latest version, which can be found here.
If you use the Curse version then you will have to edit the TOC file and remove the word Skinner from the OptionalDeps line, until it gets updated there.
PTR changes
b4.13707.1
A couple things:
When I log in, the following error is waiting for me, and a couple small things seem to be unskinned -- so far, all I've noticed is the guild information panel and the guild log window.
Updated FlightMapEnhanced
b4.13707.2