Cookie Clicker

Cookie Clicker

Cookie Profit Predictor
98 Comments
T1mo777 20 May @ 3:06am 
Mod would be perfect if you just add a way to disable rainbow upgrades because they absolutely suck
Graystonia 19 Feb @ 12:13pm 
how do I turn it on?
drig 15 Feb @ 9:16pm 
eugh, ai-generated icon
Trydodis 28 Dec, 2024 @ 9:06am 
the link to the google doc seems to be broken
Unus White 2 Dec, 2024 @ 5:33pm 
Auto-buying won't work if sort by payback rate is disabled
Zibbibbo 21 Sep, 2024 @ 1:03pm 
is there any option to lock the auto buy at 10 stack per time instead of 1 ?
Tsurugi 21 Sep, 2024 @ 12:32pm 
Mod works, but can't change any options.
comet.jc  [author] 20 Aug, 2024 @ 1:28am 
@Shadowlurker4897 The mod just evaluates which option is better in the long run, and you can buy any item immediately at any time (as long as there are enough of them). If you continue to play, the items with good returns will continue to give you gains in the future.

If you're referring to the time shown on the item, it's the amount of time you have to wait until you have enough cookies to buy, which can be quite long, especially in the later stages of the game; you'll be relying on Combos to get the cookies you need!
Shadowlurker4897 16 Aug, 2024 @ 11:39am 
It looks cool on the surface but it really isn't very time efficient because it looks too far into the future.
_Cosmicc_ 14 Aug, 2024 @ 11:47am 
does this disable achievements?
woNando 12 Jul, 2024 @ 7:23am 
@shyrain67 Reading the code it looks like the percentage indicates how good this upgrade is compared to the average.
DonutSlayer 19 Jun, 2024 @ 4:33am 
It's a great mod, but it goes bananas if Cyclius is equipped in the pantheon - the prediction values are flashing in the UI like crazy.
shy 13 Jun, 2024 @ 3:15am 
i understand the times perfectly, but i genuinely have no clue what the percentages mean. i read the whole description and even the slideshow and i just dont understand what the percentages are of.
Lifedust 31 May, 2024 @ 6:02am 
this mod has a conflict with the CookiStocker mod. When both are enabled, the game just freezes.
λambda 30 Mar, 2024 @ 4:53pm 
update, Lfggggg
japonne 26 Mar, 2024 @ 4:01am 
It work thank you
comet.jc  [author] 25 Mar, 2024 @ 8:38am 
try to remove the mod and subscribe it again
japonne 23 Mar, 2024 @ 9:13am 
Hello, sorry to bother you with that but I still not see the auto buy button. screencshot : https://pasteboard.co/dZhfiplbTxYe.png
comet.jc  [author] 22 Mar, 2024 @ 7:34pm 
ok, just uploaded lastest version mod!
japonne 19 Mar, 2024 @ 5:14am 
Hello, first of all thank you for your work it is really helpfull. It's just following the last update, I can't find the auto buy function mentionned in the update. Is it normal ?
Jöferwafengsnuecprtonßenouryas 1 Mar, 2024 @ 10:32pm 
hope Waiting Time Indication feature will become a Toggle Feature.
applethecandy 21 Feb, 2024 @ 6:16pm 
@wantedforwarcrimes change the priority of CCSE
President Phart 28 Jan, 2024 @ 8:01am 
This mod seems to be disabling achievements for me
BlakePup 4 Jan, 2024 @ 3:34pm 
Nevermind, I believe, since I'm below banking of 6000cps that it calculates an upgrade as taking its value of cps + the 6000cps, which for large ones that would take 10 days is a drop in the bucket, making their delta cps/ cps cost much greater in comparison to a smaller upgrade as its calculating its delta cps/cps cost + ~6000cps where the cps cost is like a minute, making its calculated value, miserable. The values correct once you breach the banking cap you set though
BlakePup 4 Jan, 2024 @ 3:25pm 
Why does turning on banking cookies (in my case for 6000 cps) lower the payback rates of lower tier buildings that i can afford with ~200 cps but increase it for buildings with around a day - 10 days of cps? Sorry if this is a dumb question
comet.jc  [author] 1 Jan, 2024 @ 10:19am 
@tristn9 yes the "(to #)" account for the cost and the profit of the associated upgrade
I <3 Femboy Bussy 22 Dec, 2023 @ 7:21pm 
i have CCSE but when i try to enable this mod it wont let me im not sure what to do? idk if im just dumb or if theres a problem
tristn9 8 Nov, 2023 @ 3:46pm 
Does the "(to #)" function also account for the cost of the associated upgrade?
comet.jc  [author] 20 May, 2023 @ 10:19pm 
cilantroRhyme great, Just do it :steamthumbsup:
daniphylaxis 16 May, 2023 @ 7:39pm 
I found a trick to use the functionality of your mod to sort buildings for my own mod, by adding a "pool" key to buildings and setting them to "toggle" when I want them to sit at the bottom of the list. I'm letting you know as a courtesy that I intend to make that option available to players who use both of our mods, giving credit to you in both my code and the workshop listing. If you'd prefer that I didn't do that, I can remove the feature, no problem. It's not integral to the workings of my mod—just a quality of life feature—so it's not a huge deal for me to remove it.
Arc 11 May, 2023 @ 11:27am 
@comet.jc it wasn't enabled when I tested, I can try later, been playing without the mod for now
comet.jc  [author] 11 May, 2023 @ 9:41am 
@sacrosouls is banking setting enabled?
Arc 10 May, 2023 @ 12:42am 
hi, awesome mod, I installed it mid playthrough and it worked fine, but when I wiped the save it breaks the game, can't purchase buildings etc
perhaps it needs an update for the new version of the game?
quelqu'un a une clope ? 22 Apr, 2023 @ 2:07pm 
is there a way to disable rainbow deal (with the (to X)), I don't understand it (i don"t want to wait 12d) im pretty sur its not the right play)
Phoenix-Mask 7 Apr, 2023 @ 6:19am 
So when it shows to buy X building does it calculate how many cookies you need for that X or for just 1 single building?
xchg 17 Jan, 2023 @ 1:12pm 
What a fucking legend. My man actually made a GOOGLE DOCS SLIDE to show how it works.
100% respect that shit.
comet.jc  [author] 17 Jan, 2023 @ 11:14am 
## [2048.10] - 2023.01.18
### Fix
- Fix broken Sort Grandmapocalypse switch
JayMission 17 Jan, 2023 @ 10:24am 
Great mod, exactly what I was looking for to replace the main functionality I used Cookie Monster for on the web version. Thanks!

