Was able to resolve the desync issues and finish the mod.
https://mods.factorio.com/mod/TeamMod
Search found 6 matches
- Sat Feb 09, 2019 4:38 am
- Forum: Modding help
- Topic: Addressing Desync
- Replies: 9
- Views: 2841
- Tue Jan 29, 2019 3:07 am
- Forum: Modding help
- Topic: Addressing Desync
- Replies: 9
- Views: 2841
Re: Addressing Desync
It should be noted here that I was attempting to do a random call during make_forces which was causing desync. I still however want to verify how I can prevent desync when saving and loading.
- Tue Jan 29, 2019 2:03 am
- Forum: Modding help
- Topic: Addressing Desync
- Replies: 9
- Views: 2841
Re: Addressing Desync
Ended up replacing the calls down to just one. The desync still happens when the on_tick event occurs.
require("constants")
require("utility.event")
require("utility.map_helpers")
require("utility.math")
require("utility.position")
require("utility.table")
require("utility.tick_helper")
require ...
require("constants")
require("utility.event")
require("utility.map_helpers")
require("utility.math")
require("utility.position")
require("utility.table")
require("utility.tick_helper")
require ...
- Sat Jan 26, 2019 4:31 pm
- Forum: Modding help
- Topic: Addressing Desync
- Replies: 9
- Views: 2841
Re: Addressing Desync
Any new game causes the issue. There are two scenarios of desync:
1. When using the old mod and loading a save. At this point I don't care about this since I can't get other players not to desync on 2.
2. After building from the ground up, finishing the intial configuration, and "starting the ...
1. When using the old mod and loading a save. At this point I don't care about this since I can't get other players not to desync on 2.
2. After building from the ground up, finishing the intial configuration, and "starting the ...
- Sat Jan 26, 2019 2:44 am
- Forum: Modding help
- Topic: Addressing Desync
- Replies: 9
- Views: 2841
Re: Addressing Desync
I have taken the few variables left outside event functions and defined them in functions. I also took the time reorganize the global variables. I was already aware of on_load and had removed it previously.
Having the recommended desync prevention has no effect on when other players are desync'd ...
Having the recommended desync prevention has no effect on when other players are desync'd ...
- Thu Jan 24, 2019 2:45 am
- Forum: Modding help
- Topic: Addressing Desync
- Replies: 9
- Views: 2841
Addressing Desync
I'm new to modding but familiar with coding practices. I have recently enjoyed a mod enough to give it an update. The problem my friends and I had when playing is the desync issues when trying to reload a save from the mod. The previous developer hasn't touched it in two years but left a note that ...