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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1404 fetch_forum_permissions
/showthread.php 103 forum_permissions
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key 1 - Line: 1449 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1449 errorHandler->error
/inc/functions.php 1414 fetch_forum_permissions
/inc/functions.php 2953 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 1997 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1997 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 669 mark_thread_read
Warning [2] Undefined property: MyLanguage::$ratings_update_error - Line: 5 - File: showthread.php(772) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(772) : eval()'d code 5 errorHandler->error
/showthread.php 772 eval
Warning [2] Undefined variable $postsdone - Line: 905 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 905 errorHandler->error
Warning [2] Undefined array key 2457 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2458 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2459 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2460 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2461 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2462 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2463 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2467 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2470 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2472 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2473 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2474 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2476 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2477 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2479 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2480 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2481 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2495 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2501 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2658 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2659 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2660 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2662 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2665 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2666 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2667 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2674 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2676 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2679 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 2463 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2467 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2476 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2481 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2495 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2501 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2658 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2659 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2660 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2662 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2666 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2667 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
Warning [2] Undefined array key 2679 - Line: 1640 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1640 errorHandler->error
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 1642 buildtree
/showthread.php 923 buildtree
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_user.php 816 is_member
/inc/functions_post.php 416 purgespammer_show
/showthread.php 924 build_postbit
Warning [2] Undefined variable $customfield - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 924 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 462 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 462 errorHandler->error
/showthread.php 924 build_postbit
Warning [2] Undefined array key "showimages" - Line: 471 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 471 errorHandler->error
/showthread.php 924 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 1 - File: inc/functions_post.php(479) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(479) : eval()'d code 1 errorHandler->error
/inc/functions_post.php 479 eval
/showthread.php 924 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 924 build_postbit
Warning [2] Undefined array key "showimages" - Line: 758 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 758 errorHandler->error
/showthread.php 924 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 763 - File: inc/functions_post.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php 763 errorHandler->error
/showthread.php 924 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1565 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1565 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 33 errorHandler->error
/showthread.php 1597 eval
Warning [2] Undefined variable $multipage - Line: 36 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 36 errorHandler->error
/showthread.php 1597 eval
Warning [2] Undefined variable $multipage - Line: 68 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 68 errorHandler->error
/showthread.php 1597 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 82 errorHandler->error
/showthread.php 1597 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: showthread.php(1597) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1597) : eval()'d code 104 errorHandler->error
/showthread.php 1597 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Updating the Airlines (Demo of RyanAir)
#3
(01-29-2018, 05:55 AM)Tjoeker Wrote: You will have a lot of fun, updating all airliners.  Big Grin

You got the routes-code correct. Wink


Yes, AI uses these files to create new routes and buy new airliners.

We had a discussion a few months ago about these premade routes.
It was said they made airliners predictable if you've played with them a few times.

But please, continue your awesome work. Smile
I believe we should have it optional:
-Either the airliner doesn't use these files and fully uses its intelligence to create routes
-or the airliner uses its intelligence for creating routes, while preferring these premade onces.

(And I'd probably mostly play with the 'prefer preset routes' mostly.)
I will definiately continue working on them.

Anyway, I came up with some new instructions for the .xml's, what should be added to the aircrafts, which I will list Here:

1. buyfrom="xxxx" - Specifies the year from when the airline company can buy the specified aircraft.
2. buytill="xxxx" - Specifies a year until the selected aircraft will be purchased by the airline company.
3. sellfrom="xxxx" - Specifies the year from when the airline company can start selling the specific aircrafts.
4. selltill="xxxx" - Specifies the year till when the airline company must sell all the the specific aircrafts.
5. forcebuyin="xxxx" - Instructs the AI to buy all specified airliners the same year (maxing them out as specified by the late="x" command now, in the future the midgame="x" comand).
6. forcesellin="xxxx" - Instructs the game to sell all the specified airliners the same year.
7. replacewith="name" - Instructs the AI to replace the model with an another specific model
8. replacecount="x" - Instructs the AI to replace the old models count with the new models count.
9. replacefrom="xxxx" - The year since the replace should be held.
10. replacetill="xxxx" - the year the replacement should be finished.
11. forcereplace="xxxx" - Replaces the aircrafts the specified year (only can be done if replacecount is="1")
12. leaseable="true/false" - Instructs the AI to Lease or not to Lease the aircraft (this could be catchy to create, I leave it to Pjank if wants to implement it).
13. midgame="x" - Midgame specific aircraft count. If the game decides to sell them, it will be the max, and then the late will become "0" again.

For example:
<airliners>
 <airliner type="Boeing 737-500" early="0" midgame="4" late="0" buyfrom="2003" buytill="2004" forcesellin="2008" leaseable="true"></airliner>
</airliners>

Or:
<airliners>
 <airliner type="Boeing 737-200" early="0" late="7" forcebuyin="1973" replacewith="Boeing 737-500" replacecount="3" replacefrom="1988" replacetill="1990" sellfrom="1989" selltill="1991" leaseable="false"></airliner>
</airliners>


And here are some new instructions for the routes:

1. datestorun="1,2,3,4,5,6,7" - Explains the game what day should he create lines. (1-monday, 2-tuesday, 3-wednesday, ect...)
2. runcount="1,x-y" - Explains the game how many times a day should it run the line.
3. runcount(x)="1" - Specifies a day when the run count should be different.

For Example:
<route destination1="BUD" destination2="DUB" opened="1985" closed="2199" datestorun="1,3,4,6" runcount="2" runcount(3)="1"/>)

QuickTips:
- If the AI doesn't have enough money for the replacement, it should take out a loan for it. Smile
- At the replacing procedure the AI would replace randomly the aircrafts from the poll. The game should copy the assigned timetable to the new aircraft.

For now this is all I came up with. Smile
Later maybe I will have some more ideas for the AI. Smile

Have a nice day guys! Smile
Reply


Messages In This Thread
RE: Updating the Airlines (Demo of RyanAir) - by picoo000 - 01-29-2018, 10:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)