Create and Fuck your AI Cum Slut -70% OFF
x

HTML Cheat code list for HTML games & short tutorial

Satori6

Game Developer
Aug 29, 2023
581
1,340
I've added a short tutorial (Tutorial 2 in the OP) so people can start finding their own codes on games with simple protection.
 

Tyr Unchained

Member
Sep 23, 2019
125
312
Sadly "Back to Freedom" - UnlockAll() doesn't work at all and unlock() doesn't work for the Side Characters gallery and doesn't unlock threesome scenes in individual girls gallery.


Attached screenshot with the errors Console gives me.
Thanks for looking into it.
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
581
1,340
Sadly "Back to Freedom" - UnlockAll() doesn't work at all and unlock() doesn't work for the Side Characters gallery and doesn't unlock threesome scenes in individual girls gallery.


Attached screenshot with the errors Console gives me.
Thanks for looking into it.

Thanks for the report!

Yeah, unlock won't work for side or multiple girl characters, because it basically just reads the title of the gallery and tries to unlock scenes based on that name.

I've fixed unlockAll - I accidentally broke it while adding new lines to make it fit on the forum's screen. It was just a matter or moving that ' before "alexia" to the line below. haha
 
  • Heart
Reactions: Tyr Unchained

Satori6

Game Developer
Aug 29, 2023
581
1,340
How can we change mc name between a running game?
1: Check the variable list on the console. Look for things like SugarCube.State.variables.mcname or SugarCube.State.variables.player.name

2: If you can't find it, you can take a look at the HTML file and search for text where it's mentioned.
eg; if there's a paragraph that says "You are John Doe, a retired detective", you can search for "a retired detective" on the HTML file and see what variable stores the name.

If you still can't find it, you can upload the HTML file (or tell me the game's name, I may have it downloaded) and I'll take a look.
 

Haremm lover

Well-Known Member
Sep 20, 2017
1,480
653
1: Check the variable list on the console. Look for things like SugarCube.State.variables.mcname or SugarCube.State.variables.player.name

2: If you can't find it, you can take a look at the HTML file and search for text where it's mentioned.
eg; if there's a paragraph that says "You are John Doe, a retired detective", you can search for "a retired detective" on the HTML file and see what variable stores the name.

If you still can't find it, you can upload the HTML file (or tell me the game's name, I may have it downloaded) and I'll take a look.
But if you do it like you told in second point will it change mc name throughout the game?
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
581
1,340
But if you do it like you told in second point will it change mc name throughout the game?
You'd still change it as in example 1. Searching the HTML file would only be done to figure out the name of the variable.

Let's use The Monastery as an example. Say you picked a name and want to change it, but can't figure out which variable to edit:
temp.png

You'd just search for some unique text to find the variable:

temp.png

Now that we know that the variable is mc you just edit it as usual through the console:
temp.png

And it will remain throughout the game:

temp.png
 

Anewrai

Member
Dec 6, 2019
194
83
Can someone explain this to me in stupid so I can understand I found this post on Small Town
https://f95zone.to/threads/small-town-v1-23-jake-still.120823/post-15891818
and figured out enough to be able to keep UpToDate on the game for offline play and it works for Small Town.
So I decided to try it on a similar game Project Reeducation and it too works to a point.
Once you get pass character creation and chose which story to follow (main,DLC) a couple of passages in and it reset the game to character creation page.
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
581
1,340
Can someone explain this to me in stupid so I can understand I found this post on Small Town
https://f95zone.to/threads/small-town-v1-23-jake-still.120823/post-15891818
and figured out enough to be able to keep UpToDate on the game for offline play and it works for Small Town.
So I decided to try it on a similar game Project Reeducation and it too works to a point.
Once you get pass character creation and chose which story to follow (main,DLC) a couple of passages in and it reset the game to character creation page.
Can you upload the relevant files so I can take a look?
 

Anewrai

Member
Dec 6, 2019
194
83
dlc133 is the one I edited the same way I do with Small Town index133 is the current offline release with out DLC access
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
581
1,340
dlc133 is the one I edited the same way I do with Small Town index133 is the current offline release with out DLC access
Thanks!

I have a doctor appointment, but I'll take a look at it when I get back.
 

Satori6

Game Developer
Aug 29, 2023
581
1,340
Where did I go wrong with the dlc133 one cause it's working perfect now?
Short version: They were frequently trying to detect cheating and sending you back to the start.

Long version: They were running an extra security check in a passage called "quot", and it wasn't as obvious because they're calling it from yet another passage ("Tip Check") that was being added to multiple passages through the include command.

Include basically calls the content of a passage without you having to type it all over again, so they were basically calling "Tip Check" which was in turn calling "quot", and ultimately that last one was the one changing a variable that was triggering the return to the Intro screen when cheating was detected. I just nuked "quot", so that last part never triggers.
 

Anewrai

Member
Dec 6, 2019
194
83
Short version: They were frequently trying to detect cheating and sending you back to the start.

Long version: They were running an extra security check in a passage called "quot", and it wasn't as obvious because they're calling it from yet another passage ("Tip Check") that was being added to multiple passages through the include command.

Include basically calls the content of a passage without you having to type it all over again, so they were basically calling "Tip Check" which was in turn calling "quot", and ultimately that last one was the one changing a variable that was triggering the return to the Intro screen when cheating was detected. I just nuked "quot", so that last part never triggers.
Hold up I heard this dev is also behind Small Town, and Society as well so why wouldn't they do the same for small town at least cause what I do works for it up to date sofar?
anyways I'm going to try it with project reeducation 1.34 see what happens
 
  • Like
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
581
1,340
Hold up I heard this dev is also behind Small Town, and Society as well so why wouldn't they do the same for small town at least cause what I do works for it up to date sofar?
anyways I'm going to try it with project reeducation 1.34 see what happens
It looks like the "dev" for those games is just copying an pasting code they find elsewhere without knowing what they're doing.

Like half of their passages have code that begin with if false statements that do absolutely nothing.

They probably found that in some other game and stole it without understanding how it works, and probably weren't able to figure out how to get it working on their other games.
 

Svartr564

New Member
Mar 2, 2025
2
1
Hey. In the Small Town game, the dev changed the hashStr values, so the code on the front page are no longer valid.

I used hashStr=function(){return -536497284}; for the entry code, with the DLC enabled, and hashStr=function(){return -791075505}; for the advanced options.

Just wanted to let everyone know, as thanks for the tutorial.
 
  • Heart
Reactions: Satori6

Satori6

Game Developer
Aug 29, 2023
581
1,340
Hey. In the Small Town game, the dev changed the hashStr values, so the code on the front page are no longer valid.

I used hashStr=function(){return -536497284}; for the entry code, with the DLC enabled, and hashStr=function(){return -791075505}; for the advanced options.

Just wanted to let everyone know, as thanks for the tutorial.
Thank you! I've updated them on the list.
 

kwalicious

Newbie
Dec 4, 2016
34
13
Can someone explain this to me in stupid so I can understand I found this post on Small Town
https://f95zone.to/threads/small-town-v1-23-jake-still.120823/post-15891818
and figured out enough to be able to keep UpToDate on the game for offline play and it works for Small Town.
So I decided to try it on a similar game Project Reeducation and it too works to a point.
Once you get pass character creation and chose which story to follow (main,DLC) a couple of passages in and it reset the game to character creation page.
What command did you use to download all the files? I can't seem to get it to work.