Page 1 of 4

Testbench for 3/4way intersections

Posted: Fri Jan 22, 2021 7:55 pm
by hansjoachim
Intersection test bench: What is it and why use it? It is a handy tool to create and evaluate your intersections, identify problems, and check for deadlocks.

Now everything is controlled by the mod testbenchcontrols.
There is a scenario in the mod for you to use. The newest version doesn't work with any savefile
https://mods.factorio.com/mod/Testbenchcontrols

Legacy :
To use the map file, you have to put the zip file in your “saves” folder. Which you can find by opening run and typing %appdata% then Factorio>saves


-- Changelog --

Re: Testbench for 3/4way intersections

Posted: Fri Jan 22, 2021 8:03 pm
by hansjoachim
Reserved

Re: Testbench for 3/4way intersections

Posted: Sun Jan 24, 2021 7:11 am
by Interfector
Hi,
I dont understand how to use your zip file :x
I tried to put it like a mod but I have a crash because file is not register in library.
What did I miss? (maybe explain that in main post !)

Thx

(I want to test this intersection :
0eNrFXdtu20YQ/Rc+y8HuzOzNX1KgKApfCFeAIxuyHDQI8u+lZFF15KF1DvmQlwRWrJPduS5nzg5/dLePr/3zdr3Zddc/upfNzfPV7unqYbu+3//8b3edbdV93//1c9Xd3L48Pb7u+qv97z2vNw/d9W772q+69d3T5qW7/nNAWD9sbh733919f+6762696792q25z83X/0/Zm/dgNSOvNfT+Ax58r5yvf1tvd6/DJ6Vtvv3Fl774p1Df/ePdNnf1/2s+/Vl2/2a136/5tt4cfvv+9ef1622+H7fz/7d2w04d/dleHDa+656eX4VtPm6NQYzsINf7cr+UMRFAQKdMgioLoJyCGgliaBkmkTNQDyaRMXJByArldP1z1j/3dbru+u3p+euwducgBaG/1g21vht9dH0z8Rxf3f2z7+/cGsPeWWNPePh62fb9x/21YU7fph8XfPr1u9/YzfPqXs85K6s7dbCN154LEQCovuSiR1J6PIqRYfBQl5eKjGCmX4qIkUi4+Sibl4qMUUi4+yv+me/e6/dbfT0mlvsWLIYh39+vtm3PtZe1ANgxSggtpXoANpNybG6bjL0nt6u6fm/Xm6phXPso+fXmTW/3iWpSw1u2vSTFhmcHyF2O2aXphmwlcYMa1mRcZSPYgYWe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rBFTI53BaixXcJgrd//KzBDos5DiXwgzIYEUXYbr5pnDZbCz8WoR8AJ8iEpOrI1/zmWzmG9BZFnSSyHFk0iBdF6VScz7OdeT6PDk75BzT1UxlR5Qa0EcXgmjScH1XquSncdJGXb1XpSaeTOgdJ5goYZM1sWsD5uayRXVTxJ4KNX4Ks1GWlYFZEzvUANJUC9ToGMjvW1yE6a9zXvl8P7TTtfvGTlE05MTbjEVF2tLkqJDT3hUq0XO0Cj1lUoGeAYihIb5EfGtg341gSNZvbVYrBJOz4vSK6C7ZB41cKwQDFa4VgoEq1wrBQI07WWZg1jQxMuS4faB5q4E++yVkrSyr0ICThQY6fwHtVQ3cVNNzXWV3tHwga46QVeGDQlIjUIWsOWKoStYcMVRjn3+AvoBG7jrOKb5m5LlacdLFuGag66CRrRUa0CHSSNcKCyKBNuuSjxXkeUMlzBoX/xHdXHR2OA9kccIO54FsQtgbpZBNCNvfgmxC6Lp8Q+SaqRf8JHHfPiGF6mknQaRYF2H6+mbptubW1hTnWOjnOFwneEL6KiwK8AIVpd7rA0lfOfrseInTKlLpU2XHVxlQl1blqOrjM1WK0JMEzrAYX6Tmv/1F66yIjq6yzRo+fkB336PDes/Eri3OIjyCu+ZeqnIie6eAPE2rsZfMkiJrZqsWGGriUV0cdi4ItjqWpYShssMWMVR2LgiEmmh/glAjj+riCPkMiq1OZ12GTQk6wybaj/xIl9K8uAyukn1R5NQqC/tS0OLjsGPrp3Aauy8fJ7Pj26Zw2LcAJ/+0l9kXAU/h6IxLvzn8hpuNmtl3E01tObGqnMBhibJ54nV77MFtCoctf0/hsG8HnsAp7EzR7Af9wr7YbgqHvR04hcMSWfc4gwsc3nV+/e6V6qvu8ea2fxw+s39t+Olbv315y1I1WmlSYg0t7Gch/geoZgXT
)

Re: Testbench for 3/4way intersections

Posted: Sun Jan 24, 2021 8:41 am
by NotRexButCaesar
Interfector wrote:
Sun Jan 24, 2021 7:11 am
[...]
It is possible to not display all that text if you use the format

Code: Select all

[bp]<<the string>>[/bp]
I think you were trying to do an expandable spoiler, rather than hidden text. To do an expandable spoiler, do something like

Code: Select all

[spoiler=<<name>>]<<stuff>>[/spoiler]
Just using "spoiler" doesn't make a dropdown, the spoiler needs a name for that: "spoiler=".

