Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

The stress_mod issue likely means an error created while editing save files, as I am not aware of any changes in the mod and the error points to vanilla content.  Hopefully you can undo, or have a backup of that save file.  Though it's not hard to add it back to the stats dictionary with default value of 1, but if they are still present then the issue is a typo somewhere else.

restraintype should be apart of the expandedfarm dictionary inside the state dictionary.  These are the default values, adding any missing should bring save file up to date.
var expandedfarm = {restraincattle = false, restraintype = "none", bottlesprice = 10, bottlesowned = 0, storingpiss = false}

String + Nil for Mansion.gd:690 is a derived error.

The following line appears to be wrong(Edit: expansion.gd:2208):  if farmmanager.jobskills.farmmanager == null:

It should be:  if farmmanager.jobskills.has("farmmanager") == false:

Nil > int for Mansion.gd:1238 is also derived.

Deleted 4 years ago
(2 edits)

Now there are these two invalid operands, the top errors I’ve already fixed. Line 2209 says if auto == false: 

That's a whole fun mess! I can confirm that I haven't messed with anything inside of the stressmod stats or stress_set function. It may be caused by something but it isn't directly. Is that the latest report its giving you?

(1 edit)

Ah right, with the earlier changes your line numbers don't match my line numbers.

That picture is horrendous, better than no picture but still would prefer a proper screenshot. If you are on a windows system with a keyboard, then the PrtSc key will save the entire current screen to the clipboard and can be pasted into any picture editor(I use Paint to crop the pictures).  Alt + PrtSc will produce a screenshot of only the selected window.

Cause of error for line 2209 is in function "getFarmFactors" of expansion.gd (line 2306 for me).  It's returning a string, but function "dailyMilking" is expecting a bool. Change the first 2 lines:

var result = str(person.farmexpanded[factor])
if result == "default":

to(1 tab each):

var result = person.farmexpanded[factor]
if typeof(result) == TYPE_STRING && result == "default":

Edit: grammar

In Mansion.gd, theres a call for funcion "globals.expansion.dailyNPCs" whch doesnt exist in globals, shouldn't it say "expansion.dailyNPCs"?

(1 edit)

"expansion.dailyNPCs" will not work, because "expansion" is not a variable inside of Mansion.gd.
The function "dailyNPCs" exists inside of expansion.gd, and that file is loaded by globals.gd into the variable "expansion".  Thus "globals.expansion.dailyNPCs" is a correct path.

Edit: "globals" is not a variable inside Mansion.gd either, but it is specially defined by the project settings to be present in all scripts.

(1 edit)

Ah, I am getting an error from that line, I’ll have a closer look now that I have time

Edit:All fixed, forgot to delete something, now I'm getting an error about dietexpanded:

Honestly, it feels like most of your problems are derived from using old save data.  It seems that for some reason your person objects don't have a member variable.  You will likely need to add the "dietexpanded" dictionary from person.gd to your slaves in the save file.  It's strange that they didn't gain it when being loaded, but there is no way to add it to the person objects afterwards.  Though you could transfer all the slave's data from objects loaded from file to freshly created objects, it's a fair amount of work.

(1 edit)

ok, i don't think this one is because of an old save file, its causing the inability to see a slave's fetishesedit:or it's because the save has fetish values that are no longer used

'treatment' is also a old save file problem, though it is missing an entry in the function "backwardsCompatibility" .  At the end of the "person.mind" entries add:

if !person.mind.has('treatment'):
person.mind['treatment'] = []

Though, there are a lot more entries in "person.mind" that do not have compatibility entries.  At some point, I'll have to see if I can put together a more comprehensive compatibility fix.

The 'fetish' problem is not a direct error message, as there are 2 errors but we are only seeing the second.  In this line:

text = "[color=red]Error at getting description for " + value + ": " + person.fetish[value] + '[/color]. '

"person" is never given any value, nor is there any way to get such a value in the current function. Simply replacing it with:

text = "[color=red]Error at getting description for " + value + '[/color]. '

Will fix that error and reveal the first error, which is likely also an old save file problem as "person.knownfetishes" contains a value which is not listed in "fetishdict" of the "getFetishDescription" function .

As annoying as this is for you, Captain, I really appreciate you helping me find what areas aren't being caught by the backwards compatibility already! I'll try to make sure it's added for the next version for old save games.

Line 2208 will be fixed in version v.07, thanks for the catch!