TipTac Reborn

TipTac Reborn

1M Downloads

Cause problems with broker tooltip after latest updates

GregoryGH opened this issue ยท 3 comments

commented

Describe the bug

Some broker tooltips cause lua errors with tiptac enabled. Some ppl say you can disable "skin" option to fix that, but i cant find it.

Steps to Reproduce

just mouseover broker icon to show tooltip

Expected behavior

No response

Additional context

1x bad argument #2 to '?' (Usage: self:SetVertexColor(color [, a]))

[Blizzard_SharedXML/Backdrop.lua]:405: in function 'SetBackdropColor'

[Ara_Broker_Reputations/Ara_Broker_Reputations.lua]:773: in function <...ns/Ara_Broker_Reputations/Ara_Broker_Reputations.lua:761>

[Ara_Broker_Reputations/Ara_Broker_Reputations.lua]:809: in function 'OnEnter'

[ChocolateBar/Chocolate.lua]:263: in function <ChocolateBar/Chocolate.lua:232>

Version of TipTac Reborn

25.08.14

Flavor/Version of WoW

wow classic era

commented

With the latest update TipTac's config has been moved to lib AceDB-3.0 to support different profiles. So this code in addon Ara_Broker_Reputations doesn't work any more and needs an update:

Image

They need to include lib AceDB-3.0 and the following snippet to determine the cfg:

local cfg;

-- get lib AceDB-3.0
local LibAceDB = LibStub:GetLibrary("AceDB-3.0");

-- find database object with config in db registry
for db in pairs(LibAceDB.db_registry) do
	if (not db.parent) and (db.sv == TipTac_Config) then
		cfg = db.profile;
		break;
	end
end
commented

To disable using TipTac's skin you have to disable the following checkbox in config of addon Ara_Broker_Reputations:

Image

This will solve this issue until the necessary changes are implemented in addon Ara_Broker_Reputations.

commented

nice, that helps. cant change others addons unfortunatelly :( and its not only rep, but all others ara_ addons as well