Raised This Month: $ Target: $400
 0% 

Gstrafe & Bhop Script Detector (GBSD)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose       
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-07-2008 , 17:09   Gstrafe & Bhop Script Detector (GBSD)
Reply With Quote #1

Gstrafe & Bhop Script Detector (GBSD)
by Exolent

Description:
  • This plugin blocks scripts that will allow a person to automatically bhop or gstrafe by holding a button.
Note:
  • Read this whole post or I will not assist you in any help.
  • Please use the version 1.8.x or greater of AMXX.
FAQ:
1. What is "bhop"?
  • Bhop or "Bunny hop" is when a player uses the jump key when he/she hits the ground, and continues each time he/she lands.
  • This can be done easier than spacebar by binding mousewheel to +jump and scrolling the proper direction with the proper timing.
  • Example:
    Code:
    bind mwheeldown +jump
    With this bound, just scroll down when you land from the previous jump and you can hop like a bunny.
2. What is "gstrafe"?
  • Gstrafe or "Ground Strafing" is when a player taps the duck key when he/she is on the ground, to lift themselves off the ground.
  • This is used when a player gains high speed and can use this to keep speed across the map.
  • The easiest way to get this effect is by also binding your mousewheel to +duck.
  • Example:
    Code:
    bind mwheelup +duck
    With this bound, just scroll up quickly with high speed and you will slide across the map until the speed wears down.
3. I am not using scripts, but I am punished while bhopping/gstrafing!
  • This could be because you have a script that uses these loops while you bhop or gstrafe.
  • These scripts could be one such as a flashlight script, which spams the flashlight on/off when holding a button.
Cvars:
  • gbsd_bhop_on <0|1> - should bhop scripts be blocked? Default: 1
    • 0 = Allow bhop scripts
    • 1 = Detect bhop scripts
  • gbsd_bhop_punishment <0|1|2|3> - different types of punishments if bhop script is detected. Default: 1
    • 0 - Notify all other players
    • 1 - Slay the player
    • 2 - Kick the player
    • 3 - Ban the player (minutes defined in later cvar)
  • gbsd_bhop_bantime <#> - number of minutes a player will be banned for a bhop script if gbsd_bhop_punishment is 3. Default: 5
  • gbsd_gstrafe_on <0|1> - should gstrafe scripts be blocked? Default: 1
    • 0 = Allow gstrafe scripts
    • 1 = Detect gstrafe scripts
  • gbsd_gstrafe_punishment <0|1|2|3> - different types of punishments if gstrafe script is detected. Default: 1
    • 0 - Notify all other players
    • 1 - Slay the player
    • 2 - Kick the player
    • 3 - Ban the player (minutes defined in later cvar)
  • gbsd_gstrafe_bantime <#> - number of minutes a player will be banned for a gstrafe script if gbsd_gstrafe_punishment is 3. Default: 5
  • gbsd_bantype <1|2> - should players get banned by steamid or ip .Default: 1
    • 1 = Steamid
    • 2 = IP
  • gbsd_warntime <#> - number of seconds after a player joins the server that he will be warned that bhop scripts and gstrafe scripts are not allowed. Default: 60
Installation:
  1. Use the "Get Plugin" function at the bottom of this post.
  2. Place gbsd_v0.5.amxx in your server's addons/amxmodx/plugins folder.
  3. Open up your server's plugins.ini, located in your server's addons/amxmodx/configs folder.
  4. Inside the plugins.ini, write "gbsd_v0.5.amxx" at the last line of the file.
  5. Save the file and restart the server. (amx_rcon restart)
Changelog:
  • Version 0.1
    - Initial Release
  • Version 0.2
    - Complete rewrite
    - Fixed message bug
    - Removed gbsd_*_showmsg cvars
    - Now added check for rebuy/autobuy in cases of buying weapons
  • Version 0.3
    - Players can no longer cheat the script by aliasing the command
  • Version 0.4
    - Fixed small bugs
  • Version 0.5
    - Rewrote different detection method
    - Added gbsd_bantype cvar
Credits:
  • p3tsin
    - first script detector plugin
  • Fatalis
    - for most of the code used in his plugin
    - idea of the new detection method
Current Version: 0.5
Attached Files
File Type: sma Get Plugin or Get Source (gbsd_v0.5.sma - 12720 views - 7.3 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 04-27-2008 at 02:33. Reason: Updated to v0.5
Exolent[jNr] is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode