Raised This Month: $32 Target: $400
 8% 

VAC Ban Status


Post New Thread Reply   
 
Thread Tools Display Modes
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-01-2021 , 20:06   Re: VAC Ban Status
Reply With Quote #231

Code:
] amx_vacban harm
*[VAC Ban Status] Checking harmloser passant [STEAM_0:1:578093].
*[VAC Ban Status] harmloser passant is not VAC banned.
Great!
Thanks Shadows Adi and Bugsy!
__________________

Mordekay is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-01-2021 , 22:00   Re: VAC Ban Status
Reply With Quote #232

Good to hear, Mordekay. The new version has been posted. Thanks again, Shadows Adi.

If the certificate is not found when the plugin loads, it will fail with the below:
Code:
L 02/01/2021 - 21:59:42: [AMXX] Plugin says: curl SSL certificate not found.
Place here: cstrike/addons/amxmodx/data/curl_cert/cacert.pem
Visit: https://curl.se/docs/caextract.html
__________________

Last edited by Bugsy; 02-01-2021 at 22:07.
Bugsy is offline
orion1
Junior Member
Join Date: Sep 2018
Old 02-03-2021 , 09:42   Re: VAC Ban Status
Reply With Quote #233

Quote:
Originally Posted by Bugsy View Post
Good to hear, Mordekay. The new version has been posted. Thanks again, Shadows Adi.

If the certificate is not found when the plugin loads, it will fail with the below:
Code:
L 02/01/2021 - 21:59:42: [AMXX] Plugin says: curl SSL certificate not found.
Place here: cstrike/addons/amxmodx/data/curl_cert/cacert.pem
Visit: https://curl.se/docs/caextract.html

Hi Bugsy ;) Thanks for release. I've tried plugin and got server dump.

LINUX PuTTy console:

L 02/03/2021 - 150:12: [AMXX] Run time error 5: memory access
L 02/03/2021 - 150:12: [AMXX] [0] vacbans.sma::ResponseReceived (line 749)
Floating point exception (core dumped)

Using beta plugin
orion1 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-05-2021 , 21:45   Re: VAC Ban Status
Reply With Quote #234

Quote:
Originally Posted by orion1 View Post
Hi Bugsy ;) Thanks for release. I've tried plugin and got server dump.

LINUX PuTTy console:

L 02/03/2021 - 150:12: [AMXX] Run time error 5: memory access
L 02/03/2021 - 150:12: [AMXX] [0] vacbans.sma::ResponseReceived (line 749)
Floating point exception (core dumped)

Using beta plugin
Thanks for the report, please try the below and provide the logs when the error occurs.

size=# num_memb=# buffer len=#

Also, after doing that, try replacing
PHP Code:
return ( iSize iNumMemb ); 
with
PHP Code:
return ( iNumMemb ); 
Spoiler
__________________

Last edited by Bugsy; 02-06-2021 at 11:11.
Bugsy is offline
orion1
Junior Member
Join Date: Sep 2018
Old 02-09-2021 , 08:07   Re: VAC Ban Status
Reply With Quote #235

L 02/09/2021 - 15:02:19: [vacbans.amxx] size=1 num_memb=2665 buffer len=2692
L 02/09/2021 - 15:02:19: [vacbans.amxx] size=1 num_memb=549 buffer len=2692
L 02/09/2021 - 15:02:19: [AMXX] Displaying debug trace (plugin "vacbans.amxx", version "0.41")
L 02/09/2021 - 15:02:19: [AMXX] Run time error 5: memory access
L 02/09/2021 - 15:02:19: [AMXX] [0] vacbans.sma::ResponseReceived (line 751)

Thanks. Got this one but didnt change that line. I will try now and let you know
orion1 is offline
orion1
Junior Member
Join Date: Sep 2018
Old 02-09-2021 , 21:39   Re: VAC Ban Status
Reply With Quote #236

Quote:
Originally Posted by Bugsy View Post
Thanks for the report, please try the below and provide the logs when the error occurs.

size=# num_memb=# buffer len=#

Also, after doing that, try replacing
PHP Code:
return ( iSize iNumMemb ); 
with
PHP Code:
return ( iNumMemb ); 
Spoiler
Still server crashing but didnt remember error type. Still something with overloaded size or smth.. ;) I turn off plugin for a while. How about others? Everything ok?
orion1 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-10-2021 , 22:19   Re: VAC Ban Status
Reply With Quote #237

I'm not sure, try increasing this bit by bit. Try 5,120, 6144, 7168..

const CURL_BUFFERSIZE = 4096;
__________________
Bugsy is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-12-2021 , 08:54   Re: VAC Ban Status
Reply With Quote #238

I'm not entirely sure, but I guess the notification does not work.
When someone connects there is no check shown. The only way to see a check is by doing it manually. And this check is only visible in the console.
IIrc the check was shown in the server-chat. Or am I completely off here?
__________________

Mordekay is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 02-12-2021 , 11:32   Re: VAC Ban Status
Reply With Quote #239

The plugin caches a VAC status for vbs_expiredays days. Simplest way to test the plugin is a manual check.
__________________
Bugsy is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 02-12-2021 , 11:33   Re: VAC Ban Status
Reply With Quote #240

But it doesn't show the automatic checks, even if the player has never been on my server(s) before.
__________________

Mordekay 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 13:57.


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