Skip to main content

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 lower refresh rate.

If the client with the lower refresh rate decides to move, the server must extrapolate it's position to send to the client with the higher refresh rate. The server; when finding the corordanated of the client with the lower refresh rate, halfway through the refresh rate; knows where the clilent was, and where it was before that. The server uses this data to know where it in theory is, and where it will be if the client with the lower refresh rate lags a bit. The server takes subtracts where it was from where it was before where it was; or where it was before where it was from where it was, whichever is greater, and from that, it finds the client with the lower refresh rate's velocity; within reason. The server then adds this velocity to where it was, and now gets where it is.

Comments

Popular Posts

Late Shift

Some people say we're all connected, all part of a bigger picture; some harmonious flow, endless and meaningful. Maybe that's how it looks from a distance; but up close, with eyes open, I see no evidence of some spiritual choreographer at work. No, I see nothing but random fractals of a selfish, queenless hive. -Exert of the opening narration suggesting that the player is an omniscient, "spiritual choreographer" WARNING: I try to keep it to a minimum, but there are still spoilers. For the last two weeks, I have been playing a game called late Shift . Late Shift is the first choose your own adventure game, and originally came out in April of 2016. About a year after that, it was released on steam; the game looked interesting, so I bought it. I found multiple parts of the game, and its platform interesting, and I wanted to share them The trailer for Late Shift is below. There is language that may be considered offensive to younger audiences. Firs...

An Open Letter To Valve and the TF Team

Dear Valve, It is no question that your match making service for TF2 is horrible. Players are met with long wait times, unbalanced matches, and matches the end as soon as they get there. Players, much like me, get infuriated about how i get matched onto a loosing team at towards the end of the round every time . you need to change something about this process, Team Fortress Two is loosing players because of it. Before the Matchmaking Update Before the Matchmaking update, the "Valve Servers" were searchable servers that the client-slash-player could choose from. Servers would never stop, and players could set the round to be whatever map they wanted. Experiences players would join them to use the non experiences players as cannon fodder, and the non experiences players would join because they didn't know how to use the game yet. You most likely changed the way players join servers for this reason, so that newer players could go up against players that wouldn't ...

Net Neutrality

Sigh... I really do not want to comment on this. It's never a good idea to get political; getting political makes people who don't agree with your views stop consuming your content, and people who agree with your values pressure you into saying things that you do not want, which will cause all of the previous. I will try to be as unbiased as possible. I live in the United States, so I will be writing from an American perspective, and using current events in American politics; however, this is still an issue that applies to everyone. What is Net Neutrality Net neutrality is the principle that Internet Service Providers (ISPs) must treat all [legal] traffic on the Internet equally; no service receiving better or worse treatment. What is a violation of net neutrality Take a person who desires to search Google for "hilarious cats failing jumps" or whatever. With net neutrality in place, the person's ISP is forced to treat Google equally as all ...

Well, I Was Wrong

The simplest way of doing this [defending against malicious synchronization] is by having each of the servers send each other the data that they receive from the others. This will allow each of the servers to compare the data, and figure out if it is manipulated. Only one check is needed because it is majority prof this way; as long as the majority of the servers are reporting the correct data, the individual servers can judge vote whether to kick a client or not. - One Twenty Eight, April 10 th , 2017, 5 AM GMT, in this post Quick Note I use the words "server" and "player" interchangeably; this article is focused on the type of decentralized server that has one server per player. Nope Umm... No. That is not right. That is definitely not right. In case you did not read that article, I went over the technicalities of a decentralized video game round. During this, I declared that as long as the majority of servers are reporting accurate data, t...