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 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 build_postbit
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 1124 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 1124 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 1124 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 1124 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 1124 build_postbit
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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 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 1124 build_postbit
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 1124 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 1124 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 1124 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 1124 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 1124 build_postbit
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 1124 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 1124 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 1124 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 1124 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 1124 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 $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
#1
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 )
Reply
#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
#3
TAP 0.5.1 had an option to use real data. How about reintegrating this?

Maybe you're right, not everything should be predefined.

what about this: (if real data option is selected)

60% predefined routes/40% random routes (although smarter selection which routes it's gonna fly)
If there are no profitable predefined routes left, it should just add random routes.

However, I still don't like to see holiday airlines (like thomas cook) doing domestic routes or i.e. London - Brussels.
Neither should British airways open it's first route away from it's homebase or on another continent, that's something for if many routes from the homebase/focus airports already have been established.

ofcourse, if the real data option is selected, airlines ignore the 60/40 division.
(still, holiday airlines should fly on holiday destinations, airlines should fly routes from their focus airports before expanding to other airports)



note: the 60/40 division is a random chosen number. it could be 70/30 or whatever...
Reply
#4
I have noted that I need to look at the AI for airliners (yet again), so I hope to be able to do that soon.
Reply
#5
(06-14-2017, 03:41 AM)pjank42 Wrote: I have noted that I need to look at the AI for airliners (yet again), so I hope to be able to do that soon.

When taking a look on that part:

Airlines like BA, UA LH, AF etc should have focuses on both, domestic AND international routes (shorthaul AND longhaul) and not only one of that. Has been in former versions like that.

Btw: how did you calculate landing fees and do airports with multiple runways will keep 50% of slots for landings?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)