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 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 1751 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1752 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1753 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1756 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1758 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1766 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1752 - 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 1753 - 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 1756 - 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 1758 - 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 1766 - 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 "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 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 "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
Belgian Airlines
#5
Thanks, that's what I was looking for Smile

So, I did some new testing and altered the file a bit.

Code:
<?xml version="1.0" encoding="UTF-8"?>

<airline>
 <profile name="Thomas Cook Airlines Belgium" iata="HQ" color="Yellow" country="107" CEO="Jean-Christophe Degen" mentality="Safe" market="Regional" preferedairport="BRU">
 <narrative narrative="Thomas Cook Airlines Belgium is a Belgian leisure airline owned by the Thomas Cook Group. It operates scheduled flights to destinations throughout Europe and Africa from its base at Brussels Airport."/>
   <logos>
     <logo from="2001" to="2012" path="HQ2001-2012"></logo>
     <logo from="2013" to="2017" path="HQ2013-2017"></logo>
   </logos>
 </profile>
 <info real="True" from="2001" to="2017" />
 <prefereds aircrafts="A320-200"></prefereds>
 <focusairports>
<focusairport airport="BRU"></focusairport>
<focusairport airport="LGG"></focusairport>
    </focusairports>
           
<startdata>  
   <airliners>
     <airliner type="Airbus A320-200" early="1" late="5"></airliner>
   </airliners>
 </startdata>

              <routes>
     <route destination1="BRU" destination2="AGA"   />
     <route destination1="BRU" destination2="AJA"  />
         <route destination1="BRU" destination2="ALC"  />
 <route destination1="BRU" destination2="LEI"  />
 <route destination1="BRU" destination2="AYT"  />
 <route destination1="BRU" destination2="AQJ"  />
 <route destination1="BRU" destination2="ACE"  />
 <route destination1="BRU" destination2="BIA"  />
 <route destination1="BRU" destination2="BVC"  />
 <route destination1="BRU" destination2="BOJ"  />
 <route destination1="BRU" destination2="CHQ"  />
 <route destination1="BRU" destination2="JKH"  />
 <route destination1="BRU" destination2="CFU"  />
 <route destination1="BRU" destination2="DJE"  />
 <route destination1="BRU" destination2="DBV"  />
 <route destination1="BRU" destination2="FUE"  />
 <route destination1="BRU" destination2="FNC"  />
 <route destination1="BRU" destination2="GRO"  />
 <route destination1="BRU" destination2="LPA"  />
 <route destination1="BRU" destination2="HER"  />
 <route destination1="BRU" destination2="HRG"  />
 <route destination1="BRU" destination2="IBZ"  />
 <route destination1="BRU" destination2="ADB"  />
 <route destination1="BRU" destination2="XRY"  />
 <route destination1="BRU" destination2="KGS"  />
 <route destination1="BRU" destination2="LDE"  />
 <route destination1="BRU" destination2="AGP"  />
 <route destination1="BRU" destination2="RAK"  />
 <route destination1="BRU" destination2="RMF"  />
 <route destination1="BRU" destination2="MAH"  />
 <route destination1="BRU" destination2="JMK"  />
 <route destination1="BRU" destination2="MJT"  />
 <route destination1="BRU" destination2="NCE"  />
 <route destination1="BRU" destination2="OHD"  />
 <route destination1="BRU" destination2="OLB"  />
 <route destination1="BRU" destination2="PMI"  />
 <route destination1="BRU" destination2="PFO"  />
 <route destination1="BRU" destination2="REU"  />
 <route destination1="BRU" destination2="KEF"  />
 <route destination1="BRU" destination2="RHO"  />
 <route destination1="BRU" destination2="RMI"  />
 <route destination1="BRU" destination2="SID"  />
 <route destination1="BRU" destination2="SPC"  />
 <route destination1="BRU" destination2="JTR"  />
 <route destination1="BRU" destination2="SPU"  />
 <route destination1="BRU" destination2="TFS"  />
 <route destination1="BRU" destination2="TIV"  />
 <route destination1="BRU" destination2="VAR"  />
 <route destination1="BRU" destination2="ZTH"  />
 
 <route destination1="LGG" destination2="AGA"   />
     <route destination1="LGG" destination2="AJA"  />
         <route destination1="LGG" destination2="ALC"  />
 <route destination1="LGG" destination2="AYT"  />
 <route destination1="LGG" destination2="CFU"  />
 <route destination1="LGG" destination2="DJE"  />
 <route destination1="LGG" destination2="DBV"  />
 <route destination1="LGG" destination2="HER"  />
 <route destination1="LGG" destination2="IBZ"  />
 <route destination1="LGG" destination2="ADB"  />
 <route destination1="LGG" destination2="KGS"  />
 <route destination1="LGG" destination2="LDE"  />
 <route destination1="LGG" destination2="AGP"  />
 <route destination1="LGG" destination2="RAK"  />
 <route destination1="LGG" destination2="MAH"  />
 <route destination1="LGG" destination2="JMK"  />
 <route destination1="LGG" destination2="NCE"  />
 <route destination1="LGG" destination2="PMI"  />
 <route destination1="LGG" destination2="PFO"  />
 <route destination1="LGG" destination2="REU"  />
 <route destination1="LGG" destination2="RHO"  />
 <route destination1="LGG" destination2="RMI"  />
 <route destination1="LGG" destination2="SPU"  />
 <route destination1="LGG" destination2="TFS"  />
 <route destination1="LGG" destination2="TIV"  />
 <route destination1="LGG" destination2="VAR"  />
 <route destination1="LGG" destination2="ZTH"  />
       </routes>




</airline>

Few problems I still have:
  • If you start the company (AI or as your airline) in the era of the fist logo (2001-2012 in this case), it still displays the logo from the second era.*
    Am I doing something wrong?
  • The airline (as an AI) ignores the preferred aircraft and buys a Cessna. This is probably related to the game though, instead of this xml file?
    I'll post something in the suggestions forum to prevent from going off-topic in this topic.
  • The airline ignores the focus airports. Idem, I'll post something in the suggestions forum.
  • The airlines changed it's IATA code, is there a way I can implement this? (Also, both IATA codes have been used by other airlines)
*the logos are in the attachment.


As soon as I'm satisfied with this Airline, I'll start working on Thomas Cook Airlines Scandinavia. (and maybe updating Thomas Cook (UK) and Condor if I'm allowed and it's necessary).
I'll continue working on TUIfly if the Thomas Cook Group is Finished







Edit: Question about the merger file: how would you add a few airlines which belong to the same parent company, while the parent company isn't an airline (in this case a travel agency)?
Is this even possible in the current state? If not, what would you do with these airlines?

I could add it as subsidiaries to the first subsidiary created (In this case Thomas Cook Belgium), but this particular subsidiary gets sold in 2017..

Also, is it possible to change the airlines' names at a specified time?


Attached Files Thumbnail(s)
       
Reply


Messages In This Thread
Belgian Airlines - by Tjoeker - 06-10-2017, 08:59 PM
RE: Belgian Airlines - by pjank42 - 06-11-2017, 03:16 PM
RE: Belgian Airlines - by Tjoeker - 06-11-2017, 06:25 PM
RE: Belgian Airlines - by pjank42 - 06-12-2017, 02:07 AM
RE: Belgian Airlines - by Tjoeker - 06-12-2017, 11:02 AM
RE: Belgian Airlines - by pjank42 - 06-13-2017, 10:31 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)