Would modifying the contents of the script-output folder cause a desync?

Place to get help with not working mods / modding interface.
MoCsabi
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Dec 20, 2024 5:41 am
Contact:

Would modifying the contents of the script-output folder cause a desync?

Post by MoCsabi »

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?
User avatar
IsaacOscar
Filter Inserter
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?

Post by IsaacOscar »

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)
MoCsabi
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri Dec 20, 2024 5:41 am
Contact:

Re: Would modifying the contents of the script-output folder cause a desync?

Post by MoCsabi »

Good to know, thanks for the quick response!
Post Reply

Return to “Modding help”