Sunucu tanitimi
csb-aimbot-detect / README.md
1 lines 1.6 KiB Markdown Source Rendered Raw Permalink History
<p><strong>CSB Aimbot Detection</strong> watches for the two things aim assistance does that humans cannot. Every frame it samples each alive player's view angle (<code>pev_v_angle</code> via fakemeta) and measures how far it moved in that single frame. When a kill lands on a frame where the view snapped more than <code>csb_aim_snapangle</code> degrees, a snap counter goes up; enough of those and the player is flagged. A second, independent signal is a sustained headshot ratio above <code>csb_aim_hsratio</code> percent over at least <code>csb_aim_minkills</code> kills. Suspects are logged with the exact evidence and online admins are alerted.</p><p><strong>This is a heuristic aid, not an auto-banner.</strong> It never kicks or bans on its own &mdash; false positives happen with flick-heavy legit players, so a human should always review the log evidence before acting.</p><h2>Features</h2><ul><li>Per-frame view-angle sampling with correct 180-degree wrap handling.</li><li>Impossible-snap counter tied to the killing frame.</li><li>Inhuman headshot-ratio signal with a minimum-sample guard.</li><li>Evidence written to the AMXX log; admins (<code>ADMIN_KICK</code>) alerted in chat.</li><li>Each player is flagged at most once to avoid alert spam.</li></ul><h2>Installation</h2><ol><li>Compile <code>csb_aimbot_detect.sma</code> and copy it to <code>addons/amxmodx/plugins/</code>.</li><li>Add it to <code>plugins.ini</code> and change the map.</li></ol><p>Treat every flag as a lead to review, not a verdict. Tune the thresholds to your player base before trusting them.</p>