Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game desynchs at times #2

Open
SirDifferential-public opened this issue Oct 4, 2018 · 7 comments
Open

Game desynchs at times #2

SirDifferential-public opened this issue Oct 4, 2018 · 7 comments
Labels
bug Something isn't working

Comments

@SirDifferential-public
Copy link

Issue by SirDifferential
Monday Jul 16, 2012 at 20:10 GMT
Originally opened as https://github.com/SirDifferential/Shiver-Balance-Mod/issues/1


At times the game desynchs. This seems to happen often with Melnorme involved, but now always. Tests also suggest Pkunk to be a problem.

@SirDifferential-public SirDifferential-public added the bug Something isn't working label Oct 4, 2018
@SirDifferential-public
Copy link
Author

Comment by SirDifferential
Monday Jul 16, 2012 at 20:11 GMT


Possible culprit is the Pkunk respawn code.

@SirDifferential-public
Copy link
Author

Comment by SirDifferential
Sunday Sep 09, 2012 at 00:10 GMT


GCC 4.7 was not the solution. Still happens. Debug build may help.

@SirDifferential-public
Copy link
Author

Comment by SirDifferential
Saturday Oct 20, 2012 at 03:26 GMT


To reproduce:

Set two instances of Shiver's Balance Mod 2.04 running locally, preferably in their separate directories
Go to supermelee as both.
One team is: Ilwrath and Slylandro
In the other game, set a team to be: Kohr-Ah

In either of the games, begin awaiting for connection. Using the other game, connect.

Start with the match: Ilwrath vs. Kohr-Ah

As Ilwrath, float about. As Kohr-Ah, kill the Ilwrath using sawblades, but leave some of the sawblades to sit on the field after the match

Pick Slylandro, do something for a while and observe the desynch

Seems to be related to one of the following:

  1. The new relative firing velocities
  2. Projectiles that remain on the field
  3. Ilwrath's new cloak

At times the desynch appears immediately when Slylandro warps in, but at times the match keeps going on for a few seconds.

@SirDifferential-public
Copy link
Author

Comment by SirDifferential
Saturday Oct 20, 2012 at 03:36 GMT


More detail:

The culprit is Ilwrath's cloak. Any ship combination where Ilwrath is hit while cloaked appears to result in a desynch in the following match. This is most likely due to the nature of Ilwrath being visible to one computer and invisible to another.

@SirDifferential-public
Copy link
Author

Comment by oldlaptop
Thursday Oct 25, 2012 at 21:00 GMT


Some added data: On occasion the bug will not manifest itself immediately after a cloaked Ilwrath is killed. Usually switching between guest/host sides (i.e. guest side hosts, host side connects to it) will cause a desync immediately in these cases. The desync does not appear to result in an inconsistent RNG state. Core dumps of desynced games here: http://plantmonster.net/~oldlaptop/desync-debug/desync-coredumps.tar.bz2

@SirDifferential-public
Copy link
Author

Comment by SirDifferential
Saturday Oct 27, 2012 at 18:35 GMT


Fixed in commits

SirDifferential/Shiver-Balance-Mod@c80bfe7

and

SirDifferential/Shiver-Balance-Mod@43abcb7

@SirDifferential-public
Copy link
Author

Comment by SirDifferential
Saturday Dec 01, 2012 at 03:43 GMT


Game has desynched after a cloaked Ilwrath hit the planet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant