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

[ANY] ProxyKiller - Configurable Proxy & VPN player manager


Post New Thread Reply   
 
Thread Tools Display Modes
Rineek
Member
Join Date: Jan 2018
Old 05-30-2020 , 08:10   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #11

errors
Code:
L 05/30/2020 - 10:56:53: [SM] Exception reported: <Cache-MySQL> Invalid database driver for "ProxyKiller", expecting "mysql"
L 05/30/2020 - 10:56:53: [SM] Blaming: ProxyKiller-latest.smx
L 05/30/2020 - 10:56:53: [SM] Call stack trace:
L 05/30/2020 - 10:56:53: [SM]   [0] SetFailState
L 05/30/2020 - 10:56:53: [SM]   [1] Line 62, ./include/ProxyKiller/ProxyCacheMySQL.inc::ProxyCacheMySQL.ProxyCacheMySQL
L 05/30/2020 - 10:56:53: [SM]   [2] Line 39, ProxyKiller/cache/cache.sp::CreateCache
L 05/30/2020 - 10:56:53: [SM]   [3] Line 87, ProxyKiller.sp::OnConfigsExecuted
databases.cfg
Code:
    "ProxyKiller"
    {
        "driver"    "sqlite"
        "database"  "proxykiller-sqlite" // Could be anything you want
    }
Rineek is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 05-30-2020 , 09:54   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #12

Quote:
Originally Posted by Rineek View Post
errors
Code:
L 05/30/2020 - 10:56:53: [SM] Exception reported: <Cache-MySQL> Invalid database driver for "ProxyKiller", expecting "mysql"
L 05/30/2020 - 10:56:53: [SM] Blaming: ProxyKiller-latest.smx
L 05/30/2020 - 10:56:53: [SM] Call stack trace:
L 05/30/2020 - 10:56:53: [SM]   [0] SetFailState
L 05/30/2020 - 10:56:53: [SM]   [1] Line 62, ./include/ProxyKiller/ProxyCacheMySQL.inc::ProxyCacheMySQL.ProxyCacheMySQL
L 05/30/2020 - 10:56:53: [SM]   [2] Line 39, ProxyKiller/cache/cache.sp::CreateCache
L 05/30/2020 - 10:56:53: [SM]   [3] Line 87, ProxyKiller.sp::OnConfigsExecuted
databases.cfg
Code:
    "ProxyKiller"
    {
        "driver"    "sqlite"
        "database"  "proxykiller-sqlite" // Could be anything you want
    }
Did you tried this?

Code:
"driver"    "mysql"
__________________

"I've Got You In My Sights!"
KasperH is offline
Rineek
Member
Join Date: Jan 2018
Old 05-30-2020 , 10:41   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #13

Quote:
Originally Posted by KasperH View Post
Did you tried this?

Code:
"driver"    "mysql"
I don't have a mysql server/database
I need to use sqlite

Last edited by Rineek; 05-30-2020 at 10:41.
Rineek is offline
KasperH
Senior Member
Join Date: Apr 2016
Location: Hungary
Old 05-30-2020 , 13:27   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #14

Quote:
Originally Posted by Rineek View Post
I don't have a mysql server/database
I need to use sqlite
Well my database looks like this:
Code:
	"ProxyKiller"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}
And in the ProxyKiller-Convars.cfg:

Code:
"ProxyKiller_Cache_Mode "2"
"ProxyKiller_Rules_Mode "-1"
If these doesn't work, I have no more idea. Sorry.
__________________

"I've Got You In My Sights!"
KasperH is offline
ShaneAJM
AlliedModders Donor
Join Date: Aug 2017
Location: United States
Old 06-24-2020 , 02:18   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #15

Anyone having issues with this loading fine but not actually doing anything on CS:GO? I'm not getting any errors in console when I load the plugin but nothing is going to DB (MySQL) and when I join on a VPN (no ignore flags) it doesn't do anything.

I know my config is correct because I manually did an HTTP request with Insomnia and the query is coming back, just not getting anything on serverside.

Any help/ideas is appreciated

Last edited by ShaneAJM; 06-24-2020 at 02:19.
ShaneAJM is offline
OfficialSikari
Junior Member
Join Date: Aug 2017
Location: /dev/null
Old 07-05-2020 , 05:15   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #16

Quote:
Originally Posted by ShaneAJM View Post
Anyone having issues with this loading fine but not actually doing anything on CS:GO? I'm not getting any errors in console when I load the plugin but nothing is going to DB (MySQL) and when I join on a VPN (no ignore flags) it doesn't do anything.

I know my config is correct because I manually did an HTTP request with Insomnia and the query is coming back, just not getting anything on serverside.

Any help/ideas is appreciated
I am a little late, but could help to actually share the config and any possible error logs.
OfficialSikari is offline
ShaneAJM
AlliedModders Donor
Join Date: Aug 2017
Location: United States
Old 07-08-2020 , 01:50   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #17

Quote:
Originally Posted by OfficialSikari View Post
I am a little late, but could help to actually share the config and any possible error logs.
No worries, haven't gotten any errors but here's my config.

Code:
"ProxyKiller"
{
    "blackbox.ipinfo.app"
    {
        "method"    "GET"
        "url"       "https://blackbox.ipinfo.app/lookup/{ip}"
        "response"
        {
            "type"      "plaintext"
            "value"     "Y"
        }
    }
}
Tried with proxycheck io as well and still wasn't getting any results via plugin. HTTP requests were picking up though.

Last edited by ShaneAJM; 07-08-2020 at 01:50.
ShaneAJM is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 08-06-2020 , 17:40   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #18

Thanks, managed to get this to work without errors.

https://bitbucket.org/Sikarii/proxykiller/src/master/

Need to test it with a VPN to see what happens.
__________________

Last edited by ph; 08-06-2020 at 19:27.
ph is offline
ph
AlliedModders Donor
Join Date: Mar 2006
Old 08-07-2020 , 17:56   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #19

How do I whitelist a players steamid?

STEAM_0:1:XXXXXXXX


ProxyKiller-Config.cfg

"ProxyKiller"
{
"blackbox.ipinfo.app"
{
"method" "GET"
"url" "https://blackbox.ipinfo.app/lookup/{ip}"
"response"
{
"type" "plaintext"
"value" "Y"
}
}
}
__________________

Last edited by ph; 08-07-2020 at 18:03.
ph is offline
foon
Member
Join Date: Dec 2018
Old 08-08-2020 , 04:25   Re: [ANY] ProxyKiller - Configurable Proxy & VPN player manager
Reply With Quote #20

https://bitbucket.org/Sikarii/proxykiller/wiki/Commands
sm_proxykiller_rules_add STEAM_0:1:XXXXXXXX

Last edited by foon; 08-08-2020 at 04:25.
foon is offline
Reply


Thread Tools
Display Modes

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 07:19.


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