News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[11.9] Under certain conditions, building tunnels will pay money

Started by ӔO, August 29, 2013, 02:00:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ӔO

Fairly simple to reproduce.

1. make a really long and flat map, say 2048x16.
2. dig down short edges so that a tunnel can be built
3. build the more expensive maglev tunnel from end to end
4. You should now have positive income equal to the build cost of that tunnel

Destroying the tunnel will deduct a lot more than usual.

I haven't noticed it with other tunnels, so I think it might be some kind of integer overflow.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

jamespetts

I think that it is probably an integer overflow, too. Is this situation ever likely to arise in a real game...?
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.

ӔO

it is exploitable, to an extent.

The amount of interest earned off of the profits is roughly 1/10 of the maintenance of the tunnel, so it can take a while for all the money to be drained.
The best use I can think of is paying for a small construction project with a separate company, so that it's free to an existing company.
My Sketchup open project sources
various projects rolled up: http://dl.dropbox.com/u/17111233/Roll_up.rar

Colour safe chart:

Vladki

Very similar bug used to be in TTD - building a bridge across the map earned you a huge amount of money :)

jamespetts

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.