Desync issues in git/master #4304
Comments
Althalus uploaded file |
Althalus uploaded file |
Althalus uploaded file |
Althalus commented First issue: templates, and more specifically default templates (for players, its the initial truck and cyborgs). As soon as someone produces an unit from such a template, the game desyncs systematically. On maps with scavenger factories, this means right at the beginning of the game. This looks related to the above-mentioned thread, but if it is the same problem I'm very surprised that the desync occurred so late in the game (poster said 5-10 minutes into the game, while I would have expected as soon as someone builds a truck). The attachments desync_template.tar.gz and desync_template_scav.tar.gz showthis problem. I have a partial fix for this issue: always resend templates when scheduling a production, but it doesn't work with scavengers (because when sending templates, they are validated against the player's research, and scavengers do not have the research necessary to build their templates). |
Althalus commented Second issue: starting on tier 2 or 3. Each player only applies upgrades to its own units at the beginning, with means immediate desync as units do not have the same number of body points. Attachment desync_T2.tar.gz shows this problem. I don't have a fix, but I plan to look at it whenever I find the time |
klasskill commented templates are screwy, they can also vanish for no reason but I have not seen a desync from them |
Althalus commented Using templates I define myself works, but I get systematic desync when one of the players builds a unit from the default templates. I was under the impression, looking at the code, that using them would always trigger a desync. Could you try a map with scavenger factories (I think Sk-Rush qualifies) and tell me if you get an immediate desync ? |
klasskill commented no, don't get immediate desync |
Per changed blocking which not transferred by tractive |
Per changed blockedby which not transferred by tractive |
Per commented |
Per Inge Mathisen <per.mathisen@...> changed status from |
Per Inge Mathisen <per.mathisen@...> changed owner from `` to |
Per Inge Mathisen <per.mathisen@...> changed resolution from `` to |
Per Inge Mathisen <per.mathisen@...> committed [78] In Warzone2100/warzone2100@78c6926:
|
resolution_fixed
type_bug
| by AlthalusI run into systematic desync problems with master. Since bug #4271 seems specific to 3.1.2 and I haven't found a bug report for master desync issues, I'm creating one.
There seems to be at least one related thread on the forums, but from a while ago (http://forums.wz2100.net/viewtopic.php?f=6&t=11261), plus another one more recent but with very little information (http://forums.wz2100.net/viewtopic.php?f=4&t=12143). I'm not even sure the second thread uses master, but I suspect it.
I'm going to use the comments to report the specific issues I have found, and to report progress on fixing them.
Issue migrated from trac:4304 at 2022-04-16 11:51:09 -0700
The text was updated successfully, but these errors were encountered: