The International Simutrans Forum

Simutrans Extended => Simutrans-Extended bug reports => Simutrans-Extended development => Simutrans-Extended closed bug reports => Topic started by: Ves on December 10, 2015, 07:32:52 PM

Title: [develnew 96ae1e2] signal reassign tool crash
Post by: Ves on December 10, 2015, 07:32:52 PM
If you click on first a signalbox or a signal with the reassign tool, then out on an empty ground, the game crashes.
Also, if you click on two empty tiles, it crashes
Title: Re: [develnew 96ae1e2] signal reassign tool crash
Post by: jamespetts on December 10, 2015, 09:50:00 PM
I think that I have fixed this one - do you care to re-test?
Title: Re: [develnew 96ae1e2] signal reassign tool crash
Post by: Ves on December 10, 2015, 10:08:33 PM
There is still a bug:

In this savegame, try to reassign the signal "Semaphore stop signal (237,52) (facing trains comming from the station in the north) to the "mechanical signalbox (235,52)" and the game will crash.

savegame:
https://www.dropbox.com/s/os1ie38av6jy5xp/Reassign%20signal%20bug.sve?dl=0 (https://www.dropbox.com/s/os1ie38av6jy5xp/Reassign%20signal%20bug.sve?dl=0)

edit: Incidentally, I just realized that the savegame demonstrates another bug: look at the steelmill behind the signalbox! I dont know what have happened there.. Remember laying the tracks, but have no savegame to check what it looked like originally.
Title: Re: [develnew 96ae1e2] signal reassign tool crash
Post by: jamespetts on December 10, 2015, 11:05:16 PM
Thank you for that - the cause was similar to the first bug. I think that I have fixed this now, too. Could you re-test? I should be much obliged.
Title: Re: [develnew 96ae1e2] signal reassign tool crash
Post by: Ves on December 10, 2015, 11:24:00 PM
Yes that seems to work now! No matter how much I click randomly, trying to create a crash, it remains stable, only popping up a sign if some signals couldnt be transfered. Good work! :)

Only one little thing remains, that is:

I can transfer the ownership of signals from signalbox to signalbox, throughout the entire map. There should pop op the "Not all signals could transfer"-warning if I try to connect signals with boxes that is too far away.
Title: Re: [develnew 96ae1e2] signal reassign tool crash
Post by: jamespetts on December 11, 2015, 12:04:56 AM
I think that I have fixed this one, too. Would you mind re-testing again?
Title: Re: [develnew 96ae1e2] signal reassign tool crash
Post by: Ves on December 12, 2015, 03:18:31 PM
Yes, it seems to work as intended now with the warning popping up!