I'm getting negative revenue of 3 *trillion* dollars in a fraction of a month. It seems that lines either make billions of dollars in profit or (more often) billions of dollars of losses. Previously profitable lines seem, if anything, to be effected more.
Carl,
hmm - I can't reproduce this one. Revenues are lower in 9.10 than they were in 9.8 because they were too high (by reason of a bug) in 9.8. I have not seen issues with negatives of trillions - can you upload a saved game?
Link: http://dl.dropbox.com/u/61716/UK-Latestt.sve
(sorry it's dropbox -- can't get simutrans-germany to work for .sve at the moment)
This doesn't appear to happen in *all* of my saves, actually. But I have been able to produce it in more than one.
The trouble is not just highly negative revenues: rather, it is that every transaction seems to be in the hundreds of millions, and the majority are negative. Running the game for just a short time yields some vehicles with 8 billion profit and also vehicles with 167 billion loss.
I suspect that there's some parameter in the save that's interacting badly with the updates.
Might I ask - with which version of Simutrans-Experimental was this game saved?
It's saved -- and created, if I remember correctly -- in 9.3.
Hmm - have you had this difficulty with any game saved in a later version?
I have this same problem with a game started in 9.5 and most recently saved in 9.8 :(
Thank you both for your reports: I have found the problem, and fixed it on the 9.x branch. The fix should be released in the next version.
I also loose Millions per day. (24 bits_per_month)
A quick observation tells me:
- A running train is loosing money every tile like it should. OK.
- At station arrival (with quite a load) it should gain money. However it is loosing a lot. Looks like a sign plus a comma error.
This happens in an existing scenario as well as a new map.
Exp-9.10 still unuseable.
AvG
Hi James,
Thanks for this -- sorry I wasn't able to get back to you in time yesterday with more information!
Quote from: AvG on June 27, 2011, 10:15:33 AM
Looks like a sign plus a comma error.
Looks like unsigned/signed mixed arithmetic AND integer overflow. AND it can be different on 64/32 bit platforms. Brr...
This should now be fixed in 9.11.