Nakkub

Member
Feb 9, 2018
102
96
I feel like the struggle success chance in this game is way too high, but it seems any mods that changed value are outdated. I feel this wouldn't be too hard to change.
 

malwarehunter

New Member
Jul 22, 2018
7
7
I feel like the struggle success chance in this game is way too high, but it seems any mods that changed value are outdated. I feel this wouldn't be too hard to change.
That's quite easy to change. The "Struggle - Chance to release a restraint" percentage is in the variable "299 => Escape probability".
So you can change it like this to 10% for example or any other value:
You don't have permission to view the spoiler content. Log in or register now.
 

Nakkub

Member
Feb 9, 2018
102
96
That's quite easy to change. The "Struggle - Chance to release a restraint" percentage is in the variable "299 => Escape probability".
So you can change it like this to 10% for example or any other value:
You don't have permission to view the spoiler content. Log in or register now.
Yeah, I popped open the console and found that value. However, I had to make a function that sets the value every second since the value is affected every turn by another script. I'll probably add some more to have it decrease with VP or something
Code:
setInterval(function(){
$gameVariables._data[299] = 10}, 500)
Would be nice if I could get this to run automaticallly like tampermonkey. There has to be some JS that runs every turn.
 

malwarehunter

New Member
Jul 22, 2018
7
7
Yeah, I popped open the console and found that value. However, I had to make a function that sets the value every second since the value is affected every turn by another script. I'll probably add some more to have it decrease with VP or something
Code:
setInterval(function(){
$gameVariables._data[299] = 10}, 500)
Would be nice if I could get this to run automaticallly like tampermonkey. There has to be some JS that runs every turn.
Remember the "package.json" file you had to modify the chromium-args in? If you look into it again you will see it says "main": "index.html"
This means it loads this as the HTML document. If you edit the index.html you can easily append your own script here which will load automatically everytime you load the game. Of course you have to create this file (mycustomscript.js) in the root directory first and write your stuff in it.
Code:
...
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="mycustomscript.js"></script>
...
I also tested if there were any events, but unfortunately there are none game related events that get triggered. You can try this in console using "window.monitorEvents(document)"... This means you have to use setInterval like you are doing right now and can't hook on some specific event where it makes sense.

What you can do though is to hook on keyboard events or pointerevents (Mouse), if you wish so. So you could register a specific cheat to run if you click a specific key like F1, F2 and so on.
 

Nakkub

Member
Feb 9, 2018
102
96
This means it loads this as the HTML document. If you edit the index.html you can easily append your own script here which will load automatically everytime you load the game. Of course you have to create this file (mycustomscript.js) in the root directory first and write your stuff in it.
Code:
...
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="mycustomscript.js"></script>
...
I had the same idea, but I'm pretty sure the scope of the script would be off. Won't it run an error because it doesn't know what the $gameVariables._data variable is, right?
 

Arcachnar

Member
Sep 14, 2021
250
82
Looks very interesting, but are the downloads on the first page safe (MEGA) and would not be dangerous for your PC? One of the posts on the first page says this. So I am a bit worried which one I should download. If you know what I mean.
 

malwarehunter

New Member
Jul 22, 2018
7
7
I had the same idea, but I'm pretty sure the scope of the script would be off. Won't it run an error because it doesn't know what the $gameVariables._data variable is, right?
The scope is not wrong, it's just a little bit "too early" because not everything loaded yet. Since you are using "setInterval" function all you gotta do is add a check if the variables you are accessing exist.

So for example if you want to update $gameVariables._data then you would do before that in your setInterval function...
Code:
if($gameVariables && $gameVariables._data) {
    // your code ...
}
 
Last edited:

Nakkub

