Raised This Month: $51 Target: $400
 12% 

Documentation discussion


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 07-22-2011 , 05:19   Documentation discussion
Reply With Quote #1

Edit: Read post #7.

Last edited by GoD-Tony; 10-29-2011 at 03:43. Reason: title change
GoD-Tony is offline
Mavrick4283
Veteran Member
Join Date: Apr 2010
Location: 127.0.0.1@root
Old 07-22-2011 , 15:34   Re: Looking for help - Coding not required
Reply With Quote #2

I will help, I have lots of time and have been looking for a way to help with out coding
Mavrick4283 is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 07-26-2011 , 20:49   Re: Looking for help - Coding not required
Reply With Quote #3

I can put some time into helping out the plugin. There will probably be A LOT of people that would be willing to help but if you need me, hit me up with a message.

I can release new versions and type in the documentation and answer questions easy.
Drixevel is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-26-2011 , 21:28   Re: Looking for help - Coding not required
Reply With Quote #4

like r3dw3r3w0lf said, you will probably get a lot of help, but if you need me, I can assist with documentation of features and change logs to put in the thread
TnTSCS is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 07-31-2011 , 03:56   Re: Looking for help - Coding not required
Reply With Quote #5

I'm not quite sure how to let people edit the documentation thread while still leaving it locked. If we're allowed to use a page for this on the AMWiki, maybe that would be more appropriate.
GoD-Tony is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-05-2011 , 02:03   Re: Looking for help - Coding not required
Reply With Quote #6

Well if ya figure something out, hit us up. We would be happy to help.
Drixevel is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 08-18-2011 , 09:45   Re: Looking for help - Coding not required
Reply With Quote #7

Ok folks, this is what we'll do. Use this thread for discussing what you would like to add to the documentation, and then you can add it officially in the main thread. I can edit it and delete irrelevant posts as we go.

You can grab some info from these links if it helps:
http://www.kigenac.com/viewtopic.php?p=967#p967
http://forums.alliedmods.net/showthread.php?t=138050

You are free to post complete information about modules or just tips in general. It can be organized using the first post later on. Good luck!

Last edited by GoD-Tony; 08-18-2011 at 09:47.
GoD-Tony is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 09-08-2011 , 17:47   Re: Looking for help - Coding not required
Reply With Quote #8

I will try to keep going with this as fast as possible. If anyone would like to add or suggest things please do so.
I'm putting everything I know and what I can find in these forums. If there is something I forget or need to add please let me know.




SourceMod Anti Cheat : SMAC

Description:
While Kigen has decided to leave the Allied Modders community and drop support for Source Mod in general, there's little reason for his plugin to disappear with him. Development and maintenance of his plugin will be taken over by anyone who wishes to contribute to the project, and as such, the plugin has been renamed to SourceMod Anti Cheat.

Features:
SMAC has many features. One of these features is to enforce cvar values.
This is a current list of all the predefind cvar's that SMAC looks for for.

Code:
Each cvar wil be in this format - Cvarname "value it must be" (If not what will happen.)
These are commands clients should have at all.
0penscript (Ban)
bat_version (Kick)
beetlesmod_version (Kick)
est_version (Kick)
eventscripts_ver (Kick)
fm_attackmode (Ban)
lua_open (Ban)
Lua-Engine (Ban)
mani_admin_plugin_version (Kick)
ManiAdminHacker (Ban)
ManiAdminTakeOver (Ban)
metamod_version (Kick)
openscript (Ban)
openscript_version (Ban)
runnscript (Ban)
SmAdminTakeover (Ban)
sourcemod_version (Kick)
tb_enabled (Ban)
zb_version (Kick)

