77 points · by aspenmayer · 6y ago · 157 comments
'what is actually crazy are modern game servers lacking even the most basic server side assertion logic(1) letting players FLY around the map, teleport, summon items, kill other players on the server at the press of a button, etc. Seen in all massive FPS games, for example Apex Legends, PUBG, Escape from Tarkov.'
I feel like I should share an inside opinion, but you will not like it. So please take it as an opinion and don't crucify me.
The Industry itself is mired in complexity, year on year we have to build bigger games, better and more complex games and we have diminishing amounts of budget (both in time and money) to do so. Failing to make something truly great will cause the next iteration to have even less budget and then you're dead.
When it comes to gameservers, which is actually something I understand very well[0] there are additional budgetary constraints. The cost of a player, playing the game is an eternal one. If you keep playing we only get the upfront game sale from you, so there's an incentive to keep the costs as low as possible.
NDA prohibits me from saying an exact number, but lets assume (and it's mostly true) that if you play a game for 3 months then we've lost money on you from server time alone, and we well optimise our servers. The more you put in for verification and detection, the more cost there is.
This is why when we originally talked about releasing the game we were intending to forego a PC release entirely, as consoles are barely affected by this, and when they are it's quite easy to detect comparatively.
[0]: you can see me talking about it here: https://youtu.be/d29tHMRJIU8?t=2060
Game companies took this away so that they could sell season passes, hats, shirts, and other cosmetic garbage.
This is a problem your industry created. So please spare us all the woe is me charade.
But go back 10-12 years; lets see what's available;
2008:
Battlefield: bad company. - no self-host option
GTA IV. - no self host option
Fallout 3 - no self host option.
Left for Dead 2 - downloadable server option, no official servers
--
I think your interpretation is very uncharitable.
The cost of making games has increased in a near exponential rate, regardless of if there's servers or not.
On a more personal note: I don't understand why everyone wants to eat the fancy cake but hate the baker for telling you what it took to make it.
And console games did not have server software 10-12 years ago so I think it's a bit unfair to claim that the move away from player-hosted servers was only done for monetary reasons.
I only play Valve games (CSGO, TF2, L4D2), so I don't know how true it is of other companies, but you can still run your own game servers. If anything, it's easier to do so now than it used to be. Few people do it, because the Valve-run servers are easier to interact with and they're good enough for what most people want.
The community tried to handle cheaters before, but they weren't good at it. It relied on admins being present, and put the onus on them to identify and kick/ban cheaters. In a large-enough active gaming community, admins were around often enough, but the best they could do was guess at who was cheating. Sure, the egregious cases were obvious, but there was rarely definitive proof, and people who were subtle could cheat without getting caught. Good players who didn't cheat were also the victim of constant accusations. I was banned from plenty of servers just for having a good night and winning.
I'm glad that anti-cheat software has gotten good enough that it works for casual play. It's rare that I see anything in CSGO these days that looks like cheating. Sure, it's out there, but it's not very common. On busy weekends as a server admin, I used to kick and ban dozens of people. On the public servers now, I might run into a couple suspicious people all weekend.
I don't see companies running servers as directly related. At least in these Valve games, I still get the marketing spam through the Steam client and in the games themselves, and I can still use all the cosmetic junk whether I'm playing on an official server or a private server.
It's better now.
The cost of making games has ballooned, which provides a context for the monetizing behaviour of publishers.
Wouldn't it be cheaper for you to provide some great server software, but people would have to host it themselves, like it was done years and years ago with games like Day of Defeat, Half life etc.
Or maybe I'm missing something - it's been a while since I played those type of games.
The primary reason companies do not follow the tried and true method of game design is that they can't extract money in the form of microtransactions or server rent if they provide the full game (including server).
It's more like Destiny, World of Warcraft or Diablo in that there are RPG elements, a grind for loot and the possibility to meet other players.
> I have to doubt this is a primary factor
Time and money are indeed a factor, micro transactions typically are used to continue "live services" of a game, and don't get counted towards recouping development costs. (at least in Ubisoft).
> if it were then developers would make more single player games
We can, and do, but sometimes to create the game you want other players involved. Imagine a NPC only For Honour or Rainbow Six: Siege.. that would be very boring.
> but everyone wants to make online games
Because there can be more interesting games than just "go here, kill boss, go here, loot thing", you can have genuinely unique experiences on every play through with online and networked games.
> with microtransactions
To cover the cost of the servers and staff required to update/fix the game, usually.
This is a complex one because people are so polarised by micro transactions. I (and incidentally, my studio) are convinced that they _MUST_ be optional, they can offer no advantage in game.
We used to have the policy that you must be able to earn that cosmetic with a realistic amount of in-game time (which is contradictory for us because more in-game time = less money, and obviously we "lost" the revenue of a player not buying it, but that goes without saying).
Given that we release buggy mess games, you might argue that we would need less micro transactions if we just did a good job in the first place, but obviously we try our best to make decent games. I think it's dangerously arrogant to assume that 60 developers working on engine and game server code are all less intelligent than you are- and there definitely isn't malice, most game developers are gamers themselves otherwise the complexity, stress and time spent would definitely not be worth it.
So I'm not sure why people are so outwardly hostile to game developers, the alternative is that we spend longer and charge more for games, but people don't like that either, so at some point the market has to make up it's mind about whether it can accept rushed products that have improvements year on year, no or marginal improvements year on year (ala Fifa, Call of Duty) or pay more.
There is no magic here, unless we bring back slavery.
Why is that? Online Gaming as a market is growing, how are budgets shrinking?
That is why there are monetisation options and special editions and, disgustingly: loot boxes.
Notably EA (which, gamers hate) is known inside the gaming industry as being quite competent and not as constrained on the time or financial budget, so they can throw more resources at things. But the ongoing cost of a server instance is still eternal and will eat your profits away in the future, so they focus on being p2p.
Rockstar has budget too, but they also don't have online games in their DNA yet, their development teams seem to still think of single player games. (based on a few conversations with their devs).
Unless it becomes a massive hit like Fortnite. It's going to be like startups where most lose money.
And online multiplayer constitutes one of the biggest falsehoods of all, since it has to pull some magic to synchronize an apparently similar, real-time experience across many computers, which leaves integral parts of the experience compromised. What's tested in competition, ordinarily, is your belief in your skills and likewise those of your opponent. When we play these games(and I still do play some of them), what's tested is more like a mixture of what you believe, what your opponents want to believe, and what the game code says you should believe.
The less authority you impose to regulate this belief - at any level, not just in the specific code for in-game results, but in terms of overall moderation, matchmaking, and QoS - the more flimsy the result is. What results from poor regulation is that player communities will behave dishonestly. Players left to their own devices are excellent at innovating new ways of gatekeeping, not just with cheating but with mutual agreements on playstyle and how to rank talent.
The industry isn't too concerned about this because, in the end, they have to make a product. I don't think it's the way to make sustainable products, though.
How much does it cost to run a server compared to a $3.00 hat? (which if you're valve you develop a secondary market to trade those items and take a cut after creating demand by restricting the number of earbuds available).
When you log into your bank's website, does it do action validation on the client side or the server side? Every few weeks there's some security bug that boils down to the server trusting the client when they shouldn't. And hackernews comments correctly boil that down to the devs were lazy and/or incompetent.
Games are no different. Sure, your industry has its own quirks and limitations. But trusting unverifiable user input... That's in the ten commandments, man.
Let me try to explain what I mean as simply as I can so that I can be sure I'm communicating what I want to say:
Games are complex and ever more complex and costly each year.
Verifying user input is expensive on the CPU of the remote side.
Servers are expensive, people have indicated they want to run one: one of our servers costs more than my monthly salary every month. Double if it's in the cloud.
So verification of the server side is not done for all things, some ray casting here and there for bullets, some bounds checks, but nothing like a defined absolute "you can _only_ do X,Y,Z" because that would be very very very expensive on CPU, because there's millions and billions of things you can do based on your current situation. And we have to trust that the actions you're sending that change your situation are true.
So we start tracking movements every frame, updating your state on the server and then suddenly there's incoming damage. We can see that you got hit, but on your screen you were in cover? who decides?
So now we have this exponential increase in "where people are" on the server, what is possible for them to do. Instead of just doing the raycasting on the bullet trajectory. (which is expensive, but not like "take 30s" expensive.
Synchronising state amongst all clients 240 times per second is very difficult, in fact, I assume you know computer science so you tell me how easy distributed systems are without trust of anything. It's pretty difficult to have quorum here.
Now do it for as many players as possible (say, 1.000), and you have 2 engineers for a year. Btw at the same time you need to make deployable health skills in-game, oh and support level design and also write AI for the NPCs (Civilian and 5 factions of combat).
Making games is complex, obscenely so, and everything that's done is a hack on a hack on a hack. Frankly I'm surprised they work.
To give context: we are roughly 10% of the engineering force that makes the browser dialog pop-ups on google.com. But we have code that is at least three orders of magnitude more complex and we had 2 years to make it.
I can say that I was well regarded in my profession before joining the gaming industry and I feel like the work I'm doing is significantly more complex than I was doing before, but that might be because I am lazy and incompetent.
That said, I'm pretty sure you know that Minecraft and AAA games are largely dissimilar.
Seems like the games industry has created or at least exacerbated this problem by making everything free to play (easy to make a new account if you get banned) and by removing dedicated servers (cost problem as you mentioned)
How inconsiderate from the gamers, maybe they should just buy the games and not play them.
I'm lucky to work for a company (that, yes, is still a company so wants to make profit): is more interested in continuing to make games than seeking great profits.
So for us, making a game that doesn't make money back isn't a bad thing, unless we make a game that doesn't make it's costs back and then we're risking the ability to continue making games. (cough Ghost Recon Breakpoint cough)
The truth of it is, most people don't play 3 months straight with no breaks, most people will play for a month, complete a campaign and then the player numbers will dwindle rapidly to the 20%~ mark.
But we put in monetisation strategies (skins, so forth) to carry the continued cost of the server instances forward. Hardcore players might buy some and that is enough to make them cost neutral or cost positive.
Ofc this does not eliminate aimbot or wallhacks, but it gets rid of pretty much all other forms of cheating.
[1] https://youtu.be/W3aieHjyNvw?t=1341 (Netcode talk starts at 22:22)
I never enjoy dying to a weapon that was never even fired, but that is the reality of Internet latency. The travel time of the projectile in the game is less than the travel time of the packet that says "the weapon was fired". So the game client gets that and before it can draw anything, gets another message that says "btw you died". Then you're dead to a weapon that was never even fired from your view. That sort of thing would never work for storing data to a database, but it works out okay in a fast-paced game. (I know this is not what you're talking about, but what you're talking about stems from needing to reduce latency, and this is meant to be a story about how that can be annoying even when people aren't synthesizing "hey I'm cheating!" packets.)
Having said that, I feel like the game industry decides that because some hacks are necessary, they're all necessary. Hearthstone is a card game and relies on the client for critical checks, and people hack the client to successfully cheat. It happened recently with a certain card that copies itself and costs 0. Obviously a strong combination. There is a limit to the number of cards you can play per turn, however, and so you couldn't really go infinite with this. The card takes a certain amount of time to play, and your turn is a fixed amount of time, and that bounds the blast radius of a combo like this. What people did, though, was just hack the client to skip animations. The server happily accepted this. That sort of hack is a real problem; the server should know how many cards you are allowed to play and just say "nope, not possible". The fact that that's missing is just a hack; why write the code if it's not needed? One day it is needed, though, and people get mad and stop playing your game.
It is a tough balance, and as someone who favors correctness and least surprise... I'm glad I don't work in the game industry. I would die. But people seem to be making money selling games, so perhaps my opinion is simply wrong.
The "P2P" games mentioned in the article are also not really P2P. Instead, one player gets to host the game, and a lot of logic runs on each client, as if it were an offline game session with trusted peers.. In a real P2P architecture players would cross validate each other.
And it's hilarous how game developers have shared conferences, but still haven't created an anti cheating association to share technology and banned player information for heuristics. Glad to see that Valve is offering its service to others at least.
Well, it is when you plug them into the network.
The peaks of online games are very high; when you get a team that’s cooperative and communicative it can be great. But the expected outcome is much much lower, especially when trolls and cheaters show up.
Single player games let me enjoy the experience without it being ruined by anything other than my relatively low skill level at the game in question. Also, I can buy games that are older and play them on weaker hardware to significantly reduce my cost of ownership, since there’s no penalty for playing single player games later.
They've added obfuscation, that's about it. Even one of the guys the author interviews admits it:
> “Last year, we spent time working on various measures to block cheat programs,” explains Taeseok Jang, executive producer of PUBG PC. “Most of these actions focused on blocking cheat program developers to make it more difficult for them to create these highly lucrative cheats.”
That obfuscation was probably a huge problem when PUBG initially started adding it, but so long as some bored high school kid has a pirated copy of IDA and a desire to prove themselves, that info is going to end up online. Each new obfuscation feature or anticheat detection becomes a challenge, and the results of that challenge being inevitably solved are inevitably posted in a public and high-visibility place for others to learn from and use.
All of this public information meant that creating a cheat for the game probably added around a month or two of work to adapt to the cheat prevention efforts, on top of the month or so that I spent looking for the actual in-game structures necessary to implement the radar I was going for. I already expected every hindrance I encountered when reversing the game and writing the tooling to interact with the game's process. It was still daunting, especially since I had never touched the windows kernel until this project, but ultimately when I ended up getting everything working it felt like I was just using the same techniques I used to use back in the day only with extra steps.
My takeaways for anyone interested in preventing videogames from being cheated in:
- Cheaters will eventually find a way, but you can always reduce the quantity and quality of them.
- All information on how to write a cheat for your game eventually ends up in public forums. Keep an eye on those and learn how most people are writing cheats and target those methods specifically.
- Obfuscation (new detentions, new anti-reversing measures, new countermeasures to cheating methods) buys you time in the immediate term and invalidates existing online information in the long term. They're like antibiotics--they increases the barrier to entry and pain factor of cheating only if you continue adding/changing it.
- Obfuscation will never be adequate to prevent cheating entirely. Human monitoring, ML, skill-based pairing, and full visibility & control over hardware the game is executing on are probably the next generation in terms of cheat prevention.> - Cheaters will eventually find a way, but you can always reduce the quantity and quality of them.
> - All information on how to write a cheat for your game eventually ends up in public forums. Keep an eye on those and learn how most people are writing cheats and target those methods specifically.
> - Obfuscation (new detentions, new anti-reversing measures, new countermeasures to cheating methods) buys you time in the immediate term and invalidates existing online information in the long term. They're like antibiotics--they increases the barrier to entry and pain factor of cheating only if you continue adding/changing it.
> - Obfuscation will never be adequate to prevent cheating entirely. Human monitoring, skill-based pairing, and full visibility & control over hardware the game is executing on are probably the next generation in terms of cheat prevention.
But I also wonder about competitiveness when it comes to people playing with others with better than average hardware.
Like someone who has a 240hz monitor and the performance to back it up versus someone with a low power slim laptop.
Then consoles could be considered a level playing field. Except for Pro variants of the console. And also there seems to be fancier controllers with extra buttons on the rear side.
Of course adding cheating to the mix. Personally I have no interest in playing online multiplayer games.
But that's just me.
For all but the highest ranks, it does not make much of an actual difference.
Most games have some sort of skill ceiling, or at least narrow bands of clustered players. Hardware will put you slightly above competitors of the same cluster, but will not by itself enable you to climb to the next cluster.
This is evident in cross-platform games, where in casual or non-professional competitive play, a good console player can still beat a slightly less good fully-geared PC player, despite the 30fps and controller "handicaps".
When you watch these cheaters play it is obvious. They laser everyone in the head. Number of kills, type of guns used, distance of kills, hit rate, head shot rate, distance traveled, etc, etc. Just look for consistent extreme outliers.
The basic checks trivially are easy to put in to place (kills past weapon range, warping, impossible movements etc) although someone has to do the grunt work (and make sure the checks are not invalidated by certain gameplay features).
Once you get in to things like head-shot rates it gets trickier to differentiate players with amazing hand-eye co-ordination and cheaters. The line is really really thin. Add in internet latency spikes and it gets even harder.
Some cheaters will use things like aim-bots to nudge their mouse inputs and give an advantage that is difficult to see even when watching them live on stream. Others will blatantly cheat, get detected and kicked within a few minutes (after ruining some people's experience), create a new account and repeat, multiple times an hour.
If the opposing team can distinguish between cheating and non-cheating, so can the admins; if they can't, what's the point?
Makes you wonder why the problem exists, then, doesn't it?
But being the pessimist I usually am, and reading about how the cheating business is apparently a multi million dollar market, I expect this to also not hold up forever. There's already AIs that can play doom and starcraft just by scraping the screen, so if people are willing to pay for cheating tools, they'd probably also be willing to attach stuff to their Google Stadia that captures the screen and simulates input.
And it will be again when the next generation comes out this year. This happens every console generation, in the last year cheating tools finally catch up.
A lot of so called online game are just basically client side modified version, how they are doing it would simply shock web devs.
The difficulty is balancing how much of the game runs on the client, how much on the server and how state is synchronized between clients and server. Oh and it needs to render a photorealistic world with 2km Draw distances at a constant 144Hz with no more than 50ms latency between a button press and the other players seeing the result of that press. The servers will be receiving hundreds of packets per second for each game instance, will potentially be hosting thousands of game instances and must cost at most a few cents per player hour.
Web devs shocked, really?
> The difficulty is balancing how much of the game runs on the client
However, it's important to have the mentality to build on the server by default. And try other optimization before give up to the client.
The reason that games are fighting this cheating surge is mostly due to the mindset is more "security bolt-on" in the game industry, instead of "security built-in" which you could see more in Web development.
Now we do have enough RAM, CPU cores and the capability of passing through the GPU to a VM.
There have been a few games whose obfuscation was effectively a different instruction set being run in a VM, and it does slow down hacking by a few months while people reverse engineer and retool. Can't remember names though.
How is it possible the same link can be submitted twice?
(And yes, it's quite random whether even a good submission ends up on the front page or not. But there's no point in complaining about it in the comments. Linking to earlier submissions mostly makes sense if there's interesting discussion there.)