News:

Want to praise Simutrans?
Your feedback is important for us ;D.

r6381 Win (pak64) Bridge-station-port-delete bug

Started by Spacethingy, March 14, 2013, 11:45:49 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Spacethingy

Epic bug. Stumbled on it trying to build a London Bridge station kind of thing!  ;D  This was tested with the latest nightlies of both Simutrans (r6381) and pak64.


1) Build a bridge over water (any way-type).


2) Build a station on either of the bridge's end (i.e. above the slope where the bridge connects to the land).





3) Place a dock tile on the slope under the end of the bridge - I guess that shouldn't be allowed...  ;)





Now to invoke a CTD:


4) Delete the dock tile to give a wacky result:





5) Attempt to delete the "wreckage" of the bridge, get a CTD (i.e. "Simutrans has stopped working..." message).


(I tried to log the crash, but appending -log 1 didn't seem to do anything, as instructed by http://forum.simutrans.com/index.php?topic=56.0)
Life is like a Simutrans transformer:

You only get one of them, and you can't have it on a slope.

Dwachs

Thanks for the report! Log-file is not needed, as this looks like a well-reproducable crash. Of course, dock building should be forbidden there, nevertheless it should not crash as well.
Parsley, sage, rosemary, and maggikraut.

Dwachs

Huh, this was a rather nasty loophole, which could be used to ruin your opponent's bridges. Should be fixed in r6384.

Upon save & reload of the game, deleting harbour and / or bridge should not give a crash (even in 112.1).

Thank you for this precise report.
Parsley, sage, rosemary, and maggikraut.

Spacethingy

Life is like a Simutrans transformer:

You only get one of them, and you can't have it on a slope.