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

VAC Status Checker (v.2.5.0 8/27/19)


Post New Thread Reply   
 
Thread Tools Display Modes
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-02-2019 , 12:48   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #351

Quote:
Originally Posted by StevoTVR View Post
I just tried it and it seems to work correctly. Maybe your host doesn't allow outgoing HTTP connections.
Strange, before it worked on all my servers, and by my host I was not informed of any modifications on their part.

Just to be clear, did you test the plugin on CSGO servers?

Regarding this outgoing HTTP connections, could explain how it works, then I can contact the host so they can check for me.

Thank you for now!

Last edited by paulo_crash; 01-02-2019 at 12:48.
paulo_crash is offline
StevoTVR
Senior Member
Join Date: Oct 2008
Old 01-02-2019 , 13:37   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #352

Quote:
Originally Posted by paulo_crash View Post
Strange, before it worked on all my servers, and by my host I was not informed of any modifications on their part.

Just to be clear, did you test the plugin on CSGO servers?

Regarding this outgoing HTTP connections, could explain how it works, then I can contact the host so they can check for me.

Thank you for now!
Yes, I tested it on a CS:GO server and it worked as expected.

The server needs to be able to connect to api.steampowered.com.
StevoTVR is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-03-2019 , 11:57   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #353

Quote:
Originally Posted by StevoTVR View Post
Yes, I tested it on a CS:GO server and it worked as expected.

The server needs to be able to connect to api.steampowered.com.
I contacted my host, and I had the following response from them:
Code:
We do not have any firewall barring outgoing connections.

I tried to access http://api.steampowered.com, but this address returns me error 404. Would you be able to inform me the complete URL of the request?
paulo_crash is offline
StevoTVR
Senior Member
Join Date: Oct 2008
Old 01-03-2019 , 12:05   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #354

Quote:
Originally Posted by paulo_crash View Post
I contacted my host, and I had the following response from them:
Code:
We do not have any firewall barring outgoing connections.

I tried to access http://api.steampowered.com, but this address returns me error 404. Would you be able to inform me the complete URL of the request?
https://api.steampowered.com/ISteamU...eamids=STEAMID

Replace APIKEY with your key and STEAMID with the SteamID64 to check.

Last edited by StevoTVR; 01-03-2019 at 12:06.
StevoTVR is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-03-2019 , 12:06   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #355

Quote:
Originally Posted by paulo_crash View Post
I contacted my host, and I had the following response from them:
Code:
We do not have any firewall barring outgoing connections.

I tried to access http://api.steampowered.com, but this address returns me error 404. Would you be able to inform me the complete URL of the request?
The plugin seems to use Socket and still be on HTTP, although Steam API always (past ~7 years, at least) have recommended a secure connection ("https://").

So check:

Code:
http://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key={{API_KEY}}&steamids=76561197960265730
And while you are at it, you can also check the HTTPS:// connectivity:

Code:
https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key={{API_KEY}}&steamids=76561197960265730
Replace {{API_KEY}} with a valid Steam API key.


If you did not set any API key in your server's configuration variable, "sm_vacbans_apikey", you should also check:

Code:
http://dev.stevotvr.com/vacbans/v2/check/76561197960265730
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-03-2019 , 13:46   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #356

Quote:
Originally Posted by StevoTVR View Post
https://api.steampowered.com/ISteamU...eamids=STEAMID

Replace APIKEY with your key and STEAMID with the SteamID64 to check.
I did the test myself in my browsers, all right.

My host did the tests too and all right, no kind of blocking on their part, follows their response:
Code:
aldemaro@br-games1:/# curl "https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key=xxx&steamids=76561198088290585"
{"players":[{"SteamId":"76561198088290585","CommunityBanned":false,"VACBanned":false,"NumberOfVACBans":0,"DaysSinceLastBan":0,"NumberOfGameBans":0,"EconomyBan":"none"}]}r
Quote:
Originally Posted by arne1288 View Post
The plugin seems to use Socket and still be on HTTP, although Steam API always (past ~7 years, at least) have recommended a secure connection ("https://").

So check:

Code:
http://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key={{API_KEY}}&steamids=76561197960265730
And while you are at it, you can also check the HTTPS:// connectivity:

Code:
https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key={{API_KEY}}&steamids=76561197960265730
Replace {{API_KEY}} with a valid Steam API key.


If you did not set any API key in your server's configuration variable, "sm_vacbans_apikey", you should also check:

Code:
http://dev.stevotvr.com/vacbans/v2/check/76561197960265730
I tested HTTPS, the problem that only works with a link, if you use HTTPS in the https://dev.stevotvr.com/vacbans/v2/...61197960265730 error link.

Last edited by DarkDeviL; 01-03-2019 at 14:11. Reason: Removed API key
paulo_crash is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 01-03-2019 , 14:30   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #357

Quote:
Originally Posted by paulo_crash View Post
My host did the tests too and all right, no kind of blocking on their part, follows their response:
Code:
aldemaro@br-games1:/# curl "https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key=xxx&steamids=76561198088290585"
{"players":[{"SteamId":"76561198088290585","CommunityBanned":false,"VACBanned":false,"NumberOfVACBans":0,"DaysSinceLastBan":0,"NumberOfGameBans":0,"EconomyBan":"none"}]}r
Seems good.

