General Chat / Show your colors - The Liveries Topic
« on: June 06, 2008, 04:55:57 am »New livery:
/* * 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; } } } } }
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I got over it by voting first, then accelerate the vote. I don't know if that works every time though.
I admit it was a hasty patch, to which i'm unsure if i have 100% properly done. I'm guessing that it was saying something about "vote_id" not existing, as I clearly saw a bug involving such a warning.
Also, a patch is in place that will work for the div/0.
Quote from: "Hampo":idea:
Ding dong, i have an idea (well maybe it's something all ready been suggested/on the list)
How about having 'order books' for manufacturers ?
So for example, people won't be able to get constellations as quickly as they do now so they will start getting some of the 'rarer' aircraft and using the used market a bit more
Sam
Are you thinking of this?
L-1049 order book:
Airline Serial No. Delivery Date
xxxxx 11111111 1st May 1950
xxxxy 11111112 1nd May 1950
xxxxy 11111113 2nd May 1950
xxxxz 11111114 2nd May 1950
If you place an order for one a/c your delivery date will be: 3rd May 1950
While the day may vary a little as it could be that other players place their orders at the same time. In that case you just need to figure out how many aircrafts can be build per day. Hm, its worth a discussion I think.
Within the next few days under some temporary rules.
The more "strict" rules will be applied at the start of next age.