Re: Testbench for 3/4way intersections

Posted: Sun Jan 24, 2021 10:04 am
by disentius
It is a save, not a mod. Put it in your save directory.

Re: Testbench for 3/4way intersections

Posted: Sun Jan 24, 2021 10:15 am
by Interfector
disentius wrote:
Sun Jan 24, 2021 10:04 am
It is a save, not a mod. Put it in your save directory.
Oh, my bad, ok, thx !
AmericanPatriot wrote:
Sun Jan 24, 2021 8:41 am
Interfector wrote:
Sun Jan 24, 2021 7:11 am
[...]
It is possible to not display all that text if you use the format

Code: Select all

[bp]<<the string>>[/bp]
I think you were trying to do an expandable spoiler, rather than hidden text. To do an expandable spoiler, do something like

Code: Select all

[spoiler=<<name>>]<<stuff>>[/spoiler]
Just using "spoiler" doesn't make a dropdown, the spoiler needs a name for that: "spoiler=".
Yeah, I know for spoiler (I use it for hide the ugly bp text ^^), but I didn't know the bp balise before ! thanks for tips.

Re: Testbench for 3/4way intersections

Posted: Sun Jan 24, 2021 7:29 pm
by NotRexButCaesar
Interfector wrote:
Sun Jan 24, 2021 10:15 am
Yeah, I know for spoiler
are you sure

Re: Testbench for 3/4way intersections

Posted: Sun Feb 07, 2021 8:30 pm
by JayS
I am not sure if the 3 way manual mode works with LHS, I made a very basic three way intersection connecting west, east, and south, and no trains were leaving from the west (east and south could navigate to both west, east, and south). So I then changed it so that only trains leaving from west could make their destination, still didn't work. Then I changed it to RHS drive, and it did work. Attached are screenshots:
Direct Connection LHS
West train cannot reach destination with direct connection
Direct Connection RHS
RHS version of direct connection works

Re: Testbench for 3/4way intersections

Posted: Mon Feb 08, 2021 4:25 pm
by hansjoachim
So the problem is that if you switch between 4 way and 3 way you sometimes have trains spawned that are missing one direction and therefore nowhere to go.
You can fix it by deleting the train that should be driving that isn't driving and then restarting the testbench.
I had a fix for it but it made it messier.
So the hotfix is just to have a save file with all trains already deleted. Uploaded 3.3.5 with all trains already deleted.

Re: Testbench for 3/4way intersections

Posted: Mon Feb 08, 2021 4:51 pm
by hansjoachim
Updated version 2 to 1.1 because why not=)

Re: Testbench for 3/4way intersections

Posted: Tue Feb 09, 2021 5:17 am
by JayS
hansjoachim wrote:
Mon Feb 08, 2021 4:25 pm
So the problem is that if you switch between 4 way and 3 way you sometimes have trains spawned that are missing one direction and therefore nowhere to go.
You can fix it by deleting the train that should be driving that isn't driving and then restarting the testbench.
Oh great! Thanks

Re: Testbench for 3/4way intersections

Posted: Sun Mar 28, 2021 12:50 am
by hornetDC
How do I properly configure train length?

Re: Testbench for 3/4way intersections

Posted: Sun Apr 04, 2021 9:31 am
by hansjoachim
hornetDC wrote:
Sun Mar 28, 2021 12:50 am
How do I properly configure train length?
You have to add cars to all trains that are parked sideways.

Re: Testbench for 3/4way intersections

Posted: Wed Sep 08, 2021 6:06 pm
by Tallywort
hansjoachim wrote:
Sun Apr 04, 2021 9:31 am
hornetDC wrote:
Sun Mar 28, 2021 12:50 am
How do I properly configure train length?
You have to add cars to all trains that are parked sideways.
Also if you want to have really long trains, you might need to extend the tracks where those parked no-fuel locos stand. (at the end of the tracks) As trying to spawn trains that are too long can end up overwriting those, borking the system.

Re: Testbench for 3/4way intersections

Posted: Fri Sep 24, 2021 9:44 am
by hansjoachim
Hey all! I made a major update to the UI and added support for 3way auto testing.
I think you should all check it out. You can download it from the top post. Please tell me if you have any problems or any suggestions.
The 3.x.x UI was terrible so 4.0 should be a major improvement.

Re: Testbench for 3/4way intersections

Posted: Fri Sep 24, 2021 6:10 pm
by disentius
oooooo nice!

I know what i am doing tonight:)

Re: Testbench for 3/4way intersections

Posted: Sat Sep 25, 2021 12:10 am
by aka13
Amazing work as always!

Re: Testbench for 3/4way intersections

Posted: Sat Sep 25, 2021 4:41 am
by mrvn
On the topic of 3 way intersections? I'm looking for a compact one for LCCCCCCL trains that allows U turns. Currently I use simple roundabouts.

Re: Testbench for 3/4way intersections

Posted: Sat Sep 25, 2021 6:51 am
by hansjoachim
V4.1 released
Many visual adjustments, it looks much cleaner now. Kano96 made those suggestions.
Added info on the map to explain the display.
Fixed test breaking bugs, just some errors in the circuit logic.
Removed the fake set 3 for 3 way. There were only really 2.

Re: Testbench for 3/4way intersections

Posted: Sat Sep 25, 2021 10:31 am
by hansjoachim
aka13 wrote:
Sat Sep 25, 2021 12:10 am
Amazing work as always!
Thanks:)