/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
depends on the definition of inactive i suppose.
those users who are cleaned up and removed from the game, do they count towards "total users"?
Anyone who has an impact on the load factor (that is, with a route) should be included.
QuoteAnyone who has an impact on the load factor (that is, with a route) should be included.
Can you elaborate? I dont follow you.
Quote from: "StephenM"QuoteAnyone who has an impact on the load factor (that is, with a route) should be included.
Can you elaborate? I dont follow you.
Basically, anyone that has a plane flying on a route has an impact on the load factor, and thus profitability of other players. At the same time, the world being saturated (that is profit on routes decrease because of too many flights being offered) is the main reason why one would need a max player limit.
Also, anyone that has a route would be included in the world updates, which is the other concern causing the limit. Only pure brokers would be the ones that are included in the world updates who don't have a flight, and there wouldn't be that many of them.
"Players with flight(s) / route(s)" seems to me as a good base for the max user limit. (You may define them as "active users", but as AEB has pointed out, your definitions weren't clear.)