Can't use Sugarhacker to cheat

greyelf

Well-Known Member
Nov 16, 2016
1,070
787
@quill89 It would help if you state which Twine based game you are trying to use that Chrome web-browser plugin on, so that whoever answers your question will be able to determine:
a. If the game was built using the SugarCube story format.
b. Which series (1.x or 2.x) and which version of SugarCube was used.
c. If the game is doing something with it's story variables that that plugin doesn't support.
d. If the game is intercepting the relevant hotkeys used by the plugin

You can use the Console built into the Web Developer Tools that come with modern web-browsers to manually edit the values of the story variables for the current passage in any SugarCube based game.

If the game was built using the SugarCube 1.x series then the console command looks like:
Code:
SugarCube.state.active.variables

eg.
SugarCube.state.active.variables["money"] = 100
and if built using the SugarCube 2.x series:
Code:
SugarCube.State.variables

eg.
SugarCube.State.variables["money"] = 100
You can generally tell which series of SugarCube was used by running the game and looking at the style of the left side bar, if the side bar contains a button in the top right corner that can be used to "stow" the side bar then it is the 2.x series.
You can also open the game's html file in a Text Editor and look for the SugarCube version number in the comment within the head element of the HTML file.
 

Alexander Krisnov

The Dead Commisar
Uploader
Sep 14, 2016
1,831
21,073
@quill89 It would help if you state which Twine based game you are trying to use that Chrome web-browser plugin on, so that whoever answers your question will be able to determine:
a. If the game was built using the SugarCube story format.
b. Which series (1.x or 2.x) and which version of SugarCube was used.
c. If the game is doing something with it's story variables that that plugin doesn't support.
d. If the game is intercepting the relevant hotkeys used by the plugin

You can use the Console built into the Web Developer Tools that come with modern web-browsers to manually edit the values of the story variables for the current passage in any SugarCube based game.

If the game was built using the SugarCube 1.x series then the console command looks like:
Code:
SugarCube.state.active.variables

eg.
SugarCube.state.active.variables["money"] = 100
and if built using the SugarCube 2.x series:
Code:
SugarCube.State.variables

eg.
SugarCube.State.variables["money"] = 100
You can generally tell which series of SugarCube was used by running the game and looking at the style of the left side bar, if the side bar contains a button in the top right corner that can be used to "stow" the side bar then it is the 2.x series.
You can also open the game's html file in a Text Editor and look for the SugarCube version number in the comment within the head element of the HTML file.
u just did what i was gonna do .... good job :biggrin:
 

quill89

New Member
Mar 30, 2017
13
2
@quill89 It would help if you state which Twine based game you are trying to use that Chrome web-browser plugin on, so that whoever answers your question will be able to determine:
a. If the game was built using the SugarCube story format.
b. Which series (1.x or 2.x) and which version of SugarCube was used.
c. If the game is doing something with it's story variables that that plugin doesn't support.
d. If the game is intercepting the relevant hotkeys used by the plugin

You can use the Console built into the Web Developer Tools that come with modern web-browsers to manually edit the values of the story variables for the current passage in any SugarCube based game.

If the game was built using the SugarCube 1.x series then the console command looks like:
Code:
SugarCube.state.active.variables

eg.
SugarCube.state.active.variables["money"] = 100
and if built using the SugarCube 2.x series:
Code:
SugarCube.State.variables

eg.
SugarCube.State.variables["money"] = 100
You can generally tell which series of SugarCube was used by running the game and looking at the style of the left side bar, if the side bar contains a button in the top right corner that can be used to "stow" the side bar then it is the 2.x series.
You can also open the game's html file in a Text Editor and look for the SugarCube version number in the comment within the head element of the HTML file.
I have games on both versions of Sugarcube, and the extension doesn't work on any of them. I've used twinehacker as well (same thing I'm guessing). Pressing Ctrl+Shift+H just stopped working one day.
 

TCMS

Quote my posts if you want an answer
Donor
Former Staff
Aug 5, 2016
5,797
30,025
Still having this problem?