Log in

View Full Version : Max Clients Per IP rules - Duplicates?


N0ctrnl
12-30-2015, 03:02 PM
I've not looked through the source, but maybe somebody can tell me the difference in these rules?


RULE_INT(World, MaxClientsPerIP, -1) // Maximum number of clients allowed to connect per IP address if account status is < AddMaxClientsStatus. Default value: -1 (feature disabled)
RULE_INT(World, ExemptMaxClientsStatus, -1) // Exempt accounts from the MaxClientsPerIP and AddMaxClientsStatus rules, if their status is >= this value. Default value: -1 (feature disabled)
RULE_INT(World, AddMaxClientsPerIP, -1) // Maximum number of clients allowed to connect per IP address if account status is < ExemptMaxClientsStatus. Default value: -1 (feature disabled)
RULE_INT(World, AddMaxClientsStatus, -1) // Accounts with status >= this rule will be allowed to use the amount of accounts defined in the AddMaxClientsPerIP. Default value:


Are these just dupes leftover or are both used?

NatedogEZ
12-30-2015, 03:33 PM
First is Max number of clients per IP (unless they have status for 3rd / 4th)

Second is the status required to be exempt from ALL rules allowing unlimited accounts

Third is the # of EXTRA Clients a player can log in if their status is equal or greater than the Fourth

Fourth is the status required to add the extra client number from the third rule

N0ctrnl
12-30-2015, 03:38 PM
Ahh. That makes much more sense. Thanks Natedog!