It should stick if you're setting the right variable.So I downloaded an extension from a user in the fresh start game's page, also have tried using the chrome F12 developer console to try to edit sugarcube variables in twine games, however any time I make a change/cheat the game stats, they immediately revert to their original states after I have edited them whenever I take literally any action or switch any screen. They're just not wanting to stay edited. Is there any way I can force them to stay cheated? Am I not taking another important step to force my changes to stick in the game?
The version of Twine and the version of its story format can be different. The important thing here is the version of SugarCube, not Twine.to cheat is that there is an equivalent of SugarCube.State.active.variables for games made by twine 2
If you know the name of the variable, then if it's a story variable (one that starts with "$") you open the console and do this:I got a problem: my Firefox auto updated to the Quantum version, the F12 still works, along with the SugarCube.State.variables command, but i can´t edit anything anymore, anyone with experience with this version could help me please?Thank you.
SugarCube.State.variables.variableName = "value"
SugarCube.State.temporary.variableName = "value"
Thank you for answering, i got some error messages form what you told me, but from that i managed to make it work, the browser actually find variables for you. Still, i cant make the "SugarCube.State.variables" work, only the "SugarCube.state.active" does and it does not work for every game.If you know the name of the variable, then if it's a story variable (one that starts with "$") you open the console and do this:
If the value is a number, don't include the quotes.Code:SugarCube.State.variables.variableName = "value"
If it's a temporary variable (one that starts with "_"), you do the same thing, except instead of "variables" you put "temporary", like this:
That should be the same regardless of browser or version.Code:SugarCube.State.temporary.variableName = "value"
(Note: That assumes that the Twine game is using SugarCube v2. Other story formats have different ways of storing variables.)
That's correct. As I stated above, "SugarCube.State.variables" only works for Twine games using the SugarCube v2 story format (which is probably the most common story format for modern Twine games).Thank you for answering, i got some error messages form what you told me, but from that i managed to make it work, the browser actually find variables for you. Still, i cant make the "SugarCube.State.variables" work, only the "SugarCube.state.active" does and it does not work for every game.
i could help maybe, but im also curious which game is it you're trying the tool on?So it`s just stop working(cos it work cool month ago), maybe new things in Chrome and it can`t do anthing.
What do you mean? Just press F12 and do what's written in OP. If for example you want to change money write SugarCube.State.variables.Player.Money=12345 and it's done. You may have to refresh the interface by for example opening and closing the inventory or walking to another location to see the change.I'm really not savvy with this, anyone know how to get this working in Queen of The Seas? or know what the problem is
Okay I kinda made this work but it's borderline file editing levels of cumbersome sometimes to find what I want, although I guess I'll get an eye for it. How come the twinehacker doesn't work, though?What do you mean? Just press F12 and do what's written in OP. If for example you want to change money write SugarCube.State.variables.Player.Money=12345 and it's done. You may have to refresh the interface by for example opening and closing the inventory or walking to another location to see the change.
Stats are stored in SugarCube.State.variables.Player.CoreStats (just write the line in the console and you'll see the an object with the stats. If you want to change one, let's say health you change it by writing SugarCube.State.variables.Player.CoreStats.Health=100
Chrome added some extra security features back in January (due to the major "Spectre" and "Meltdown" vulnerabilities), which was about the same time TwineHacker broke. So, if I had to guess, I'd bet it was related to that security fix.How come the twinehacker doesn't work, though?
Say, would you be able to help me do this forIf ye need a video guide, use this:
It's for the game Enchanted, but ye'll probably get the drift.
Guide:
You don't have permission to view the spoiler content. Log in or register now.