Synchronize damage dealing and block in melee combat multiplayer game

Hello,

Are there any good patterns for client-server architecture that allow for easy synchronizing of melee attacks and blocks between clients?

I’m using Photon Bolt, but I need general guidance rather than particular implementation.

Hi there, I’m not sure how Photon Bolt works but in Mirror Multiplayer you need to use [SyncVar] to synchronize the Var’s(int long etc) so the clients and server/host know the value, also you need a void ClientDoStuff and make the call inside of a void ToClientsDoStuff so everyone is on the same page, if you do a Method inside of a client and the method has no way out of that client, the host/server and other client can’t know what its happening inside of the client Game, hope it help Good luck <3

Ok so answer to this is to use PhotonBolt Commands and simulate all the important game results on servers side. Or ‘client side prediction with server authority’ to say it universally :slight_smile: