GithubHelp home page GithubHelp logo

Comments (9)

Mirkaanks avatar Mirkaanks commented on June 2, 2024

I didn't understand, what bugged?

from canary.

pedrohfk avatar pedrohfk commented on June 2, 2024

I didn't understand, what bugged?

44 upgrade potions = 2kkk gold coins
1405 upgrade potions = 1kkk500kk gold coins.

It seems to me that the NPC is getting lost in the midst of so much money.

from canary.

luanluciano93 avatar luanluciano93 commented on June 2, 2024

Surely someone type of variable is like uint32_t and makes values ​​above 4,294,967,295 impossible. You can test, values ​​above this should be buggy.

from canary.

Chapeleiiro avatar Chapeleiiro commented on June 2, 2024

I also have this problem

from canary.

pedrohfk avatar pedrohfk commented on June 2, 2024

Does anyone know if there is a way to enable purchases up to x value?

from canary.

luanluciano93 avatar luanluciano93 commented on June 2, 2024

msg.add<uint32_t>(shopBlock.itemSellPrice == 4294967295 ? 0 : shopBlock.itemSellPrice);

the problem is with the cip client limitation, it receives a 32-bit integer, the maximum transaction value must be 4,294,967,295

from canary.

pedrohfk avatar pedrohfk commented on June 2, 2024

msg.add<uint32_t>(shopBlock.itemSellPrice == 4294967295 ? 0 : shopBlock.itemSellPrice);

the problem is with the cip client limitation, it receives a 32-bit integer, the maximum transaction value must be 4,294,967,295

But in this case there is some lock that we can put in place to prevent this bug from occurring.?

from canary.

luanluciano93 avatar luanluciano93 commented on June 2, 2024

msg.add<uint32_t>(shopBlock.itemSellPrice == 4294967295 ? 0 : shopBlock.itemSellPrice);

the problem is with the cip client limitation, it receives a 32-bit integer, the maximum transaction value must be 4,294,967,295

But in this case there is some lock that we can put in place to prevent this bug from occurring.?

I would use another currency on the NPC, something worth 1kk for example

from canary.

pedrohfk avatar pedrohfk commented on June 2, 2024

@dudantas Can you see if we can put a check so this doesn't happen?

from canary.

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.