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 1759 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1763 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1765 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1771 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1777 - Line: 911 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 911 errorHandler->error
Warning [2] Undefined array key 1765 - 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 1777 - 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 "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 array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 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
AI improvements
#2
(06-12-2017, 11:47 AM)Tjoeker Wrote: Like I said in this topic, the AI could use some improvements.

I'm a newbie when it comes to coding (started learning C# few months ago), but I think this will contribute to 'dumbing down' the AI.

This suggestion is mainly about 2 things the AI does wrong. (in my opinion)


Choosing planes
at the moment the AI can choose from all the planes available in the game. (I might be wrong, maybe it's my settings?)
It hurts my feelings, seeing a company like Lufthansa buying Cessna's to do it's aviation. (I might be wrong, maybe Lufthansa does have Cessna's for commercial flights?)

Although there is a setting 'preferred airliners' in the xml file, the game does seem to ignore it?

I'd like to see a setting in the Airline file which defines which kind of planes they buy:
-General Aviation (Cessna, Beachcraft, ...)
-Regional jets (like A320, B737, ...)
-Long haul jets (A330, B777, ...)
-a combination of the above

*this is just an example list, not the final list.

They should still prefer their 'preferred airliners', but if they are willing to ignore these for whatever reason (can't afford these, need an aircraft with shorter RWY distance, ...) they should look at this list.

Origin airports
I don't know what the rules are for this at the moment, but...
My new airline (homebase: Brussels; Focus Airports: Brussels, Liege) created a route from London Heatrow to Madrid.
So Did British Airways (homebase:London Heatrow) create a route from New Ark (USA) to Chicago (USA).

I know British Airways has some regional routes in USA, but bear with me.

I think AI should first complete all predefined routes from the xml, If there is no competition that makes it unprofitable/not profitable enough.
As soon as it has completed the list (flying all destinations except for unprofitable destinations), it can start looking for new destinations. (originating from the focus airports)
If there are no new profitable destinations available from the focus airports, it can start looking for a new focus airport(s). (depending on the mentality. IE the lowest mentality rankings will only fly from predefined focus airports).



I'm willing to help update all the airline files if you need me to. (I believe it's gonna be a lot of work :p )

At first: LH is not using Pipers or Cessnas for commercial flights... Undecided

I am absolutely of contrary opinion: what sense makes a game, if everything (what the AI-Opponents will do) is planned or programmed before, give the game a kind of "free will"!!

A game or a simulation should not be predefined before, on some parts ok (e.g. preferred airliners), but especially which routes are to be flown should not be fixed, the AI should decide that. But I agree, not in that kind, that big players like LH, BA, UA or who else are buying 5-10 pax Airliners for their routes.

Large Airlines should be intelligent enough to buy/ lease airliners that match for routes and their duties. And it should be managed, that big Airlines are not flying only from metropolitan to metropolitan. They should fly domestic routes as well, and this with A319, A320, B737 or whatever makes sense.

But as I wrote in some thread earlier (cc 100% pax demand from every airport IRL):

please do not make a 100% sim out of this game, airports & airliners should be chosen by AI and not by the programmer that has checked the airlines routes IRL. It is still a game and games are differing at any time they will be played. With your wish it should be a boring game where always the same things happen. So you do not need to play anymore, than you can watch "flightradar24.com" for 24 hours every day and you will see the real life and do not need to make plans for airlines because you can see all airliners on earth  moving as planned IRL, there would be no reason to program a game for that...

My Conclusion:

More AI on buying/ leasing airliners: Defintely YES!!
More predefined routes for airlines (opponents)? Definitely NO!!!
As I said, a game is still a game and not the real life in a program!
Reply


Messages In This Thread
AI improvements - by Tjoeker - 06-12-2017, 11:47 AM
RE: AI improvements - by Therealnick - 06-12-2017, 09:32 PM
RE: AI improvements - by Tjoeker - 06-13-2017, 08:24 AM
RE: AI improvements - by pjank42 - 06-14-2017, 03:41 AM
RE: AI improvements - by Therealnick - 06-15-2017, 12:10 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)