Closed justicedredd closed 2 years ago
Hello @justicedredd , Please add the complete log.txt, then we will see more.
I had to go onto the server again to replicate as server restarted when I was troubleshooting. This time it happened immediately when trying to autosave.
FYI, having a "duh" moment, decided to deactivate the AutoDrive from the server mods. First autosave, no issues and second admin save moments after, no issues. But I am continuing to monitor.
Just a bit of an update relating to AutoDrive error.
This seems to be a mod conflict with FS22_PlayerPositionSaver. It calls the saveToXMLFile function not in the common way it should be used. Could you please try Autodrive without this mod?
Will do, thank you :) Shall report back once done!
Since removing FS22_PlayerPositionSaver the saves have been working flawlessly, and I am using the latest version of AutoDrive! Shame to see there is a conflict but AutoDrive was more important for the server than players positions, plenty of other ways to spawn around the map :)
Thank you for the help! If you don't need anything from me then it can be closed as resolved :)
First off, love the mod, lifesaver for big maps! So now the issue; I have a hosted server and AutoDrive added, it has been working fine up until the past week or so.
I have tried with Version 2.0.0.2 and 2.0.0.3 but still getting the same issue. The game would save perfectly normal and then when it comes to the next automated save (happens every 15 minutes) it throws up the error, it looks like to me that either it is suspending the save or just corrupting the savegame folder all together, which in turn means I have to restore, regardless of waiting 1, 5, 10 and 15 minutes to see if the save will finally complete.
One of my friends who plays on the server did make a field course with AD, which I have reverted the AutoDrive_config.xml to the original layout before they added their little field course. But as mentioned this issue is continuing to happen after the fact.
This is what is shown in the logs:
`FS22 AutoDrive Version 2.0.0.2
2022-01-22 12:15 Game saved successfully. 2022-01-22 12:22 dataS/character/humans/npc/pedestrians/generic/npcCommon02_f.i3d (57.31 ms) 2022-01-22 12:22 dataS/character/animals/wild/deer/deerAdult.i3d (34.80 ms) 2022-01-22 12:23 dataS/character/animals/wild/deer/deerAdult.i3d (36.03 ms) 2022-01-22 12:23 dataS/character/player01/brands/brand08/engelbertStraussMotion2020Pants.i3d (3.36 ms) 2022-01-22 12:23 dataS/character/player01/brands/brand08/engelbertStraussMotion2020Jacket.i3d (103.90 ms) 2022-01-22 12:27 dataS/character/humans/npc/pedestrians/generic/npcCommon09_m.i3d (79.56 ms) 2022-01-22 12:30 Error: Running LUA method 'onSaveStartComplete'. d:/servers/service10677/home/games/FarmingSimulator22/mods/FS22_AutoDrive/scripts/Specialization.lua:414: attempt to index field 'stateModule' (a nil value) 2022-01-22 12:36 Warning: Saving while already saving 2022-01-22 12:36 Warning: Saving while already saving 2022-01-22 12:38 Warning: Saving while already saving 2022-01-22 12:42 dataS/character/animals/wild/deer/deerAdult.i3d (35.46 ms) 2022-01-22 12:44 Warning: Saving while already saving
FS22 AutoDrive Version 2.0.0.3
2022-01-22 13:11 Game saved successfully. 2022-01-22 13:13 dataS/character/humans/npc/pedestrians/generic/npcCommon06_f.i3d (51.16 ms) 2022-01-22 13:14 dataS/character/animals/wild/deer/deerAdult.i3d (34.39 ms) 2022-01-22 13:15 dataS/character/humans/npc/pedestrians/america/npcUSA06_m.i3d (83.47 ms) 2022-01-22 13:26 Error: Running LUA method 'onSaveStartComplete'. d:/servers/service10677/home/games/FarmingSimulator22/mods/FS22_AutoDrive/scripts/Specialization.lua:419: attempt to index field 'stateModule' (a nil value)`
If you need anymore information or data, please let me know :) Thanking you!