View Single Post
03/03/16, 07:16 AM   #5
Wandamey
Guest
Posts: n/a
Is the OP being investigated on PTS right now? Because I swear I just saw "OnSelectedPatternChanged" not triggering anymore since 10-15 min ago. I thought I mistype something, and replaced my file with the one working and uploaded here and still no debug output for

ZO_PreHook(ZO_Smithing,"OnSelectedPatternChanged", MyCustomFunction)

reloadui, unlog relog does nothing, I've compared the 2 files I had when it got boggus and found nothing "game breaking" (hahaha)

I suppose I'll check that later with more coffee in my belly but... weird.
If someone can throw a fresh pair of eyes on this please, I could avoid a coffein OD. Thanks.


hmmm... now its back... but I've deactivated all other addons. checking that again to find the culprit.
edit 2 : loaded the same set of addons that's definitively an addon conflict. sry.
edit 3 : relieved... it's not of of mine

Edit 4: yet it's a set of addons that I saved 2 or 3 days ago and it was working fine till today. Could be related to the issue above afaik.

OK that would be the old slider version of MultiCraft that broke it mysteriously around one hour ago :confused
re re edit... ah nuuh i know, i was on another char that usual, and my keybind for reloadui didn't work so i loaded my usual addon set to this char right before I re-checked the station for the second time today. But still, i'm pretty sure it was working yesterday on my usual char.
all of this to move a control of 2 UI units. /facepalm.

checking with the new version to see if all is good when up to date.

Edit : nope, still broken with MultiCraft v3.

Note to Ayantir : I see in your file that you reset the spinner with OnSelectedPatternChanged and rewrite the function for this. Just to be sure, OnSelectedPatternChanged triggers everytime any of the composant are selected to update the tooltip icon/info etc... not just the "pattern" pattern.
Looks kind of a bit overkill to me, or it is wanted? Anyway it breaks the prehook now, idk why, how, if it's a bug or if it'll stay like that. Afaik my addon QuickLeather is probably the only one using that prehook for now so if you have any advice...

Adding QuickLeather as OptionalDependsOn in MultiCraft manifest seems to work. But it doesn't look like a perfect solution at all. I'd rather have something to do on my end.

I should be able to transform my prehook into a posthook like you did, but that wouldn't solve that broken callback issue for other addons which would need it.

Last edited by Wandamey : 03/03/16 at 09:04 AM.
  Reply With Quote