What's new
Choice of Mods

Join our amazing community to find Choicescript games and modifications to improve your gameplay!

Guide on how to mod the stats on Wips

Foulwarden

Well-known member
Member
Does anyone know how to add elements or skills in this game?
● Just add (scenes) with your link like this, to find the stat choose (choicescript_stats.txt) https://dashingdon.com/play/matt-fusin-/hs-tales-/mygame/scenes
● When you put it in the console make sure the first letter is small.
● put this in console:
stats.hp=80
stats.strength=80
stats.speed=80
stats.technique=80
stats.endurance=80
stats.battleiq=80
stats.intelligence=80
stats.naturalenergy=80
Here are the other stats
1000662924.jpg
 

ZephyrX

New member
Member
● Just add (scenes) with your link like this, to find the stat choose (choicescript_stats.txt) https://dashingdon.com/play/matt-fusin-/hs-tales-/mygame/scenes
● When you put it in the console make sure the first letter is small.
● put this in console:
stats.hp=80
stats.strength=80
stats.speed=80
stats.technique=80
stats.endurance=80
stats.battleiq=80
stats.intelligence=80
stats.naturalenergy=80
Here are the other stats
View attachment 2285
I meant these stats
 

Attachments

  • Screenshot_20240517_122546_Kiwi Browser.jpg
    Screenshot_20240517_122546_Kiwi Browser.jpg
    60.6 KB · Views: 22

namesenpai

Well-known member
Member
@Itachi the Kinslayer Add this to the guide. So, I just got an iOS device, and after some looking around, apparently you just need to download an extension from the App Store called DevTools Extension. After enabling it on Safari, when you are on the game page, just tap on the extensions setting icon in the bottom right corner, and voila! It will open the console in a popup. It's such a convenient way, even easier than on Android. I have attached some screenshots. IMG_0970.png IMG_0966_l2.jpeg IMG_0968.jpeg PenultimateFullSizeRender_l2.jpeg
 

KratosTheTrueGod

Active member
Member
I'll copy and paste what I said in another thread to just so it is archived in a pinned thread.

Hi everyone. I just discovered something, though I am not certain if it will work in all cases, but it did for mine. Typically when we want to modify a game stat/variable, we would access the stat object directly through the window object, i.e. window.stat.varname = value. This has, for cogdemos, changed, though I am not certain if it was intentionally changed to deter cheaters, or it was an implementation they wanted to test for future updates to the cogdemos server. It seems that there is an extra layer/object you would need to go through before you can modify stats, which is the "0" object, note that this is a zero and not a capital letter o. This means that you can't access it directly since it is a numerical, i.e. window.0.stats.varname = value, but would have to index it instead. You have to enter window["0"].stats.varname = value. Everything else remains the same. I hope that helps someone, and gods speed (my cheaters).

kratos-anger.gif

Also, some of the games no longer allow you to view all the scene files available in one page (I believe it varies by author and what they allowed when submitting their work to cog games). So instead of entering "https://cogdemos.ink/play/*/*/mygame/scenes/" to see all the available scenes, you need to instead enter "https://cogdemos.ink/play/*/*/mygame/scenes/startup.txt", or "https://cogdemos.ink/play/*/*/mygame/scenes/choicescript_stats.txt" instead, since most if not all cog games have them. From there you can search for keyword "*goto_scene" which should give you the file names of other scene files, such as "*goto_scene MainOne", which you can use to determine the other scene files, for the example provided, that would be "https://cogdemos.ink/play/*/*/mygame/scenes/MainOne.txt". It is more tedious, as you have to manually search for the necessary files, but it works.
You could also use the devtools "Network" tab to get the scene files, but that would require you to play the whole game first (scene files are requested on a need by need basis, so if there is 10 chapters, and you have only played through 5, you probably won't see the chapters 6, 7, and etc. until they have been requested), then look through ALL the network logs to find the ones that call the scene files and get the files manually from there using the discovered name, that would for the example above be "https://cogdemos.ink/play/*/*/mygame/scenes/MainOne.txt"., so I typically prefer the former method. Cheers.

HELP: How do I unlink the links above, they are invalid and a safety hazard as is?
 
Last edited:
Top