by MattieTK · 5y ago · 0 comments
Of course none of that has happened and Google folded their games studio, which is par for them, but does go some way to reinforcing this point that there's a reason this stuff isn't done.
The hard part is dealing with 300 players communicating simultaneously with random delays and state changes, in an environment that doesn’t really handle delays very well (a text chat can be 10s late and no one cares. A character moving can only be a frames late before interpolation becomes obvious, and you start teleporting people around). And tracking the state changes across users and passing them around tends to add up, causing further delays.
Of course, you could always change the game model itself too. RuneScape & Maplestory trivially enabled large groups of players simultaneously (pretty sure you could easily find places with 200+ players visible and active). Runescape was basically turn-based and ran like 1 turn a second, so much larger room for delays. Maplestory capped actual active play to relatively few players, but enabled large quantities in towns acting as glorified visual chat rooms — which solved 90% of the feeling of being in a large community. The Maplestory strategy I think nearly every MMO implements.
actually, runescape still has 0.6 sec ticks. it has become part of the meta-game to input commands at exactly 0.6 second intervals for optimal efficiency, and is basically mandatory for high-level pvp combat.
https://oldschool.runescape.wiki/w/Tick_manipulation https://runescape.wiki/w/Tick_manipulation
We know this because what this game is trying to do is done already a long time ago. It's a description of the original vision for Second Life. In fact Second Life was explicitly an attempt to create "the metaverse", with all user-generated content. Linden Labs used to write about the challenges they faced in making that vision real so we have a good idea of where the challenges really lie, or at least did 10-15 years ago.
First problem: physics. LL sharded their world, which was indeed infinite. The problem is each shard required its own dedicated high end server, which made "land" extremely expensive. Amazingly, people bought it anyway, LL developed a small but extremely rich customer base who were willing to literally rent high end (what would be today) cloud VMs just to have a very small space to call their own online. For a brief period it was also trendy for companies to open up spaces in Second Life.
The reason land was so expensive was that physics (collision detection and movement, mostly) required the server to constantly iterate every object within the zone and the calculations scaled with number of objects. Shutting down physics when nobody was there also wasn't possible because the metaverse concept implied allowing arbitrary scripting, and scripts frequently expected the world to keep running even if nobody was there. The answer in SL to "if a tree falls and nobody is around to hear it, does it make a sound" was a resounding yes.
The second big problem they faced was that user generated 3D content was extremely un-optimized. The biggest complaint users had about SL was always performance. Eventually they gave up promising to improve it and came clean with the userbase: SL was slow and always would be because users kept making slow content. In particular SL was set mostly outdoors, and even when indoors, people loved doing things like creating semi-transparent windows. The ability for any object to change at any moment (users created content in-game) also implied they couldn't use all the "baking" techniques professional games use to optimize rendering. So the rendering algorithms had to be very primitive, and there was lots of overdraw, so SL really chugged even when drawing scenes that looked very basic compared to what high end games could do. And of course hobbyist metaverse users are not pro grade 3D artists so they tended to make a lot of ugly stuff anyway.
So syncing player data was certainly a sub-challenge, but compared to the difficulties posed by cost effective sharded physics and totally un-optimizable 3D scenes, it wasn't that big a deal.
Why can't you just send the new position of other visible players, and then client-side play those characters' walking animations to the new position from their current (client-side) position? Unless the accuracy of another player's targeting is relevant why is there a problem with their position always being delayed by, say, a second?
No true server source of truth, no common sense packet parsing, just sand castles and cheats allowing you to fly around and spawn items.