stijnwop / proSeed

ProSeed modification for Farming Simulator 2022
80 stars 17 forks source link

Unable to use ProSeed, Errors #50

Open Karma-Fox opened 2 years ago

Karma-Fox commented 2 years ago

With ProSeed installed in FS22, I am unable to play the game. About 5% of the time, the map won't even load, and this error occurs:

Error: Running LUA method 'update'. (I do not have access to the full error here. The log file got overwritten and getting it to repeat is hit and miss. It did mention proseed as the cause of the error though.)

When it does allow the map to load, any attempts at saving causes the game to get stuck on the Save screen and manually closing is the only way to escape it, which also means switching to a backup save as said save was just royally messed up. The log provides this error;

2022-06-01 16:10 Error: Running LUA method 'onSaveStartComplete'.
I:/Farming Simulator Files/FS22/Wyoming/FS22_proSeed/src/hud/InteractiveHUD.lua:70: attempt to index local 'element' (a nil value)

Not sure if this is caused by a mod conflict or what, but all errors go away when proseed is not installed. Here is a list of my installed mods/dlc.

https://pastebin.com/ScvW6sWA

KITT3000 commented 2 years ago

@Karma-Fox You have set pastebin private and cannot be checked, but did you only check with PS with no other mods?

Karma-Fox commented 2 years ago

Sorry about that, thought I made it unlisted. That is now fixed. Also, I just now tried it by itself and seemed to not generate an error, which means one of my mods might be incompatible with ProSeed. Now, to begin the journey to figure out which one causes ProSeed to start generating errors.

EDIT: Ok, so, I really have no clue. I tested ProSeed and my mods and the error did not happen. I even tested ProSeed and just my Mod Map to see if there were compatibility issues there to no avail. I created a new save and tried on there and the error still did not show up. So, I once again tested on my main save and no more error. I even added back in the two mods I've removed since then (Save Player Position & Dynamic Field Prices) and still, no error (in fact, even DFP has stopped causing issues - was causing the ingame map to not load).

So, at this point, I can only say that the issue seems to be 'unable to reproduce again, at this time'. If it happens again, I'll quickly zip up my save for testing.

EDIT 2: And just like that, I get the original error again

2022-06-02 15:48 Error: Running LUA method 'update'.
I:/Farming Simulator Files/FS22/Wyoming/FS22_proSeed/src/hud/InteractiveHUD.lua:56: attempt to index local 'element' (a nil value)

I am starting to think Dynamic Field Price and Save Player Position are to blame here. I was having some other issues before and removed them and said issues went away. I add them back in, and while the ProSeed errors seemed to not reappear, within a few restarts, all of the issues start to come back, including the ProSeed errors and random crashes.

Nathan-Shea commented 2 years ago

I was having a similar issue, but I've only noticed it on one map so far: North Frisian March. It works the first time you load the map, but when you save, exit the game and reload I was having the same error above and the map hangs at 99% loading. I disabled dynamic field prices and save player position - and now the map loads fine. Since I wasn't having this issue with other maps I'm assuming it's some sort of complicated conflicting with these mods and certain maps?