/*
* 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;
}
}
}
}
}
Print Page - [W8,W10] Aircrafts With Negative Hours?
Airline Mogul Forum
Airline Mogul => Bugs => Topic started by: gta95 on August 06, 2008, 11:01:03 pm
-
Philadelphia Wings - 13923
Aircrafts in question:
Boeing 737-200 Adv - 17540
Douglas DC-9-50 - 29897
How may I fix this? Are my aircrafts flying too long?
-
It depends, are the aircraft flying at -0 or -1 and under? if -0 do not worry, it means it has literally 0 minutes left, if -1 and under prob a bug.
-
They are -2 and -1 (I think)
-
That's nothing.
Could someone please look at aircraft number 7963, in World 10, which has -100. Pretty sure that's not an exactly-0-minutes-left case.
-
World 10, The Brokerage House
Same here I have two aircraft in my fleet just recieved as srcaps today and yesterday that came to me with -100 hrs.
I believe the -100 is due to some sort of brokerage transfer error.
I have a seperate aircraft that has -0 but I believe that is just the formula rounding and I some how maxed out that aircraft perfectly.
Zero-G
Brokeragehouse
W10
-
World 10, The Brokerage House
Same here I have two aircraft in my fleet just recieved as srcaps today and yesterday that came to me with -100 hrs.
I believe the -100 is due to some sort of brokerage transfer error.
That was a reported cheater who had his airline deleted. You got the plane. Send the ID to Air Elbonia and he will reset it to 24 hours.