The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 749 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 749 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 889 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 889 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(956) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/global.php(956) : eval()'d code 34 errorHandler->error
/global.php 956 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1021 - File: global.php PHP 8.0.30 (Linux)
File Line Function
/global.php 1021 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5196 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 5196 errorHandler->error
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/inc/functions.php 5233 build_theme_select
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7360 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 7360 errorHandler->error
/inc/functions.php 5216 is_member
/global.php 1021 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forum
Choose airliners for other airlines - Printable Version

+- Forum (https://theairlineproject.net/forum)
+-- Forum: General Discussion & Suggestions (https://theairlineproject.net/forum/forumdisplay.php?fid=4)
+--- Forum: New Features (https://theairlineproject.net/forum/forumdisplay.php?fid=12)
+--- Thread: Choose airliners for other airlines (/showthread.php?tid=1507)

Pages: 1 2


Choose airliners for other airlines - Catolsen - 10-02-2018

First, sorry if i'm posting too much, i'm just full of suggestions and questions Smile

Anyway this suggestion is about being able to choose the airliner types that other airlines will order/buy/lease. In real life for example American Airlines ordered dc-10s in the late 60s, in the game however instead they go along the lines of ordering ~50 il-62s (Soviet planes... in the middle of the cold war). My idea is not some fancy AI or something, just a simple tag in the airline xml files, something like:
Code:
<onlyoperate aircraft="MD DC-10-10","Boeing 737-800","Boeing 727-100","Airbus A300-600","Insert ~40 aircraft here"></onlyoperate>
My only request is to make it optional, so that there is an onlyoperate tag which is not filled in, so that players can fill it in if they want to.
I dont want to bore/spam you so i'm not gonna talk anymore about this idea, unless you want to of course Smile
Thats it, Thank You.


RE: Choose airliners for other airlines - Tjoeker - 10-02-2018

As long as each post has added value, you can't post too much. Wink


I think you are suggesting this tag in the xml:

Code:
<prefereds aircrafts="Airbus A319-100,Airbus A320-200,Airbus A330-200,Airbus A330-300,Boeing 737-300,Boeing 737-400,Bombardier Dash 8-400,Avro RJ100 Avroliner"></prefereds>

This example comes from Brussels Airlines if you want to check it out.


RE: Choose airliners for other airlines - Catolsen - 10-02-2018

1.  Big Grin
2. Thank you but i dont think thats what i'm looking for, as that is only preferred aircraft (Right?), as i would love to be able to choose exactly what aircraft they can or (more likely) cant operate, for historical accuracy (or just for fun!).


RE: Choose airliners for other airlines - Tjoeker - 10-02-2018

I tested it: I gave the airline only the option to buy A319's.
50% of the aircraft it bought were A319's, the other 50% were aircraft meant for long haul flights.
So I guess it's kind of working. Smile

You can put it in the preferred aircraft list.
At some point we'll make an option for the airline to be a little more strict with the list.
Probably when we're redoing the AI.


Edit: Upon second look, it doesn't work that well when you have more than 1 preferred airliner.
You can still put it in this list, we'll make sure it works. Smile


RE: Choose airliners for other airlines - Catolsen - 10-02-2018

Thank you  Smile
I will try once i get back to my computer.


RE: Choose airliners for other airlines - Catolsen - 10-03-2018

It works Smile
Thank you, but i think i might have found a bug with their routes.
I set up 1 competitor (Scandinavian Airlines, my national airline), and set them up with the aircraft list i made for them. And of course it worked, however when i looked at their routes they were all over the place, like this 
[Image: 2mMmKx]
I have no idea whats going on, as i have never had such a bug before.
Thats pretty much it.

Edit: For some reason the image isnt showing up for me, i dont know why, i will try to find a solution.
Edit2: The image still isnt working, you just have to trust me Wink


RE: Choose airliners for other airlines - Tjoeker - 10-03-2018

Images are shown like this:

[img]link to image[/img]

Wink


But I know what you are talking about.
AI will receive an update, and we will fix this.
But that's a long way from where we are now.
First we will make sure the economy works and everything from the users perspective is in decent shape.


RE: Choose airliners for other airlines - Catolsen - 10-03-2018

It just didnt work Smile
Anyway since we are on the suggestion forum i have a suggestion:
Aircraft total flown hours, and exact age, because i just feel that distance isnt enough.
Thank You.


RE: Choose airliners for other airlines - Tjoeker - 10-03-2018

This should be easy I guess. Perhaps we should include the amount of pressurizations the airliner underwent as well.
And put a maximum amount of pressurizations on aircraft? Smile


RE: Choose airliners for other airlines - Catolsen - 10-03-2018

Possibly Smile
Also maybe after the airplane has been worn down, you had the possibility of either scrapping the aircraft, restoring it and flying with enthusiasts or selling it to a museum.
I also have the idea of being able to order an aircraft before it has been built, enabling the possibility of launch customers.
But thats just some ideas.