/* * 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; } } } } }
Its not in the rules, but doesn't mean we will prevent their use when we find a way.
Is using route editing scripts in AM illegal, or just highly frowned upon?
Do you have such a thing?
the thing i always think is how? cause its not fixed on one computer but its online and the thought of something automatically changing a price in AM over the internet which is quiet scary to me, not cause its not possible but cause a simple script can change everything automatically and thats without hacking into the server :DDo you have such a thing?
Obviously one will never admit to having one, but I have a sneaking suspicion that a few people do use one.
Anyone with basic programming knowledge could easily whip something up.
Obviously I wouldn't admit if I was using one, no :DAre you studying for NCEA exams?
I have a mate at school who's really clever with computers that I was thinking of asking him to have a look at making a script, as I simply don't have time to edit routes for 30 mins a day, but I desperately want to play AM. I probably won't until my airline gets quite a bit bigger, if at all.
Are you studying for NCEA exams?
I've got mock-exams for them starting this Friday...
Obviously I wouldn't admit if I was using one, no :D
I have a mate at school who's really clever with computers that I was thinking of asking him to have a look at making a script, as I simply don't have time to edit routes for 30 mins a day, but I desperately want to play AM. I probably won't until my airline gets quite a bit bigger, if at all.
Obviously I wouldn't admit if I was using one, no :D
I have a mate at school who's really clever with computers that I was thinking of asking him to have a look at making a script, as I simply don't have time to edit routes for 30 mins a day, but I desperately want to play AM. I probably won't until my airline gets quite a bit bigger, if at all.
so you like playing AM but you dont like editing routes? then whats the point of playing? just to order planes and see them in your fleet? :roll:
Repedatley clicking on something that requires no thought or strategy is not fun in my book. ;DObviously I wouldn't admit if I was using one, no :D
I have a mate at school who's really clever with computers that I was thinking of asking him to have a look at making a script, as I simply don't have time to edit routes for 30 mins a day, but I desperately want to play AM. I probably won't until my airline gets quite a bit bigger, if at all.
so you like playing AM but you dont like editing routes? then whats the point of playing? just to order planes and see them in your fleet? :roll:
I'm still waiting on some final feedback from the beta testers in hopes that the bugs are wrung out of the mass edit script. this should hopefully help reduce some of the difficulty in managing the masses of routes.
I'm guessing you'll be able to tick which routes you want to edit and choose how much you want to reduce price by (in %)?
I'm guessing you'll be able to tick which routes you want to edit and choose how much you want to reduce price by (in %)?