logoalt Hacker News

emkoemkotoday at 4:43 AM4 repliesview on HN

why can't we prevent wall hacking by not sending packets of enemy players position if the user can't see them on their screen


Replies

yetihehetoday at 7:44 AM

Sometimes user can partially see them, game client would need that position. Then user can make a mod that flashes silhouette that just appeared behind a wall for a moment.

ChocolateGodtoday at 7:32 AM

You can do it to a degree (basic room detection), but it'll never be 100% accurate because of latency and compute cost, you have to give leeway.

gsichtoday at 10:06 AM

not a trivial solution.

lovichtoday at 5:00 AM

you run into some really difficult to solve issues when it comes to the gameplay loop, the graphics engine, and network latency trying to solve that unless you are playing some sort of turn based game where all data can be resolved before the next action