[0.9.8] Evil train pathfinding #2
[0.9.8][slpwnd]Evil train pathfinding strikes again!
Given this setup:
where the arrows mark one-directional track and there is exactly one more station at the end of the rails heading off the bottom-right corner, one would expect a train leaving from the Bryan Burr or Marc Jaisek stops to be capable of making its way to Paul 'Xanzibaarbarian' Cooper without much undue trouble -- it can just enter the one-directional section (the bottom of the two parallel horizontal tracks) and then branch off toward the north.
Unfortunately, what happens instead is the train ignores the branch and keeps going forward until realizing there's no path to its destination anymore. After that it stands there and shouts "No path!" at me like an idiot.
I've driven the path myself in the same train, so I'm certain it's valid (the switch is a switch, and once driven manually past it, the train is perfectly capable of reaching the Xanzibaarbarian station on its own), therefore I can only assume the track setup is too confusing for the poor thing.
The save, should you wish to poke at it, is available at http://dev.narc.ro/factorio/lousy-pathfind.zip. The train is stopped just after its recognition of its own mistake -- enter the leftmost locomotive, drive it forward a bit (towards the Bryan Burr/Marc Jaisek station complex), and then let it try again; it should make the same mistake every time. You may also verify for yourself that the Xanzibaarbarian station is perfectly reachable, though you'll have to navigate the train past the troublesome switch first.
Good luck!
where the arrows mark one-directional track and there is exactly one more station at the end of the rails heading off the bottom-right corner, one would expect a train leaving from the Bryan Burr or Marc Jaisek stops to be capable of making its way to Paul 'Xanzibaarbarian' Cooper without much undue trouble -- it can just enter the one-directional section (the bottom of the two parallel horizontal tracks) and then branch off toward the north.
Unfortunately, what happens instead is the train ignores the branch and keeps going forward until realizing there's no path to its destination anymore. After that it stands there and shouts "No path!" at me like an idiot.
I've driven the path myself in the same train, so I'm certain it's valid (the switch is a switch, and once driven manually past it, the train is perfectly capable of reaching the Xanzibaarbarian station on its own), therefore I can only assume the track setup is too confusing for the poor thing.
The save, should you wish to poke at it, is available at http://dev.narc.ro/factorio/lousy-pathfind.zip. The train is stopped just after its recognition of its own mistake -- enter the leftmost locomotive, drive it forward a bit (towards the Bryan Burr/Marc Jaisek station complex), and then let it try again; it should make the same mistake every time. You may also verify for yourself that the Xanzibaarbarian station is perfectly reachable, though you'll have to navigate the train past the troublesome switch first.
Good luck!
Re: [0.9.8] Evil train pathfinding strikes again!
I have forgot to report this one. If you put wagon in front of locomotive it will reverse left and right -controls.
Seems like problem is in both manual and automatic driving. I tested with another curve to opposited side of switch and it tries to turn but in wrong way.
Seems like problem is in both manual and automatic driving. I tested with another curve to opposited side of switch and it tries to turn but in wrong way.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
[0.9.8] Evil train pathfinding #2
This is a split thread for rk84's post, cause I would say they are two different bugs.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: [0.9.8] Evil train pathfinding #2
It might not be a different bug after all -- the pathfinding may have gone perfectly correctly, but the locomotive was given the wrong order ("turn left", when it should've been "turn right").
I guess the passing siding I'd built before was only accidentally working correctly -- the way to enter it when the train was driving backwards was to go straight forward, thus no turn action required. I did notice the inverted controls when manually driving, but would never have imagined the automatic driver would be using the same logic.
I guess the passing siding I'd built before was only accidentally working correctly -- the way to enter it when the train was driving backwards was to go straight forward, thus no turn action required. I did notice the inverted controls when manually driving, but would never have imagined the automatic driver would be using the same logic.
Re: [0.9.8] Evil train pathfinding #2
Ha, that could easily be it.
Wrong turn-order interpretation between the train AI and junction.
Sounds like a simple bug in causing a wide variety of unrelated-looking issues.
Wrong turn-order interpretation between the train AI and junction.
Sounds like a simple bug in causing a wide variety of unrelated-looking issues.
Re: [0.9.8][slpwnd]Evil train pathfinding strikes again!
Thanks for the report. Took some time but it is now fixed for 0.10.2. The problem was not with the pathfinding, but with the path execution (moving the train to match the path). Because your train was moving "backwards".
Re: [0.9.8][slpwnd]Evil train pathfinding strikes again!
Yay, thank you!slpwnd wrote:Thanks for the report. Took some time but it is now fixed for 0.10.2. The problem was not with the pathfinding, but with the path execution (moving the train to match the path). Because your train was moving "backwards".
Sounds like /u/rk84 was right on the money when he initially replied (later split to https://forums.factorio.com/forum/vie ... f=7&t=3199). Would a mod be willing to re-merge that topic back into here, for forum cleanliness reasons?
Re: [0.9.8] Evil train pathfinding #2
Merged the issues. This one has been solved for the 0.10.2.
Re: [0.9.8] Evil train pathfinding #2
I am confused by the post reshuffling, the link to the duplicite bug is dead now.
Re: [0.9.8] Evil train pathfinding #2
Yeah, I guess I will stay away from merging topics next time and just cross reference them.MF- wrote:I am confused by the post reshuffling, the link to the duplicite bug is dead now.
Re: [0.9.8] Evil train pathfinding #2
Actually.. re-merge of a previously split topic seems fine to me.
Just EITHER merge OR link
Just EITHER merge OR link
-
- Long Handed Inserter
- Posts: 57
- Joined: Thu Jun 19, 2014 12:20 pm
- Contact:
Re: [0.9.8] Evil train pathfinding #2
I still have that Bug in Mac Version 10.10.2
Re: [0.9.8] Evil train pathfinding #2
Can you give more details / save / etc. ?jakobeng1303 wrote:I still have that Bug in Mac Version 10.10.2
-
- Long Handed Inserter
- Posts: 57
- Joined: Thu Jun 19, 2014 12:20 pm
- Contact:
Re: [0.9.8] Evil train pathfinding #2
it is quiet a big train system with many stations and a lot of tracks. I use Signals and trains with two engines. During 9.0 I had no troubles with trains not finding their path, but since I updated nothing wanted to work anymore. The tracks can't be the problem! I can go around manually and there is no problem.
- Attachments
-
- Thats just a small part of my system
- Bildschirmfoto 2014-06-30 um 17.21.31.png (143.7 KiB) Viewed 7300 times
-
- Bildschirmfoto 2014-06-30 um 17.21.09.png (621.19 KiB) Viewed 7300 times
Re: [0.9.8] Evil train pathfinding #2
I think without save it isn't possible to debug this.
Please provide a save.
Please provide a save.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Long Handed Inserter
- Posts: 57
- Joined: Thu Jun 19, 2014 12:20 pm
- Contact:
Re: [0.9.8] Evil train pathfinding #2
the only problem is that I can't find my saves. I already looked in several web pages encluding the wiki but all the clues were wrong.
Re: [0.9.8] Evil train pathfinding #2
Windows? Installed it from ZIP or Install-package? Install package: go into the users folder and make a search on your save-name. Look into internet, how you can do a search on some documents you have lost in this windows-kuddelmuddel.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Long Handed Inserter
- Posts: 57
- Joined: Thu Jun 19, 2014 12:20 pm
- Contact:
Re: [0.9.8] Evil train pathfinding #2
Nein. Ich verwende einen Mac und im angegeben Verzeichnis befindet sich kein Ordner der irgendwas mit Factorio zu tun hat. Selbst wenn ich den Inhalt von factorio seh find ich nirgendwo irgendwas wo meine Welt gespeichert sein könnte. Hab auch schon alles angeklickt usw..
Re: [0.9.8] Evil train pathfinding #2
ssilk is right, without the save there is not much I can do. But I would be quite interested in getting it So I will put this to pending and when you find it please post it.
Re: [0.9.8] Evil train pathfinding #2
Well, under MacOS it is exactly as described.
But you don't see the "Library"-folder by default.
There are some ways out of that. But the easiest is make the the Library folder visible. You can google for that. Example page: http://finerthings.in/featured/lion-lib ... r-visible/
If you have still problems, please PM me.
But you don't see the "Library"-folder by default.
There are some ways out of that. But the easiest is make the the Library folder visible. You can google for that. Example page: http://finerthings.in/featured/lion-lib ... r-visible/
If you have still problems, please PM me.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...