Create and Fuck your AI Cum Slut –70% OFF
x

Mod HTML Masters of Raana - Expansion Mod [0.6.2] [json.err]

5.00 star(s) 3 Votes

json.err

Member
Sep 14, 2016
117
204
138
wait how do i enable the last two options
<template id="ExpansionModConfig">
<input name="incestEnabled" value="true">
<input name="changeAges" value="true">
<input name="ageChild" value="14">
<input name="ageGrownUp" value="16">
</template>
Start game and you'll be able to create similar template there but with much more options (check configuration section in the first post).
 

json.err

Member
Sep 14, 2016
117
204
138
There is something wrong with npcs on maps. I definitely forgot to pass a couple needed variables. Clicking on the npc markers can mess some of their stats in some cases. You better disable it until I fix it.
 

testsub6

New Member
Dec 15, 2024
7
0
1
no like im new new to doing anything i dont know what im doing or how to install your mod is there like a html version i can just download that has your mod already installed ?
 

json.err

Member
Sep 14, 2016
117
204
138
Uploaded v0.6.1 with bug fix. I believe it's safe to use npc map markers. You can always check stats log (top right) and see if there is unexpected spike of big changes for a single npc.
 

json.err

Member
Sep 14, 2016
117
204
138
no like im new new to doing anything i dont know what im doing or how to install your mod is there like a html version i can just download that has your mod already installed ?
Attached file has installed mod with default configuration. Compare it with original start_game.html, read installation instructions and you'll be able to move it to new version when the game is updated.
 
  • Like
Reactions: testsub6

testsub6

New Member
Dec 15, 2024
7
0
1
Attached file has installed mod with default configuration. Compare it with original start_game.html, read installation instructions and you'll be able to move it to new version when the game is updated.
so i went into configuration to change the incest stuff but it isnt changing when i load the new game on a new play it reverts back to the same option it was before i change it where am i putting this part at
<template id="ExpansionModConfig">
<input name="incestEnabled" value="true">
<input name="changeAges" value="true">
<input name="ageChild" value="16">
<input name="ageGrownUp" value="21">
<input name="nurseryRoomsCount" value="5">
<input name="npcWallPosition" value="button">
<input name="npcMapMarkersEnabled" value="true">
<input name="npcMapMarkersTooltip" value="icon">
<input name="useOriginalLog" value="false">
<input name="enableQuickActions" value="true">
<input name="changeInventoryText" value="true">
<input name="removeSandmanOnMouseOver" value="false">
<input name="debug" value="true">
</template>



where do i paste this at ? to make it work correctly ?
 

json.err

Member
Sep 14, 2016
117
204
138
so i went into configuration to change the incest stuff but it isnt changing when i load the new game on a new play it reverts back to the same option it was before i change it where am i putting this part at
<template id="ExpansionModConfig">
<input name="incestEnabled" value="true">
<input name="changeAges" value="true">
<input name="ageChild" value="16">
<input name="ageGrownUp" value="21">
<input name="nurseryRoomsCount" value="5">
<input name="npcWallPosition" value="button">
<input name="npcMapMarkersEnabled" value="true">
<input name="npcMapMarkersTooltip" value="icon">
<input name="useOriginalLog" value="false">
<input name="enableQuickActions" value="true">
<input name="changeInventoryText" value="true">
<input name="removeSandmanOnMouseOver" value="false">
<input name="debug" value="true">
</template>



where do i paste this at ? to make it work correctly ?
Check this post. html file is the one that was attached before. In case you are playing from mobile device I've no idea how to edit it. Never tried since the game is not officially supported there.
 

testsub6

New Member
Dec 15, 2024
7
0
1
<template id="ExpansionModConfig">
<input name="incestEnabled" value="true">
<input name="changeAges" value="true">
<input name="ageChild" value="16">
<input name="ageGrownUp" value="21">
<input name="nurseryRoomsCount" value="5">
<input name="npcWallPosition" value="button">
<input name="npcMapMarkersEnabled" value="true">
<input name="npcMapMarkersTooltip" value="icon">
<input name="useOriginalLog" value="false">
<input name="enableQuickActions" value="true">
<input name="changeInventoryText" value="true">
<input name="removeSandmanOnMouseOver" value="false">
<input name="debug" value="true">
</template>



where do i paste this at ? to make it work correctly ? i found the cog wheel but everytime i set it to vaule here it switches back on new game and dosent change the ages to go higher for me so how and where am i suppoused to put this at ? in the HTML file anyoen who knows your help would be much appericated i saw the thread but its so confusing for me im new to all this stuff so not really have any clue what im doing
 

testsub6

New Member
Dec 15, 2024
7
0
1
Check this post. html file is the one that was attached before. In case you are playing from mobile device I've no idea how to edit it. Never tried since the game is not officially supported there.
i was able to get it working for some reason me copying and pasing it wasnt working so i had to manully drag the stuff underneath the section and it worked
 

