The International Simutrans Forum

Development => Bug Reports => Topic started by: Andarix on February 09, 2025, 12:52:59 PM

Title: r11590 - script tool not working
Post by: Andarix on February 09, 2025, 12:52:59 PM
I'm not sure if the problem is system-related or a bug.

If a script tool is aborted by an error or tool change, it cannot be executed again afterwards.
Title: Re: r11590 - script tool not working
Post by: prissi on February 11, 2025, 02:12:30 AM
I could build again after an error. After a tool change, of course, you have to load the script again. Please give an example script and the situation.
Title: Re: r11590 - script tool not working
Post by: Andarix on February 11, 2025, 01:41:23 PM
The tool builds over a way (road, rail ...) at the next highest speed.

Take any map. Use the tool to click on 2 fields of a route that is connected. Switch to the inspections tool while it is running.

If you now want to use the script tool again, nothing will happen.

[edit]

download delete
Title: Re: r11590 - script tool not working
Post by: prissi on February 12, 2025, 06:41:35 AM
Two click script tools were not properly cleaned up after exit. Fixed in r11636