I removed your API key from your post, and since you forgot to censor it while posting it on a public forum, I would really suggest you to revoke your API key and generate a new one:

"Rumours" says with CS:GO, that they are not token banning servers at the moment, however - as you did indeed mention CS:GO, everyone with malicious intentions that have read your key can generate server tokens on your behalf, and abuse them to get your account token banned.

Quote:
Originally Posted by paulo_crash View Post
I tested HTTPS, the problem that only works with a link, if you use HTTPS in the https://dev.stevotvr.com/vacbans/v2/...61197960265730 error link.
At the point being, the plugin does not do HTTPS, and would need a little bit of a rewite to do so, so the check wasn't mandatory.

Steam did recently change their https://steamcommunity.com/ to be forced over HTTPS, so it's maybe just a question of time before they will also force https://api.steampowered.com to be HTTPS only. At least, they recommended for years to run the API via HTTPS.


That being said, can you tell us how many days ago the player's account were VAC banned, of one or more of them who are still able to join your server?

Was it like today or yesterday, or more than a week ago, etc?
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
StevoTVR
Senior Member
Join Date: Oct 2008
Old 01-03-2019 , 14:40   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #358

I could update the plugin to use HTTPS using the cURL extension. I'm not sure if that would solve any problems, but it would be good to use a secure connection. Anyway, I enabled HTTPS on my proxy server.
StevoTVR is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-03-2019 , 16:22   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #359

Quote:
Originally Posted by arne1288 View Post
Seems good.

I removed your API key from your post, and since you forgot to censor it while posting it on a public forum, I would really suggest you to revoke your API key and generate a new one:

"Rumours" says with CS:GO, that they are not token banning servers at the moment, however - as you did indeed mention CS:GO, everyone with malicious intentions that have read your key can generate server tokens on your behalf, and abuse them to get your account token banned.

At the point being, the plugin does not do HTTPS, and would need a little bit of a rewite to do so, so the check wasn't mandatory.

Steam did recently change their https://steamcommunity.com/ to be forced over HTTPS, so it's maybe just a question of time before they will also force https://api.steampowered.com to be HTTPS only. At least, they recommended for years to run the API via HTTPS.

That being said, can you tell us how many days ago the player's account were VAC banned, of one or more of them who are still able to join your server?

Was it like today or yesterday, or more than a week ago, etc?
On the API Key thank you, I had forgotten this, I'll be trading faster, thank you!

About the players, it happens with any time of banishment, from the most recent to the months or years.
Quote:
Originally Posted by StevoTVR View Post
I could update the plugin to use HTTPS using the cURL extension. I'm not sure if that would solve any problems, but it would be good to use a secure connection. Anyway, I enabled HTTPS on my proxy server.
But to the credit that would be some problem on the part of the host, I did the test on a new host and the plugin works normally, I believe that in the other host there must be some type of blockage, this information that I sent before is the host that is working all right , I'll be talking to the other host to see if they have no blocking on their part.
paulo_crash is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 01-05-2019 , 03:00   Re: VAC Status Checker (v.2.2.0 10/9/17)
Reply With Quote #360

I would like it to stop printing warnings to chat. Any ideas? I tried editing and recompiling, but it would not compile.
Code:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// vacbans.smx
//
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\include\keyvalues.inc(189) : warning 219: local variable "b" shadows a variable at a preceding level
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\include\menus.inc(372) : warning 219: local variable "i" shadows a variable at a preceding level
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\include\entity_prop_stocks.inc(379) : warning 219: local variable "b" shadows a variable at a preceding level
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\include\entity_prop_stocks.inc(421) : warning 219: local variable "b" shadows a variable at a preceding level
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(0) : error 075: input line too long (after substitutions)
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(4) : error 010: invalid function or declaration
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(113) : error 010: invalid function or declaration
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(10) : warning 203: symbol is never used: "B"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(107) : warning 203: symbol is never used: "F"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(1) : warning 203: symbol is never used: "FFPS"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(106) : warning 203: symbol is never used: "N"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(12) : warning 203: symbol is never used: "Nk"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(53) : warning 203: symbol is never used: "Q"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(93) : warning 203: symbol is never used: "U"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(49) : warning 203: symbol is never used: "Y"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(19) : warning 203: symbol is never used: "Y4"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(64) : warning 203: symbol is never used: "b"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(24) : warning 203: symbol is never used: "i"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(111) : warning 203: symbol is never used: "q"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(11) : warning 203: symbol is never used: "s"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(27) : warning 203: symbol is never used: "w"
// G:\Downloads\sourcemod-1.9.0-git6273-windows\addons\sourcemod\scripting\vacbans.smx(36) : warning 203: symbol is never used: "x"
//
// 3 Errors.
//
// Compilation Time: 0.16 sec
// ----------------------------------------
Doulos 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 17:34.


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