Hey, I'm a fresh college grad trying to get into the anti-cheat industry. This might sound kind of crass, but contributing to Xonotic sounded like a good way to hone my skills and improve my portfolio.
I hear that cheaters aren't a big problem in this game, but it doesn't hurt to be prepared. I think a good first order of business would be to improve culling / anti-wallhack / fog of war. I just started reading the codebase, so I could use a few pointers. Does anyone know a quick way to evaluate wallhacks--maybe a console command that reveals wireframes, an engine tweak that makes walls translucent, or just straight wallhack code? Also, I heard that you guys already have some culling code--I presume something quick and dirty with potentially visible sets? Does anyone know where that is?
Thanks for your help.
Update: I figured out how to make walls transparent. The PVS implementation is quite good because players move fast. I also found the culling code sv_main.SV_MarkWriteEntityStateToClient, but I'm having trouble reading it. I should be able to figure it out in a day or two, but it would be nice if someone could walk me through in a Discord call. Also, does anyone know how to make a bot that stands still? I can probably just remove a line in the bot code--asking just in case anyone knows off the top of their head.
Update: Figured out how to manipulate bots and launch a second client on https://gitlab.com/xonotic/xonotic/-/wik...mming-Tips.
I hear that cheaters aren't a big problem in this game, but it doesn't hurt to be prepared. I think a good first order of business would be to improve culling / anti-wallhack / fog of war. I just started reading the codebase, so I could use a few pointers. Does anyone know a quick way to evaluate wallhacks--maybe a console command that reveals wireframes, an engine tweak that makes walls translucent, or just straight wallhack code? Also, I heard that you guys already have some culling code--I presume something quick and dirty with potentially visible sets? Does anyone know where that is?
Thanks for your help.
Update: I figured out how to make walls transparent. The PVS implementation is quite good because players move fast. I also found the culling code sv_main.SV_MarkWriteEntityStateToClient, but I'm having trouble reading it. I should be able to figure it out in a day or two, but it would be nice if someone could walk me through in a Discord call. Also, does anyone know how to make a bot that stands still? I can probably just remove a line in the bot code--asking just in case anyone knows off the top of their head.
Update: Figured out how to manipulate bots and launch a second client on https://gitlab.com/xonotic/xonotic/-/wik...mming-Tips.