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

Quote:
Originally Posted by paulo_crash View Post
So far so good, thanks for the help.

Just one thing now, to confirm.

Player has all the requirements to enter, connect and such, he can leave the steam profile private again or he will have a problem due to the verification that the plugin does in the database every X days.

PHP Code:
// (Requires Database)
// any integer = refresh players values if older than X minutes
// 0 = never refresh (recommended if you don't plan on using the DB for other reasons)
// NOTE: Player values will ALWAYS refresh if they are denied, but this will NOT count as a true full refresh
// -
// Default: "1440"
nda_database_refresh "1440"

// (Requires Database)
// any integer = players values are deleted if older than X days (using refresh as well is recommended)
// 0 = keep player values forever
// NOTE: Deleting really old values of players that don't play anymore is recommended
// -
// Default: "365"
nda_database_expire "30" 
Great question! This one is answered in the Advanced part of the wiki:
https://github.com/azalty/sm-no-dupe...s#special-note

If someone equips a coin, and they remove it, the DB will store the last coin equipped, and the player will ALWAYS pass the coin check in the future, as long as his data isn't deleted.

Players highest csgo level will be stored, example: if someone is level 40, and then prestige, the DB will store 40 as level, meaning this player will ALWAYS pass the level check in the future, as long as his data isn't deleted.

This behaviour is the same for all the other methods: the best value will always be kept.


So, as long as their data doesn't expire (30 days for you), they will always keep the best values (old ones or new ones)
__________________
GitHub | Discord: @azalty | Steam
azalty is offline