312
submitted 4 months ago by ylai@lemmy.ml to c/gaming@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] huginn@feddit.it -2 points 4 months ago

So you're going to take all the places a character could be in the next 200ms, do Ray casting on all of them and send that data to the server to check every 17ms?

While the server also does that for 15 other players at the same time.

Do you know what algorithmic complexity is? Big O notation? If so - that's a n³ * 15m³ problem space that you're expanding out across 200ms every 17ms, where n is player locations possible in x/y/z and m is the other players locations. Physics collisions are usually the biggest drain on a computer's cycles in game and in the worst case that's n² complexity.

You're talking insanely taxing here.

[-] ProgrammingSocks@pawb.social 2 points 4 months ago

It's mainly client side not server side. I'm not typing out an essay for you about a random ass idea I had one day on a forum.

[-] huginn@feddit.it -2 points 4 months ago

I'm just baffled by the idea. No need to defend it though, this is all arbitrary anyways. It's not like anyone is going to do this.

[-] ProgrammingSocks@pawb.social 1 points 4 months ago

True, I'm of the belief that gaming companies aren't too fussed about cheaters if they're bringing money in some way.

this post was submitted on 27 Apr 2024
312 points (97.6% liked)

Gaming

19732 readers
75 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS