Giter Site home page Giter Site logo

Comments (2)

tilkinsc avatar tilkinsc commented on July 17, 2024 1
bytespire
I am just using the wow API functions, no 3rd party addons, very light.

I had a look at your script and got it working if you change this:
KiwiItemInfo.lua :: around line 107 :: GameTooltip:SetScript
  -- This line was preventing my addon's "OnTooltipSetItem" handler function from triggering
  -- I am not familiar with SetScript but I guess it replaces the existing handlers?
  -- I replaced this line with GameTooltip:HookScript and now my addon's tooltip handler is called
  -- maybe replace ItemRefTooltip:SetScript aswell
Let me know if you can confirm if SetScript has this behaviour or you find an alternative solution
PoliteKiwi
I can confirm this is the issue. I guess this is an API and State issue. They didn't work in a valid way for SetScript() to work with blizz uis, as they are managed obviously. So we have to hook to it rather.
If you are using SetScript, you might as well change it for compat reasons.

http://prntscr.com/pjuwqo

This is a ss of discord chat.

You'd think you'd be able to pry and apply and restore state to disable the functionality, but that isn't so. You HAVE to use hook. We would have to have an event queue set up if we wanted to abuse setscript's ability to disable the event to load a fresh, undatacorrupted function into it.

So we identified the issue. I will release when finished.

from kiwiiteminfo.

tilkinsc avatar tilkinsc commented on July 17, 2024

Can't say I have produced this error. I am gonna give it a go, since it's easily accessible to me.

In the case of it reproducing or not I know a simple hotfix which will probably be released as a beta release on curseforge, or you could pull the indev branch when I fix it (note it doesn't keep track of versioning when pulling from git).

Thanks for your support. It means a lot to me.

from kiwiiteminfo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.