arkinventory icon indicating copy to clipboard operation
arkinventory copied to clipboard

How to detect ArkInventory initialization?

Open Horogg opened this issue 2 years ago • 4 comments

In my addon Kaliel's Tracker (https://www.curseforge.com/wow/addons/kaliels-tracker) I use tooltips for quests, achievements etc. During ArkInventory's initialization sequence, my tooltip modifications constantly reset. After the initialization is complete, all tooltip modifications work OK.

Is there any chance get information about completion of initialization?

Horogg avatar Dec 08 '22 03:12 Horogg

the init should be done by the time your mod has loaded (as they load alphabetically) i dont have anything that says the overall mod is ready, just for parts of it that are slow, like pets and mounts.

arkayenro avatar Dec 08 '22 09:12 arkayenro

But the name of my addon is "!KalielsTracker" and because it has a "!" at the beginning, it is loaded before ArkInventory.

Horogg avatar Dec 08 '22 10:12 Horogg

... What I call initialization is accompanied by a decrease in FPS, when your addon probably goes through all the items in the backpack and applies the rules and sorting to the items, etc.

Horogg avatar Dec 08 '22 11:12 Horogg

I was wondering if I really need to detect the end of ArkInventory initialization. And I found that ArkInventory has a big problem when used together with another addon called "AppearanceTooltip" (https://www.curseforge.com/wow/addons/appearancetooltip). This addon performs a scan of the Appearance category (transmogrification) on initialization. This takes a few seconds, during which ArkInventory lags a lot, because your addon is also initialized at that time. Can you please investigate it? Thank you

Horogg avatar Dec 08 '22 11:12 Horogg