[WIP] Third Method of Rage AA Detector#182
[WIP] Third Method of Rage AA Detector#182BlackYuzia wants to merge 4 commits intoBeepIsla:masterfrom
Conversation
Merge from master
Sync Master Branch with Original Repo
Third method (hope he is work correctly) for detect AA.
|
Call me a Developer of methods 👀 |
|
Oh yep. This PR should fix #158 with rage AA detects issue. |
| const currentWeaponIsGrenade = () => { | ||
| const weapons = [ | ||
| "weapon_hegrenade", | ||
| "weapon_flashbang", | ||
| "weapon_smokegrenade", | ||
| "weapon_decoy", | ||
| ]; | ||
|
|
||
| return weapons.includes(weapon); | ||
| }; |
There was a problem hiding this comment.
What about molotoves for T and CT? (weapon_molotov and weapon_incgrenade respectively)
There was a problem hiding this comment.
I will add this, ok.
(Actualy, this is not critical)
| const m_nDuckTimeMsecs = this.parent.suspectPlayer.getProp("DT_Local", "m_nDuckTimeMsecs"); | ||
| const m_nJumpTimeMsecs = this.parent.suspectPlayer.getProp("DT_Local", "m_nJumpTimeMsecs"); | ||
| const m_flLastDuckTime = this.parent.suspectPlayer.getProp("DT_Local", "m_flLastDuckTime"); | ||
| // const m_bIsMoving = null;//this.parent.suspectPlayer.getProp("DT_AI_BaseNPC", "m_bIsMoving"); // ! don't work |
There was a problem hiding this comment.
Likely because this is only for bots and not for humans? You can still check if a human is moving by just checking their velocity I guess
There was a problem hiding this comment.
I will try this, thx :3
I am waiting for demos.... #161 (comment) |
|
Pls add a threshold for an automatic verdict on AA: how much was AIM and how much WH was (for example* >=10 aim + >=5WH) . |
don't punch me :d
Why did I create a PR with semi-finished (I mean dirty) code?
I want to get attention and finish the tests.
I made these changes a month ago. But so far no one has finished the tests.
General
So, this PR should fix AA detector.
In current method I was normalize angles (so this may work correctly)
Tasks:
About merging: DO NOT DO THAT WITHOUT 100% TESTS.
I was complete some tests. They say - cheaters would be detect by using rage AA in 8 cases of 10.
But we should complete more test. I want found did this method can have false positive or not and etc.
Tests tasks
I was check 3-5 demos (don't remember how many actualy) with 1-5 rage cheaters per demo.
Some code in PR (like this or this etc should be removed or decrease)