For detection of an attack in progress. Detects when players drop during a round.
This addon is being coded for admins to use to detect attacks by ingame clients on their server by detecting when players drop during a round. Logs to the sourcemod log file. Admins can also request up to the last 64 attacks to be printed to their console. The addon is designed to let admins know who was on when a large number of players dropped, providing useful player data such as players names, their ip address and their steam id.
PHP Code:
Code: Select all
Sample Printout:
Possible Attack Detected
Players:10
Time:2015-12-02 06:23:43 PM
Bob 222.152.165.228 STEAM_1:0:5588095 United States Timed Out
The_Suspect 121.108.148.60 STEAM_1:0:132698 France Connected
Marc 101.10.124.159 STEAM_1:1:4973375 England Connected
Joe 115.64.44.15 STEAM_1:0:9682965 United States Dropped
Nonce 14.203.140.38 STEAM_1:1:4863981 United States Connected
Dangerzone 118.28.202.17 STEAM_1:0:2734860 Australia Dropped
Flashbro 124.89.158.17 STEAM_1:1:12136643 Australia Dropped
Nomcakes 124.69.11.247 STEAM_1:1:8640999 England Dropped
Rogerdat 21.252.57.102 STEAM_1:1:2944526 United States Dropped
Red 202.164.125.42 STEAM_1:0:13313944 England Connected
sm_simplecsgoattackfinder_trigger - Number of players lost in a single round to consider as a possible attack. - Default:8 (Setting to -1 logs all players each round.)
Admin console commands:
simplecsgoattackfinder - Outputs the attack log to the admins console
Attached Files
File Type: sp Get Plugin or Get Source simplecsgoattackfinder.sp
Source AlliedModders