English VACheck - Check VAC Records icon

31 comments
04.12.17 02:50:49 pm
like 6 like it!
2 kb, 63 Downloads
Talented Doge
User
Offline Off
> Introduction
The addition of cs2d lua cmd reqhttp has made this easy thanks to user SQ, so I wrote this to help you in recognizing VAC banned players.

This simple lua script will request data from steam web page. If player has ever been VAC banned, they will not be able to participate in the game.(Can be set in settings)

This script also includes the function to identify the previously distinguished VAC banned players, so as to reduce the network usage of the server.

> Settings
Code:
1
2
3
4
5
logdir = "sys/lua/vaclog.txt"
vaclistdir = "sys/lua/vaclist.lua"
logusgn = true
allow_play = false
kick_player = true

logdir
: USGN log directory
vaclistdir
: VAC recognized SteamID list directory
logusgn
: Log VAC banned players' USGN if they have it.
allow_play
: Allow VAC banned players to play?
kick_player
: Kick VAC banned players?

> Note
To ensure that VAC banned players do not evade by simply logging out of steam, I forced them to log in to steam in order to play. DO NOT REMOVE THIS LINE OF CODE OR THEY MAY EVADE THE CHECK.

This script has its limits that if a player is so dedicated to ruin the game, he may join with an entirely new account without VAC record. So manual moderation is always the best choice if possible.

> Updates
Added
kick_player
option, changed
allow_watch
to
allow_play
.

> Issues
Frequent requests seem to make steam ignore the request, looking for a work around.

> License
This work is released under the IMG:http://www.wtfpl.net/wp-content/uploads/2012/12/wtfpl-badge-3.png
imageimage
edited 13×, last 23.03.18 06:14:59 am
ok This file has been reviewed and approved by SQ (04.12.17 03:48:07 pm)

Comments

31 comments
Goto Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in
04.12.17 03:44:15 pm
Up
Talented Doge
User
Offline Off
I'm working on it. The "already checked" function won't be hard.
04.12.17 03:40:21 pm
Up
Yates
Reviewer
Offline Off
Would be cool if this saved the ID's in a file so you wouldn't have to send a request each time you want to check.
04.12.17 03:38:49 pm
like I like it!
Up
SQ
Moderator
Offline Off
Yeah, it's just that you are using "#req". I believe there are better ways of managing requests.
Code:
1
2
3
4
test = {}
test[0] = 1
test[2] = 3
print(#test)

This for example doesn't work.
04.12.17 03:34:00 pm
Up
Talented Doge
User
Offline Off
Because I cannot check for the players' ID with just the special ID.
04.12.17 03:31:11 pm
like I like it!
Up
SQ
Moderator
Offline Off
@user Talented Doge: Why are you using req[i][id]?
04.12.17 03:21:13 pm
Up
Talented Doge
User
Offline Off
√ Reason added.
√ Code made tidy and simple.
04.12.17 03:16:59 pm
like I like it!
Up
SQ
Moderator
Offline Off
@user Talented Doge: Add "reason" in the kick function.
Thus please make the code more clear and simple.
04.12.17 03:15:34 pm
Up
Talented Doge
User
Offline Off
@user SQ: Yes, I tested the method with a VAC banned profile by directly requesting that profile and it returned the desired result.

@user Gaios: Some.

This can only prevent players who do not have the time to register an entirely new account. But it is nonetheless yet another way to prevent cheaters.

By the way the frequent requests seem to make steam drop the requests, maybe add another parameter to cs2d lua cmd reqhttp to set a delay? I'm lazy to user timers
04.12.17 03:10:15 pm
like I like it!
Up
Gaios
Security Supporter
Offline Off
I wonder if anybody uses Vac Banned account
04.12.17 03:10:01 pm
like I like it!
Up
SQ
Moderator
Offline Off
Great, that's what I did reqhttp support for. Did you tested it, does it work?
04.12.17 03:07:37 pm
like I like it!
Up
apex2d
User
Offline Off
Noice m8
To the start Previous 1 2 Next To the start