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 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
/printthread.php 76 forum_permissions
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
game slower than befor - Printable Version

+- Forum (https://theairlineproject.net/forum)
+-- Forum: Downloads (https://theairlineproject.net/forum/forumdisplay.php?fid=5)
+--- Forum: Bug Reporting (https://theairlineproject.net/forum/forumdisplay.php?fid=9)
+---- Forum: Bug Archive (https://theairlineproject.net/forum/forumdisplay.php?fid=24)
+---- Thread: game slower than befor (/showthread.php?tid=1810)



game slower than befor - Ben959 - 08-04-2019

sooooo. listen people, i really dont wanna do this, report a bug from a new verson. or... whta i think is a bug or i dunno.
So, the geme feels like its slower than 2.13, everytime before a remembering update from season start the game stops forĀ  a few seconds, and if i added an airliner to a route it stops simulating and in the IFS page exactly the same....


RE: game slower than befor - kwilson92 - 08-04-2019

I have been stuck on season change for almost an hour


RE: game slower than befor - Tjoeker - 08-05-2019

I will definitely look if there is a way to do another performance improvement for the next version.

That being said, I timed how long it takes to perform a full year in both 2.13.3 and 2.14 Patch B.
at a low amount of flights, it takes as long as the other version to complete the year.
With ~1000 routes it takes 30% longer to complete the year in v2.14.

But considered how much more complex the calculation is in v2.14, I think that's pretty neat.

The reason that it takes so long at season changes, or when changing your IFS settings is that it has to compare all flights against each other again.
While in v2.13 passengers were unaware that tomorrow comes another day. Big Grin
+ This is the basis of having connecting flights and code sharing without taking another major hit on performance.


I probably can do a number of performance upgrades for the calculations that happen every day, but the season change will only upgrade about 1-5%.
The question is whether that's worth it, because that might take a while to complete.


I think it's more of a psychological thing. You see the game hang for a while not knowing what it's doing.
We'll add a progress bar for these events somewhere. That'll ease the pain, and show how quick the calculations are actually happening. Smile
----

@Kwilson92, how many opponents / how many combined routes are you playing with?
What are your system specs?
A season change should take no longer than 1 minutes with a thousand routes..
Perhaps a little longer if you have complicated IFS settings.


RE: game slower than befor - Ben959 - 08-06-2019

With ~1000 routes. i dont have more than 10.....


RE: game slower than befor - Tjoeker - 08-06-2019

Can you send the savefile for testing?


RE: game slower than befor - Ben959 - 08-06-2019

Sorry i dont think i can. I'm not joking, sorry, but i dont think my internet is going to let me with just more the 3kb in the Upload... but i`ll try


RE: game slower than befor - Tjoeker - 08-08-2019

I've done a performance upgrade today. Playing with the 10 heaviest opponents (about 655 routes/3900 flights) runs 20% faster than v2.14.

It will be part of v2.15.
I will also take another look at the season change and see if I can make any improvements there too.