Giter Site home page Giter Site logo

SMN error about gearswap-jobs HOT 4 CLOSED

kinematics avatar kinematics commented on July 25, 2024
SMN error

from gearswap-jobs.

Comments (4)

Kinematics avatar Kinematics commented on July 25, 2024

You'll need to give me more information. What avatar did you have out, and which command were you trying to give it?

A quick test of my own is not giving me this error.

from gearswap-jobs.

geekgirl101 avatar geekgirl101 commented on July 25, 2024

Ah, it occurs when trying to use a bloodpact when there is no avatar present.

from gearswap-jobs.

Kinematics avatar Kinematics commented on July 25, 2024

It shouldn't be possible to even reach that code line if there is no pet present. It should bail out when it checks for pet.isvalid.

Further, it shouldn't be possible for that line to generate an error, since it's immediately after a check for pacts[pact][pet.name], which obviously checks pet.name, which is the same field that's generating an error in your add_to_chat function.

And finally, even without an avatar out, I can't reproduce your problem. You're going to need to give me exact steps to generate this error, as well as an indication of whether you have modified this job file at all.

from gearswap-jobs.

geekgirl101 avatar geekgirl101 commented on July 25, 2024

I believe it to be because I had commented out parts of the code including entire functions related to macro book swapping since I don't swap books with avatars. I recently undid all that and just commented out specific lines for changing macros rather then the entire function and that fixed the problem. Can't believe I was so stupid, I must've been half asleep when I commented out the whole function that handled whether a pet was active or not.

from gearswap-jobs.

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.