Annon Omus

Newbie
Nov 22, 2018
21
5
if you want to edit more complex stuff like perks well then you need to use the console accessable with the Key combo CTRL+SHIFT+I

get the perk names from

then use these commands.

JavaScript:
pc.addPerkValue("name of perk here")
pc.removePerk("name of perk here")
to add and remove the perks you desire.
I seem to be missing something with the pc.addPerkValue("name of perk here") command, I keep getting it marked as 'undefined' and not working
 
Last edited:

hentaifelf

Member
Mar 26, 2018
351
526
example perk add
pc.addPerkValue("Inhuman Desire", 15, 0, 0, 0, "Increases maximum lust by 15.")

You can change the 1st value 15 to a higher value if you want to increase your lust to insane values. You find these in the main.XXXXXXX.js file in the folder where all the js files are at. You would search like this ////// ctrl+f (then search) pc.createPerk("*PERKNAME* (you would find perk name from the perks page that jfm linked)

P.S.I personally recommend using jstool on notepad++ to turn the single line into a readable tree
 
Last edited:

jfmherokiller

Well-Known Member
May 25, 2020
1,181
1,663
I seem to be missing something with the pc.addPerkValue("name of perk here") command, I keep getting it marked as 'undefined' and not working
sorry I didnt know that the command had more argument requirements
example perk add
pc.addPerkValue("Inhuman Desire", 15, 0, 0, 0, "Increases maximum lust by 15.")

You can change the 1st value 15 to a higher value if you want to increase your lust to insane values. You find these in the main.XXXXXXX.js file in the folder where all the js files are at. You would search like this ////// ctrl+f (then search) pc.createPerk("*PERKNAME* (you would find perk name from the perks page that jfm linked)

P.S.I personally recommend using jstool on notepad++ to turn the single line into a readable tree
thanks for this because I swear I saw some parts that didnt need arguments but I guess I couldnt check all perks
 

mscottontail

Newbie
Dec 2, 2018
41
20
anyone know the flags and their status in regards to reversing the freeing of the slaves on zhengshi?

possibly unrelated but Tvif disappeared and cant remembered what my last interaction was with them.
 

jfmherokiller

Well-Known Member
May 25, 2020
1,181
1,663
anyone know the flags and their status in regards to reversing the freeing of the slaves on zhengshi?

possibly unrelated but Tvif disappeared and cant remembered what my last interaction was with them.
the flag for the slaves would probably contain the substrings of "ZHEGSHI" "SLAVE" "FREE" with a comparison of if it exists or not. It could possibly be
Code:
flags.ZHENGSHI_SLAVES_FREED
oh wait I think the flags are
JavaScript:
flags.JUMPER_SLAVES_FREED
flags.MAIKE_SLAVES_RELEASED
for Tivf I think they disappear when you resolve ZENGSHI
 
Last edited:

bews

Member
Aug 1, 2020
180
255
How to get Strawberry Milk? Wiki says "Gryvain Techie pregnancy", but without any details.
 

Derver

