Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Strive for Power

Fantasy Slave Management/RPG Erotic Game · By Strive4Power

Aric's Expansion: Can't Get Slaves Pregnant?

A topic by King Doggo created Jun 20, 2020 Views: 3,899 Replies: 9
Viewing posts 1 to 6

Finished the main story at this point and I'm noticing that no matter how hard I try, I can't knock up my slaves! Even at times when they're ovulating.


I've noticed in the log I've been getting the following errors: 

SCRIPT ERROR: impregnation: Invalid get index 'id' (on base: 'Nil').
          At: res://files/globals.gd:1131
SCRIPT ERROR: race_breed_compatible: Invalid get index 'race' (on base: 'Nil').
          At: res://files/globals.gd:2014


Although I'm not sure *how* to read these, I feel like they may be the culprit. Anyone have any similar happenings?

Similar report: https://itch.io/post/1502470

Both errors are the same type(the first line), they seek to retrieve data at an index (specific location) from an value of type 'Nil' (a type with only the value 'null'). The second lines of each error give the file path, and the line number in the script where the error occurred. Given that both 'id' and 'race' are members of the person class, the data needed to lookup a person was improperly stored or used, so the core of the error is probably somewhere upstream of these error messages.

Ah I see, so is this a mod issue or is this a personal game issue? I'm playing a Seraph so I hope that doesn't have anything to do with it.

I'm exactly sure what you mean by your question. Those errors do not indicate an installation problem, but that does not mean that you don't have one. Given the number of problems discovered in Deviants code, I am inclined to say that it is a mod issue from hastily including his code.

Not enough information has been provided to determine whether playing as a Seraph is related. I have not looked at enough of the mod to know for certain, but your actions are more likely to related to the error than your race.

Ahh alright. Thank you for taking the time to respond, that pretty much answered my questions!

I have changed my own globals.gd file but, I don't think my changes start until after line 2051 anyway  the lines at 1131, and 2014 both match up with being able to fire those errors so I imagine that I haven't added or removed any lines before them.

Assuming the lines are the same, both errors are exactly the same thing, trying to grab data from a father person that is currently null, so the question is what is the exact situation that is firing those errors, namely who is the father

I can see a dozen or so spots where no father is provided for the first error to occur aside from potential null persons, and the second error would be a direct result of the first one as the only place that calls the second erroring function in question gets the inputs for it from the stored output of the first errored function.

Also why are methods that defaults the inputs to null if they aren't passed a value not properly accounting for what happens when they are null (coding issue not on you)

(1 edit)

I had a similar problem. Thing is I only had the first part of the error the one in 1131 without the 2014. Now i found a temp solution to my problem, this is a really dirty fix and will probably only work if you are playing as a male. In which case all the broken kids will be yours now. Congratulations (my relatives window is starting to look pretty ridiculous)

in your global.gd file before the line 1131(game folder not appdata)

mother.preg.womb.append({id = father.id, unique = father.unique, semen = cumprod, virility = virility, day = 0,})

paste

if father == null:
father = player

your lines 1131;1132;1133 should look like so

if father == null:
father = player
mother.preg.womb.append({id = father.id, unique = father.unique, semen = cumprod, virility = virility, day = 0,})

I haven't really proof tested it, just went 80+ turns and impregnated 2 slaves. no error so far.  It might cause some pretty nasty stuff later on. ill give it some more testing later.

(1 edit)

Possibly related bug here. Was able to get a slave pregnant but the child is bugged. Shows whatever character you had selected before selecting the child or, if its a freshly loaded game, will show a blank character profile with the name "Text Here"

Edit: On closer inspection it seems that this is likely more an issue with the variable "race_display":"Mixed"

Someone already found a "fix" for that

https://itch.io/t/854031/bug-cannot-interact-with-newborn-child#post-1585579

Thank you. Works like a charm.