/* * 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; } } } } }
Not a bug.
Since your first base is in ATL, your home continent is North America.
You can have four bases on your home continent.
What your world creator didn't know or realize (maybe he did), is that every foreign base counts as 2 domestic bases.
So ATL and LAX count as 1 each, and PEK counts as 2, which equals 4--which is the maximum number of bases allowed.
When you look at a typical full public world, you are given 7[1] domestic/foreign bases. That means you can have 7 domestic bases or 5 domestic/1 foreign base.
I'm going to assume the world is listed as 4[4]. If he intended to allow for 4 domestic and 4 foreign, it should have read 12[4] (which would've costed a lot more tokens).