News for hackers. Stuff that matters.
Re:Riot Games newest title “Valorant” installs kernel driver... by klodolph on Monday April 13, 2020 @10:37AM (#22856207)
For technical reasons this is infeasible for most modern games, especially action games like FPSs.

In general, the way a networked FPS works is by using the server as an authoritative source for information, but doing extrapolation on the client-side. This means that enemies which are not visible to a player must still be known by the client, since the camera and enemy may move into a position where the enemy is visible more quickly than the server can respond. So the client must know the location and velocity of some opponents which are otherwise not visible to the player (because they might become visible).

But, let’s suppose we solve latency problems, and don’t use client-side prediction.

You would need some perfect visibility algorithm for determining which opponents should be transmitted to each client. Those visibility algorithms make a tradeoff between accuracy and computational expense. They are conservative, because it is always an error to fail to draw something which is visible, but it is never an error to draw something which is occluded.

But, let’s suppose we solve visibility perfectly, and only transmit to clients the locations of models which are actually visible, and only the parts of those models which have pixels on-screen.

Consider an opponent hiding behind a wall, but with a small part of the opponent poking out. The game is going to need to draw that part poking out, but if you look inside the game’s memory, you can find that those textures and vertices belong to a model used by an opponent.

Beyond that—we are transmitting a video stream to the client. Basically, we can solve cheating if everyone uses Stadia.

Re:Riot Games newest title “Valorant” installs kernel driver... by rasz on Monday April 13, 2020 @10:57AM (#22856387)
You describe fancy advanced algorithms, meanwhile almost all mainstream FPS game servers happily accept client reporting arbitrary player position teleportation without the smallest of hitches. Not even the most basic server side validation.
Re:Riot Games newest title “Valorant” installs kernel driver... by thu2111 on Monday April 13, 2020 @12:52PM (#22857505)
I suspect that's because many games are targeted at consoles first, where the infrastructure prevents client modification or unauthenticated network connections, and see the PC platform as a second class citizen. They won't write tons of extra code to stop cheating when cheaters can't even log in to the game servers that matter for most of their players.
Re:Riot Games newest title “Valorant” installs kernel driver... by klodolph on Monday April 13, 2020 @11:15AM (#22856540)
That is irrelevant to the argument I was making.

Anyway, the “fancy advanced algorithms” are not really fancy or advanced. They are de rigueur in FPS games.

Re:Riot Games newest title “Valorant” installs kernel driver... by fulafel on Monday April 13, 2020 @12:58PM (#22857559)
I think the GP suggested modifying the game design as seen by the players, not trying to implement the same games by doing (impossibly?) clever things under the hood.