Comments (3)
I have the same problem here. (v1.046.01)
The following is my observation and guess; I didn't read through the source code of Cookie Monster so correct me if I'm wrong.
When Cookie Monster try to calculate the benefit of a building or upgrade, it will actually buy it, see how much cps it gained, and then sell it. If the buy action have side effect (eg. gain an achievement like having 100 building, or in this case, buying Chocolate Egg gives you 5% of your bank), that side effect will not be reversed. I think this is the root cause.
This is also why the achievements like 100 building will unlock with one fewer building when you use Cookie Monster. A rather special case is the achievement 'Just Wrong' which is unlocked when you sell a grandma; if you haven't unlock this achievement, you will unlock it a little while after you load Cookie Monster.
Some mathematics gives that the bank cookie will double every 14~15 updates; the update period is 10 sec, which means the bank cookie will double about every two and a half minutes. So several hours will definitely mess up the whole game...
from cookie-monster.
Good work, @progheal . Thanks for determining the cause. I'll see if I can find a way to fix that.
from cookie-monster.
I've submitted a fix for the Chocolate Egg issue. I will open a new issue with the Achievement issues @progheal described. The two issues are similar, in that, they both are caused by the simulateBuy, but the solutions are different.
from cookie-monster.
Related Issues (20)
- Upgrade bug HOT 3
- Bug when purchasing Season Savings and Santa's Dominion upgrades HOT 3
- Occasional bad calculations HOT 1
- QoL Suggestions + Found Bug HOT 3
- Change scientific notation HOT 1
- Seasonal Trigger Purchases Increase to Infinity HOT 1
- CM fails with opaque "these aren't the droids" error message HOT 7
- Need private build documentation HOT 10
- CM fails on new update HOT 2
- Game Stops When Cookie Monster Loads HOT 4
- Uncaught TypeError: Cannot read property 'style' of undefined HOT 2
- Error trying to run grunt - Invalid CSS after "...reen : #76B7E1 ": expected "}", was "!global;") HOT 5
- Error when Running "mochaTest:dist" (mochaTest) task HOT 4
- Continuous season notifications since Easter update
- Achievements unlock too early
- Standard Short Numbers option unavailable
- Use Github Pages to reduce server load
- Upgrade tooltip does not update after purchasing a upgrade HOT 1
- Cookie Clicker updated to v2.0042 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cookie-monster.