Skip to content

Risusama/SMAC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMAC

Sourcemod Anti-Cheat

For a lot of people, SMAC has been one of those more elusive plugins due to some of the issues surrounding it involving copyrights and headers. In 0.8.6.0, the original authors added the headers to it and left it at that. During that time, I was working on my own fork of it specifically for ZPS which evolved from there into the current fork that is seen today. So not only does the code have all the appropriate headers, but included is a license with those headers as well, so it should be okay to distribute, post, branch, and fork once again as needed provided everyone adheres to the license.

For information about the plugin and its modules, please use the wiki here: https://github.com/Silenci0/SMAC/wiki

Changelog

0.8.7.4 Update (21-04-2021)

  • smac_l4d2_fixes - removal of unnecessary functions, some bugs were fixed after the update 'THE LAST STAND'

Changelog

0.8.7.3 Update (12-20-2019)

  • Merged changes by 404UNFca adding EngineVersion check and removing support for GMod and TF2 Beta. (Silenci0#27 )
  • Removed CSS Beta (cstrike_beta) and replaced Insurgency Mod support with Insurgency (2014 Steam version) support.
  • Added support for Black Mesa multiplayer and Zombie Master Reborn (the latest version of ZMR: https://steamcommunity.com/groups/zmreborn ). While support is present, SMAC has not be tested for these games, just an fyi.
  • Recompiled all plugins.

0.8.7.2 Update (12-12-2019)

  • Depreciated support for the ESEA module. As of 12/08/2019, it has been confirmed that it is not possible to download the .csv file from the ESEA website, making it impossible for the plugin to function. The code will still be available for legacy purposes, but will no longer be supported. Info regarding this is found here: Silenci0#11
  • Added the "unsupported" directory under "scripting" to the repo for code files that we are keeping, but do not support. This was added for legacy purposes, but is entirely unnecessary for most users.
    • The following code files reside in this directory: smac_eac_banlist, smac_esea_banlist, and smac_immunity
  • Removed the socket extension from the repository. Since EAC and ESEA plugins are no longer supported/usable, this extension is no longer necessary.
  • Added the color text functionality from the colors.inc include back into the plugin.
    • This include and its functions (as well as basic colors codes) work with most games, including CS:GO (tested and verified).
    • The text generated from the plugin is still the default colors. This can be changed by putting one of the supported color codes (such as {green}) into the translated phrase/text of the smac.phrases.txt translation file.
  • General update to some parts of the code, specifically, added the "null" keyword to most ConVar variables.
  • Recompiled all plugins.

0.8.7.1 Hotfix Update (11-19-2019)

  • Fixed a crash with the smac module due to chat message features: Silenci0#24
    • Reverted to colors include (updated with new syntax)
    • Changed Welcome message and admin messages to PrintToChat rather than CPrintToChat functions.
  • Recompiled plugins.

0.8.7.0 Update (11-18-2019)

  • Code update for all plugins to use the new syntax. A big thank you to caxanga334 for the countribution: Silenci0#23
    • The colors include has been replaced with the morecolors include (which has been added to repo).
    • A few function updates for the smac and smac_aimbot modules.
    • Added connect include file.
    • Updated socket include file to new syntax.
  • Added code created by the original devs to allow users with the appropriate admin flags to bypass SMAC detection (fixes issue: Silenci0#21 )
    • Code uses the "o" flag by default for admin immunity and has been updated to use the new syntax.
    • Please note that the code is added in its own file and available for use/compilation. It is NOT an official module. Server owners will need to compile this code themselves and make changes where necessary in case they wish to add more functionality/features to it or change the flags.
    • Thread relating to admin immunity found here: https://forums.alliedmods.net/showthread.php?t=179365
    • Thanks again to caxanga334 for finding the code/thread for this!
  • Updated code to be more consistent (minor stuff, no major functionality change to plugins).
  • Plugins have been compiled for SM 1.10
  • Not really an update, but please be aware that some games might be having trouble with the SM Rcon extension, which the smac_rcon module uses for optional features. If your server is crashing after adding SM Rcon and the smac_rcon module, please remove the SM Rcon library first to see if it fixes the crashing issue. If the smac_rcon module is found to still crash the server after this, please remove the module and open a ticket for the issue. Thank you!

0.8.6.7 Update (10-12-2019)

  • Merged changes by Frisasky to the main SMAC module for Fistful of Frags (Silenci0#16 )
  • Merged changes by Loyisa for the Chinese translations (Silenci0#17 )
  • Fixed "SMAC_ShouldBeBetwechi" in Chinese translations which should be "SMAC_ShouldBeBetween"
  • Recompiled plugins to implement changes.

0.8.6.6 Update (09-30-2019)

  • Updated support for Sourcebans++ to use latest natives instead of the depreciated native.
    • SMAC will attempt to use the sourcebans++ native first, then the depreciated native next. This is for backwards compatibility.
    • This was brought up by Drmohammad11 in this issue here: Silenci0#13
  • Added Chinese translation to SMAC via pull request from LemonPAKA: Silenci0#10
  • Depreciated support for the EAC module. The code will still be available, but the plugin will no longer be compiled. With changes to the Easy Anti-Cheat website, it is no longer possible (as far as I am aware) to use this module or modify it to work as it once did. It will be unable to grab the information needed to check if a player was banned by Easy Anti-Cheat. Sorry!
  • Known Issue: The ESEA module currently does not work very well due to the ESEA website/Cloudflare denying the request. This is still being worked on: Silenci0#11
  • Known Issue: Bhop detection from the autotrigger module is not catching some people using scripts. Issue is being worked on and was discussed here: https://forums.alliedmods.net/showthread.php?t=318420

0.8.6.5 Update (07-26-2019)

  • Updated the smac_commands.smx module:
    • Added the command snd_setsoundparam to the CS:GO ignore commands list in the code. While this command was removed from CS:GO on 05/29/2019, it seems that it has been getting randomly spammed and causing users to be kicked. This issue was brought up in Silenci0#8
    • Please note that you can add commands to block or ignore via plugin commands from smac_commands.smx independently. Please see this wiki page for details: https://github.com/Silenci0/SMAC/wiki/Command-Monitor
    • Added new convar smac_anticmdspam_kick. This toggles the ability to kick users for command spam (which is set as the default response) or to simply notify when someone is spamming.
  • Updated smac.cfg with new cvars and recompiled all smac plugins to reflect updated version.

0.8.6.4 Update (05-07-2019)

  • Fixed a couple of issues related to tickcount with the smac_eyetest module that was causing false positives to occur in TF2 and CS:GO (someone might want to confirm for CS:GO):
    • Alt-tabbing no longer causes users to trigger the tickcount cheat detection each time it occurs. This was reported in the SMAC thread: https://forums.alliedmods.net/showthread.php?t=307188
    • A rare issue (caused by the same tickcount detections) in TF2 when a player would be running a taunt (such as conga) and attempting to open the contracts menu. More info here: Silenci0#1
    • Please be sure to leave compatibility mode on and set bans to off. While this issue is possibly resolved, that does not mean it might not break in the future.
  • Fixed a minor issue with the smac_speedhack module not checking for the player being in-game (Silenci0#7 )

Be sure to test these and if you have any feedback or comments, feel free to post in the SMAC forums (https://forums.alliedmods.net/forumdisplay.php?f=133 ) or create an issue on github. Thanks!

0.8.6.3 Update (01-23-2019)

  • Re-added achievement-related checks back to smac_client. Originally, this was removed some time ago due to an issue with ZPS 2.4, but has been re-added as ZPS 3.0+ has achievements.
  • Updated tf2 weapon classes to ignore in smac_aimbot. Most of the weapon classes added had weapons that did not necessarily benefit from aimbot. The weapons classes ignored are as follows:
    • tf_weapon_slap - ex: Hot Hand
    • tf_weapon_buff_item - ex: The Buff Banner
    • tf_weapon_parachute - ex: The B.A.S.E. Jumper
    • tf_weapon_breakable_sign - ex: Neon Annihilator
    • tf_wearable_demoshield - ex: Splendid Screen
    • tf_wearable_razorback - ex: The Razorback
    • tf_wearable - ex: Mantreads
    • tf_weapon_rocketpack - ex: Thermal Thruster
    • tf_weapon_lunchbox_drink - ex: Bonk! Bonk! Atomic Punch
    • tf_weapon_lunchbox - ex: Sandvich
    • saxxy - ex: Saxxy, Prinny Machete
  • Updated zps weapon classes to ignore in smac_aimbot. They are as follows:
    • weapon_baguette
    • weapon_pipewrench
    • weapon_wrench
    • weapon_meatcleaver
  • Fixed a warning/bug in smac_cvar regarding variable shadowing for the CvarComp:CCompType variable in some parts of the code. I have renamed affected variables to SCCompType to avoid possible conflicts.
  • All plugins have been compiled for SM 1.9

0.8.6.2 Update (12-09-2018)

  • Only updated the change log with wiki information. No plugins or scripts were updated yet.

0.8.6.2 Update (6-11-2018)

  • Compiled/Updated codebase for SM 1.8
  • Updated SMAC stocks and wallhack code to use FindDataMapInfo and FindSendPropInfo instead of FindDataMapOffs and FindSendPropOffs.
  • Updated smac_rcon module to have logging for attempts to use rcon_password on the server from a non-whitelisted IP. This functionality REQUIRES the SM Rcon extension found here: https://forums.alliedmods.net/showthread.php?t=168403 . Please note that some games might not work with this extension!

0.8.6.1 Initial Commit (9-1-2016)

  • Used latest 0.8.6.0 code as base (this included all GPL headers and such for SMAC team and CodingDirect LLC).
  • Added ZPS support. Support for other games should remain the same as the 0.8.6.0 branch (so if it doesn't work for that particular branch, chances are it will not work for this version as it was updated for ZPS only)
  • Removed updater code/references. Updater will no longer be used by this fork of SMAC.
  • Re-tabbed all code. 1 Tab = 4 whitespaces.
  • Included all relevant extensions, translations, script files, and pre-compiled plugins
  • Most of this version's modules were tested for ZPS except game specific ones. smac_cvars works, but if you use any fake clients/bots that were custom made for ZPS (or any game for that matter), it doesn't mesh too well due to how they look like at them as players (causing tons of lag issues fyi).

About

Sourcemod Anti-Cheat

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SourcePawn 98.9%
  • C++ 1.1%