straight rail segment stuck (console to delete?)
-
- Inserter
- Posts: 27
- Joined: Sun Feb 02, 2014 8:10 am
- Contact:
straight rail segment stuck (console to delete?)
After the new update i have a rail segment that is broken and stuck where it is, it is red and unmineable and the train cannot travel over it. i can't seem to make a console command that destroys it, or makes it mineable. anyone have any insight?
Re: straight rail segment stuck (console to delete?)
It should be:
Code: Select all
/c game.player.selected.destroy()
-
- Inserter
- Posts: 27
- Joined: Sun Feb 02, 2014 8:10 am
- Contact:
Re: straight rail segment stuck (console to delete?)
i haven't seemed to have any luck with that command, for me it seems to do nothing when i run that command. I will try again now and report back.
Re: straight rail segment stuck (console to delete?)
You need to run it when you are pointing with cursor at the offending rail piece. If it doesn't work then then something is more broken then it seems.crazybmanp wrote:i haven't seemed to have any luck with that command, for me it seems to do nothing when i run that command. I will try again now and report back.
-
- Inserter
- Posts: 27
- Joined: Sun Feb 02, 2014 8:10 am
- Contact:
Re: straight rail segment stuck (console to delete?)
yea, trying to delete the rail with destroy() when its selected returns no output and doesn't seem to delete anything. printing game.player.selected prints nothing.
i have uploaded a copy of the world for reference, the affected rails are above the top row of my station (the two solitary rails on their own line).
i have uploaded a copy of the world for reference, the affected rails are above the top row of my station (the two solitary rails on their own line).
- Attachments
-
- dasdf.zip
- (15.91 MiB) Downloaded 125 times
Re: straight rail segment stuck (console to delete?)
Can you please upload the save file from 0.12 so I can load it locally and figure out what's going wrong causing the rails to be unmineable?
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 27
- Joined: Sun Feb 02, 2014 8:10 am
- Contact:
Re: straight rail segment stuck (console to delete?)
Here is the world from 12.22. The previous was converted 12.22->13, i have also tried 12.22->12.35->13 with the same result.Rseding91 wrote:Can you please upload the save file from 0.12 so I can load it locally and figure out what's going wrong causing the rails to be unmineable?
- Attachments
-
- dasdf - preupdate.zip
- (17.69 MiB) Downloaded 120 times
-
- Inserter
- Posts: 27
- Joined: Sun Feb 02, 2014 8:10 am
- Contact:
Re: straight rail segment stuck (console to delete?)
I have tried more commands on the rail entity, but i can't seem to interact with it through scripting. I believe i have reached the end of my understanding of the engine.
Re: straight rail segment stuck (console to delete?)
The bug is fixed for 13.2 but only if you load your original .12 save. The problematic rail can not be removed via console command either.
Re: straight rail segment stuck (console to delete?)
It should fix any problematic rails when loading saves in 0.13.2.Loewchen wrote:The bug is fixed for 13.2 but only if you load your original .12 save. The problematic rail can not be removed via console command either.
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 27
- Joined: Sun Feb 02, 2014 8:10 am
- Contact:
Re: straight rail segment stuck (console to delete?)
I can confirm it is fixed, but i should note that when i loaded the 13.0 save that was affected, it was also fixed. so the fix may have worked better than you thought. Either way, great job guys.
Re: straight rail segment stuck (console to delete?)
I also had this issue, and all the broken rail pieces I knew about were fixed with 13.2 like you said. But now I found a new broken piece while running 15.12 and it's blocking trains the console command does nothing to remove it
a couple just before stop "Andy"
a couple just before stop "Andy"
Last edited by aar on Tue May 23, 2017 2:07 am, edited 1 time in total.
Re: straight rail segment stuck (console to delete?)
Can you upload the save file? Also which command are you referring to?aar wrote:I also had this issue, and all the broken rail pieces I knew about were fixed with 13.2 like you said. But now I found a new broken piece while running 15.12 and it's blocking trains the console command does nothing to remove it
Code: Select all
/c game.player.selected.fix_rail()
If you want to get ahold of me I'm almost always on Discord.
Re: straight rail segment stuck (console to delete?)
oh, sorry was slow to upload the file, just got done. but it's not necessary as '/c game.player.selected.fix_rail()' fixed it!
thanks a bunch
thanks a bunch