This week I have only worked on one thing this week, and that is loading/saving of games. As written last week I finished the first take on saving of games, and now I have also finished loading of a saved game again. It has been done in many iterations since I need to make sure, that everything is loaded in the correct order. So far I have tested on a game with 5 opponents, but I will have to do some more testing to ensure that everything are ok.
One of the things still missing from this, is that at the moment it is not possible to name to saved game, so you can only have one saved game. Another thing still not implemented is loading of the game from inside of a game, since currently it can only be loaded from the main menu. This is of course things I will look at later, but the highest priority is to make sure that it is stable.
In the old versions it took very long time to save a game, and the file also ended up over 100 MB. This doesn’t look like the case for this version, since the test saved game took around 15 seconds and uses 3 MB.
While doing the loading and saving I noticed a huge bug where it is possible for the AI to add a cargo airliner to a passenger route, which causes the game to crash. At first I thought it was because of something I did in the loading, but it has turned out to be a general issue, which also needs to be fixed before next release.
And speaking of next release then I am planning on releasing it at around the beginning of December when the mentioned issues have been fixed.
This week I got time to focus more time on the game than the previous couple of months. This means that I have managed to implement a lot of minor stuff.
I have done some more updates for the cargo, so for now I think this is finished. I have also changed a few things on the manufacturer page, so the airliners are now grouped by their types.
On the airports page I have added an advanced search functionality, so it is possible to select an airliner and an airport and then search for every airports in range of those selections.
Since we are also looking into some further implementations for airports and demand, I have added open border agreeement. At the moment they have no functionality, but it will be used for later.
The last thing I have been working on is a rather large task. I have started on implementing saving of games. So far it is possible to save a game, but it is not possible to load it again. That will of course be a task for next week 🙂 So far it looks like the saving will be a lot faster than the previous releases (before TAPv2), and I should be more in control, so it should also be more stable
Since I have been away for some business related stuff and have had some family birthdays this week, I haven’t had much time for the game. What I have focused on have been on the cargo, since it wasn’t working as it should.
Some of the issues I have fixed are cargo demand between airports, the possibility of using passenger airliners on cargo route and vice versa, not showing filling degree, editing the cargo prices and selecting cargo only airlines at the beginning not working. None of the issues were game crashing issues but they were something which caused the game to not function as intended.
The last minor thing fixed this week is that clearing time table wasn’t working.
With the latest release being over 14 days ago and not many reported issues I have started implemented some minor tasks.
The first thing implemented was actually a bug, since a lot of AI airlines created routes but they never started them. This has been fixed and I have also tweaked the AI so it creates more routes.
Of another minor bugs we have looked at was a bug when doing route scheduling, where it was possible for an airliner to have overlapping routes.
I have also reimplemented different game speeds but I am not sure that the different speed “levels” are 100% correct. This can of course be changed later no.
As I wrote last time we have implemented a form of airport notification. This has been tested and further developed on, and we have also added it for manufacturers as well. This means that you don’t have to receive notification from all manufacturers.
The last thing I have optimized is the maps, so now we are able to zoom on the maps as well as get the routes shown on the map.