this post was submitted on 27 Apr 2024
310 points (97.5% liked)

Gaming

19959 readers
5 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] ShortN0te@lemmy.ml 1 points 6 months ago* (last edited 6 months ago) (1 children)

You could use things like ray tracing to determine if one player can be seen by another on the serverside and only send packages when they can see.

But to resource heavy to do that.

Edit: Thinking about it, you simply have to render the whole map with all players server side and based on that determine which players can see each other and based on that send the information to the clients.

[–] huginn@feddit.it 0 points 6 months ago (1 children)

You do see why that's a serious issue right? Before the Server did nothing more than maintain a list of x,y,z coordinates of player positions. Now it's rendering the entire game space and doing 3d calculations.

That's several orders of magnitude more complex and costly.

[–] ShortN0te@lemmy.ml 1 points 6 months ago (1 children)

That's exactly what i said.

Still no reason to put a root kit on the customers PC.

[–] huginn@feddit.it 0 points 6 months ago

There's no way in hell you'll ever get a game company to agree to that. You're talking 100x the expense of running a server at a minimum.