Building railroads too far away makes them disappear

Bugs that are actually features.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Building railroads too far away makes them disappear

Post by mrvn »

Version: 0.14.19
OS: Linux

Place a piece of railroad on the ground. Hover over the piece and select the green arrow to start the railroad helper. Move the mouse till a second tile can be placed and then repeat pressing the mouse button to add more and more railroad tiles (without moving the mouse or yourself). At the start the railroad will be extended but at some point clicking will not extend the railroad any further but still cost a tile.

Note: I think the same happens if you click the green arrow and then click again without first moving the mouse to the next tile.
Loewchen
Global Moderator
Global Moderator
Posts: 10265
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by Loewchen »

Can not reproduce with 14.21, it extends until it hits an obstacle or I get tired of clicking. The fact that it builds the track even way outside the visible range is questionable imo though.
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by mexmer »

do you use long reach mod?

guess you can't replicate this without longreach, but just and idea. might be issue with the mod. not game.
Loewchen
Global Moderator
Global Moderator
Posts: 10265
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by Loewchen »

Until someone can replicate this in latest vanilla I put this in pending.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Building railroads too far away makes them disappear

Post by mrvn »

No mods. You can place way outside the reach with vanilla once you started laying down track.

Also when the track laying stops because you hit an obstacle you don't loose rail roads trying to lay more. It just fails.
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by mexmer »

mrvn wrote:No mods. You can place way outside the reach with vanilla once you started laying down track.

Also when the track laying stops because you hit an obstacle you don't loose rail roads trying to lay more. It just fails.
when i try to build long rail (by zooming out) no issues there, until i hit edge of screen, i can lay track, you just need to click multiple times, because number of rail pieces you can place at one time is limited (not sure about number, but that is)

as for failing building, when you hit obstacle, that's correct behavior. since track planer cannot remove obstacle, it will show failure while trying to place rail on tree, it's even "red" colored, so you can't overlook that.

not sure, what exactly you see as bug here. maybe record video and show us?
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Building railroads too far away makes them disappear

Post by mrvn »

There are two ways you can use the track planer:

1) you click the green arrow then move the mouse to where you want the tracks and click to lay them in groups of up to 7 (I think).

2) you click the green arrow, move the mouse a bit so one shadowed track tile is shown. Then you click over and over to add straight tiles. Every time you click the next shadowed tile is shown without the mouse being moved and clicking adds the next tile. Up to some point. At that point clicking will use up a tile but not add to the track.
Loewchen
Global Moderator
Global Moderator
Posts: 10265
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by Loewchen »

mrvn wrote: 2) you click the green arrow, move the mouse a bit so one shadowed track tile is shown. Then you click over and over to add straight tiles. Every time you click the next shadowed tile is shown without the mouse being moved and clicking adds the next tile. Up to some point. At that point clicking will use up a tile but not add to the track.
As I said, this does not happen for me.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Building railroads too far away makes them disappear

Post by mrvn »

Loewchen wrote:
mrvn wrote: 2) you click the green arrow, move the mouse a bit so one shadowed track tile is shown. Then you click over and over to add straight tiles. Every time you click the next shadowed tile is shown without the mouse being moved and clicking adds the next tile. Up to some point. At that point clicking will use up a tile but not add to the track.
As I said, this does not happen for me.
So when you do that you can built a straight track without limit? Or does it at some point stop building but not use up tiles?

PS: Going to update tonight to test the new version.
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by mexmer »

mrvn wrote:There are two ways you can use the track planer:

1) you click the green arrow then move the mouse to where you want the tracks and click to lay them in groups of up to 7 (I think).

2) you click the green arrow, move the mouse a bit so one shadowed track tile is shown. Then you click over and over to add straight tiles. Every time you click the next shadowed tile is shown without the mouse being moved and clicking adds the next tile. Up to some point. At that point clicking will use up a tile but not add to the track.
that's how i built, and doesn't happen what you describe, that's why i asked if you use any mod
if there is obstacle, it doesn't build and no tiles are consumed, other than that i can build as long, as i have rail tiles.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Building railroads too far away makes them disappear

Post by mrvn »

Just a stray thought: Could it be that the track is actually build but the minimap doesn't show it because it is outside the always visible radius of the player?
I only assume that the track isn't added because the track on the minimap doesn't get longer. Should test that tonight too, build first track till the limit. Add second track and build it further. Then go walk to the end and check if it is longer or not.
User avatar
mexmer
Filter Inserter
Filter Inserter
Posts: 870
Joined: Wed Aug 03, 2016 2:00 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by mexmer »

on minimap you might not see update, if it's outside your visibility range, but when you open normal map, you should see extended track.

you can see similar behavior with bitters. if they not in visibility range (either yours, or radars) you will not see their movements, nor newly built nests
User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1713
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by MeduSalem »

mrvn wrote:Just a stray thought: Could it be that the track is actually build but the minimap doesn't show it because it is outside the always visible radius of the player?
I think there is a little bug/glitch in how the minimap displays rail tracks. It might be due to rounding/priority errors or something, who knows..

... but at least I have the issue that some particular rail tracks don't show up in the minimap too.

Vanilla 0.14.21
Win 10 x64

Here's a picture:
minimap glitch.JPG
minimap glitch.JPG (176.85 KiB) Viewed 3892 times
You see... there are two parallel vertical tracks here... but on the minimap only the right track is shown... the left doesn't show up for some reason.

It occasionally happens for some vertical tracks and also for horizontal tracks. There is no rhyme or reason... but I take a wild guess that it is a rounding/priority issue that comes from scaling the GUI (currently I'm using 90% instead of the system default of 100%)... so the rail tracks might fall into the "void" between 2 neighbouring pixels and that's why they are not drawn on the minimap.
mrvn
Smart Inserter
Smart Inserter
Posts: 5969
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: Building railroads too far away makes them disappear

Post by mrvn »

The map is scaled and in your case that must mean that 2 adjacent pixels on the map are more than 2 real tiles apart. So neither of the map pixels lands on a tile with railroad. As far as I can tell the mini map pixels don't anti alias, they don't cover all the tiles that fall below a pixel, only one. YOu see that effect more easily with walls or belts. 2-3 tile structures are harder to skip over.

Anyway, that isn't what I saw. I see the begining of the railroad track when I lay it and after building a number of tiles it stops showing up.

I have now verified that it's actually just a minimap "problem". The track is placed just fine but if it's too far away the minimap isn't updated. The new track only shows up when walking there (no radar stations present). So this is not a bug, just a visibility issue. Please move to not a bug.
User avatar
MeduSalem
Smart Inserter
Smart Inserter
Posts: 1713
Joined: Sun Jun 08, 2014 8:13 pm
Contact:

Re: Building railroads too far away makes them disappear

Post by MeduSalem »

mrvn wrote:Please move to not a bug.
It already is in "Not a bug"... :D

But still good to know for the devs that it turned out not to be a bug after all.
Post Reply

Return to “Not a bug”