Skip to main content

Posts

Showing posts with the label LOL

Client Guidance System

On almost every occasion, clients of a server will have different update speeds, which is the rate in which clients send and receive updates from the server. The server cannot not send updates to a client when they are needed, or the client will not know where the other clients are. If the client knew the update rate of the other clients, the client would theoretically not not have to not have the median packets generated by the server to fill in gaps, however, the update rates of clients are always changing, and everything would become unsynced. Take, as an example, two clients. One client has an update rate of 60Hz (updates per second) and the other one has an update rate of 30Hz. If both clients are standing still, the server will repeatedly send the same coordinates over and over again to the clients at their prefered update rate. If the client with the higher refresh rate is moving (as long as it is twice the rate,) the server sends every other packet to the client with the lowe...