#Full Prediction & Reconciliation Setup

1 messages · Page 1 of 1 (latest)

acoustic hemlock
#

Hello i just want a bit more clarity on how to handle unpredictable stuff in my prediction setup(Stuff which other players initiate).

In my game as some of you have seen before players can damage and break apart boats with projectiles, im not fully sure how to handle this with this kind of setup? as i dont think i can predict the boat damage until server lets me know the other player has fired.

vocal kraken
#

If its solely player damage, then you could have the players send the damage/shoot RPC to everyone. That would cause the least amount of delay

acoustic hemlock
vocal kraken
#

Right

acoustic hemlock
# vocal kraken Right

Yeah i could try that, is that basically all i can do in this case? soo theres no way of really solving this issue i just have to let reconciliation correct everything?

#

and the best i can do is minimise the time until reconciliation?

vocal kraken
#

If you can find a way to predict player's future actions, you will be very rich

acoustic hemlock
#

Okay, you think it would look bad? As for a small fraction of a second the boat will look fully intact for a player, then the update will be received and I will correct the scene.

#

Or is it probably acceptable?

vocal kraken
#

snapping to the correct update might be jarring. Lerping could help but only playtests can tell if its acceptable or not

acoustic hemlock
#

Do developers just allow for less player led unpredictable stuff in there games?

#

Other players will destroy boat components often, and in some cases this can lead to entire boat separations. And I can’t predict any of it.

vocal kraken
#

Normally you just accept a bit of lag

acoustic hemlock
#

Ive just had a thought, for stuff like boat movement my boat doesnt need to move immdeiately, So when player attempts to move i could Queue up the Boat Movement for the future i could send this input to the server, letting the server know to move the boat in the future, The server could let all other clients know that in X frames in the future you will need to apply boat movement, could this technique work?

vocal kraken
#

Sure. Slow acceleration can help hide the lag. Just start an engine sound locally