Package System Updates

READ THIS FORUM FIRST! Here are the rules and important information for you.

Moderator: FSAirlines Staff

Post Reply
User avatar
joefremont
FSAirlines Developer
Posts: 3134
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Package System Updates

Post by joefremont » Sun May 30, 2021 4:47 pm

Over the next few months I hope to roll out a number of incremental updates to the package system, the first of which was deployed today.

Starting today (May 30, 2021) the fee for delivering a package to airport close to where you have landed has been changed from 1% per a nm to 2v$ per nm per kg.

On reflecting on the way delivery of packages worked, it made no sense that it would cost more to deliver a package to another airport if that package travelled longer distance compared to one that travelled a shorter distance. In almost all cases this will result in a lower delivery fee. however the maximum distance a package can be delivered remains 50 nm.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

User avatar
joefremont
FSAirlines Developer
Posts: 3134
Joined: Tue May 16, 2006 5:46 am
Location: KSFO

Re: Package System Updates

Post by joefremont » Wed Nov 24, 2021 8:01 pm

I noticed the other day that the program that was purging old packages was not working. It was supposed to delete any package that had not been picked up after 14 days. But it had incorrectly been set to delete no more than 300k packages a day but we are adding almost 400k packages a day into the database, so instead of the 5m packages I expected to be available there were about 17m.

I noticed this because I made a fix last month because packages are not supposed to be created for distances less than 100 nm but in some cases for super airports 40kg packages were being created for distances as low as 50 nm and they were not disappearing the way I expected.

So I have updated that purge program to make it a bit more robust and to delete a few million at a time. The number of excess package has dropped from 12m to about 5m and the remainder will be deleted over the next couple days.
Image
I've sworn an oath of solitude until the pestilence is purged from the lands.

Post Reply