OpenRA icon indicating copy to clipboard operation
OpenRA copied to clipboard

Exception of type `System.InvalidOperationException`: : Out of sync in frame x

Open jason69 opened this issue 12 years ago • 4 comments

Hi,

this is a game crash while in game. Unfortunately I don't have other players syncreport.log. Here is what I got in my exception.log:

Red Alert Mod at Version release-20131223 Operating System: Linux (Unix 3.11.0.15) Runtime Version: Mono 2.10.8.1 (Debian 2.10.8.1-1ubuntu2.2) CLR 2.0.50727.1433 Exception of type System.InvalidOperationException: Out of sync in frame 720. Compare syncreport.log with other players. at OpenRA.Network.OrderManager.OutOfSync (Int32 frame) [0x00000] in :0 at OpenRA.Network.OrderManager.CheckSync (System.Byte[] packet) [0x00000] in :0 at OpenRA.Network.OrderManager+c__AnonStorey13.<>m__4 (Int32 clientId, System.Byte[] packet) [0x00000] in :0 at OpenRA.Network.ReplayRecorderConnection+c__AnonStorey1B.<>m__12 (Int32 client, System.Byte[] data) [0x00000] in :0 at OpenRA.Network.EchoConnection.Receive (System.Action2 packetFn) [0x00000] in <filename unknown>:0 at OpenRA.Network.ReplayRecorderConnection.Receive (System.Action2 packetFn) [0x00000] in :0 at OpenRA.Network.OrderManager.TickImmediate () [0x00000] in :0 at OpenRA.Sync+c__AnonStorey35.<>m__6A () [0x00000] in :0 at OpenRA.Sync.CheckSyncUnchanged[Boolean](OpenRA.World world, System.Func`1 fn) [0x00000] in :0 at OpenRA.Sync.CheckSyncUnchanged (OpenRA.World world, System.Action fn) [0x00000] in :0 at OpenRA.Game.TickInner (OpenRA.Network.OrderManager orderManager) [0x00000] in :0 at OpenRA.Game.Tick (OpenRA.Network.OrderManager orderManager) [0x00000] in :0 at OpenRA.Game.Run () [0x00000] in :0 at OpenRA.Program.Run (System.String[] args) [0x00000] in :0 at OpenRA.Program.Main (System.String[] args) [0x00000] in :0

jason69 avatar Jan 10 '14 20:01 jason69

:( We really need those logs. Sorry.

Mailaender avatar Jan 10 '14 21:01 Mailaender

OK, anyway, if there was an urgent update to make to openra, it would be improve reliability against network latencies.

I am not a coder, but I guess currently every single player operation is synchronized using network-blocking functions, or something similar... I think we should have non blocking operation (that could add some delays between players, but never mind if it improves the gameplay)...

Is someone working on something like that ? If not I really think it is the number one feature to add to openra...

Regards

jason69 avatar Jan 10 '14 21:01 jason69

This is not really a network latency issue (the game will just halt then), but a programming mistake. We still have some known desyncs like #3879 that need to be investigated and fixed.

Mailaender avatar Jan 10 '14 22:01 Mailaender

OK, I hope they'll be fixed soon.

Anyway thank you very much for reviving that exciting game !

jason69 avatar Jan 10 '14 23:01 jason69