Raised This Month: $ Target: $400
 0% 

[Any] Veterans Only (v1.3, 2020-06-10)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 05-24-2015 , 18:54   Re: [Any] Veterans Only (v1.0, 2015-01-22)
Reply With Quote #11

Quote:
Originally Posted by eric0279 View Post
Hello,

Only work with SM 1.7.1 or 1.6.X work?.

because, .cfg:
Code
not kicked (i have 5164h and 61h for last 15 days, profile private.

if set sm_veterans_kickfailure 1 :
Code:
Disconnect: Failed to retrieve your playtime.
Disconnect: Failed to retrieve your playtime.
re edit: data/veterans_cache.txt >> not created!?
Code:
VeteransOnly: New client, requesting playtime for SteamId XXXXXXX
You cannot access data for a private profile, so I believe they will always fail.

Return sm_veterans_kickfailure to the default value of 1 in order to kick these failing requests.

I also suggest you take a higher _cachetime; people spamming with rejoins every 5-6 seconds would make your server spam with new requests for new information, there is no reasons ever for such ridiculous behavior.
__________________
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
 



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


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