3 ms·
This technology will also be excellent for games. Right now, the server has to decide how it's going to break ties, and that results in confusing moments. For
by jrockway 8y ago
This technology will also be excellent for games. Right now, the server has to decide how it's going to break ties, and that results in confusing moments. For example, Overwatch favors the shooter, so you might see someone in a position to shoot you, use a defensive ability, and die even though you used it, because the server decides that if two events are close in time, the shooter wins. With a trusted time reference, you can actually order events from the perspective of the client instead of the server; so if you actually used that defensive ability before the shooter clicked the mouse, you don't die.
I actually think NTP might be good enough for this (despite what people say their reaction times are, milliseconds don't actually matter), but I guess game developers don't think of games as globally-distributed transaction processing systems (which is what they are, just a lot more write conflicts to resolve than your average database), and haven't experimented with ideas that are still only a few years old in that field. (The game industry also doesn't reward experimentation. If you're Google and you try to replace Bigtable with Spanner and it fails, it doesn't matter, you just keep using Bigtable. If you're a game company and your netcode is janky, you launch late, a competitor releases a similar game before you, and all the money you spent on development is gone.)
With games there is always the trust issue; can someone write a client that lies about the time they took an action? The answer is yes. But if we have technology that relies on similar client trust working in high-frequency trading, it should be safe enough for games. The stakes are a lot lower in a computer game than the financial markets. So I think good things are on their way.
- throwaway2048 8y agoYou still cant trust the client here, no matter how precisely synced your clocks are, because it could maliciously reorder events/tamper with time (always claim you activated first, with a certain fudge factor to prevent detection) and it would be undetectable within the bounds of internet latency.
- jrockway 8y agoI'm not completely convinced that cheating would not be detectable after aggregating some statistics over time. (Similar to how you can extract encryption keys from server processes, simply by timing how long certain operations take.)
- throwaway2048 8y agoThe problem is a statistical approach to anti cheat like that results in banning tons of innocent players, which is awful PR.