Cookie Clicker - Steam Version

Ask about cheats/tables for single player games here
Shiz_
What is cheating?
What is cheating?
Posts: 2
Joined: Tue Sep 05, 2023 8:32 pm
Reputation: 1

Re: Cookie Clicker - Steam Version

Post by Shiz_ »

For people who really want to cheat in Cookie Clicker - Steam Version,

Go somewhere around here: "\SteamLibrary\steamapps\common\Cookie Clicker\resources\app\src"
and open "main.js" with text editor (notepad++, VSC, ... for better render)
and this is where u can do funny thing
For thing to change, do CTRL + F on the editor and search for the code needed or just go to the line.
I don't know what the limit for this but here is what I know:

Golden Cookies Frequenty

Code: Select all

if (!me.wrath) m*=1/Game.eff('goldenCookieFreq');
(line 5693)
Change the value "1", the smaller it is, the more frequent the golden cookie will be

building special Buff

Code: Select all

if (choice=='building special')
...
							var pow=Game.ObjectsById[obj].amount/10+1;
(line 5503)
Just have to change the "/" into "+" or "*" and make the number on the right side larger (to get more multiplier)

any buff with same code pattern

Code: Select all

else if (choice=='{BUFF NAME HERE}')
					{
						buff=Game.gainBuff('{BUFF NAME HERE}',Math.ceil({BUFF DURATION MULTIPLIER}*effectDurMod),{CPS / CPC BUFF MULTIPLIER});
					}
(frenzy: line 5522;
dragon harvest: line 5526;
everything must go: line 5547;
blood frenzy: line 5551;
clot: line 5555;
click frenzy: line 5563,
dragonflight: line 5593)
change the value {BUFF DURATION MULTIPLIER} and {CPS / CPC BUFF MULTIPLIER}

sugar lump from golden cookies

Code: Select all

if (choice=='free sugar lump')
					{
						Game.gainLumps(1);
						popup=loc("Sweet!<br><small>Found 1 sugar lump!</small>");
					}
(line 5517)
Change the value "1" from "Game.gainLumps(1)" into anything u want

golden cookie buff probability

Code: Select all

var list=[];
					if (me.wrath>0) list.push('clot','multiply cookies','ruin cookies');
					else list.push('frenzy','multiply cookies');
					if (me.wrath>0 && Game.hasGod && Game.hasGod('scorn')) list.push('clot','ruin cookies','clot','ruin cookies');
					if (me.wrath>0 && Math.random()<0.3) list.push('blood frenzy','chain cookie','cookie storm');
					else if (Math.random()<0.03 && Game.cookiesEarned>=100000) list.push('chain cookie','cookie storm');
					if (Math.random()<0.05 && Game.season=='fools') list.push('everything must go');
					if (Math.random()<0.1 && (Math.random()<0.05 || !Game.hasBuff('Dragonflight'))) list.push('click frenzy');
					if (me.wrath && Math.random()<0.1) list.push('cursed finger');
					
					if (Game.BuildingsOwned>=10 && Math.random()<0.25) list.push('building special');
					
					if (Game.canLumps() && Math.random()<0.0005) list.push('free sugar lump');
					
					if ((me.wrath==0 && Math.random()<0.15) || Math.random()<0.05)
					{
						//if (Game.hasAura('Reaper of Fields')) list.push('dragon harvest');
						if (Math.random()<Game.auraMult('Reaper of Fields')) list.push('dragon harvest');
						//if (Game.hasAura('Dragonflight')) list.push('dragonflight');
						if (Math.random()<Game.auraMult('Dragonflight')) list.push('dragonflight');
					}
					
					if (this.last!='' && Math.random()<0.8 && list.indexOf(this.last)!=-1) list.splice(list.indexOf(this.last),1);//80% chance to force a different one
					if (Math.random()<0.0001) list.push('blab');
(line 5423 to 5446)
On "Math.random()<{NUMBER}" with {NUMBER}<1, change the value of {NUMBER} into something bigger but still need to be < 1


and after that I was lazy to search for more since with this I was able to get 95% of the achievment so hope this will still help and sorry for not explaining anything (i'm the worst programmer in js that's why) and for my bad english.

PS: this the main code so you can basically search for anything you want here (I think) such as achievement requirement, upgrade price, ... .

FemShep
Noobzor
Noobzor
Posts: 14
Joined: Sun Aug 28, 2022 7:14 pm
Reputation: 1

Re: Cookie Clicker - Steam Version

Post by FemShep »

A table for this game would be nice. Anybody?

periwinkle22
Novice Cheater
Novice Cheater
Posts: 18
Joined: Tue Jun 13, 2023 9:01 pm
Reputation: 0

Re: Cookie Clicker - Steam Version

Post by periwinkle22 »

+1 for a table if possible

HarFanG
Expert Cheater
Expert Cheater
Posts: 73
Joined: Mon Apr 15, 2019 5:19 pm
Reputation: 14

Re: Cookie Clicker - Steam Version

Post by HarFanG »

GreenHouse wrote:
Sat Sep 04, 2021 9:49 pm
If you know JS or a bit of programming, you can pretty much go to "GAMEFOLDER\resources\app\src\main.js" and edit the game code. So you can pretty much make an autoclicker or change anything you want.
The problem is : there are tons of yadda-yadda nonsense if you're not the game programmer :/

Btw, I found ONE achievment to unlock : name the bakery "orteil" and see :D
But don't forget to revert it back after.

Post Reply

Who is online

Users browsing this forum: AhrefsBot, Ckeylos, Retroboy