News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

[Fixed v3.9] Revenue calculation following transfers

Started by tick tock, May 17, 2009, 10:24:31 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

tick tock

After a transfer, the sum of a passenger's entire journey up to that point is being added to revenue at later transfer stops and at the final destination stop. Just the amount for the current leg (based on distance from the previous transfer stop) should be added.

EX:

3 stops A,B,C
2 trams - one line from A to B, one line from B to C

revenue per passenger:
For origin A to dest B = 1.00
For origin B to dest C = 1.00

For origin A to transfer B to dest C:
Revenue paid from A to the transfer stop B = 1.00.  No problem.
Revenue paid from the transfer stop B to C = 2.00.  Problem -- the increase in revenue is being calculated as (A to B)+(B to C), but (A to B) has already been paid.
Total=3.00, but should be 2.00


Edit:  Fixed in v3.9

jamespetts

Fixed in version 3.9. Thank you very much for the report!
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.