Stardust07

Newbie
Sep 24, 2018
19
48
145
First off: Amazing mod, thank you very much for your hard work. Makes the game 10x better.
I am currently facing an issue (Game version 0.8.4.8, using automod as well)

When trying to use the "Special Slaves" tool, I get an error pop up and this in the console

1764087342469.png

Smelled fishy, but when I changed the affected line from this:


JavaScript:
if (params.statsByName[k].invertValue) {
to this:

JavaScript:
if (params.statsByName[k] && params.statsByName[k].invertValue) {
I got it to open. There are no other sort options than the name though. This already helps quite a bit however.
It seems like the map never gets populated, I am not yet sure why.

Any idea of what's off here? I don't work with JS every day so I struggle a bit with fixing it myself.
 

json.err

Member
Sep 14, 2016
117
204
138
First off: Amazing mod, thank you very much for your hard work. Makes the game 10x better.
I am currently facing an issue (Game version 0.8.4.8, using automod as well)

When trying to use the "Special Slaves" tool, I get an error pop up and this in the console

View attachment 5470477

Smelled fishy, but when I changed the affected line from this:


JavaScript:
if (params.statsByName[k].invertValue) {
to this:

JavaScript:
if (params.statsByName[k] && params.statsByName[k].invertValue) {
I got it to open. There are no other sort options than the name though. This already helps quite a bit however.
It seems like the map never gets populated, I am not yet sure why.

Any idea of what's off here? I don't work with JS every day so I struggle a bit with fixing it myself.
I guess you are using v0.5.3. I fixed it about a week ago. Latest version doesn't have this bug. But likely have something new.
 

Stardust07

Newbie
Sep 24, 2018
19
48
145
I guess you are using v0.5.3. I fixed it about a week ago. Latest version doesn't have this bug. But likely have something new.
Yeah, my bad for not checking for an update. I was convince I had the newest one.
I still only see the girls name as a sort option. Is this intended? Edit: just realized it probably is, since more options appear on other windows. I thought something was broken here, never mind.
 

json.err

Member
Sep 14, 2016
117
204
138
Yeah, my bad for not checking for an update. I was convince I had the newest one.
I still only see the girls name as a sort option. Is this intended?
Well I know it's not the best but all this data is pulled directly from the game code. Although requirements will probably never change I still don't want to copy them to my code. Parsing them and adding as sort options though... Not the thing I'd like to do either. I may do it at some point but it's somewhere at the end of backlog of all other ideas.
The only quite simple improvement I can think of is to sort them by the number of completed requirements. Might not help much though since the main stopper can be lost virginity and this onerequires parsing requirements.
Notes should help I guess, just add that this one is being trained for that task.
 
  • Like
Reactions: Stardust07

chelms

New Member
May 14, 2021
8
8
13
A few questions; one, is it possible to remove the negative effects of ageing, disabling the skill loss/bonus on ageing up?
I like the idea behind Revital, quite a lot, but in its current implementation it feels more like busy-work than not.

The other, is it intentional that a modified/copied html file display a fatal error on startup?
Full text, including a weird two-period ellipses, as follows:
Code:
A fatal error has occurred. Aborting. 
Error: Script error..
Here's the modification...

Code:
<template id="ExpansionModConfig">
  <input name="incestEnabled" value="false">
  <input name="changeAges" value="false">
  <input name="ageChild" value="16">
  <input name="ageGrownUp" value="18">
  <input name="nurseryRoomsCount" value="5">
  <input name="npcWallPosition" value="button">
  <input name="npcMapMarkersEnabled" value="true">
  <input name="npcMapMarkersTooltip" value="icon">
  <input name="useOriginalLog" value="false">
  <input name="enableQuickActions" value="true">
  <input name="changeInventoryText" value="true">
  <input name="removeSandmanOnMouseOver" value="false">
  <input name="debug" value="true">
</template>
<link rel="stylesheet" href="Mods/ExpansionMod/styles.css">
<script src="Mods/ExpansionMod/functions.js"></script>
</body>
</html>
... which I put right after the last </script>, the one dealing with window functions.
And there's no duplicate /body/html tags after that, closed or unclosed.
Should be 8.4.8 public, if it requires full version to use I'm probably just blind.
Thanks for the hard work.
 
Last edited:

json.err

Member
Sep 14, 2016
117
204
138
A few questions; one, is it possible to remove the negative effects of ageing, disabling the skill loss/bonus on ageing up?
I like the idea behind Revital, quite a lot, but in its current implementation it feels more like busy-work than not.
I guess it's possible but I didn't think about it. I wasn't planning to add it but may consider.
You can stop aging completely I guess. Find _npc.agedays+=1 and replace with _npc.agedays+=0. And the same for realagedays a few lines below. Or you can add a lot of revitals through console (SugarCube.State.variables.ownyouth = 200) and use them.

The other, is it intentional that a modified/copied html file display a fatal error on startup?
Obviously it shouldn't show errors especially on startup. I couldn't reproduce on a clean version so I need more details. Do you use 0.6.1 mod version? Also is it right when you open page or at some point later? If the former it could mean that it was extracted with error.
Can you open browser console (Ctrl+Shift+J) and copy error from there (check this post to know what you are looking for)? SugarCube (game engine) shows very vague generic description in the popup. Without details it's hard to say what's wrong.

Should be 8.4.8 public, if it requires full version to use I'm probably just blind.
It doesn't matter if it's public version or patreon one. At least it shouldn't. Although I have t4 version myself I didn't tie anything to it intentionally.

Thanks for the hard work.
You are welcome.
 
  • Like
Reactions: chelms

chelms

New Member
May 14, 2021
8
8
13
Thanks for the reply, and also the suggestions.
For now, I took your advice, as suggested here...

Obviously it shouldn't show errors especially on startup. I couldn't reproduce on a clean version so I need more details. Do you use 0.6.1 mod version? Also is it right when you open page or at some point later? If the former it could mean that it was extracted with error.
... and here are all the obvious error messages.

Code:
Key key_undoCloseTab of menuitem Masters of Raana could not be found menu.js:295:21
    accelText chrome://global/content/elements/menu.js:295
    _computeAccelTextFromKeyIfNeeded chrome://global/content/elements/menu.js:300
    render chrome://global/content/elements/menu.js:327
    connectedCallback chrome://global/content/elements/menu.js:343
    populateUndoSubmenu chrome://browser/content/browser-places.js:635
    onpopupshowing chrome://browser/content/browser.xhtml:1
Code:
Key key_undoCloseTab of menuitem Slavemasters of Haalu could not be found menu.js:295:21
    accelText chrome://global/content/elements/menu.js:295
    _computeAccelTextFromKeyIfNeeded chrome://global/content/elements/menu.js:300
    render chrome://global/content/elements/menu.js:327
    connectedCallback chrome://global/content/elements/menu.js:343
    populateUndoSubmenu chrome://browser/content/browser-places.js:635
    onpopupshowing chrome://browser/content/browser.xhtml:1
Code:
AbortError: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved 2 ConduitsParent.sys.mjs:379
    _raceResponses resource://gre/modules/ConduitsParent.sys.mjs:379
Code:
TypeError: browser is nullAudioPlaybackParent.sys.mjs:21:9
    receiveMessage resource://gre/actors/AudioPlaybackParent.sys.mjs:21
I don't know if Slavemasters of Haalu is an earlier/in-development name for the game, but assume it is.
The file I'm using is my own file, with the modifications made I listed before, and no others, but just to be sure -
I tried testing the file you'd uploaded, too.

No luck so far.

The problem occurs whenever the file is loaded, i.e. whenever the page is opened.
If you wait a bit, I can try it in browsers outside firefox/waterfox (both should be current).
For now, I'm going to assume it's something on my end, and will probably try a clean install.
I'll let you know if I discover anything else.
Like Stardust, I am not a java wizard, but I'll see what I can find.

Editing quickly to add that using 0.6.1, and all files (styles.css, functions.js) are in Masters of Raana\Mods\Expansion Mods.
I actually left out an a in the Masters of Raana in the file structure and tried adding it back in, just to be sure. No luck there, either.
Haha, oh well - never hurts to check.
 
Last edited:

json.err

Member
Sep 14, 2016
117
204
138
I don't know if Slavemasters of Haalu is an earlier/in-development name for the game, but assume it is.
Yes it is. Dev said they can't change it because of some reasons but it doesn't matter.

Regarding errors. They are not from this mod. I'm not sure what causes them since I'm not familiar with these exact things. But it seems like it's some browser extension acting up. Does it conflict with my mod? No idea. But if there are no errors on a base game without mod I guess there is some confict. Quick search gives . No idea what it is, didn't read much. I personally use Chrome. Tried Firefox and no errors.

Edit: typos.
 
Last edited:
  • Like
Reactions: chelms

chelms

New Member
May 14, 2021
8
8
13
I think that ought to help me narrow it down, cheers!

Editing to provide full 'solution' just in case anyone else has similar issues.
Note, this isn't a desired solution; to get this to work, I had to have a second FF profile installed.
I make heavy use of TabMixPlus to get my work done, so disabling it is a non-starter.
But out of curiosity, I tried disabling it on WF - my primary install - and no dice.
Clean WF/FF profiles work, if it is in fact related to a FF-upgrade-corruption issue -
As the TMP git seems to show -

Probably not something that can be fixed. So it goes.

For now, a temporary solution is just to have two instances of a browser open.
Is this ugly kludge? Yes. Is it aggravating? Oh, yes. Does it work? Also yes.

Big thanks to json.err for the legwork.
 
Last edited:
  • Wow
Reactions: json.err
5.00 star(s) 3 Votes