CookieMonsterTeam/CookieMonster

Negative tooltip after buying Decillion fingers

Andreasvb opened this issue · 7 comments

Bug description

Bonus income shows negative when buying, what I think causes it: Decillion fingers (500 cursors).

To reproduce

Buy the upgrade Decillion fingers.

Screenshot

before:
image
image

after:
image

Save file

Mi4wNDR8fDE2NDQ0NTk2MTkzMTQ7MTY0MDY3NTIyNjA0NjsxNjQ0NDYwODQ5NDE0O2dvZ2dlbDtkYWNianwwMTExMTExMTEwMDExMTEwMDEwMTAxMTAwMHw0LjI3MzIwMDk5NDgyNjkyOWUrMzg7Ni44NTExMDc3MTI1ODA3NjZlKzM4OzA7NDAxODswOzQ0MDE7MDsxODsxLjQ5NjE4MTcxNDQ4MTY2NTJlKzQzOzA7MDswOzA7LTE7MTA7MTswOzA7MDswOzA7MDt2YWxlbnRpbmVzOzA7MDsyNDY0MTE3Njk1ODs4MDQ1OTA0OTc7MjM4MzY1ODY0NjE7MDswOzQ5NDs0NjI7NDQyOzQyNTstMTswOzA7MDswOzMxOzA7MDs0OzQ1OzE2NDQ0MjM2NjA5NTc7MDswOzIyNzs0MTswOzA7MS41NjM4OTY5OTc5NDMxOTgzZSszNjs1MDt8NTAwLDYwMiwzLjQ5MzM5MzM4OTI4NDE2ODNlKzM3LDUsLDAsNTAxOzUwMCw1MDAsMS43MjA5NTg3NDkzMDQ2OTRlKzM1LDIsLDAsNTAwOzUwMCw1MDAsMy4xMjYxMDcyMDIwNDY1NjRlKzM0LDEsMTY0NDQ2MDg1MDI4OTowOjE2NDQ0NTk2MTkzMjM6MDowOjE0OjA6MDoxNjQ0NDU5NjE5MzIzOiAxMDAwMDAwMDAwMDAwMTAwMDAwMDAwMDAwMDAwMDAwMDAwIDA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowOjA6MDowO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gxNDYwNDM1ZSszNSwxLCwwLDMwMDszMDAsMzAwLDMuNTY0OTk2MTc4OTM1MTg0NmUrMzYsMSwsMCwzMDA7MzAwLDMwMCw5LjYzNTEyMDA1NDUzNjc1MmUrMzYsMSwsMCwzMDA7MzAwLDMwMCw2LjcwNjgwNDYyMjk2NjE0OWUrMzcsMSwsMCwzMDA7MjAwLDIwMCw3LjY0NjYyMDc3NzM2NDJlKzM2LDEsLDAsMjAwOzIwMCwyMDAsNS4zMTcwOTgxNDg4MTAxMzNlKzM3LDIsLDAsMjAwOzIwMCwyMDAsNC42MTk3NTk4NzYwMzk1NzRlKzM4LDEsLDAsMjAwO3wxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMTExMTExMDAwMDAwMTEwMDExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDAxMTExMTExMTAwMTExMTExMTExMTExMTExMTExMDAwMDAwMDAwMDAwMDAxMTAwMTEwMDAwMTEwMDAwMDAxMTExMDAwMDAwMDAwMDExMDAwMDAwMDAxMTExMDAwMDAwMDAwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTAxMDEwMTAwMDExMTExMTAwMDAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTAwMDAwMTExMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDEwMDAxMDExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTEwMDAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMDAwMDAwMTExMTExMTExMTExMTExMTExMTEwMDAwMDAxMDExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAxMTExMTExMTExMTEwMDAwMDAxMTExMTExMTExMTExMTExMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTExMTExMTExMTExMTExMTExMTAwMDAwMDAwMTExMTExMDAxMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDAwMDAwMDExMTExMTExMTExMTExMTExMTExMTEwMDAwMTExMTExMTExMTExMTEwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTAwMDAwMDEwMTAxMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDExMTEwMDAwMTExMTExMTExMTExMTExMTAwMDAwMDAwMTExMTAwMDAwMDAwMDAxMTEwMDAwMDAwMDAxMTExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTAwMTExMTExMTExMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMTExMTExMTExMTExMTExMTAwMDAwMDAwMDAxMTExMDAwMDExMTExMTExMTAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAxMTAwMTEwMDAwMDAwMDAwMTExMTExMTExMTExMTExMTExMTExMTExMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMTExMTAwMTAwMDEwMDB8MTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMTExMTExMDExMTExMTAxMTExMTEwMDAwMDAwMDExMTEwMTExMTExMTExMDExMTExMTExMTExMTExMTExMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEwMDExMTExMTExMTExMTExMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAxMTAxMTAxMTAwMDExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTAwMDAwMDAwMDAwMDAwMDAwMDExMTExMTExMTExMDExMTExMTExMTExMTExMTEwMTExMTExMTEwMDAwMDAxMTExMTEwMDExMDAwMDAxMTEwMDExMDAwMDAwMDAxMTExMTExMTAwMDAwMDAxMTExMTExMTAwMDExMDAwMDExMDExMTExMTEwMDAwMTEwMDAwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMDAxMDExMTEwMDAwMDAwMDAwMDAwMDAxMDAwMDAwMDAwMDAwMDAxMTExMTExMDAwMDAwMTEwMDExMTEwMDAwMDAwMDAxMTExMTEwMDAwMDAwMTEwMDAwMDAwMDAwMDAwMDAwMDAwMDEwMDAwMDB8fENvb2tpZU1vbnN0ZXI6eyJzZXR0aW5ncyI6eyJDUFNNb2RlIjowLCJBdmdDUFNIaXN0IjowLCJBdmdDbGlja3NIaXN0IjowLCJDYWxjV3JpbmsiOjEsIlNjYWxlIjowLCJTY2FsZURlY2ltYWxzIjoyLCJTY2FsZVNlcGFyYXRvciI6MCwiU2NhbGVDdXRvZmYiOjk5OTk5OSwiVGltZUZvcm1hdCI6MCwiRGV0YWlsZWRUaW1lIjoxLCJQUERpc3BsYXlUaW1lIjowLCJCdWlsZENvbG91ciI6MSwiUFBPbmx5Q29uc2lkZXJCdXlhYmxlIjoxLCJQUEV4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b29sdGlwIjoxLCJTdGF0aXN0aWNzIjoxLCJOb3RpZmljYXRpb24iOjEsIk5vdGlmaWNhdGlvbkdlbmVyYWwiOjEsIk5vdGlmaWNhdGlvbkdDIjoxLCJOb3RpZmljYXRpb25GQyI6MSwiTm90aWZpY2F0aW9uU2VhIjoxLCJOb3RpZmljYXRpb25HYXJkIjoxLCJOb3RpZmljYXRpb25NYWdpIjoxLCJOb3RpZmljYXRpb25XcmluayI6MSwiTm90aWZpY2F0aW9uV3JpbmtNYXgiOjEsIk1pc2NlbGxhbmVvdXMiOjEsIkx1Y2t5IjoxLCJDaGFpbiI6MCwiU3BlbGxzIjoxLCJHYXJkZW4iOjAsIlByZXN0aWdlIjoxLCJXcmluayI6MSwiU2VhIjoxLCJBY2hpZXZzIjowLCJNaXNjIjoxLCJpbmZvTWVudSI6MSwib3B0aW9uc01lbnUiOjB9LCJmYXZvdXJpdGVTZXR0aW5ncyI6WyJCb3RCYXIiLCJUaW1lckJhciIsIlVwQmFyQ29sb3VyIiwiTWlzc2luZ0FjaGlldmVtZW50cyIsIk1pc3NpbmdVcGdyYWRlcyIsIlN0YXRzIiwiQnVsa0J1eUJsb2NrIiwiUFBEaXNwbGF5VGltZSIsIkNQU01vZGUiXSwibG9ja2VkTWluaWdhbWVzIjpbXSwidmVyc2lvbiI6IjIuMDMxLjEwIn07Y29va2llTW9uc3RlckZyYW1ld29yazp7InNldHRpbmdzIjp7fSwiaGVhZGVycyI6eyJpbmZvTWVudSI6MSwib3B0aW9uc01lbnUiOjF9LCJmYXZvdXJpdGVTZXR0aW5ncyI6W119Ow%3D%3D%21END%21

Browser / Steam / Version

Browser v.2.044 beta

Also the new Dragon aura Supreme Intellect causes it to be negative.

image

Could be it needs general support for the new building, think the Kitten admins upgrade changed it as well.

image
image

I think that might be the problem indeed. I would welcome any PR that tries to do so, I'm quite busy myself currently and don't have much time to actively contribute code to the project anymore. PR reviewing will be possible though!

Is 2.048.10 supposed to solve this? I'm still affected by this bug.

I think so. @domoddball added support for 2.048.

Perhaps they can comment on whether this should be solved, or is solved for them?

the updates i made should have resolved this for all cases that do not involve unshackled upgrades.
im still trying to implement unshackled upgrades, but the expected bonus income doesn't match up to the actual income change in testing. will push a fix once ive finally tracked down where my math is wrong.

image
image

this is from the save provided on this bug report, running on CookieMonster 2.048, without any unshackled upgrades.

if you are still seeing issues, please provide a new save and i can give it a look when i have free time

OK, I thought unshackled things were fixed as well. That must have been the issue. The save provided by OP works now.