Giter Site home page Giter Site logo

`Stamina` mod issue about lord-of-the-test HOT 5 CLOSED

MoNTE48 avatar MoNTE48 commented on June 20, 2024
`Stamina` mod issue

from lord-of-the-test.

Comments (5)

luk3yx avatar luk3yx commented on June 20, 2024 1

I haven't tested it myself but it looks like eating Orc food with enable_damage = false could trigger the crash.

from lord-of-the-test.

MoNTE48 avatar MoNTE48 commented on June 20, 2024

@neinwhal, any chance you can look at this problem?

from lord-of-the-test.

neinwhal avatar neinwhal commented on June 20, 2024

Not able to fully reproduce said error, can you clarify what triggers it?

from lord-of-the-test.

MoNTE48 avatar MoNTE48 commented on June 20, 2024

@luk3yx, maybe you remember what the problem was?
Calling this function when the player is already leave, or the player is nil in the join function?

from lord-of-the-test.

neinwhal avatar neinwhal commented on June 20, 2024

Applied sort of a bandaid to the situation; 82c72f9
Stamina isn't enabled when damage isn't enabled for some reason, therefore causing the crash when orc food attempts to change stamina when damage is disabled.

I'll need to check with Amaz again the original intention for it and see if there's a need for a more propr fix, but this bandaid should fix the crash at least.
Feel free to reopen if this doesn't resolve the issue.

from lord-of-the-test.

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.