Would modifying the contents of the script-output folder cause a desync?
Would modifying the contents of the script-output folder cause a desync?
I'm making a mod that dumps data into the folder, and an other external program reads this information and deletes processed dumps. I want to play multiplayer with this, so the mod will be installed for everyone, but the external dump processing program will only run on my computer. Could/will this cause a desync?
- IsaacOscar
- Filter Inserter
- Posts: 843
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: Would modifying the contents of the script-output folder cause a desync?
If all it is doing is modifying the script-output folder it should be fine.
As longs as the Factorio code is not reading any data in that folder, and your external program is not writing any data to your mods folder that you then load.
Also you may want to only write the data on the servers computer (pass 0 when you cann helpers.write_file)
As longs as the Factorio code is not reading any data in that folder, and your external program is not writing any data to your mods folder that you then load.
Also you may want to only write the data on the servers computer (pass 0 when you cann helpers.write_file)
Re: Would modifying the contents of the script-output folder cause a desync?
Good to know, thanks for the quick response!