The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: jk271 on January 31, 2012, 10:56:15 PM

Title: Bug: Unable to delete my own way under label of another player (version 111.1)
Post by: jk271 on January 31, 2012, 10:56:15 PM

I come across some strange behavior of simutrans 111.1, that seems to me as a possible bug: I am not able to remove my own road.


I am playing a game with more players. First one (number 0) is a regular transport company second player (number 2, not public player) transports electric energy plus some AI players.


What happened:
I had placed a label as a player 2.
I switched to player 0.
I built a road across field with a label.
I tried to delete road, but I can not.
Road is mine, but label of another played denies me to delete the road.


tried simutrans versions: 111.1 and my own today's build from latest force code (both 32-bit Linux versions on 32bit Linux PC)
affected paks: tested on pak64 (111) and pak128 (2.0), appears on bots (I think it is pak independent)


here is my game:http://simutrans-germany.com/files/upload/128_1931b.sve (pak128 version 2.0)
Title: Re: Bug: Unable to delete my own way under label of another player (version 111.1)
Post by: prissi on January 31, 2012, 11:04:23 PM
You should not be allowed to place a lable there. Also a label changes ground owner. I get the error message "gound does belong to other player" when I try to put a lable there.

Aparently the waybuilder allows for building a road there. Hmm.
Title: Re: Bug: Unable to delete my own way under label of another player (version 111.1)
Post by: jk271 on January 31, 2012, 11:28:40 PM
It is as you have writen.
If I firstly build a road (player 0), than I can not place label as another (2) player there.

If I firstly place the label (as a player 2) and secondly build a road (as player 0), road becomes undeletable (for player 0).

I found out that road can be deleted without removing the label by "public player"...


Edit:
Thank you for fixing it. I have downloaded latest source code version and compited it. I works OK.