Cookie Clicker

Cookie Clicker

Ascension Helper
Kas 13 Jan, 2022 @ 12:12pm
Takes to much time to ascend automatically (solution)
If it takes too long to ascend when already having +1 heavenly chips, open the code of the mod and edit the next part


In the file you will find this line of code and will need to change the number value, in this case 20000 as you can ↓see below↓

if (Game.ascendMeterLevel > 0 && timeSinceAscent >= 20000) {

try changing it to a smaller number, 15000 works perfect for me.

Do trial and error till you get the result you want

remember to close and re-open the game everytime you change the code

Example:
if (Game.ascendMeterLevel > 0 && timeSinceAscent >= 15000) {


This will reduce the time the mod takes to automatically ascend each time.
< >
Showing 1-4 of 4 comments
Alpha2749  [developer] 13 Jan, 2022 @ 1:41pm 
Great find!
This is the timeout I mentioned throughout the comments. I'm currently looking into a better way to do this part, possibly without a timer at all. But for now this solution will work.
If you've found 15 seconds works, I could update the mod to have this timeout instead of 20 seconds, if you'd like!
Kas 13 Jan, 2022 @ 5:18pm 
Maybe try adding a custom timer ingame, because the time to ascend is not the same for everyone, that would be cool :)
Last edited by Kas; 13 Jan, 2022 @ 5:18pm
Alpha2749  [developer] 13 Jan, 2022 @ 8:52pm 
The timer is not there to be between ascensions, the timer is there to stop the script from getting stuck in a loop, due to how the game runs the ascension cycle. Without a timer, the script would just get stuck in a loop, and not ascend, as it would keep re-triggering a single ascension. I'm not sure of the best way to explain it.
But for now, I will look into adding a changeable minimum timeout between ascensions!
Kas 14 Jan, 2022 @ 10:20am 
that's nice, keep up the good work
< >
Showing 1-4 of 4 comments
Per page: 1530 50