EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   IP-based Exemptions. (https://www.eqemulator.org/forums/showthread.php?t=40860)

Kingly_Krab 08-27-2016 06:00 PM

IP-based Exemptions.
 
IP-based exemptions have been in the spotlight on numerous servers where boxing is capped. I have taken the liberty of adding an optional rule_value to the source code to allow you to make IP-specific exemptions for accounts.

What this means is, IP X can only have 3 accounts, but being IP Y has 2 people playing, they can have 6.

The IP exemptions are rather simplistic and only require a few things:
  1. World:EnableIPExemptions must be true.
  2. An entry must be made in ip_exemptions with the IP and exemption amount for the IP.
    • Note: If there is not an entry for the IP in the table it will default to World:MaxClientsPerIP
There isn't really much more to explain; however, if you have any questions or concerns, feel free to ask.

DanCanDo 08-27-2016 08:31 PM

I like this, but I "assume" that this will be used more for a disciplinary option for server ops.
"Been a bad boy ? Ok, you can only log on one toon for a month" (chuckle)

Kingly_Krab 08-27-2016 09:36 PM

It's more of an ability to dynamically influence the number of accounts an IP can log in. Exemptions for multiple people on a singular IP is the main use.

Drajor 08-27-2016 09:37 PM

No, servers are frequently designed to have caps. Some servers have donation requirements per box etc. Nice work KK

Kingly_Krab 08-27-2016 09:40 PM

Quote:

Originally Posted by Drajor (Post 250757)
No, servers are frequently designed to have caps. Some servers have donation requirements per box etc. Nice work KK

Thank you, I appreciate it. Had I known how simple this was to do, I would have done it long ago.


All times are GMT -4. The time now is 08:31 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.