Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[NEED HELP] Hey, I'm a (new dev?) trying to improve anti-cheat

#1
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.
Reply

#2
I took a lot of ML classes in college. I'd have to find a way to get enough good data, but I could do the modeling without much trouble. Haven't heard of Fritt's law, so thanks for the pointer!
Reply

#3
This may not come as a surprise to many veterans here, but I just realized that my demo (i.e. recording) files only has the data I am able to see, i.e. if somebody is behind the wall, the information I'm not supposed to see is not recorded in demo, so my opponents will sometimes disappear, even when I set my camera from the other side (when viewing the demo).

I suspect the information is held back by the server so hacking the client's walls won't help, but I may be wrong.
Reply

#4
(06-04-2020, 04:40 PM)BuddyFriendGuy Wrote: This may not come as a surprise to many veterans here, but I just realized that my demo (i.e. recording) files only has the data I am able to see, i.e. if somebody is behind the wall, the information I'm not supposed to see is not recorded in demo, so my opponents will sometimes disappear, even when I set my camera from the other side (when viewing the demo).

I suspect the information is held back by the server so hacking the client's walls won't help, but I may be wrong.

Yeah, the server filters which players it sends you based on what it thinks you can see (assuming the map was compiled properly).
[Image: 177750.jpg]

server: "Casual Votable [git]" @ 86.20.19.109:26000
discord: Gibson#3668
quakenet: Gibson (#xonotic, #xonotic.pickup)
Reply

#5
@Quantum - If you're interested in building a model, I could arrange to get you a dataset from our telemetry. I store it all in our stats database for easy retrieval. Example data can be seen in the "e anticheat*" events here. You'd have to look in the codebase for their origin, though. I'm just the storage man!
asyyy^ | are you releated to chuck norris?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Hey hey :) Azergothil1 4 2,535 04-02-2020, 04:02 AM
Last Post: FAF
  Hey! Gibson 4 3,246 02-20-2020, 07:34 AM
Last Post: Draena
Smile Hey hey! Zoommair 3 3,028 01-19-2019, 04:29 AM
Last Post: Aguaumreal
  hey what's up aa 5 3,616 08-21-2018, 02:53 PM
Last Post: aa
Wink Oh Hey, I'm Xator, I'd like to Introduce myself Xator 5 4,924 01-01-2017, 04:46 AM
Last Post: end user
  New to xonotic, not new to Canada! Snollygoster 10 6,661 06-30-2016, 03:26 PM
Last Post: Beagle
  Hey! qwertyuiop924 6 5,493 04-28-2016, 04:08 AM
Last Post: Maddin
  Hey there guys! Tattorack 4 4,672 01-16-2016, 05:48 AM
Last Post: Smilecythe
  Hey, I'm LDDestroier! LDDestroier 6 4,883 10-15-2015, 02:04 PM
Last Post: Beagle
  Hey! daninjadude 5 11,199 06-21-2015, 11:41 PM
Last Post: cefiar

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-