Coder Social home page Coder Social logo

Comments (2)

p3lim avatar p3lim commented on June 18, 2024

Obviously, SV are not loaded until the addon is completely loaded (ADDON_LOADED event), so the DB will never be populated before that point. That is your error.

However, there's an error on Wasabi's end too. Since Wasabi doesn't necessarily know the name of the addon using it, all SV are loaded in during PLAYER_LOGIN as it fires when ALL addons are loaded.
This is something I obviously need to fix (easy when Wasabi is embedded, not as easy when not, I'll have to investigate).

As a temporary fix you can trigger the event handler of the panel using something like this:

if(event == 'ADDON_LOADED' and ... == addOnName) then
    MyPanel:GetScript('OnEvent')(MyPanel, 'PLAYER_LOGIN')
    ...
end

I'll try and get a new version out with a fix on monday.

from wasabi.

kaytotes avatar kaytotes commented on June 18, 2024

from wasabi.

Related Issues (4)

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.