Raised This Month: $319 Target: $400
 79%   Almost there!

[CS:GO] No Dupe Account (1.4.4, 2021-06-25)


Post New Thread Reply   
 
Thread Tools Display Modes
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 06-25-2021 , 00:11   Re: [CS:GO] No Dupe Account (1.4.3, 2021-04-10)
Reply With Quote #51

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.
PC Gamer is offline
azalty
AlliedModders Donor
Join Date: Feb 2020
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
__________________

Last edited by azalty; 06-25-2021 at 07:08.
azalty is offline
azalty
AlliedModders Donor
Join Date: Feb 2020
Old 10-13-2021 , 16:56   Re: [CS:GO] No Dupe Account (1.4.4, 2021-06-25)
Reply With Quote #53

Just to keep eventual readers informed, version 1.5.0 is currently in beta and can be tested/downloaded in the main branch of the plugin repository: https://github.com/azalty/sm-no-dupe-account

If you do have any suggestion or bug report to do, please do it now on this page or on github (https://github.com/azalty/sm-no-dupe-account/issues) (I prefer that you do it on GitHub )

1.5.0 adds a complete whitelist system using a steamid, admin flags, an IP or even an entire country!

It also adds a brand new blacklist system for countries: You can blacklist specific countries if your server only allows a specific language or if you get swarmed by accounts from another country.
NOTE: The country is grabbed from the IP's location, not the country set in the Steam profile.

---
Latest stable release: https://github.com/azalty/sm-no-dupe-account/releases

If you're able to do that, please take the time to test the beta and report any problem. Your feedback is important!

---

Thanks a lot for using my plugin
__________________
azalty 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 09:42.


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