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

I did that, there are less errors, but there are still a fewedit: in expansion, on line 279, there's a typo, it says : daysumilked instead of daysuNmilked, not sure if that's the problem, testing now

Second of these lines in expansion.gd is spelled wrong('daysumilked').

if !person.lactating.has('daysunmilked'):
person.lactating['daysumilked'] = 0

(1 edit)

line 650 in statstab says: resource.cum it should say resources.cum  it fixed the problem of not being about to talk to the farm manager about the farm. 608 says: expansion.quirk , i believe it's supposed to say: person.quirk . this fixes an option inside the farm managers "menu".

I'm still getting the last two errors on the log above, I'm not sure how to fix them.

The last 2 errors are the result of another error. If the error before those is resolved, then they will vanish.  It would help to know the entire current log of errors, or at least the starting ones as those tend to be more important.

(4 edits)

Except that those are the only two errors showing up


Edit: nevermind, the last one is the same, but there’s a different one here

Edit 2:it appears, that in the save, the variable "Restrained" is False for some slaves, and "none" for others, I think the error is due to false being a boolean, and the code is looking for a string

(1 edit)

From what I've heard, "Restrained" was a boolean in earlier versions, but it changed to a String.  Replacing those False values with "none" should bring the save file up to date.

Otherwise you could add these lines above 1640 in expansion.gd(1 tab, and 2 tabs):

if typeof(person.restrained) == TYPE_BOOL:
person.restrained = "none"

(1 edit)

now that that is done, after i fixed that, im getting these: this is from going to the next day twice, the first time was with the cattle being locked in, the next they weren't, a few of the errors is because there isn't a restraintype or stress_mod in the save file (i think), but the Invalid operands errors are not

(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

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

Added the Type Replacer to Backwards Compatibility for v.07