Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › DoD Plugins › Test Plugins › Old › DoD Block Exploits (v3.0 Beta 1)
16 posts, 4 people · 27,065 views Thread Rating: ★★★★★
closedDoD Block Exploits (v3.0 Beta 1)
Started by diamond-optic on 03-10-2008, 03:54 PM
diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-10-2008, 03:54 PM #1

DoD Block Exploitsn- Version 3.0 Beta 1n- 03.10.2008n- original: FireStormn- updates: diamond-opticnnnBETA INFORMATION:n

nThe purpose of this beta is to allow greater testingnprior to the 'final' release of this version. As thisntime I would really prefer to solve any problems andnbugs before I say that this new version is officiallynfinishednnThere is also a few things that I'm still working onnimplementing that I would like to finish up prior tonthe final release and this gives me more time to worknon that stuff while still letting server admins runnthe new version on their serversnn** NOTE **n..with this new version, a lot of changes have been made,nso therefor you should redo any customization to CVAR valuesnthat you had made with the previous 2.x versions and you willnalso need to use the new .ini file as welln
Credits:n
n- FireStorm: original DoD Block Exploits (v1.3)n- Gray Death: spectator fixn- Anthrax & DarkSnow: basis of setinfo checkn- TatsuSaisei: lots of help on the logging methodn- ucubed: decals thru walls client cvarn- WARDOG: voice chat name spoofing exploitn- VEN: error loggingn
Information:n
nContains the following blocks/detection/fixes/etc:nn- fullupdate command blockn    * blocks a command that can be used as an 'exploit' in many pluginsn    * can also prevent an attempt to flood the servernn- pistol zoom blockn    * blocks the exploit/bug where clients can zoom in with their pistol,n      at least most of the time, still happens on a rare occasionnn- spectator duck bug fixn    * fix for the bug where sometimes when you die crouched, you have ton      press crouch again afterwards to get out of the spectator 'option'n      mode and whatnotnn- decals thru wallsn    * theres a client cvar that can be set to allow players to see decalsn      (as in blood, bullet marks, explosions, etc) thru walls. This willn      lock that cvar at the default value.nn- third-person view fixn    * fixes a bug on player connect that allows players to be inn      third-person view, which allows you to easily see around cornersnn- connecting client team fixn    * connecting clients should now show as spectators insteadn      of appearing on a teamnn- steam id pendingn    * checks a clients steam id when they join, if it returns a value ofn      STEAM_ID_PENDING, it waits 60 seconds and checks the steam id again,n      if the steam id still hasnt been auth'd it triggers this detectionnn- setinfo cheat tracesn    * scans a clients setinfo data when they join. Some known cheatsn      add specific traceable keys to a players setinfo when they run them.n      a detection doesnt mean 100% that they are cheating, but the chancesn      are likely that they are. it also means that they at the very leastn      used the specific cheat in the past and didnt clean up after itnn- spectator killingn    * blocks & detects when clients attempt to use the exploit that willn      allow them to be a 'spectator' and still kill people.n    * this is fixed according to the dod change log from 08.24.05, but youn      can still detect when a player attempts to use this exploitnn- white player modeln    * blocks & detects when clients attempt to use the exploit thatn      makes their player model all whitenn- undeployed mg reloadn    * blocks & detects when clients attempt an exploit that willn      allow them to reload an MG without having to deploy it firstnn- respawn timer bypassn    * blocks & detects when clients try to bypass the respawn delaynn- class limit bypass / white modeln    * there's a way to use the VGUI class selection menu to gain accessn      to a class that is full/turned off (mainly axis sniper)n    * a player using this exploit also spawns with a white player modelnn- voice chat name spoofingn    * clients can abuse certain characters to hide who they are, or ton      spoof their name as someone else on the server while using voice chat.n    * this block will stop clients from using voice chat if their name is an      single illegal character, or if it contains more then the cvar value.n
CVARs (amxx.cfg):n
n/////////////////////////////////////////nndod_blockexploits_adminflag "c"        // Sets the admin level used by the pluginnn/////////////////////////////////////////nn// Warning Messagendod_blockexploits_warnmsg "...Exploits/Cheats/Bugs are not welcome here!"nndod_blockexploits_warnwho "2"        // Who get warnedn                                     // 0 = nobody gets warnedn                                     // 1 = guilty client onlyn                                     // 2 = guilty client & adminsn                                     // 3 = admins onlyn                                     // 4 = all clientsnn/////////////////////////////////////////nn// AMXBansndod_blockexploits_amxbans "0"        // Use AMXBansn                                     // 0 = offn                                     // 1 = onnn/////////////////////////////////////////nn// Third Person View Blockndod_blockexploits_thirdperson "1"    // Third Person View Settingn                                     // 0 = Disable Blockingn                                     // 1 = Enable Blockingnn/////////////////////////////////////////nn// Steam ID Pending CVARsndod_blockexploits_idpending "1"      // Steam ID Pending actionn                                     // 0 = do nothingn                                     // 1 = show warning msgn                                     // 2 = kicknndod_blockexploits_idpending_log "1"    // Log Steam ID Pending detectionsn                                       // 0 = offn                                       // 1 = onnn/////////////////////////////////////////nn// Setinfo Traces CVARsndod_blockexploits_setinfo "3"        // Setinfo Traces actionn                                     // 0 = do nothingn                                     // 1 = show warning msgn                                     // 2 = kickn                                     // 3 = bannndod_blockexploits_setinfo_log "1"    // Log Setinfo Traces detectionsn                                     // 0 = offn                                     // 1 = onnndod_blockexploits_setinfo_ban "180"    // Setinfo Traces ban time in minutes (if set to ban)nn/////////////////////////////////////////nn// Spectator Killing CVARsndod_blockexploits_speckilling "3"    // Spectator Killing actionn                                     // 0 = do nothingn                                     // 1 = silently blockn                                     // 2 = block with warning msgn                                     // 3 = kickn                                     // 4 = bannndod_blockexploits_speckilling_log "1"    // Log Spectator Killing detectionsn                                         // 0 = offn                                         // 1 = onnndod_blockexploits_speckilling_ban "60"    // Spectator Killing ban time in minutes (if set to ban)nn/////////////////////////////////////////nn// White Player Model CVARsndod_blockexploits_whitemodel "4"    // White Player Model actionn                                    // 0 = do nothingn                                    // 1 = silently blockn                                    // 2 = block with warning msgn                                    // 3 = kickn                                    // 4 = bannndod_blockexploits_whitemodel_log "1"    // Log White Player Model detectionsn                                        // 0 = offn                                        // 1 = onnndod_blockexploits_whitemodel_ban "120"    // White Player Model ban time in minutes (if set to ban)nn/////////////////////////////////////////nn// Non-Deployed MG Reload CVARsndod_blockexploits_mgreload "1"        // Non-Deployed MG Reload actionn                                      // 0 = do nothingn                                      // 1 = silently blockn                                      // 2 = block with warning msgn                                      // 3 = kickn                                      // 4 = bannndod_blockexploits_mgreload_log "1"    // Log Non-Deployed MG Reload detectionsn                                      // 0 = offn                                      // 1 = onnndod_blockexploits_mgreload_ban "60"    // Non-Deployed MG Reload ban time in minutes (if set to ban)nn/////////////////////////////////////////nn// Respawn Timer Bypass CVARsndod_blockexploits_respawntimer "0"    // Respawn Timer Bypass actionn                                      // 0 = do nothingn                                      // 1 = silently blockn                                      // 2 = block with warning msgn                                      // 3 = kickn                                      // 4 = bannndod_blockexploits_respawntimer_delay "15"  // Respawn Timer Bypass delay (in seconds)n                                           // This controls the amount of timen                                           // before the client can rejoin a team.n                                           // 15seconds is the default dod spawn timen                                           // but you might want to increase it ton                                           // make it more of a punishment for trying.nndod_blockexploits_respawntimer_log "0"    // Log Respawn Timer Bypass detectionsn                                          // 0 = offn                                          // 1 = onnndod_blockexploits_respawntimer_ban "10"    // Respawn Timer Bypass ban time in minutes (if set to ban)nn/////////////////////////////////////////nn// Class Limit Bypass / White Player Model CVARsndod_blockexploits_limitbypass "4"    // Class limit bypass / white model actionn                                     // 0 = do nothingn                                     // 1 = silently blockn                                     // 2 = block with warning msgn                                     // 3 = kickn                                     // 4 = bannndod_blockexploits_limitbypass_log "1"    // Log Class limit bypass / white model detectionsn                                         // 0 = offn                                         // 1 = onnndod_blockexploits_limitbypass_ban "120"    // Class limit bypass / white model ban time in minutes (if set to ban)nn/////////////////////////////////////////nn// Voice Chat Name Spoofingndod_blockexploits_micspoof "1"        // Voice Chat Name Spoofing actionn                                      // 0 = do nothingn                                      // 1 = block silentlyn                                      // 2 = block with warning msgn                                      // 3 = kickn                                      // 4 = bannndod_blockexploits_micspoof_log "1"    // Log Voice Chat Name Spoofing detectionsn                                      // 0 = offn                                      // 1 = onnndod_blockexploits_micspoof_ban "60"    // Voice Chat Name Spoofing ban time in minutes (if set to ban)nndod_blockexploits_micspoof_num "2"    // Number of allowed illegal charactersn
Commands:n
ndod_blockexploits_info        - This console command will print outn                                some information & stats about then                                the plugin on the current server.n                              - dod_blockexploits_adminflag CVAR alson                                controls the level needed to use this.n
Installation:n
n- you should put this close to the top of your plugins.ini file, such asn  putting it underneath all the default plugins but before third-party n  plugins works very well. Otherwise some third-party plugins might hookn  something before this plugin gets to block it.nn- Put the "dod_blockexploits.ini" file in "../amxmodx/configs/"n
Extra:n
n- Logs will be created daily in: addons/amxmodx/logs/dod_blockexploits/nn- If you have a previous version installed on your server already,n  I highly recommend rebooting your server for the sake of changesn  to the default CVARsn
Change Log:n
n- 12.26.06 - Version 1.4n    added public tracking cvarn    replaced some if statements with switchesn    fixed mistake in respawn timer handlingn    cleaned up code a bitnn- 05.28.07 - Version 2.0n    Rewrote almost everything...n    Added fix for spectator duck bugn    Added fix for connecting players showing up on a teamn    Added check for cheat traces in setinfo linesn    Added Steam ID Pending checkn    Added FullUpdate blockn    Logs are now daily and in their own foldernn- 06.04.07 - Version 2.1n    Fixed banning function.. stupid me :Pnn- 08.07.07 - Version 2.2n    Third Person View block actually works nown    Added block for seeing decals thru wallsn    Added block class limit bypass (and white model)n    Added control over who will see the warning msgnn- 09.23.07 - Version 2.3n    Added CVAR to control third-person view blockn    Removed detection for decals thru walls (now it just blocks)n    Now using an INI file to set the detection namesn    Removed some junk left over from previous versionsnn- 11.06.07 - Version 2.4n    Updated INI file * important *n    Removed the pointless 'fullupdate' loggingn    Removed 'fullupdate' block console msg (showed when recording demos)n    Enhanced INI file checking & error loggingn    Removed some old unused coden    Reduced some msg sizes due to words being cut offn    Added compiler define for new amxx 1.8.0+ log title formatnn- 11.27.07 - Version 2.5 (non-public release)n    Updated INI file * important *n    Fixed a mistake in one of the setinfo tracesnn- 03.09.08 - Version 3.0 Alpha Finaln    Total Plugin Re-Writenn- 03.10.08 - Version 3.0 Beta 1n    Public Beta Releasedn
Download Mirror: http://www.avamods.com/download.php?view.164nnn** this is a CLOSED SOURCE plugin, as approved by bailopan.. there is no sma available for public download.. so technically you run this plugin at your own risk **nndownload the plugin files zip attachment and inside you will find seperate folders for different AMXX versions, use the dod_blockexploits.amxx that corresponds to the AMXX version you are running.... but be warned this is written for and tested on AMXX 1.8.1.3679, so no guarantee that any previous versions work fully...nn** also note that because the way i have the plugin files setup now, I can no longer upload to a web compiler for older versions of AMXX, so i must compile the plugin locally. Therefor if you need it for a specific version of AMXX not already available please request it and I will make an effort to get a copy of that version so I can compile it for you **

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
03-10-2008, 04:03 PM #2

