arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
108 stars 14 forks source link

[BUG] Toy box is broken after one toy use #1825

Open DravenSA opened 1 year ago

DravenSA commented 1 year ago

What version number you are using? 3.10.17

What game client are you playing? Retail, Wrath, Classic / Live, PTR, Beta Retail

What language is the game client set to? English

Describe the bug A clear and concise description of what the bug is. When i need to use the scouting maps from the toys, i can click only one, then i just get click sound every other toy i try use. after that. If i want to use say a hearthstone, i have to drag it to my action bar until i reload my UI, then i can use ONE toy from the toy collection UI

To Reproduce Steps to reproduce the behaviour, if possible: I dont know, i use a toy and then cannot use any other toyd.

Screenshots If applicable, add screenshots to help explain your problem. Screenshot cannot help.

Additional context Add any other context about the problem here. Here is the error

8x [ADDON_ACTION_FORBIDDEN] AddOn 'ArkInventory' tried to call the protected function 'UseToy()'.
[string "@!BugGrabber/BugGrabber.lua"]:480: in function <!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function `UseToy'
[string "@Blizzard_Collections/Blizzard_ToyBox.lua"]:181: in function `ToySpellButton_OnClick'
[string "*Blizzard_ToyBox.xml:10_OnClick"]:4: in function <[string "*Blizzard_ToyBox.xml:10_OnClick"]:1>
arkayenro commented 1 year ago

working as intended. the toybox became protected (addons cannot call toys any more) so you can no longer click on the items (i thought i had removed that ability).

all you can do is drag them from the ai toybox window to the action bar - where you can click on them - like you have been doing.

DravenSA commented 1 year ago

Was not using an addon to click on the toys, was using the blizzard interface to do it, and i still got the above error.

Imaginary-Narwhal commented 11 months ago

This is also happening to me. I click on a toy in the default toy collection window and sometimes I get the protected error. Then after that I have to /reload to use any of my toys (unless I dragged them to a hotbar).

arkayenro commented 11 months ago

usetoy only exists in one place in my code, and its commented out, so theres no way for arkinventory to call that function.

disable arkinventory and try again. its possible you have another mod that is using the shared libraries.

i have never been able to duplicate this issue.