[Denis] [15.33] Problem with a 4 digit Train ID

This subforum contains all the issues which we already resolved.
SpeedyGTD
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Aug 19, 2017 8:33 pm
Contact:

[Denis] [15.33] Problem with a 4 digit Train ID

Post by SpeedyGTD »

Hello,

if i try to read out a 4 digit train id on a combinator, electric pole or so, i only get a shortened version of the ID like 1.3k or so. As a small workaround i used now an arithmetic combinator and subtracted 1000 from the incoming signal. In my opinion is that a workaround and there must be a better solution. For example a new entry in the train mouse over information with the ID.
Attachments
T is the (default) incoming Signal and Z the id - 1000.
T is the (default) incoming Signal and Z the id - 1000.
20170819231440_1.jpg (700.13 KiB) Viewed 6061 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [15.33] Problem with a 4 digit Train ID

Post by kovarex »

Hm, the problem is, that the train id just grows with every train made, it is not being reused.
It might be best solution to just reuse ids of old trains to make it work. (I suppose that you don't have more than 1000 trains in the map).
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Denis] [15.33] Problem with a 4 digit Train ID

Post by posila »

Wouldn't it be better to add the ID to train description as Speedy suggested? I would be even more accessible.
torne
Filter Inserter
Filter Inserter
Posts: 342
Joined: Sun Jan 01, 2017 11:54 am
Contact:

Re: [Denis] [15.33] Problem with a 4 digit Train ID

Post by torne »

Reusing old train IDs might cause problems for a sufficiently complex setup if the new train that gets the same ID happens to be a different size/configuration than the old one and ends up being treated as the same one; having them not reused seems nicer in general.
voyta
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Thu Jul 23, 2015 10:29 pm
Contact:

Re: [Denis] [15.33] Problem with a 4 digit Train ID

Post by voyta »

In general not being able to see exact values of signals over 1k makes it unnecessarily hard to debug any combinator logic that works on exact rather than approximate values. Which is part of the larger issue with the values only being available in tooltips that have limited precision and size and can't be further interacted with. I think it would be nice if we were able to "pin" the tooltip somehow and mouseover the signals/scroll down through a long list of signals.

Now the workaround is to filter out the single signal and display it in-game using combinator logic (e.g. decimal display).
Trebor
Filter Inserter
Filter Inserter
Posts: 293
Joined: Sun Apr 30, 2017 1:39 pm
Contact:

Re: [Denis] [15.33] Problem with a 4 digit Train ID

Post by Trebor »

I agree there should be a way to display exact values in the circuit network.
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [Denis] [15.33] Problem with a 4 digit Train ID

Post by posila »

I added Train ID to locomotive tooltip for 0.16
Post Reply

Return to “Resolved Problems and Bugs”