im on it thanks for the work diamond ill let you know if i run into any problems

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-10-2008, 08:15 PM #3

minor update....nnnadded AMXX 1.76c compiled version to the zip file

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
03-12-2008, 07:47 AM #4

day one. no errors. server confirms runnin v3. hlsw shows dod_blockexploits_stats v2.4. No entries in log files. using all default settings.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-12-2008, 12:40 PM #5
dod_blockexploits_stats v2.4.
nnyou have to reboot the server for public cvars to change.. not a big deal tho

W whatmee
posted here
Posts: 7
Threads: 0
Joined: Oct 2007
03-12-2008, 09:04 PM #6

so any changes to the cvar settings, you have reboot or reset server?nnMr Mee

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-12-2008, 09:58 PM #7

well if you change cvars via amxx.cfg they should be fine as that file gets executed on each mapchange.. at least it should be. I guess you could always check via console/rcon and seennbut public cvars are a bit different, and actually off the top of my head im not sure but this might apply to all cvars registered by plugins.. but if the value of the cvar is changed in the plugin itself, and it is loaded on a server that already contains those cvars, the values will not be changed/reloaded unless the server is rebooted or the cvars are changed via rcon or a config filennthat might be a bit confusing lol.. heres a little example:n----------------------------nsay you have version 1.0 of a plugin that has a cvar called dod_example, and the default value for that cvar inside the plugin is "1"nnthen you put version 2.0 of the same plugin on that has a different default value for the cvar dod_example, lets say now it uses "2"nnthe cvar value will stay at "1" until you either reboot the server or you manually change the cvar value via rcon or amxx.cfg (or another config file that runs on mapchanges)n----------------------------nnat least i think thats how it works lol, im a bit sick and cant think straight :)nnnbut thankyou very much for bringing that up, i totally forgot to mention that when putting this version on over the top of an old version that you should reboot, as some of the cvar values mean different actions between the versions.. yet again another mistake by me lol

