Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

So I'm getting a similar problem from above. However I'm getting 1st four lines of script error as soon as I start the game. The 2nd set of four as soon as hit quick start (or other game mode). I get the third set of four when I first load into the mansion and the tutorial starts. Finally I get the last two lines when entering the slave guild and I get the same view as talostaf from four days ago (still seeing the city options after entering the slaves guild). 

I did as you asked above and completely wiped previous the strive roaming folder as well as using only the files you provided. I followed your directions of extracting the files and then moving arc's mod to roaming/strive/mods. Failed. Deleted all and downloaded, extracted and moved files a second time to see if it was a fluke, but no go. Everything else about the game seems to work except this and for some reason I can't choose a head girl at the mansion? Odd.

Sorry for the trouble, I understand that you are doing this as a hobby more or less and I would appreciate any help you could give. I really enjoy this game and these mods so I would be a shame if I couldn't play them. Thanks again!

(2 edits)

Thanks Blaze and no problem, I get some personal satisfaction from the idea that folks enjoy the work, so I end up actually creating more content and it's a win-win.  Onto your problem - I know what part of the code is hiccuping here and I have some ideas as to why. 

Please check your races.gd file for the lines between #ralph5 and #/ralph5 under each race (you don't need to check all of them,  I expect it's there for all or none):

var races = {
Human = {
skin = ['pale', 'fair', 'olive', 'tan'],
...
pricemod = 1,
#ralph5
marketup = ["Demand for [color=aqua]humans[/color] rises inexplicably.\n"],
marketdown = ["It seems [color=aqua]humans[/color] aren't being purchased very quickly. Prices fall.\n"],
single = "human",
plural = "humans",
singlepos = "human's",
pluralpos = "humans'",
#/ralph5

In constructor.gd, you should also have:

func changerace(person, race = null):
...
if i in ['marketup', 'marketdown']: #ralph5
continue #ralph5

If either is missing, you can apply the latest patch that applies to your setup (base or tweaked) per the instructions (just drag&drops again) and that will hopefully fix it by replacing the races.gd and/or constructor.gd files.  Please let me know whether it works or not.  If not, we'll go to the next step.

So the races.gd file seemed to be fine, or at least each of the races had the text you asked me to look at. The constructor.gd file however didn't have the script lines anywhere in the file that I could see and Ctrl+f didn't show ralph in it at all: 

if i in ['marketup', 'marketdown']: #ralph5
continue #ralph5


So I went ahead and ahead and applied the latest patch per the instructions. That seemed to have fixed the major issues as I am able to use the slave guild without the prior errors and while there are no slave to buy the first day, they generate for the second day and forward. Thank you for that!

I do still get the following script errors when I first load up the mansion. Oddly I am still unable to choose a head girl, unless the mods changed it so that some sequence of events must be played before you can chose one?

**SCRIPT ERROR**: Invalid operands 'float' and 'String' in operator '=='.
   At: res://files/scripts/outside.gd:599:newslaveinguild() - Invalid operands 'float' and 'String' in operator '=='.
**SCRIPT ERROR**: Invalid operands 'float' and 'String' in operator '=='.
   At: res://files/scripts/outside.gd:599:newslaveinguild() - Invalid operands 'float' and 'String' in operator '=='.
**SCRIPT ERROR**: Invalid operands 'float' and 'String' in operator '=='.
   At: res://files/scripts/outside.gd:599:newslaveinguild() - Invalid operands 'float' and 'String' in operator '=='.
**SCRIPT ERROR**: Invalid operands 'float' and 'String' in operator '=='.
   At: res://files/scripts/outside.gd:599:newslaveinguild() - Invalid operands 'float' and 'String' in operator '=='.

(1 edit)

ok, since the patch worked to fix the missing lines in constructor.gd it means you had the wrong constructor.gd file. I always worry when I'm updating files/links that someone is going to download in the middle and get a main file and patch that don't match or similar, so I suppose it is remotely possible that happened to you.  The easiest fix if that's the case would be to redownload the main files and do that clean install once again.  I assume you're not resetting/applying mods in game or anything else not in the instructions from what you've said, but somehow or another you had mismatched scripts (constructor.gd was out of date, but races.gd was current).

That said the errors you're getting now could be a legit bug.  It hasn't affected my gameplay and I couldn't replicate it, but I can see a spot in my added code that could possibly end up trying to pass a float as a string and screw things up. So, I'm updating the files.  Wait until you see "EDIT9: ..." on the original post and then try downloading again. You can apply the patch again (it's updated now) and see if these last errors go away for fun, but I'd still recommend a clean install since there were mismatched files just in case there are other outdated scripts in your current install.

Deleted 3 years ago