These are the rest of the commands that SMAC looks for
sv_cheats "0" (Ban)
sv_consistency "1" (Ban)
//sv_gravity "800" (Ban) Do not use if you have a mod that changes per player gravity.
r_drawothermodels "1" (Ban)
cl_clock_correction "1" (Ban)
cl_leveloverview "0" (Ban)
cl_overdraw_test "0" (Ban)
cl_particles_show_bbox "0" (Ban)
cl_phys_timescale "1" (Ban)
cl_showevents "0" (Ban)
fog_enable "1" (Ban)
host_timescale "1" (Ban)
mat_dxlevel "80.0 or Higher" (Kick)
mat_fillrate "0" (Ban)
mat_measurefillrate "0" (Ban)
mat_proxy "0" (Ban)
mat_showlowresimage "0" (Ban)
mat_wireframe "0" (Ban)
mem_force_flush "0" (Ban)
snd_show "0" (Ban)
snd_visualize "0" (Ban)
r_aspectratio "0" (Ban)
r_colorstaticprops "0" (Ban)
r_DispWalkable "0" (Ban)
r_DrawBeams "1" (Ban)
r_drawbrushmodels "1" (Ban)
r_drawclipbrushes "0" (Ban)
r_drawdecals "1" (Ban)
r_drawentities "1" (Ban)
r_drawmodelstatsoverlay "0" (Ban)
r_drawopaqueworld "1" (Ban)
r_drawparticles "1" (Ban)
r_drawrenderboxes "0" (Ban)
r_drawskybox "1" (Ban)
r_drawtranslucentworld "1" (Ban)
r_shadowwireframe "0" (Ban)
r_skybox "1" (Ban)
r_visocclusion "0" (Ban)
vcollide_wireframe "0" (Ban)
Another one of thoes featues is to ignore CMD entrees.
That same moudlue will also let you add CMDs to the Ignore spam list.
Code:
Each CMD wil be in this format - Command (what will happen if they try to use that cmd.)
These are commands clients wont be able to execute.
ai_test_los (Blocked)
changelevel (Ban)
cl_fullupdate (Blocked)
dbghist_addline (Blocked)
dbghist_dump (Blocked)
drawcross (Blocked)
drawline (Blocked)
dump_entity_sizes (Blocked)
dump_globals (Blocked)
dump_panels (Blocked)
dumpcountedstrings (Blocked)
dumpentityfactories (Blocked)
dumpeventqueue (Blocked)
dumpgamestringtable (Blocked)
editdemo (Blocked)
endround (Blocked)
groundlist (Blocked)
listmodels (Blocked)
map_showspawnpoints (Blocked)
mem_dump (Blocked)
mp_dump_timers (Blocked)
npc_ammo_deplete (Blocked)
npc_heal (Blocked)
npc_speakall (Blocked)
npc_thinknow (Blocked)
physics_budget (Blocked)
physics_debug_entity (Blocked)
physics_highlight_active (Blocked)
physics_report_active (Blocked)
physics_select (Blocked)
q_sndrcn (Ban)
report_entities (Blocked)
report_touchlinks (Blocked)
report_simthinklist (Blocked)
respawn_entities (Blocked)
rr_reloadresponsesystems (Blocked)
scene_flush (Blocked)
send_me_rcon (Ban)
snd_digital_surround (Blocked)
snd_restart (Blocked)
soundlist (Blocked)
soundscape_flush (Blocked)
sv_benchmark_force_start (Blocked)
sv_findsoundname (Blocked)
sv_soundemitter_filecheck (Blocked)
sv_soundemitter_flush (Blocked)
sv_soundscape_printdebuginfo (Blocked)
wc_update_entity (Blocked)

These are only registered in 'L4D & L4D2'
choose_closedoor (Ban)
choose_opendoor (Ban)

These CMDs are ignoered by the spam blocker
buy
buyammo1
buyammo2
use
Requirements:
SourceMod 1.3.7 or later
Sockets (Optional)
  • Only needed if you plan to use the 'GLOBAL' ban list.
SDK Hooks (Optional)
  • Only needed if you plan to use wallhack detection moudlue of SMAC.
A Gameserver in which to install this.

