Addon request / Does this exist?

Re: Addon request / Does this exist?

by Kuliu » Thu Jul 23, 2015 8:09 pm

Quickbowjob wrote:Derp! Yah you are right it's only working for character window and have no idea why, did look into it months ago and end up using this oGlow with OneBag addon.


Hey im not sure what the issue is. I did notice that bags.lua wasnt turned on in the .toc when enabled it returns the error
Code: Select all
Error:  attempt to call global `hooksecurefunc' (a nil value)
File: Interface\AddOns\oGlow\core\bags.lua
Line: 66
Count: 1
Not sure what this quite means. My lua / wowApi skills are extremely low.
Image
User avatar
Kuliu
Private
Private
 

Re: Addon request / Does this exist?

by Quickbowjob » Sat Jul 25, 2015 1:16 am

Yes thats right if you add core\bags.lua u get that error.
Did change it about 3 months ago because i had that same error and i really did want it to work but end leaving parts out and only character screen works sadly, but with addon Onebag u get also border color in bag items

Not sure if i remember it all but think i did change it like this:

Code: Select all
## Interface: 20400
## Title: oGlow
## Author: Haste
## Version: 1.12
## X-eMail: [email protected]
## X-Website: http://fuxsake.net/
## Notes: Make your shiny items... glow in the dark!

core\glow.lua

core\bags.lua
core\char.lua
core\inspect.lua
core\bank.lua
core\gbank.lua
core\trade.lua
core\tradeskill.lua
core\craft.lua
core\merchant.lua
core\mail.lua


To

Code: Select all
## Interface: 11200
## Title: oGlow
## Author: Haste
## Version: 1.12
## X-eMail: [email protected]
## X-Website: http://fuxsake.net/
## Notes: Make your shiny items... glow in the dark!

core\glow.lua
core\char.lua
core\inspect.lua
User avatar
Quickbowjob
Sergeant Major
Sergeant Major
 

Re: Addon request / Does this exist?

by Kuliu » Sat Jul 25, 2015 4:54 am

Quickbowjob wrote:Yes thats right if you add core\bags.lua u get that error.
Did change it about 3 months ago because i had that same error and i really did want it to work but end leaving parts out and only character screen works sadly, but with addon Onebag u get also border color in bag items

Not sure if i remember it all but think i did change it like this:

Code: Select all
## Interface: 20400
## Title: oGlow
## Author: Haste
## Version: 1.12
## X-eMail: [email protected]
## X-Website: http://fuxsake.net/
## Notes: Make your shiny items... glow in the dark!

core\glow.lua

core\bags.lua
core\char.lua
core\inspect.lua
core\bank.lua
core\gbank.lua
core\trade.lua
core\tradeskill.lua
core\craft.lua
core\merchant.lua
core\mail.lua


To

Code: Select all
## Interface: 11200
## Title: oGlow
## Author: Haste
## Version: 1.12
## X-eMail: [email protected]
## X-Website: http://fuxsake.net/
## Notes: Make your shiny items... glow in the dark!

core\glow.lua
core\char.lua
core\inspect.lua


Ah but you see my who goal is to keep it as blizzlike as possible so using onebag kinda goes to far for me :(.
Image
User avatar
Kuliu
Private
Private
 

Re: Addon request / Does this exist?

by Quickbowjob » Sat Jul 25, 2015 11:44 am

i know what ya mean, but It's my first and only re-edit addon attempt so far i don't have the knowledge to fix it,
best i could was to keep character slot items colored.

I think it has to do with bags.lua might be BC code not for vanilla that's why i had to turn it off as i wasn't able to find another fix maybe some wizkid here on forum can fix it but it ain't me.

Code: Select all
hooksecurefunc("ContainerFrame_OnShow", function()
   self = this
   if(ContainerFrame1.bagsShown > 0) then
      frame:RegisterEvent"BAG_UPDATE"
      up[self] = true
      frame:Show()
   end
end)
User avatar
Quickbowjob
Sergeant Major
Sergeant Major
 

Previous

Return to Addons & macros