W whatmee
posted here
Posts: 7
Threads: 0
Joined: Oct 2007
03-13-2008, 01:02 AM #8

so it would be best to delete the old version, before install the newer ?

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-13-2008, 01:23 AM #9

well you dont have to delete it, just disable it in the plugins.ini

meathead
posted here
Posts: 337
Threads: 23
Joined: Aug 2007
03-13-2008, 07:44 AM #10

v3. beta after server restart. log empty. no problems.nnNice Job DO. Got the first log and ban.nnbanned: Setinfo Trace (EcstaticCheat)

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
03-14-2008, 08:18 PM #11

been running it with no problems on my end at all. looks like a winner woo hoo go diamond its your birthday

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
03-23-2008, 01:44 AM #12

has anyone run into problems with this running and the mortar plugin, seems since ive loaded this when i try to run the mortar class plug it banns me with the white model hack. weird ive tryed it 3 times always the same result. i know it worked ok till i updated to 3.0???

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-23-2008, 01:55 AM #13

ahh i'll check it out myself in a bit, but i would guess if you run the mortar plugin you can turn off the white model stuff.. nnas in setting dod_blockexploits_whitemodel to 0nnyou would probably want to also turn off the logging for itnnnI'll gonna add a check for it to see if the mortar class plugin is enabled (check for dod_mortars being set to 1) :)n

{DwP} 325th ABN
posted here
Posts: 231
Threads: 12
Joined: Aug 2006
03-23-2008, 12:25 PM #14

thanks diamond ill just take whitemodels out, it did it when i had roll the dice going so i thought it was just roll the dice. but had it regular server last night tryed again and got banned. of course my clan loved it seeing the pres getting banned from his own server. was kinda funny hehehee.

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-23-2008, 03:23 PM #15

hahahh yeah i made the mistake of testing the new version on my public server while ppl were on it.. and while under my normal name.. then i realized it looked like the owner got banned for a bunch of different cheats lol

diamond-optic
started this thread
Posts: 2,068
Threads: 103
Joined: May 2005
03-31-2008, 01:40 AM #16

BETA CLOSEDnnDOWNLOAD v3.0 FINAL HEREnnnthanks :)

Archive › Old Forum Threads › DoD Plugins › Test Plugins › Old › DoD Block Exploits (v3.0 Beta 1)
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC