Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

fsadfasdfasdfasfdaaa

11
Posts
A member registered Jun 02, 2020

Recent community posts

Hey Aric, struggling a bit to trouble shoot this bug in my file. When I go to end day, the game processes to the next day but the daily report does not generate. Console gives two errors:

SCRIPT ERROR: dailyFarm: Invalid get index 'hp' (on base: 'Reference (person.gd)').
          At: user://mods/AricsExpansion/scripts/aricsexpansion/expansionfarm.gd:1134

SCRIPT ERROR: _on_end_pressed: Invalid operands 'String' and 'Nil' in operator '+'.
          At: res://files/scripts/Mansion.gd:1282

This does not occur with fresh saves. What portion of a save do these errors refer to?

Did you get your save working? If not I could look at it and try and fix it. 

I can help with this one too. You need to find your Mansion.gd files. I don't know which it is, so check both. One is under appdata\roaming\strive\mods\aricsexpansion\scripts and the other is under files\scripts where your executable is. Search for snailsbreeding. If it says there are two of them, replace snailsbreeding with snailbreeding (misstype) in both. 


Unfortunately, I am still trying to hunt down an error where when you go to next day it does not bring up the daily report. Thankfully it appears your save does not have that one (an error for lines 1282). Btw, here is a working save of your stuff to the point I have it. http://s000.tinyupload.com/index.php?file_id=01714155081716566862

Hey AricTriton. Thanks as always for amazing work. I ended up trouble shooting some errors with using old saves in my two posts with "Okay well this was miserable" first and "buckle up buckaroos".

