Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to excempt a player from SMAC #21

Closed
Bluscream opened this issue Nov 9, 2019 · 8 comments
Labels

Comments

@Bluscream
Copy link

@Bluscream Bluscream commented Nov 9, 2019

I would like to exclude my admins from any SMAC checks so their not bothered by it. I haven't seen anything regarding that on the wiki. How would i do that? When i tested it i had permissions "z" and this was the result:

L 11/09/2019 - 07:53:05: [smac_cvars.smx | 0.8.6.7] blu (ID: STEAM_1:1:31090466 | IP: loopback) was kicked for failing checks on convar "metamod_version". result "Okay" | CompType: "nonexist" | cvarValue "1.11.0-dev+1128V" | value: "" | value2: ""
	Map: de_inferno | Origin: 145 2890 275 | Angles: 1 -30 0 | Weapon:  | Team: 0 | Latency: 55ms

Also i would like to know if fakeclients are in any way affected by SMAC?

@Silenci0

This comment has been minimized.

Copy link
Owner

@Silenci0 Silenci0 commented Nov 9, 2019

You cannot exempt admins (or any players) from SMAC as it was not made to do so.

As far as fake clients, SMAC will make a check to see if the player is in-game and if they are valid players, so it shouldn't trigger detections against them.

@Bluscream

This comment has been minimized.

Copy link
Author

@Bluscream Bluscream commented Nov 9, 2019

Can't you just implement the same behavior for admins with certain overrides? like c for cheats ?

@borzaka

This comment has been minimized.

Copy link

@borzaka borzaka commented Nov 9, 2019

I don't think that VAC would exclude Valve workers when they start to cheat on public servers.

Disabling SMAC checks for certain people opens a hole in the defense and possible vulnerabilities.

@Silenci0

This comment has been minimized.

Copy link
Owner

@Silenci0 Silenci0 commented Nov 9, 2019

The original devs, if I remember correctly, did not implement that due to the possibility of vulnerabilities. Don't quote me on that since it was a long time ago, but people had asked about that before I believe. That and at the time, it may have simply been easier to check everyone than to make exceptions, especially when it came to checking the values of cvars for each player that they should not be changing/accessing.

If you plan on using the smac_cvar module, you should be aware that anything flagged as a cheat will be in the list of cvars to monitor to see if a client attempt to change them. If there is a reason your admin is trying to change the metamod version, or its something you'd rather not be a kickable/bannable offense, you can remove that cvar from the list via "smac_removecvar" in either your "sourcemod.cfg" or "server.cfg" file or by editing the code and recompiling the plugins for yourself, if you wish.

As far as adding the ability to flag users for bypassing SMAC, in my opinion, I do not think its a good idea to implement such a thing for an anti-cheat as it would call the validity of SMAC into question, especially if players (and in some cases, admins) had the ability to bypass it in some way.

@Bluscream

This comment has been minimized.

Copy link
Author

@Bluscream Bluscream commented Nov 18, 2019

I mean it's open source, in the end i can do it myself so ^.^

@Silenci0

This comment has been minimized.

Copy link
Owner

@Silenci0 Silenci0 commented Nov 18, 2019

Indeed it is. Feel free to make whatever modifications you wish to the code. :)

@caxanga334

This comment has been minimized.

Copy link
Contributor

@caxanga334 caxanga334 commented Nov 18, 2019

There was an unofficial module that gave immunity to admins on AM's forum.

Edit: https://forums.alliedmods.net/showpost.php?p=1659769&postcount=4

@Silenci0

This comment has been minimized.

Copy link
Owner

@Silenci0 Silenci0 commented Nov 18, 2019

Nice find @caxanga334 I was not aware of this existing. I will add the code to the repo just in case others want to use this.

@Silenci0 Silenci0 removed the wontfix label Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.