Dateien

> > CS2D > Lua Scripts > VACheck - Check VAC Records
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch VACheck - Check VAC Records >

31 Kommentare2 kb, 537 Downloads

alt VACheck - Check VAC Records

Talented Doge
User Off Offline

> 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
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 content is published under WTFPL 3.0.
14× editiert, zuletzt 11.08.18 23:24:41
Zugelassen von SQ

Download Download

2 kb, 537 Downloads

Kommentare

31 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Talented Doge
User Off Offline

I'm working on it. The "already checked" function won't be hard.

alt

Yates
Reviewer Off Offline

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.

alt

SQ
Moderator Off Offline

Yeah, it's just that you are using "#req". I believe there are better ways of managing requests.
1
2
3
4
test = {}
test[0] = 1
test[2] = 3
print(#test)
This for example doesn't work.
Ich mag es!

alt

Talented Doge
User Off Offline

Because I cannot check for the players' ID with just the special ID.

alt

SQ
Moderator Off Offline

@user Talented Doge: Why are you using req[i][id]?
Ich mag es!

alt

Talented Doge
User Off Offline

√ Reason added.
√ Code made tidy and simple.

alt

SQ
Moderator Off Offline

@user Talented Doge: Add "reason" in the kick function.
Thus please make the code more clear and simple.
Ich mag es!

alt

Talented Doge
User Off Offline

@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

alt

Gaios
Reviewer Off Offline

I wonder if anybody uses Vac Banned account
Ich mag es!

alt

SQ
Moderator Off Offline

Great, that's what I did reqhttp support for. Did you tested it, does it work?
Ich mag es!

alt

apex2d
User Off Offline

Noice m8
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang