Code: Select all
git show
commit 502f4c583bafa9687a0eaac2f08aa814b93dcb96
Merge: 47c8975... 4f8768e... 6e67e56...
Date: Wed Sep 9 21:15:59 2009 +0200
Moderator: OpenTTD Developers
Code: Select all
git show
commit 502f4c583bafa9687a0eaac2f08aa814b93dcb96
Merge: 47c8975... 4f8768e... 6e67e56...
Date: Wed Sep 9 21:15:59 2009 +0200
Thanks for clearing that out for me!fonso wrote:Irwe: It's quite normal that some vehicles create losses. This is because every vehicle gets virtually paid for transfers and those transfer payments have to sum up to the total profit you get in the end. Now if you have passengers going one of those long links by plane the plane will get a big transfer credit because it is so fast. Then the passengers board some bus which takes ages to move them a few tiles. Then the total profit you get for taking the passengers from their original source to their final destination is lower than the transfer credit the plane got. The passengers aren't far from the airport, possibly they even moved back towards their original source a little. Yet it took them a long time to get there which immensely lowers your profit. This is why the bus at the last leg of the journey gets a negative income to have the transfers sum up. However, your total income over all legs of the journey is still positive.
You have set the moving average dimensions to 4*256. This is 16 times the default setting (default is 1*64). This means it takes about 16 times longer than usual for dead links to time out. Fix that in "advanced settings"->"economy". The other issue is a real bug, I'm investigating that.dbkblk wrote:About my previous bug report post:
The link had gone. So it effectively works, BUT it took 20 years to disappears. Isn't it too much ?
I tend to disagree on this statement. Consider the following experiment I tried:John wrote:It (weird transfer credit numbers) is also not specific problem to Cargo Dist, more a problem in trunk.
Code: Select all
A --- bus (transfer) --> B <-- train (normal transport) --> C <-- bus (transfer) --- D
Code: Select all
A --- bus (transfer) --> B <-- train (normal transport) --> C <-- bus (transfer) --- D
Code: Select all
A <-- bus --> B <-- train --> C <-- bus --> D
Code: Select all
Scenario Difference % of total profit
Trunk: - 5.636 1
Cargodist: - 52.698 19
CargodistFull: 280.392 72
Yes, it still happens. In late May 1956 I get saddled with a debt of around 4.2 billion GBP.John wrote:Just before the big debt occurs, switch the currency to GBP or USD and see if it still occurs...
1) "It" was referring to the calculation of transfer credits in general, not the differences in vehicles individual profits compared with the finance window.St256 wrote:I tend to disagree on this statement. Consider the following experiment I tried:John wrote:It (weird transfer credit numbers) is also not specific problem to Cargo Dist, more a problem in trunk.
That's right: some of the GRFs specified by the scenario creator, such as av8 and the freight harbour, aren't on my system (either outdated or unobtainable). This is the result in my Linux console:John wrote: [edit]
Bluebottle, just tried your game in my cargodist build and get nought. Probably a different version. Anyway, the point is I couldn't find a match for the av8 set you are using (is it older then 1.3?), which let me to notice that according to your newgrf window, av8 is loading with errors. What are those errors?
Code: Select all
dbg: [grf] NewGRF 42650104 (NewGrf\newtown_415.grf) not found; checksum B185F8AF636620BE01F4020C630E81BC
dbg: [grf] NewGRF 56430001 (ottdc_grfpack\def\ttrs3\ttrs3w.GRF) not found; checksum AF3E0A1E6EF0B98DB966594578D1775B
dbg: [grf] NewGRF 535A0C00 (ottdc_grfpack\jp\japanset\japansetw.grf) not found; checksum D7479D7A3A1FEAD64A43492708B801C6
dbg: [grf] NewGRF 44440A01 (ottdc_grfpack\def\pb_av8\pb_av8w.grf) not found; checksum 3722E7AE510BF0126BD99CB8EF1E0E93
dbg: [grf] NewGRF 6D620601 (ottdc_grfpack\def\newstats\newstatsw.grf) not found; checksum 44EB2F155862E4D4F0AB671D7021AF54
dbg: [grf] NewGRF 54570604 (ottdc_grfpack\def\harbour\harbourw_456.grf) not found; checksum 09E2627CACBE087959BCD2B86A07DB4E
dbg: [grf] NewGRF 4A430000 (ottdc_grfpack\def\jcindsta\jcindstaw.grf) not found; checksum A8B0E3328517AF70653FBDF7CDAFE005
dbg: [grf] NewGRF 52453C00 (ottdc_grfpack\def\stolentrees\stolentreesw_162_108.grf) not found; checksum C5B4EC240B33E2DB8D1EA64C97898B5E
dbg: [grf] NewGRF 45520B00 (ottdc_grfpack\jp\jpset_lnd\jpset_lndw.GRF) not found; checksum 366E931C70E3858578F172054924A049
dbg: [grf] NewGRF 44440201 (ottdc_grfpack\def\pb_viaduct\pb_viaduct.grf) not found; checksum DBEE7FED4B51E27E53FB7A14E283BE38
dbg: [grf] NewGRF 44470000 (NewGrf\dep2.1w.GRF) not found; checksum 840B1A2DDDE83A56C3F65C601C8C4C6F
Code: Select all
~$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs <line>
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext <line>
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug <line>
--enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu <line>
--target=i486-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
Wow, well spotted! I guess a function isn't checking its input.John wrote:Just had another look and managed to recreate the bug.
That sounds exactly like the problem I had, which I reported to fonso and (according to him and as far as I can tell) has been fixed since then. Have you tried the latest version or the binary supplied by id10terror?bluebottle wrote:a sudden, massive negative income on my aircraft
Users browsing this forum: No registered users and 2 guests