New Member
Jul 28, 2018
10
2
Hello there. Decided to mod things up in the game, considering that now all is needed to see the code is an unminifyer. But, the shop routine appears to be more difficult to understand than it was in flash (although I'm no coder, so the answer may be more obvious to those who know something about it). Anyway, I've noticed all items in shops have this 3 letter namer (Say: Hy.j and Un.j stand for Galomax in main.js and Tavros.js respectively). Can someone explain the nature of this naming, so I can possibly edit the shopkeepers wares lists?
 

jfmherokiller

Well-Known Member
May 25, 2020
1,181
1,663
Hello there. Decided to mod things up in the game, considering that now all is needed to see the code is an unminifyer. But, the shop routine appears to be more difficult to understand than it was in flash (although I'm no coder, so the answer may be more obvious to those who know something about it). Anyway, I've noticed all items in shops have this 3 letter namer (Say: Hy.j and Un.j stand for Galomax in main.js and Tavros.js respectively). Can someone explain the nature of this naming, so I can possibly edit the shopkeepers wares lists?
i think its due to webpack compression/obfuscation. so that the javascript files take up less space in ram. Also be extremely careful with unminifiers i have had expirence where they outright break the javascript code. which one are you using?
 

Derver

New Member
Jul 28, 2018
10
2
i think its due to webpack compression/obfuscation. so that the javascript files take up less space in ram. Also be extremely careful with unminifiers i have had expirence where they outright break the javascript code. which one are you using?
Indeed, they do. Sadly, this puts a limiter on how much I can edit with my knowledge and, well, perception of it because I have to input the changes right into the unminified code and see what happens. I use unminify.com and websiteplanet.com/webtools/unminify-js/ for the zheng-shi.js as the first one can't unminify it for some reason. Regarding the compression issue, so it masks the items' proper names with no way to identify them outside the original source code? If so, then it darkens the perspectives of editing shopkeepers' goods, that's for sure.
 

jfmherokiller

Well-Known Member
May 25, 2020
1,181
1,663
Indeed, they do. Sadly, this puts a limiter on how much I can edit with my knowledge and, well, perception of it because I have to input the changes right into the unminified code and see what happens. I use unminify.com and websiteplanet.com/webtools/unminify-js/ for the zheng-shi.js as the first one can't unminify it for some reason. Regarding the compression issue, so it masks the items' proper names with no way to identify them outside the original source code? If so, then it darkens the perspectives of editing shopkeepers' goods, that's for sure.
well you can still edit thier goods in thery if you follow the chain of usages and look for where the items are stored in a datastructure like an array or an object. if "Hy.j and Un.j" are how galomax is stored then theretically you just need to change the value assigned to j.
 

jfmherokiller

Well-Known Member
May 25, 2020
1,181
1,663
if you want to be able to edit stuff at runtime you might want to look for functions like
JavaScript:
    Object.freeze()
    Object.seal()
    Object.preventExtensions()
those functions will make editing harder
 
  • Like
Reactions: Derver

Derver

New Member
Jul 28, 2018
10
2
well you can still edit thier goods in thery if you follow the chain of usages and look for where the items are stored in a datastructure like an array or an object. if "Hy.j and Un.j" are how galomax is stored then theretically you just need to change the value assigned to j.
So, there should be a readable data structure containing the item reference. I should definitely look into that and how objects work here.
 

jfmherokiller

Well-Known Member
May 25, 2020
1,181
1,663
So, there should be a readable data structure containing the item reference. I should definitely look into that and how objects work here.
i am just making an estimated guess based on staring directly into the js abyss and past expirence. so i very well could be wrong
 

Wregax

Newbie
Jul 21, 2020
16
3
Well, things got royally fucked for me and I can't make heads or tails of it. I'd appreciate some dumbed-down help.

I used to have adobe air installed to play this (v0.8.156), but I recently got a new pc. Now the new download has it's own player, on which my TITS-file save files don't work (it doesn't recognize them).

So I thought of downloading adobe AIR again to play 0.8.156, but I can't for the life of me figure out how to do that anymore. The AIRSDK version doesn't have an .exe file to install it, and the runtime version is install only, no other use for SWF files.

I'm really scratching my head on what to do here, guys.

I probably missed a memo somewhere on how to change the save file or something, or that it just doesn't work anymore, but at least getting adobe air to work again should help, also with corruption of champions.
 

Raf-Raf

Conversation Conqueror
Dec 4, 2019
6,544
8,593
Well, things got royally fucked for me and I can't make heads or tails of it. I'd appreciate some dumbed-down help.

I used to have adobe air installed to play this (v0.8.156), but I recently got a new pc. Now the new download has it's own player, on which my TITS-file save files don't work (it doesn't recognize them).

So I thought of downloading adobe AIR again to play 0.8.156, but I can't for the life of me figure out how to do that anymore. The AIRSDK version doesn't have an .exe file to install it, and the runtime version is install only, no other use for SWF files.

I'm really scratching my head on what to do here, guys.

I probably missed a memo somewhere on how to change the save file or something, or that it just doesn't work anymore, but at least getting adobe air to work again should help, also with corruption of champions.
If there's an option to open it with the debugger then it should still be good for you to play the flash ver so you can import the saves to js ver.
 
  • Like
Reactions: Wregax

Wregax

Newbie
Jul 21, 2020
16
3
If there's an option to open it with the debugger then it should still be good for you to play the flash ver so you can import the saves to js ver.
Debugger of what exactly? I currently can't get anything of adobe AIR to open. I'm probably just doing something wrong though.

EDIT: Ah I found the flash player debugger, trying it now.

DOUBLE EDIT: That worked, thank you!
 
Last edited:

Hargan2

Well-Known Member
Nov 27, 2017
1,202
1,399
DOUBLE EDIT: That worked, thank you!
For the record, you should grab the 8.160 swf off Fenoxo's website and use it to convert your save files to be compatible with tits-js, so you can play the newer javascript-based versions of the game which has some new content and is the only version that will receive new content from now on
 
  • Like
Reactions: Wregax
4.10 star(s) 70 Votes