The only problem I've run into is that the "Sort Grandmapocalypse" doesn't work as I expect - I was expecting it to not sort the upgrades that triggered/escalated the Grandmapocalypse, like Communal Brainsweep, but it still seems to sort them regardless.
comet.jc  [author] 17 Jan, 2023 @ 10:14am 
Hey i added a slide about the design of this mod :)
Design Detail for Payback Rate Mod (Slide) [docs.google.com]
xchg 15 Jan, 2023 @ 6:11am 
Honestly the best mod in the game.
comet.jc  [author] 12 Jan, 2023 @ 5:15pm 
(to X) means you need buy building to number X to get the best payback rate shows on screen. that usually implies a tier upgrade included.
comet.jc  [author] 12 Jan, 2023 @ 5:09pm 
2. The game code is acually using Game.cookiesPs to calc golden cookies reward, not Game.cookiesPsRaw, this is also apply to Frenzy + Get Lucky case:

# first get frenzy, which makes cookiesPs * 7

else if (choice == 'frenzy') {
buff = Game.gainBuff('frenzy', Math.ceil(77 * effectDurMod), 7);
}

# second get Lucky! base on buffed cookiesPs

else if (choice == 'multiply cookies') {
var moni = mult * Math.min(Game.cookies * 0.15, Game.cookiesPs * 60 * 15) + 13;//add 15% to cookies owned (+13), or 15 minutes of cookie production - whichever is lowest
Game.Earn(moni);
popup = loc("Lucky!") + '<br><small>' + loc("+%1!", loc("%1 cookie", LBeautify(moni))) + '</small>';
}

However using cookiesPs it not a stable way to banking the target number, i get it, i will update this later to use cookiesPsRaw
comet.jc  [author] 12 Jan, 2023 @ 5:09pm 
1. This is my mistake, the 43200 comes from chain cookie's rules, not about Frenzy + Get Lucky upgrade.

In game's source code around Cookie Clicker\resources\app\src\main.js Line 5597:

var maxPayout = Math.min(Game.cookiesPs * 60 * 60 * 6, Game.cookies * 0.5) * mult;

in order to get max payout from cookie chain, cookies need to be larger than(Game.cookiesPs * 60 * 60 * 6) * 2, which is Game.cookiesPs * 43200
BIKarus | BK201 11 Jan, 2023 @ 2:22pm 
What is meant when next to the payback rate, it says '(to X)'?
Szara 7 Jan, 2023 @ 6:07pm 
A suggestion for the cookie banking feature- Calculate the cookies to bank based on raw CPS rather than buffed CPS, to prevent it trying to bank 294,000 seconds of raw CPS during a Frenzy, etc. Changing Game.cookiesPs to Game.cookiesPsRaw on line 505 of main.js seems to accomplish this.
Also, shouldn't the text next to the banking feature suggest 42,000 with the Get Lucky upgrade, not 43,200?
Dr.Hultenstein 26 Dec, 2022 @ 12:19pm 
i see guud to know
but it does have a building sorting function
comet.jc  [author] 24 Dec, 2022 @ 4:28am 
This module is a bit different from cookie monster.
Cookie monster uses Payback Period, but I think it is important in Cookie Clicker to increase CPS (Delta CPS) as soon as possible, plus consider the shorter Payback Period the better, so this MOD uses the parameter "Delta CPS / Payback Period".

In addition, cookie monster does not take into account tiered upgrades and does not provide building sorting function.
Dr.Hultenstein 16 Dec, 2022 @ 5:14am 
isent this just the same thing that cookie monster has?
AGuyCalledFelix 27 Nov, 2022 @ 3:43am 
this really helped me, its been only a few minutes and i already got 2-3 achievements because of this, thanks for making this! :steamthumbsup:
Neferu 27 Oct, 2022 @ 10:39pm 
Is it possible to adjust the percentages for if you want to buy 10 or 100 of a building instead of just 1? Like, see how much more worth is it to buy 10 of a building vs 1 of a building? Does that make sense?