So my game uses streaming enabled, and for some reason players randomly go invisible, and sometimes they just dont load. This is in a 40 player server. Also I don’t know if this contributes to the issue, but for each player in a match, their position is being tracked 60 times a second for hitbox extending anti-cheat.
I haven’t tried any solutions yet because it’s difficult for my to figure out what the exact cause is, since I’m not getting any errors either, other than infinite yields from the characters not loading.
Hey! I would start by seeing if it has to do with the positions of the character or some rendering issue. Also see if you can replicate it or it only happens in servers with 40 players.
it only happens with the maxed out servers, the ones with less players don’t have this issue. Also I’m gonna restart our servers with tracking positions 8 times a second instead of 60 to see if that improves performance.
If the anti cheat is only for hitbox purposes, wouldn’t it be more efficient to only check the position when a player actually hits someone? Checking every frame for 40 people seems a bit intense
Sounds like a few simple tests will tell the tale. Never understand why everyone thinks checking anything 60 times a seconds is the way to go. I’d check that stuff like every 15 seconds making sure everyone is on different timing so it don’t all hit at the same time. To me every 15 seconds sounds a bit crazy even. I want to build a game, not a anti cheat machine. If it’s that bad well …
hahaha, yeah I was tryna turn the game into an anti cheat machine. but now I’m learning why some things shouldn’t be done. also I chose 60 times a second because it made hitbox extension anti cheat really accurate, but it takes up too much performance, so i’m gonna decrease it
alright so i tired this, and the problem with this is that it’s completely exploitable, and there’s multiple things an exploiter can use this for to gain an advantage specifically in our game. it was cool to try it out, but I’m not sure how I can use this safely
honestly just do .Size on client and send it over to the server, compare the sizes. This has accounted for like 95% of the anticheat bans on Typical Colors 2 in the recent month. Most cheaters just use generic hitbox expanders that modify the size directly.
People have to make a script for that bypass per game. Most hitbox expander users (aka kids) use generic ones and instantly get banned. I suggest not bothering over engineering such an anticheat until cheating being a huge issue.
Unless you truely want to learn about it, go ahead. But you will pick up tech debt early.
This simple check being 95% of our anticheat bans pretty much stands on its own. Just do it, most cheaters are just children downloading the basic cheats.
Alright first I wanna say I fixed the original issue this post was created for, players going invisible, by turning off streaming enabled and using other tactics to hide maps and whatever.
About your hitbox extending anti cheat method, I don’t rely on client info, that’s why I track positions on the server under one heartbeat loop, which works pretty well.
I will add client anti cheat just for the average skid who doesn’t know what they’re doing, and for the fun of it, with expectations that someone who knows what they’re doing will just hook the events. Like all things I do, ima be doing this as an experiment as well because it’s worth a shot.