Cookie Clicker

Cookie Clicker

Not enough ratings
CPS After Ascension (Revised)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
961.000 B
6 May, 2024 @ 11:16pm
6 Jul, 2024 @ 2:52am
4 Change Notes ( view )

Subscribe to download
CPS After Ascension (Revised)

Description
Shows your CPS with the actual prestige level earned on the next ascension.

The number appears under the CPS. Following the new CPS is a number showing what multiple this is of your current CPS. If the new CPS is less than 1.00001 times the old CPS, the phrase "(about the same)" appears instead. If the new CPS is exactly the same as the old CPS, nothing appears there.

If you have other mods that display content under the CPS, be sure that this one loads before them, so that you can easily compare your current CPS with your CPS after the next ascension.

This mod is based on the CPS after ascension mod by ismael, and is published with his full permission. For this new mod, the text containing the new CPS multiplier was added, and the algorithm that calculates the new CPS was completely rewritten to eliminate some bugs. Most notably, the original mod always reported a new CPS of "Infinity" until after the first ascension.

This mod does not disable Steam achievements.
5 Comments
· 無名 · 6 Jul, 2024 @ 1:01pm 
You're welcome!
z  [author] 6 Jul, 2024 @ 3:01am 
Good catch, · 無名 · !

I was rather surprised to see this bug report, since as I mentioned above, I rewrote the core algorithm from scratch, and the code that caused the original "Infinity" bug is long gone. However, thanks to your detailed explanation, it wasn't hard to find and fix the new bug.

Not surprisingly, both bugs were due to expressions that could result in division by zero under certain circumstances. In the previous case, this happened any time the game was running before the first ascension. I fixed this, and I thought I was all set, as the mod continued to work fine after the first ascension as well. Unfortunately, in the first run, I didn't run it until the first prestige point was earned, which is exactly when the mod always failed. It's fixed now, and the mod works properly under all circumstances I can think of.
· 無名 · 30 Jun, 2024 @ 10:54pm 
Notably this was after I had obtained a prestige level or two, but had not yet ascended for the first time.
· 無名 · 30 Jun, 2024 @ 10:52pm 
I'd like to report that the "Infinity" bug is apparently still around, as I've just started a new save and although it was initially working, after restarting my game back into my save, the value is now displayed as "Infinity (Infinity times as much)".
ismael 16 May, 2024 @ 5:40pm 
good stuff :steamhappy: