How does an unsynced widget cause sync errors?

How does an unsynced widget cause sync errors?

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14606
Joined: 17 Nov 2005, 02:43

How does an unsynced widget cause sync errors?

Post by Forboding Angel » 21 May 2019, 03:54

https://github.com/EvolutionRTS/Evoluti ... eather.lua

This, if run long enough will start causing sync errors. It's unfortunate, because it is really neat. Some minor issues, but the sync errors make it a non-starter.

But what I'm having trouble understanding is... if it's unsynced, how would it cause a sync error?
0 x

hokomoko
Spring Developer
Posts: 585
Joined: 02 Jun 2014, 00:46

Re: How does an unsynced widget cause sync errors?

Post by hokomoko » 21 May 2019, 11:29

what makes you say it will cause sync errors?
why did I see no reports?
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14606
Joined: 17 Nov 2005, 02:43

Re: How does an unsynced widget cause sync errors?

Post by Forboding Angel » 21 May 2019, 21:17

Honestly we mostly gave up on it a while ago and I begged ivand to have a look at it and see if there was anything to be done to make it less quirky.

Wrt the sync error thing, well I suppose I never spent a ton of time thinking about it. My thinking was "how would it be a problem with the engine if it is definitely the Lua causing it", however, I can see how a widget causing sync errors would be cause for concern from the engine side.

But like I said, I never considered that it could be any issue with the engine.
0 x

User avatar
Silentwings
Moderator
Posts: 3594
Joined: 25 Oct 2008, 00:23

Re: How does an unsynced widget cause sync errors?

Post by Silentwings » 22 May 2019, 16:16

Any sync error with a current version is worth reporting (with replays), whether you have a guess for the cause or not.
0 x

hokomoko
Spring Developer
Posts: 585
Joined: 02 Jun 2014, 00:46

Re: How does an unsynced widget cause sync errors?

Post by hokomoko » 22 May 2019, 19:00

Correction: before reporting a desync, check the infolog for lua errors.
1 x

Post Reply

Return to “Lua Scripts”