The-MMORPG-Project/website

Send Position Updates to Everyone but Self

valkyrienyanko opened this issue · 1 comments

I can't seem to find a way to exclude the client that sent the data in the first place from the list of clients the server needs to tell about position updates. Right now the server is sending position updates for your client, but you don't need to know the position updates for yourself, you only need to know the position updates of the other clients.
https://github.com/valkyrienyanko/Unity-ENet-Model/blob/008c96602617daa4977c68bb8c2d1ab87546b028/Server/Server.cs#L108-L150

Changed position updates on server-side to be queue based.