r/GraphicsProgramming • u/Ricky_Gaming • Mar 04 '21
Question Server-side Occlusion Culling (CSGO anti-wallhack)
Hello,
There has been a lot of interest in the CSGO community around anti-wallhack solutions. Number of larger youtubers such as Sparkles have done videos on external ESP cheats.
https://www.youtube.com/watch?v=y-WsV14o5lc
As a community I think we should discuss possible ways to solve this problem and how best to approach it.
For several years SourceMod devs (Source engine plugin) used the built-in ray tracing method. The problem with this method was it always executed on the primary thread and would cause performance issues even with a small number of ray traces. As well this method has a number of limitations that caused bugs even on official maps.
https://github.com/Silenci0/SMAC/blob/master/addons/sourcemod/scripting/smac_wallhack.sp
More recently the below Corner Culling Source Engine method was developed as an extension to the Source Engine. This method required manual mapping out of each map which worked OK for official maps, but many community servers have a large range of maps.

https://github.com/87andrewh/CornerCullingSourceEngine
https://github.com/87andrewh/CornerCulling
Even official maps have breakable windows and doors like cs_assault and de_canals. This adds a decent amount of complexity to handle.

Other anti-wall hack solutions from other games have used GPU offloading but not many dedicated servers have GPUs for game server hosting. As well the processing power for that method would most likely not work for large free to play games like CSGO.
PVS could be another approach but the problem I see with this method would be too low precision and still giving the cheaters a decent advantage.
What are your thoughts on this matter and how should this be approached?
Also, any developers interested in developing a CSGO anti wall hack. Please reach out to me direct to me directly.
2
u/TheIneQuation Mar 05 '21
These guys seem to be very confident, though they use ray tracing, and I expect their solution to share the same problems as any other flavour of this idea. https://www.reddit.com/r/computergraphics/comments/lnvkp4/announcing_sauraytm_serverside_antiwallhack/