HTML Sluttown USA: Hometown Corruption [v0.37.2] [AmusingOddity]

3.60 star(s) 26 Votes

HenrySapin

Newbie
Dec 28, 2020
30
41
Hit F12 and your browser will pop up a Javascript console window to the right of the VN. I'm going to paste this screenshot of my chromium with the javascript console open. Note that I've already done the things that I will talk about next.
View attachment 1341295

The first thing I did was type "Sugarcube.State.variables.charge" at the ">" prompt in that window and hit enter. That returns a 0 which is the current charge on the phone as you can see in the content window as "Charge: 0". Note that as you type, the console will automatically populate a popdown list with possible completions. So after typing only "Sugar" I can just hit the right arrow key and it will fill that out as "SugarCube". Then I typed ".State.var" and that was enough to let me hit the right arrow key again to have it fill out "variables". So you don't have to type all this everytime and worry about it being incorrect.

I hit the "up arrow" key to recall all of that and just typed "=40" to set it to 40. Note that the content window on the left is in suspended animation while the console is open. So that "Charge: 0" won't change to "Charge: 40" until after I close the console window by clicking the "x" gadget in its upper right and then click something to go into the next passage.

I did "up arrow" again and then used backspace to erase the ".charge". This showed all of the variables in effect for the VN but as a "closed two line tree between "{" and "}" with a small ellipses "..." at the very right. To open it up as the full scrollable list I clicked on that "..." and we see the first page full of variables and values. I can now use "up arrow" and then type out individual variable names to peek and then use "=" with a new value to poke.

Congratulations. You now know how to hack 95% of Twine games since just about everybody uses SugarCube format and don't know how to change where the variable storage is hidden.
when i write ; Charge: 40

it doesn't work
 

Hydra22

Member
Jun 5, 2017
244
58
cheat doesn't work or I'm doing something wrong, I try exactly what it says to do and instead of going, it gives me more errors, so how should I do it exactly?
 

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,087
The variable names are "case sensitive" in Javascript. You wrote Sugarcube and not SugarCube. It's easy to avoid these mistakes by using the Right arrow key to have the console fill out for you the rest of the Stanza. If you had just typed Sugar and hit right arrow as I mentioned in the cheat post, it would have filled out SugarCube for you.

View attachment 2166068

The first step does not work
 

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,087
SugarCube not "Sugarcube". Names are case sensitive.

use "Sugarcube.State.variables.charge=40" without quotes and no spaces. also make sure that you are on the console and not anything else.
 

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,087
Last edited:

KVAtlantis

Member
Dec 27, 2017
104
72
I think the best would be if everion would make a litlle research in the forum then there would not everion call for this help and this post is ther for everyon that want´s to cheat in an html game that use SugarCube but thats all i can say to this ;)

This works as of November 17th, 2017...

[Summary (look down if you don't know how to use this information)]
In general regardless of the browser you press f12 to access the Developer Tools. Then find a tab called Console. This is where you will manipulate the variables.
Object Name: SugarCube.State.active.variables

[How to find variables and manipulate them for people who don't know how to]
  1. Type the object name 'SugarCube.State.active.variable' into the console and press enter.
  2. You should see one line, press the arrow on the side to see all of it.
    1. Find the variable you are looking for by expanding objects(contains multiple information inside). Example would be like a player object where coins, hp may be stored in.
    2. (just very simple hacks...)) You can also navigate by using the autocomplete feature as it shows all the possibilities from what you have typed. You can use the up and down arrow to highlight it and press enter to select it. Then if you suspect it's an object you can add a dot to see the information inside that object. You can repeat till you find the information you need.
  3. Once you find that variable then add an equal at the end with the number or name(in quotes) and press enter.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.

[Other]
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
 

kennw

Newbie
Jan 25, 2020
69
9
anyone besides me having problems downloading this game? for some reason it doesn't matter what i use it keeps failing
 

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,087
It may have been tuned to this game, but you did look at my cheat link on the OP didn't you?

I think the best would be if everion would make a litlle research in the forum then there would not everion call for this help and this post is ther for everyon that want´s to cheat in an html game that use SugarCube but thats all i can say to this ;)
 

ThatGuy1959

New Member
Oct 9, 2018
1
1
You can shoot the following scene with Xev and everything works fine. But if you try to "view and edit" this video in the morning, it gets stuck in a loop after page six with a loop back to page 2.

USER BananaSplitsOnTits
My babysitter was a teasing bitch! she was constantly getting changed or coming out of the shower naked like I wasn’t even there. Sure I was young but It's like she forgot I was a man. I always wish I had a big cock I could whip out and remind her. I wonder what she would have done?
 
  • Like
Reactions: SamHaim

kennw

Newbie
Jan 25, 2020
69
9
okay i finally got the game to download. now onto a bug i found. getting veronica in the mall to 100% after getting intrupted by cam causes the game to get into a loop that doesn't let you exit. no idea if it is my comp or not but might want to look into it.
 

phupdup

Well-Known Member
Oct 24, 2019
1,391
1,087
The new content in every release is only on one or two paths. In this case, AO has been working on India's private path and your little sister Leah's private path. He's actually done India for the last couple of releases based on polls of his paying subscribers. If you have ignored India or gone down her public path, your save will say there's no new content in the update. Also note that Leah will not appear in the game unless you have gone down a certain amount on India's private path. India's newest content also introduces several supporting characters that you will miss out on as well.

I don't understand either
if i click on guide it tell me that I completed every path
 
3.60 star(s) 26 Votes