Only mod other than yours was random portraits, and maybe farm label (but I don't think I ever activated it).  The issue seemed to be 

1: The jobskills did not include new jobs for each character

2: Code between production and farmoutcome did not update for each character

3: The single instance of code between "resource","array" and "foodcaparray" did not update.

Might have the solution for you in my recent comments. Fixed it for myself and one other person. On old saves you don't have all of the code you need so you need it added. Follow the post where I said "Okay well this was miserable" first and then after that do what is in the "Buckle up buttercups" post.

Might have the solution for you in my recent comments. Fixed it for myself and one other person. On old saves you don't have all of the code you need so you need it added. Follow the post where I said "Okay well this was miserable" first and then after that do what is in the "Buckle up buttercups" post.

(1 edit)

Buckle up buttercups, solution part 2 electric boogaloo. All of this is after doing in my comment I replied to. Start with your cursor at the beginning of your save in Notepad++. Go to the replace function. Select Regular Expression. Make sure all other boxes are unchecked. In the Find what box enter in "(?<=jobskills)(.*?)(?=},"kinks)". In the Replace with box put "{"bottler":0,"cook":0,"farmhand":0,"farmmanager":0,"fucktoy":0,"gatherer":0,"headgirl":0,"hunter":0,"maid":0,"milking":0,"milkmaid":0,"milkmerchant":0,"prostitute":0,"stud":0"


So, gaspar_ghost, here is a link to your (as far as I know) functioning save! http://s000.tinyupload.com/index.php?file_id=35698178043676773337


Edit: But wait, Theres more! You will also need to do the same Regex type but with "(?<="farmexpanded":{"a)(.*?)(?="fetish":{")" in the find and "phrodisiac":0,"autopump":false,"breeding":{"eggsbirthed":0,"forced":false,"partner":"-1","snails":false,"status":"none"},"container":"default","dailyaction":"none","extractcum":{"container":"cup","enabled":false,"fate":"undecided","method":"leak","opinion":[],"resistance":9,"restrained":false,"sessions":0,"totalextracted":0},"extraction":"default","extractmilk":{"container":"cup","enabled":false,"fate":"undecided","method":"leak","opinion":[],"resistance":4,"restrained":false,"sessions":0,"totalextracted":0},"extractpiss":{"container":"cup","enabled":false,"fate":"undecided","method":"leak","opinion":[],"resistance":5,"restrained":false,"sessions":0,"totalextracted":0},"giveaphrodisiac":false,"objects":[],"production":"default","resistance":-1,"restrained":false,"sedative":0,"stallbedding":"dirt","timesmilked":0,"usesedative":false,"workstation":"free","zones":{"sleep":"dirt","sleepfurnishings":[],"work":"free","workfurnishings":[]}},"farmoutcome":false,"fear":0,"fear_mod":1," 

in the replace.

Okay well this was miserable, but now you are as far as me. Here is your fixed save. http://s000.tinyupload.com/index.php?file_id=03465742529829150819 Remember for anybody else reading this code is annotated by quotation marks, so if you want to cut and paste remove the out most quotations. 


I am most definitely not a programmer, but here is how I did it. I found ""resource","array"" in your save file, put my cursor right before, and pushed enter to send all of that to a new line. I then found "foodcaparray"", put my cursor immediately after that, and pushed enter to put everything after on a new, third line. I then took each line and put them into their own instance of  notepad++. Line 1 and Line 3 I ran the RegEx function "(?<=production)(.*?)(?=farmoutcome)" in the Find function and in the replace I put "":"default","resistance":-1,"restrained":false,"sedative":0,"stallbedding":"dirt","timesmilked":0,"usesedative":false,"workstation":"free","zones":{"sleep":"dirt","sleepfurnishings":[],"work":"free","workfurnishings":[]}},""


On Line 2 I just yeeted it all and replaced it with ""resource","array":["day","gold","mana","energy","food","milk","semen","lube","piss"],"day":1,"energy":0,"farmexpanded":{"bottler":{"level":5,"totalproduced":0},"containers":{"bottle":0,"bottles":0,"bucket":0,"canister":0,"cup":0,"jug":0,"pail":0},"extractors":{"hand":-1,"pressurepump":0,"pump":0,"suction":0},"farminventory":{"prods":0},"incubators":{"1":{"filled":false,"growth":0,"level":0,"name":"Incubator 1"},"10":{"filled":false,"growth":0,"level":0,"name":"Incubator 10"},"2":{"filled":false,"growth":0,"level":0,"name":"Incubator 2"},"3":{"filled":false,"growth":0,"level":0,"name":"Incubator 3"},"4":{"filled":false,"growth":0,"level":0,"name":"Incubator 4"},"5":{"filled":false,"growth":0,"level":0,"name":"Incubator 5"},"6":{"filled":false,"growth":0,"level":0,"name":"Incubator 6"},"7":{"filled":false,"growth":0,"level":0,"name":"Incubator 7"},"8":{"filled":false,"growth":0,"level":0,"name":"Incubator 8"},"9":{"filled":false,"growth":0,"level":0,"name":"Incubator 9"},"basecost":200,"upgrademax":10,"upgrademultiplier":2.5},"snails":{"auto":"none","cookwithoutchef":false,"eggs":0,"food":0,"foodperchef":3,"goldperegg":25,"goldpersnail":250,"hatch":0,"neweggs":0,"sell":0},"stallbedding":{"bed":0,"cot":0,"dirt":-1,"hay":0},"vats":{"lube":{"auto":"vat","autobuybottles":false,"basebottlingenergy":6,"bottle2refine":0,"bottle2sell":0,"food":0,"foodper":0,"new":0,"priceper":0,"refine":0,"sell":0,"vat":0},"milk":{"auto":"vat","autobuybottles":false,"basebottlingenergy":5,"bottle2refine":0,"bottle2sell":0,"food":0,"foodper":0,"new":0,"priceper":0,"refine":0,"sell":0,"vat":0},"piss":{"auto":"vat","autobuybottles":false,"basebottlingenergy":7,"bottle2refine":0,"bottle2sell":0,"food":0,"foodper":0,"new":0,"priceper":0,"refine":0,"sell":0,"vat":0},"processingorder":["milk","semen","lube","piss"],"semen":{"auto":"vat","autobuybottles":false,"basebottlingenergy":6,"bottle2refine":0,"bottle2sell":0,"food":0,"foodper":0,"new":0,"priceper":0,"refine":0,"sell":0,"vat":0}},"workstation":{"cage":0,"free":-1,"rack":0}},"food":500,"foodcaparray""


I then put it all back together on one line. Now to fix both of our files, because there is one more error. When workers are assigned to tasks other than farm manager you cannot access the Worker page. 

(1 edit)

EDIT: wrap around did some weird things. This post has my logic, but it also deletes needed things. My two more recent posts have a working fix. 

I haven't given up on this yet, I am actually playing around with your save file directly now.

Also, don't feel bad about not understanding my rambling posts. I'll try and explain it a bit better. 

I am using Notepad++ to directly edit the save files. Using a clean install and a working farm I am trying to troubleshoot exactly what code is wrong with the old save, and replace the old code with working, fresh code. When i am writing out code here, the outermost quotation marks designate code. Any additional quotation marks are part of the code. 

One of the issues is with code that is on all characters. This code is between the words "production" and "farmoutcome". But, there are a whole lot of these instances. For the save you put on mega, there are 201. So what I use is a regular expression command in the search mode. "(?<=)" is a RegEx command to look behind and "(?=)" means look ahead. Next, I choose "(.*?)" to do a lazy search (first possible solution to problem). So, to select an instance of everything between the word "production" and "farmoutcome", and to have 201 separate matches rather than 1 giant one, I use the RegEx command "(?<=production)(.*?)(?=farmoutcome)" in the search function.

I first use "(?<=production)(.*?)(?=farmoutcome)" in the good save to get the good code. This looks like this "":"default","resistance":-1,"restrained":false,"sedative":0,"stallbedding":"dirt","timesmilked":0,"usesedative":false,"workstation":"free","zones":{"sleep":"dirt","sleepfurnishings":[],"work":"free","workfurnishings":[]}},"" (Reminder: if you want to copy and paste my stuff directly please remove the outer most quotations)

I then go to your save, go to the replace feature, and enter "(?<=production)(.*?)(?=farmoutcome)" for the Find what and that big chunk of code in the Replace with. I then hit replace all. 

However, I am having issues with the other fix I managed. You have an instance of ""resource","array":" in your save, which is the start of the code I want to replace. But I can't find where it should end. I am looking through this now and will reply to any comment you leave on this when I find the answer. 

Generally what would be easiest would be to got to menu>options>supporter section>enter passcode (easy to find, just search strive for power supporter code), give yourself a ton of gold, and buy the upgrades. 

I also found another issue which I have since patched. You will need to replace all instances of (?<=production)(.*?)(?=farmoutcome) in the old save with the new save version. To do this, make sure your find/replace option does not have wrap around, match case, or backword direction selected. Make sure the search mode is regular expression. Start the search with your cursor at the beginning of the save file code. Again, make sure to back up anything you mess with. You want to replace every instance.

":"default","resistance":-1,"restrained":false,"sedative":0,"stallbedding":"dirt","timesmilked":0,"usesedative":false,"workstation":"free","zones":{"sleep":"dirt","sleepfurnishings":[],"work":"free","workfurnishings":[]}}," was the healthy code for me. 

(1 edit)

Had the same issue. First, back up your save. Then, create a fresh save and cheat to fully upgrade a farm. Then, select all text between farmexpanded": and foodcaparray" , and delete it in your old save. Then replace what you deleted in your old save with the same material from your new save.  Works.