Member
Feb 9, 2018
102
96
The scope is not wrong, it's just a little bit "too early" because not everything loaded yet. Since you are using "setInterval" function all you gotta do is add a check if the variables you are accessing exist.
You were right, thank you. I didn't realize I could also edit the skills themselves at runtime as well. Thats really powerful. I think I can recreate HyperK2 's mod now. Only issue would be finding the value that removes enemy aroused state after being shot and changing it to a 25% chance instead of 100%. Hopefully, its in the aroused state itself instead of a custom event.
 
Last edited:

Nakkub

Member
Feb 9, 2018
102
96
Looks very interesting, but are the downloads on the first page safe (MEGA) and would not be dangerous for your PC? One of the posts on the first page says this. So I am a bit worried which one I should download. If you know what I mean.
That was from when the game was is development and it was a false positive. The game is fine. You can download it.
 
  • Like
Reactions: Banshee96

Arcachnar

Member
Sep 14, 2021
250
82
Okay. Thanks. I was asking (and hoped for an answer), because I was worried about this:

Not relevant for the steam version.

Cracked and shared by @JOHN_NUCLEAR

Please be careful with any leaked non cracked new version. It may be dangerous for your PC ,the dev has shown previously that they implement DMR that crashes the game and your pc (and could be dangerous to your PC), It seems like they got Patreon (not for the game though) and Itch back, so they won't probably implemented that kind of DRM anymore, but still, be cautious when downloading a non cracked version.
 

Nastyggg

Newbie
Aug 9, 2020
37
33
Nastyggg I believe what you are searching for are the variables.
You can update this for example like:
JavaScript:
$gameVariables._data[99] = 0;  // Creampied
$gameVariables._data[100] = 0; // Orgasm
$gameVariables._data[104] = 0; // Raped
$gameVariables._data[200] = 0; // Sensitivity
$gameVariables._data[293] = 0; // Childbirth
Here is a list of all the variables
You don't have permission to view the spoiler content. Log in or register now.

oldspeak Yes you can do that.
In $dataEnemies are the enemies. In $dataMap.encounterList is the current enemy you encountered. Here you need a "troopId". A troop is a group of enemies.

JavaScript:
// Switch current enemy to nurse always, store the interval as a variable
window.mycheat = setInterval(function() {
    if($dataMap && "encounterList" in $dataMap) {
        for(idx in $dataMap.encounterList) {
            $dataMap.encounterList[idx] = {troopId:92, weight:200, regionSet:[]};
        }
    }
}, 10);

// If you want to stop this cheat then you can do:
clearInterval(window.mycheat)
You can add your own "troops" as well in $dataTroops.
You don't have permission to view the spoiler content. Log in or register now.

JavaScript:
//Get a list of all troops and what enemies it consists of
$dataTroops.forEach(function (troop, index) {
    if (troop) {
        console.log(`Troop ID: ${index}`);
        troop.members.forEach(function(member) {
            let enemy = $dataEnemies[member.enemyId];
            console.log(`- Enemy ID: ${member.enemyId} = ${enemy.name}`);
        });
        console.log("===================");
    }
});
Actually all I wanted so far is to find a way to not "die" from 0 hp or 100 vp but resetting them and introducing other "punishments".
JavaScript:
setInterval(function() {
   // When HP=0 increase TP by 10, set HP=1500 and give up for 30 seconds
    if($gameActors._data[1]._hp == 0) {
        $gameActors._data[1]._tp += 10;
        $gameActors._data[1]._hp = 1500;

        // Careful with this - character will not be able to move or fight
        // Enemies will still hurt you or try to capture you
        // It can be buggy in boss fights without animations (like belphet)
        $gameActors._data[1]._states.push(104); // Give up for 30 seconds
        setTimeout(function() {
            let index = $gameActors._data[1]._states.indexOf(104)
            $gameActors._data[1]._states.splice(index, 1);
        }, 30000);
    }

  // When VP = 100, set SP = 0
   if($gameActors._data[1]._tp == 100) {
        $gameActors._data[1]._tp = 0;
        $gameActors._data[1]._mp = 0;
    }
}, 100);
Much appreciated!
 
3.90 star(s) 33 Votes