OpenParsec / openparsec

GNU General Public License v2.0
52 stars 8 forks source link

stargate jump and joystick game exit cause out of sync with server #46

Closed CrazySpence closed 8 years ago

CrazySpence commented 8 years ago

Occasionally using the stargate jump when you get to the next system your weapons and backdrop are not updated to the servers state

Also the new joystick exit seems to cause this sync issue too which caused me to notice it so solving one should hopefully lead to solving the other.

CrazySpence commented 8 years ago

changed joystick exit to set ExitGameLoop = 2, this is the proper way to pull the menu up and remain connected and has fixed the joystick sync problem

CrazySpence commented 8 years ago

Stargate issue seems to be either the client isn't accepting a PlayerAndShipStatus update or the server isn't sending one. Will add some debugging to both sides of this soon

CrazySpence commented 8 years ago

Server constantly maintains sync with player on initial connect. Verified this with a break point and every frame it syncs, turned breakpoint back on after stargate jump and it is never hit, remote server therefore no longer is sending syncs.

Jumped to 3rd server and syncs resumed?

Whatever is causing this also interferes with initial state sync (background, probabilities, etc)

CrazySpence commented 8 years ago

Worked around!

Can't be properly fixed until the server actually verifies movement and whatnot so closing anyways