Cookie Clicker

Cookie Clicker

Ascension Helper
Kas 2022 年 1 月 13 日 下午 12:12
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.
< >
正在显示第 1 - 4 条,共 4 条留言
Alpha2749  [开发者] 2022 年 1 月 13 日 下午 1:41 
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 2022 年 1 月 13 日 下午 5:18 
Maybe try adding a custom timer ingame, because the time to ascend is not the same for everyone, that would be cool :)
最后由 Kas 编辑于; 2022 年 1 月 13 日 下午 5:18
Alpha2749  [开发者] 2022 年 1 月 13 日 下午 8:52 
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 2022 年 1 月 14 日 上午 10:20 
that's nice, keep up the good work
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50