Firestorm
07-08-2006, 11:56 AM
DoD Block Exploits
- Version 2.1
- 06.04.2007
- original: FireStorm
- updates: diamond-optic
Credits:
- FireStorm: original DoD Block Exploits (v1.3)
- Anthrax & DarkSnow: basis of setinfo check
- TatsuSaisei: lots of help on new logging method
Information:
Contains blocks/detection/fixes for the following:
- connecting client team fix
* connecting clients should now show as spectators instead of appearing on a team
- fullupdate command block
* blocks a command that can be used as an 'exploit' in some plugins.
logging is off by default because the command appears to also
be called when a client starts to record a demo
- non-deployed MG reload
* blocks & detects when clients attempt an exploit that will
allow them to reload an MG without having to deploy it first
- pistol zoom block
* blocks the exploit/bug where clients can zoom in with their pistol
- respawn timer bypass
* blocks & detects when clients try to bypass the respawn delay
- setinfo cheat traces
* scans a clients setinfo data when they join. Some known cheats
add specific traceable keys to a players setinfo when they run them.
a detection doesnt mean 100% that they are cheating, but the chances
are likely that they are. it also means that they at least installed
and ran the specific cheat at some point in the past
- spectator duck bug fix
* fix for the bug where sometimes when you die crouched, you have to
press crouch again afterwards to get out of the spectator 'option'
mode and whatnot
- spectator killing
* blocks & detects when clients attempt to use the exploit that will
allow them to be a 'spectator' and still kill people.
* this is fixed according to the dod change log from 08.24.05, but you
can still detect when a player attempts to use this exploit
- steam id pending
* checks a clients steam id when they join, if it returns a value of
STEAM_ID_PENDING, it waits 60 seconds and checks the steam id again,
if the clients steam id still hasnt been auth'd it triggers this detection
- third-person view fix
* fixes a possible bug on player connect that allows players to be
be in third-person view, which allows you to easily see around corners
- white player model
* blocks & detects when clients attempt to use the exploit that makes
their player model all white
Logs will be created daily in: addons/amxmodx/logs/dod_blockexploits/Installation:
- you should put this close to the top of your plugins.ini file, such as
putting it underneath all the default plugins but before third-party
plugins works very well. Otherwise some third-party plugins might hook
something before this plugin gets to block it.CVARs:
// Warning Message
dod_blockexploits_warnmsg "...Exploits/Cheats/Bugs are not welcome here!"
// AMXBans
dod_blockexploits_amxbans "0" // Use AMXBans
// 0 = off
// 1 = on
// Spectator Killing CVARs
dod_blockexploits_speckilling "2" // Spectator Killing action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_speckilling_log "1" // Log Spectator Killing detections
// 0 = off
// 1 = on
dod_blockexploits_speckilling_ban "60" // Spectator Killing ban time in minutes (if set to ban)
// White Player Model CVARs
dod_blockexploits_whitemodel "2" // White Player Model action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_whitemodel_log "1" // Log White Player Model detections
// 0 = off
// 1 = on
dod_blockexploits_whitemodel_ban "60" // White Player Model ban time in minutes (if set to ban)
// Respawn Timer Bypass CVARs
dod_blockexploits_respawntimer "0" // Respawn Timer Bypass action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_respawntimer_delay","15" // Respawn Timer Bypass delay (in seconds)
// This controls the amount of time
// before the client can rejoin a team.
// 15seconds is the default dod spawn time
// but you might want to increase it to
// make it more of a punishment for trying.
dod_blockexploits_respawntimer_log "0 // Log Respawn Timer Bypass detections
// 0 = off
// 1 = on
dod_blockexploits_respawntimer_ban "5" // Respawn Timer Bypass ban time in minutes (if set to ban)
// Non-Deployed MG Reload CVARs
dod_blockexploits_mgreload "1" // Non-Deployed MG Reload action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_mgreload_log "1" // Log Non-Deployed MG Reload detections
// 0 = off
// 1 = on
dod_blockexploits_mgreload_ban "60" // Non-Deployed MG Reload ban time in minutes (if set to ban)
// Setinfo Traces CVARs
dod_blockexploits_setinfo "1" // Setinfo Traces action
// 0 = do nothing
// 1 = show warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_setinfo_log "1" // Log Setinfo Traces detections
// 0 = off
// 1 = on
dod_blockexploits_setinfo_ban "180" // Setinfo Traces ban time in minutes (if set to ban)
// Steam ID Pending CVARs
dod_blockexploits_idpending "2" // Steam ID Pending action
// 0 = do nothing
// 1 = show warning msg
// 2 = kick
dod_blockexploits_idpending_log "1" // Log Steam ID Pending detections
// 0 = off
// 1 = on
// FullUpdate Block CVAR
dod_blockexploits_fullupdate_log "0" // Log FullUpdate detections
// 0 = off
// 1 = on
Change Log:
- 12.26.06 - Version 1.4
added public tracking cvar
replaced some if statements with switches
fixed mistake in respawn timer handling
cleaned up code a bit
- 05.28.07 - Version 2.0
Rewrote almost everything...
Added fix for spectator duck bug
Added fix for connecting players showing up on a team
Added check for cheat traces in setinfo lines
Added Steam ID Pending check
Added FullUpdate block
Logs are now daily and in their own folder
- 06.04.07 - Version 2.1
Fixed banning function.. stupid me :PDownload URL: http://www.avamods.com/download.php?view.154
* if you need it compiled for a different AMXX version other then the latest (currently 1.76d) please request it and I'll attempt to get it posted for you, but be warned.. the plugin may or may not work properly on any previous AMXX version *
- Version 2.1
- 06.04.2007
- original: FireStorm
- updates: diamond-optic
Credits:
- FireStorm: original DoD Block Exploits (v1.3)
- Anthrax & DarkSnow: basis of setinfo check
- TatsuSaisei: lots of help on new logging method
Information:
Contains blocks/detection/fixes for the following:
- connecting client team fix
* connecting clients should now show as spectators instead of appearing on a team
- fullupdate command block
* blocks a command that can be used as an 'exploit' in some plugins.
logging is off by default because the command appears to also
be called when a client starts to record a demo
- non-deployed MG reload
* blocks & detects when clients attempt an exploit that will
allow them to reload an MG without having to deploy it first
- pistol zoom block
* blocks the exploit/bug where clients can zoom in with their pistol
- respawn timer bypass
* blocks & detects when clients try to bypass the respawn delay
- setinfo cheat traces
* scans a clients setinfo data when they join. Some known cheats
add specific traceable keys to a players setinfo when they run them.
a detection doesnt mean 100% that they are cheating, but the chances
are likely that they are. it also means that they at least installed
and ran the specific cheat at some point in the past
- spectator duck bug fix
* fix for the bug where sometimes when you die crouched, you have to
press crouch again afterwards to get out of the spectator 'option'
mode and whatnot
- spectator killing
* blocks & detects when clients attempt to use the exploit that will
allow them to be a 'spectator' and still kill people.
* this is fixed according to the dod change log from 08.24.05, but you
can still detect when a player attempts to use this exploit
- steam id pending
* checks a clients steam id when they join, if it returns a value of
STEAM_ID_PENDING, it waits 60 seconds and checks the steam id again,
if the clients steam id still hasnt been auth'd it triggers this detection
- third-person view fix
* fixes a possible bug on player connect that allows players to be
be in third-person view, which allows you to easily see around corners
- white player model
* blocks & detects when clients attempt to use the exploit that makes
their player model all white
Logs will be created daily in: addons/amxmodx/logs/dod_blockexploits/Installation:
- you should put this close to the top of your plugins.ini file, such as
putting it underneath all the default plugins but before third-party
plugins works very well. Otherwise some third-party plugins might hook
something before this plugin gets to block it.CVARs:
// Warning Message
dod_blockexploits_warnmsg "...Exploits/Cheats/Bugs are not welcome here!"
// AMXBans
dod_blockexploits_amxbans "0" // Use AMXBans
// 0 = off
// 1 = on
// Spectator Killing CVARs
dod_blockexploits_speckilling "2" // Spectator Killing action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_speckilling_log "1" // Log Spectator Killing detections
// 0 = off
// 1 = on
dod_blockexploits_speckilling_ban "60" // Spectator Killing ban time in minutes (if set to ban)
// White Player Model CVARs
dod_blockexploits_whitemodel "2" // White Player Model action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_whitemodel_log "1" // Log White Player Model detections
// 0 = off
// 1 = on
dod_blockexploits_whitemodel_ban "60" // White Player Model ban time in minutes (if set to ban)
// Respawn Timer Bypass CVARs
dod_blockexploits_respawntimer "0" // Respawn Timer Bypass action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_respawntimer_delay","15" // Respawn Timer Bypass delay (in seconds)
// This controls the amount of time
// before the client can rejoin a team.
// 15seconds is the default dod spawn time
// but you might want to increase it to
// make it more of a punishment for trying.
dod_blockexploits_respawntimer_log "0 // Log Respawn Timer Bypass detections
// 0 = off
// 1 = on
dod_blockexploits_respawntimer_ban "5" // Respawn Timer Bypass ban time in minutes (if set to ban)
// Non-Deployed MG Reload CVARs
dod_blockexploits_mgreload "1" // Non-Deployed MG Reload action
// 0 = silently block
// 1 = block w/ warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_mgreload_log "1" // Log Non-Deployed MG Reload detections
// 0 = off
// 1 = on
dod_blockexploits_mgreload_ban "60" // Non-Deployed MG Reload ban time in minutes (if set to ban)
// Setinfo Traces CVARs
dod_blockexploits_setinfo "1" // Setinfo Traces action
// 0 = do nothing
// 1 = show warning msg
// 2 = kick
// 3 = ban
dod_blockexploits_setinfo_log "1" // Log Setinfo Traces detections
// 0 = off
// 1 = on
dod_blockexploits_setinfo_ban "180" // Setinfo Traces ban time in minutes (if set to ban)
// Steam ID Pending CVARs
dod_blockexploits_idpending "2" // Steam ID Pending action
// 0 = do nothing
// 1 = show warning msg
// 2 = kick
dod_blockexploits_idpending_log "1" // Log Steam ID Pending detections
// 0 = off
// 1 = on
// FullUpdate Block CVAR
dod_blockexploits_fullupdate_log "0" // Log FullUpdate detections
// 0 = off
// 1 = on
Change Log:
- 12.26.06 - Version 1.4
added public tracking cvar
replaced some if statements with switches
fixed mistake in respawn timer handling
cleaned up code a bit
- 05.28.07 - Version 2.0
Rewrote almost everything...
Added fix for spectator duck bug
Added fix for connecting players showing up on a team
Added check for cheat traces in setinfo lines
Added Steam ID Pending check
Added FullUpdate block
Logs are now daily and in their own folder
- 06.04.07 - Version 2.1
Fixed banning function.. stupid me :PDownload URL: http://www.avamods.com/download.php?view.154
* if you need it compiled for a different AMXX version other then the latest (currently 1.76d) please request it and I'll attempt to get it posted for you, but be warned.. the plugin may or may not work properly on any previous AMXX version *