Create your AI Cum Slut for Valentine’s Day 60% OFF Now
x

Tutorial HTML How To Debug(Or Cheat) Twine{SugarCube} Variables

guest1492

Member
Apr 28, 2018
358
299
Perhaps they are playing online on a site like itch.io in which case the twine game itself is in an iframe (and they don't know how to figure out the url to the actual game file).
 
  • Like
Reactions: Alcahest

Fougere

Newbie
Mar 9, 2018
65
125
What if the variable's name contains a dot for some stupid reason ?
JavaScript:
SugarCube.State.active.variables.streaming.popularity."Niche.tv" = cryface
Obviously using the "" didn't work, I've tried a whole bunch of other brackets and options without success and almost gave up all my hopes of virtual fame :/
 

Lucy1223

Newbie
Feb 15, 2018
73
126
I've been using this version for 2 years now, and I got it right here on f95, it works on 90% of the games I've tried, some games use a different system that only works through the console to change, but only a few games make those games, many use systems that sugar hack works great xP, I hope it can be useful to you, Google Chrome has tried several times to remove it, "this extension is dangerous because it modifies site data" but I installed it and in 2 years I've told you twenty times to leave it alone, damn it, don't ask me again, bye xP
 

Alcahest

Engaged Member
Donor
Game Developer
Jul 28, 2017
3,623
4,481
What if the variable's name contains a dot for some stupid reason ?
JavaScript:
SugarCube.State.active.variables.streaming.popularity."Niche.tv" = cryface
Obviously using the "" didn't work, I've tried a whole bunch of other brackets and options without success and almost gave up all my hopes of virtual fame :/
Try this:
JavaScript:
SugarCube.State.active.variables.streaming.popularity["Niche.tv"] = cryface
 
  • Like
Reactions: Fougere

MysteryGal

New Member
Mar 22, 2021
3
0
Perhaps they are playing online on a site like itch.io in which case the twine game itself is in an iframe (and they don't know how to figure out the url to the actual game file).
So how do you get the url to the actual game file?
And can i get to that url without having every game i wanna cheat in downloaded?
(I'm figuring out how to use console to jump to a specific passage but i was on a site like you said)
 

Lucy1223

Newbie
Feb 15, 2018
73
126
So how do you get the url to the actual game file?
And can i get to that url without having every game i wanna cheat in downloaded?
(I'm figuring out how to use console to jump to a specific passage but i was on a site like you said)
send me the link of the game, itch.io uses the page in page system, and sugar connects with the first page that's why it doesn't work, send me the link so I can send you the screen and where you have to go to open the game directly, so you can cheat, I do it on some games to only see the updates without having to re-download everything
 

b12moguj

Member
May 2, 2017
240
188
Hey, I used to use twinehacker from the first page, yet now it ain't working. Anyone know why?
No longer works on chrome for me either, try firefox

You'll need to edit the shorcut keys as ctr+shift+h is already in use in firefox.
 

MysteryGal

New Member
Mar 22, 2021
3
0
send me the link of the game, itch.io uses the page in page system, and sugar connects with the first page that's why it doesn't work, send me the link so I can send you the screen and where you have to go to open the game directly, so you can cheat, I do it on some games to only see the updates without having to re-download everything
I use gamcore most of the time, but it's alright someone told me how to get to it, thank you though.