|
Crappy, but working way to detect lby breakers (no animations used)
note: im garbage at explaining things so like yeah This might be useless to some people, and very useful to others, who knows. (it was useful for me when i figured out how to do it?) So, most of you have probably seen the recent wave of “last moving lby” resolvers, which work against some cheats, dont work against some others. However there is a bit more you can do with this “last moving lby”. short explanation: you can get the delta between their first standing lby update & their last lby when lby = real to detect if a player has broken lby and at what delta it was broken. long explanation: Using a players last moving lby, or “last angle when lby was real angle”, you are able to detect when a player breaks their lby at most deltas. First, log lby whenever you know lby is at their real head (moving and other times i will talk about later). Then, for the first 2 seconds after movement has completely stopped (standing still), you wait for an lby update to occur. (you can log all lbys before this update occurs also as they havent broken yet since lby hasnt updated since moving) If an lby update happens, dont log this lby, instead check the delta from last logged lby and the updated lby. You can then check if this delta is greater than a specific number (i use 60 as almost all people who break, use delta > 60). If it is greater than that number, they probably are breaking lby, and if it is not, they are not, or they break delta is so little you can hit it by doing lby +-35. If they broke lby, you can log their delta and use it for later resolving. (lby + logged break delta) This isnt perfect, etc on people who afk / stand still all round, a get-around for this would be to store the servertime when you last logged that players lby. If its greater than 40 (they havent moved / not broken lby for 40 seconds) then do some bruteforce or something. Since im bad at explaining, heres how the code for this should look
hopefully someone will find this as useful as i did and i didnt just waste my time (i spent like 20 minutes trying to write an explanation that i didnt feel was horrible) |
|