Convar's:
  • SMAC_VERSION_CVNAME
    • Tells you which version of SMAC you are running
  • smac_welcomemsg
    • Should this plugin annouce that your server is protected by SMAC? Default "1"
  • smac_ban_duration
    • The length in minutes a player is banned by SMAC. (0 = perma ban) Default "0"
  • smac_aimbot
    • Enables or Disables the aimbot detection moudlue of SMAC. Default "1"
  • smac_aimbot_ban
    • How many times should SMac detect aimbot befor banning the player? Minimue is 4. Requires "smac_aimbot" to be set at 1. Default "0"
  • smac_client_nameprotect
    • Helps protect server from name crashers and hackers. Default "1"
  • smac_client_antispamconnect
    • Amount of time in seconds a player must wait befor rejoining your server. Default "0"
  • smac_eyetest
    • Enables or Disables the Eyetest moudle of SMAC. (0 = Disabled, 1 = Warn Admins, 2 = Ban) Default "1"
  • smac_use_kac_banlist
    • Should the global KAC ban list be used? (1 = Yes, 0 = No) Default "0"
  • smac_rcon_crashprevent
    • Enables or Disables the Rcon protection moudlue of SMAC. Default "0"
  • smac_spinhack
    • Enables or Disables the Spinhack detection moudle of SMAC. (0 = Disabled, 1 = Warn Admins, 2 = Ban) Default "1"
  • smac_speedhack
    • Enables or Disables the Speedhack provention moudlue of SMAC. Default "1"
  • smac_cmds_enable
    • Enables or Disables the Commands moudlue of SMAC. Default "1"
  • smac_cmds_spam
    • Amount of commands accepted in one second before kicking player. Default "30"
  • smac_cmds_log
    • Logs the command moudle actions in a logfile. Use only for debugging puposes. Default "0"
  • smac_wallhack
    • Enables or Disables the wallhack detection moudlue of SMAC. Default "1"
  • smac_cvars_enable
    • Enables or Disables the CVar checking moudlue of SMAC. Default "1"
Commands:
  • smac_addcvar
    • Adds CVars to the checking system. While in game only admins with the "Z" flag may use this.
    • The order of operatons goes like this. smac_addcvar <cvar name> <comparison type> <action> <value>
    • CVar name can be any CVar. Comparison type can be one of the following : equal, greater, less, between.
    • Comparison Type can be either : warn, motd, mute, kick, ban. Value is the value in which you want to inforce.
    • I.E. = smac_addcvar sv_gravity equal ban 800.
  • smac_removecvar
    • Removes a CVar from the checking system. While in game only admins with the "Z" flag may use this.
    • Usage of this command is as followed. smac_removecvar sv_gravity.
  • smac_cvars_status
    • This will display in console all the currently checked CVars in the system. All admins with the "B" flag may check this list.
  • smac_addcmd
    • Adds a CMD to a list that SMAC blocks from exucting. While in game only admins with the "Z" flag may use this.
    • Usage of this command is as followed. smac_addcmd explode
  • smac_addignorecmd
    • Adds the CMD to the ignore spam list. While in game only admins with the "Z" flag may use this.
    • Usage of this command is as followed. smac_addignorecmd impulse101
  • smac_removecmd
    • Removes a CMD from the list that SMAC blocks from exucting. While in game only admins with the "Z" flag may use this.
    • Usage of this command is as followed. smac_removecmd explode
  • smac_removeignorecmd
    • Removes the CMD from the ignore spam list. While in game only admins with the "Z" flag may use this.
    • Usage of this command is as followed. smac_removeignorecmd impulse101

Installation:[LIST=1][*]Download the current version of SMAC.[*]Shut down your server.[*]Extract the contents of the .zip into your '<moddir>/addons/sorucemod/'.[*]Restart your server.[*]Configure the auto-generated .cfg in '<moddir>/cfg/sorucemod/'.

ToDO:
GET SMAC INSTALLED ON ALL GAMING SERVERS

Known Issues:

Channel Log:
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows

Last edited by wtfaatp; 09-23-2011 at 19:01. Reason: Updating/Finishing
wtfaatp is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 09-10-2011 , 06:35   Re: Looking for help - Coding not required
Reply With Quote #9

Quote:
Originally Posted by wtfaatp View Post
If you dont mind me butting in.

I hope im not stepping on toes or any but I threw this together from everything I could find.
No not at all, and it's looking good so far. There are also a few more commands found in commands.sp:

Code:
RegAdminCmd("smac_addcmd",          Commands_AddCmd,           ADMFLAG_ROOT,  "Adds a command to be blocked by SMAC.");
RegAdminCmd("smac_addignorecmd",    Commands_AddIgnoreCmd,     ADMFLAG_ROOT,  "Adds a command to ignore on command spam.");
RegAdminCmd("smac_removecmd",       Commands_RemoveCmd,        ADMFLAG_ROOT,  "Removes a command from the block list.");
RegAdminCmd("smac_removeignorecmd", Commands_RemoveIgnoreCmd,  ADMFLAG_ROOT,  "Remove a command to ignore.");
GoD-Tony is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 10-04-2011 , 06:05   Re: Looking for help - Coding not required
Reply With Quote #10

Just noting here that this post doesn't effect the documentation that's already been complete. The only difference is that there may be less convars.
GoD-Tony is offline
Reply



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 10:14.


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