View Single Post
azalty
AlliedModders Donor
Join Date: Feb 2020
Location: France
Old 06-25-2021 , 07:07   Re: [CS:GO] No Dupe Account (1.4.3, 2021-04-10)
Reply With Quote #52

Quote:
Originally Posted by PC Gamer View Post
Question regarding the account age configuration:
PHP Code:
// (Requires SteamAPI Key)
// 0 = disabled
// any integer = is a user check that fails if his steam account age is newer than this value in minutes or his profile is private
// any negative integer = same as positive, but is not a check and will kick user
// &integer (ex: &60) = same as negative, but will not kick user if his profile is private
// -
// Default: "1576800"
nda_steam_age "&43200" 
The instructions indicate that an ampersand (&) is used before the number. A few posts above show a tilde (~) used before the number. Which is it supposed to be?

My goal was to kick anyone with a steam account creation less than 30 days old. If necessary, I will add a check for steam level as well.
You're actually totally right. There is a big config error of mine.

The symbol I meant to use was probably "&", but "~" is checked by the code.
Don't ask why, I don't know at all. Can't believe this was in the code for so long.

Since most people use "~", I'll just update and fix the description of that cvar -> we'll now officially use "~"

so, please use nda_steam_age "~43200" or nda_steam_age "-43200" depending on what you want.


I hate myself for missing that
__________________
GitHub | Discord: @azalty | Steam

Last edited by azalty; 06-25-2021 at 07:08.
azalty is offline