Page 1 of 1
[0.15.1] Numbers fail to render trailing 0s correctly
Posted: Tue Apr 25, 2017 12:05 am
by justarandomgeek
I can't seem to set a constant 0 (for != 0 or =0 or +0 or the like) on the right hand side of combinator expressions. I use this *widely* in my circuits, and most will require significant re-engineering to work without this... Can we have our constant-0 back?

Re: [0.15.1] Cannot use constant 0 on right side of combinator
Posted: Tue Apr 25, 2017 12:25 am
by justarandomgeek
Further testing: setting constant 60 displays as just 6 in the config dialog, but functions as a proper 60. Setting 61 renders correctly. I also noticed the UPS counter seems to not render tailing 0's in values (as in, 60.0 renders as "6 . " and 30.0 renders "3 . "). Perhaps this is a bug with number printing?
Edit: and now that i understand the display bug, the const0 does seem to function correctly, other than remaining blank in the config window.
Re: [0.15.1] Cannot use constant 0 on right side of combinator
Posted: Tue Apr 25, 2017 12:51 am
by justarandomgeek
Some screenshots:
After setting a constant 0:
After setting a constant 60:
Constant 61:
And UPS counter (with game.speed=0.5, because 30 is easier to catch on a screenshot than 60 - 60 does it too):
Also updated subject line for more accurate description.
Re: [0.15.1] Numbers fail to render trailing 0s correctly
Posted: Tue Apr 25, 2017 11:41 am
by posila
Hi, thanks for the report.
Does it still happen if you restart the game? Or do some other characters not render for you?
Also please post your Factorio log located in %APPDATA%\Factorio\factorio-current.log
Re: [0.15.1] Numbers fail to render trailing 0s correctly
Posted: Tue Apr 25, 2017 3:52 pm
by justarandomgeek
0s were the only characters exhibiting this behavior, and it has since spontaneously resolved itself (maybe after a game restart, but I thought I'd done that before...). The only setting I changed was to enable the high res sprites, but turning that back off (and the restart that goes with it) does not bring this issue back.
I don't have the log from that particular session anymore (i've been restarting a lot to work on mods!), but here's a fresh one (with well-behaved 0's) for the system info at least:
Code: Select all
0.002 2017-04-25 11:48:54; Factorio 0.15.1 (build 29050, win64, alpha)
0.002 Operating system: Windows 10 (version 1607)
0.002 Program arguments: "D:\factorio\Factorio_0.15.0\bin\x64\factorio.exe"
0.002 Read data path: D:/factorio/Factorio_0.15.0/data
0.002 Write data path: D:/factorio/Factorio_0.15.0
0.002 Binaries path: D:/factorio/Factorio_0.15.0/bin
0.008 System info: [CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz, 12 cores, RAM: 65441MB]
0.009 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
0.010 Available display adapters: 3
0.011 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
0.019 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1080 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
0.019 [2]: \\.\DISPLAY3 - NVIDIA GeForce GTX 1080 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.019 Create display on adapter 2. Size 1280x720 at position [310, 162].
0.075 Initialised Direct3D:[0] NVIDIA GeForce GTX 1080; driver: nvd3dumx.dll 21.21.13.7866
0.078 Video memory size (dedicated video/dedicated system/shared system/available): 8110/0/32720/4092 MB
0.102 DSound: Starting _dsound_update thread
0.102 DSound: Enter _dsound_update; tid=4216
0.102 Device reset internal.
0.104 Desktop composition is active.
0.104 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false]
0.167 Loading mod core 0.0.0 (data.lua)
0.175 Loading mod base 0.15.1 (data.lua)
0.280 Loading mod color-coding 1.15.1 (data.lua)
0.359 Loading mod location-combinator 0.15.1 (data.lua)
0.425 Loading mod pushbutton 0.15.6 (data.lua)
0.500 Loading mod scammer 0.15.1 (data.lua)
0.560 Loading mod wirestripper 0.15.0 (data.lua)
0.624 Loading mod conman 0.15.4 (data.lua)
0.708 Loading mod nixie-tubes 0.15.13 (data.lua)
0.778 Loading mod player-combinator 0.15.3 (data.lua)
0.864 Loading mod research-combinator 0.15.4 (data.lua)
0.940 Loading mod stringy-train-stop 0.15.1 (data.lua)
1.008 Loading mod base 0.15.1 (data-updates.lua)
1.112 Checksum for core: 530912544
1.112 Checksum of base: 2731413614
1.112 Checksum of color-coding: 257728962
1.112 Checksum of location-combinator: 912177564
1.112 Checksum of pushbutton: 3567178136
1.112 Checksum of recipeid: 0
1.112 Checksum of scammer: 3219988858
1.112 Checksum of signalstrings: 0
1.112 Checksum of wirestripper: 1828094396
1.112 Checksum of conman: 273182504
1.112 Checksum of nixie-tubes: 1164799181
1.112 Checksum of player-combinator: 3763369866
1.112 Checksum of research-combinator: 357749944
1.112 Checksum of stringy-train-stop: 2362220893
1.115 Error ModManager.cpp:677: Load locale error for mod "Scanning Controlled Automated Material Mapping Enhanced Radar": Value must be a list or dictionary in property tree at ROOT
1.115 Error ModManager.cpp:677: Load locale error for mod "ConMan Construction Manager": Value must be a list or dictionary in property tree at ROOT
1.263 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493135332
1.263 Info PlayerData.cpp:62: Cloud player-data.json unavailable
1.367 Loaded shader file D:/factorio/Factorio_0.15.0/data/core/graphics/shaders/game.cso
1.367 Loaded shader file D:/factorio/Factorio_0.15.0/data/core/graphics/shaders/zoom-to-world.cso
1.382 Initial atlas bitmap size is 16384
1.407 Created atlas bitmap 16384x16370
1.917 Created atlas bitmap 16384x1950
1.963 Created atlas bitmap 4096x4004
1.987 Created atlas bitmap 4096x3644
16.706 Sprites loaded
16.706 Convert atlas 4096x4004 to: trilinear-filtering
16.790 Convert atlas 4096x3644 to: mipmap
17.161 Loading sounds...
19.187 Custom inputs active: 1
19.218 Info Updater.cpp:743: Downloading https://updater.factorio.com/get-available-versions?username=justarandomgeek&token=<private>&apiVersion=2
19.486 0 packages available to download (experimental updates enabled).
19.546 Factorio initialised
42.045 Loading map D:\factorio\Factorio_0.15.0\saves\15test.zip: 4185739 bytes.
42.349 Loading Level.dat: 8191787 bytes.
42.357 Info Scenario.cpp:133: Map version 0.15.1-0
42.574 Loading script.dat: 20928 bytes.
42.576 Checksum for script D:/factorio/Factorio_0.15.0/temp/currently-playing/control.lua: 1622069129
42.577 Checksum for script __location-combinator__/control.lua: 621482660
42.578 Checksum for script __pushbutton__/control.lua: 1561402481
42.580 Checksum for script __recipeid__/control.lua: 2607032394
42.581 Checksum for script __scammer__/control.lua: 1856944296
42.582 Checksum for script __signalstrings__/control.lua: 2176759383
42.583 Checksum for script __wirestripper__/control.lua: 3078678841
42.585 Checksum for script __conman__/control.lua: 2324771298
42.586 Checksum for script __nixie-tubes__/control.lua: 2199103901
42.587 Checksum for script __player-combinator__/control.lua: 1250932658
42.588 Checksum for script __research-combinator__/control.lua: 333500696
42.590 Checksum for script __stringy-train-stop__/control.lua: 750595505
Re: [0.15.1] Numbers fail to render trailing 0s correctly
Posted: Thu Apr 27, 2017 9:17 am
by posila
Thanks, let me know if the issue reappears.
Re: [0.15.1] Numbers fail to render trailing 0s correctly
Posted: Tue May 09, 2017 2:46 pm
by justarandomgeek
I just got another occurance of this, but I don't think I've learned anything new, as it was a game instance left running overnight. Notably, i did have low memory conditions overnight (caused by another application), but it's unclear if this is related.
Here's a log from the afflicted session:
Code: Select all
0.001 2017-05-08 18:24:39; Factorio 0.15.9 (build 29504, win64, alpha)
0.001 Operating system: Windows 10 (version 1607)
0.001 Program arguments: "D:\factorio\Factorio_0.15.0\bin\x64\factorio.exe"
0.001 Read data path: D:/factorio/Factorio_0.15.0/data
0.002 Write data path: D:/factorio/Factorio_0.15.0
0.002 Binaries path: D:/factorio/Factorio_0.15.0/bin
0.008 System info: [CPU: Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz, 12 cores, RAM: 65441MB]
0.008 Display options: [FullScreen: 0] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 2]
0.009 Available display adapters: 3
0.009 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1080 {0x01, [1920,0], 1920x1080, 32bit, 60Hz}
0.028 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1080 {0x01, [-1920,0], 1920x1080, 32bit, 60Hz}
0.028 [2]: \\.\DISPLAY3 - NVIDIA GeForce GTX 1080 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
0.028 Create display on adapter 2. Size 1280x720 at position [310, 162].
0.118 Initialised Direct3D:[0] NVIDIA GeForce GTX 1080; driver: nvd3dumx.dll 21.21.13.7866
0.123 Video memory size (dedicated video/dedicated system/shared system/available): 8110/0/32720/4092 MB
0.150 DSound: Starting _dsound_update thread
0.150 DSound: Enter _dsound_update; tid=26064
0.150 Device reset internal.
0.152 Desktop composition is active.
0.152 Graphics settings preset: very-high
0.152 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 25%] [DXT: false]
0.220 Loading mod settings Factorissimo2 2.1.0 (settings.lua)
0.220 Loading mod settings nixie-tubes 0.15.14 (settings.lua)
0.226 Loading mod core 0.0.0 (data.lua)
0.234 Loading mod base 0.15.9 (data.lua)
0.359 Loading mod FARL 1.0.0 (data.lua)
0.431 Loading mod LogisticTrainNetwork 1.1.2 (data.lua)
0.513 Loading mod color-coding 1.15.3 (data.lua)
0.621 Loading mod combinatorgraph 0.15.0 (data.lua)
0.700 Loading mod Factorissimo2 2.1.0 (data.lua)
0.910 Loading mod location-combinator 0.15.1 (data.lua)
1.146 Loading mod move-tool 0.1.0 (data.lua)
1.362 Loading mod Power Armor MK3 0.0.5 (data.lua)
1.561 Loading mod pushbutton 0.15.6 (data.lua)
1.752 Loading mod research-queue 1.5.1 (data.lua)
1.998 Loading mod scammer 0.15.1 (data.lua)
2.202 Loading mod wirestripper 0.15.0 (data.lua)
2.408 Loading mod conman 0.15.4 (data.lua)
2.676 Loading mod nixie-tubes 0.15.14 (data.lua)
2.849 Loading mod player-combinator 0.15.3 (data.lua)
3.023 Loading mod research-combinator 0.15.4 (data.lua)
3.285 Loading mod stringy-train-stop 0.15.1 (data.lua)
3.485 Loading mod base 0.15.9 (data-updates.lua)
3.671 Loading mod FARL 1.0.0 (data-updates.lua)
3.959 Loading mod FARL 1.0.0 (data-final-fixes.lua)
4.141 Loading mod LogisticTrainNetwork 1.1.2 (data-final-fixes.lua)
4.142 Script data-final-fixes.lua:2: [LTN] generating virtual signals
4.142 Script data-final-fixes.lua:15: [LTN] 2 locomotives added
4.142 Script data-final-fixes.lua:45: [LTN] 1 wagons added
4.319 Loading mod research-queue 1.5.1 (data-final-fixes.lua)
4.568 Checksum for core: 3409166051
4.568 Checksum of base: 3769930138
4.568 Checksum of FARL: 1993721406
4.569 Checksum of jargtestmod: 0
4.569 Checksum of LogisticTrainNetwork: 4130769595
4.569 Checksum of Arumba_Accelerated_Start: 0
4.569 Checksum of color-coding: 1304164671
4.569 Checksum of combinatorgraph: 822375060
4.569 Checksum of crashed-engineer-start: 0
4.569 Checksum of Factorissimo2: 2225128871
4.569 Checksum of location-combinator: 912177564
4.569 Checksum of move-tool: 1643858141
4.569 Checksum of Power Armor MK3: 2896806364
4.569 Checksum of pushbutton: 3567178136
4.569 Checksum of recipeid: 0
4.569 Checksum of research-queue: 615097349
4.569 Checksum of scammer: 3219988858
4.569 Checksum of signalstrings: 0
4.569 Checksum of wirestripper: 1828094396
4.569 Checksum of conman: 273182504
4.569 Checksum of nixie-tubes: 2260002014
4.569 Checksum of player-combinator: 3763369866
4.569 Checksum of research-combinator: 357749944
4.569 Checksum of stringy-train-stop: 2362220893
4.575 Error ModManager.cpp:693: Load locale error for mod "Scanning Controlled Automated Material Mapping Enhanced Radar": Value must be a list or dictionary in property tree at ROOT
4.576 Error ModManager.cpp:693: Load locale error for mod "ConMan Construction Manager": Value must be a list or dictionary in property tree at ROOT
4.975 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1494282277
4.975 Info PlayerData.cpp:62: Cloud player-data.json unavailable
5.082 Loaded shader file D:/factorio/Factorio_0.15.0/data/core/graphics/shaders/game.cso
5.083 Loaded shader file D:/factorio/Factorio_0.15.0/data/core/graphics/shaders/zoom-to-world.cso
5.112 Initial atlas bitmap size is 16384
5.148 Created atlas bitmap 16384x16353
5.758 Created atlas bitmap 16384x2112
5.808 Created atlas bitmap 4096x4096
5.842 Created atlas bitmap 4096x3656
23.608 Sprites loaded
23.608 Convert atlas 4096x4096 to: trilinear-filtering
23.678 Convert atlas 4096x3656 to: mipmap
24.415 Loading sounds...
26.707 Custom inputs active: 5
26.778 Factorio initialised
33.499 Loading map D:\factorio\Factorio_0.15.0\saves\_autosave2.zip: 6603260 bytes.
33.686 Loading Level.dat: 37238138 bytes.
33.690 Info Scenario.cpp:133: Map version 0.15.9-0
35.136 Loading script.dat: 299402 bytes.
35.139 Checksum for script D:/factorio/Factorio_0.15.0/temp/currently-playing/control.lua: 76911248
35.147 Checksum for script __FARL__/control.lua: 1346902889
35.151 Checksum for script __LogisticTrainNetwork__/control.lua: 3327468473
35.152 Checksum for script __Arumba_Accelerated_Start__/control.lua: 3364038115
35.153 Checksum for script __combinatorgraph__/control.lua: 2383532859
35.155 Checksum for script __crashed-engineer-start__/control.lua: 1577043529
35.170 Checksum for script __Factorissimo2__/control.lua: 1620411916
35.171 Checksum for script __location-combinator__/control.lua: 621482660
35.173 Checksum for script __move-tool__/control.lua: 2027954920
35.174 Checksum for script __pushbutton__/control.lua: 1561402481
35.176 Checksum for script __recipeid__/control.lua: 2607032394
35.184 Checksum for script __research-queue__/control.lua: 688964699
35.185 Checksum for script __scammer__/control.lua: 1856944296
35.187 Checksum for script __signalstrings__/control.lua: 2176759383
35.189 Checksum for script __wirestripper__/control.lua: 3078678841
35.191 Checksum for script __conman__/control.lua: 2324771298
35.194 Checksum for script __nixie-tubes__/control.lua: 3568898678
35.196 Checksum for script __player-combinator__/control.lua: 1250932658
35.198 Checksum for script __research-combinator__/control.lua: 333500696
35.200 Checksum for script __stringy-train-stop__/control.lua: 750595505
35.233 Script control.lua:61: [LTN] on_load: complete
564.355 Loading map D:\factorio\Factorio_0.15.0\saves\_autosave2.zip: 6603260 bytes.
564.758 Loading Level.dat: 37238138 bytes.
564.770 Info Scenario.cpp:133: Map version 0.15.9-0
566.186 Loading script.dat: 299402 bytes.
566.189 Checksum for script D:/factorio/Factorio_0.15.0/temp/currently-playing/control.lua: 76911248
566.209 Checksum for script __FARL__/control.lua: 1346902889
566.218 Checksum for script __LogisticTrainNetwork__/control.lua: 3327468473
566.221 Checksum for script __Arumba_Accelerated_Start__/control.lua: 3364038115
566.224 Checksum for script __combinatorgraph__/control.lua: 2383532859
566.225 Checksum for script __crashed-engineer-start__/control.lua: 1577043529
566.231 Checksum for script __Factorissimo2__/control.lua: 1620411916
566.232 Checksum for script __location-combinator__/control.lua: 621482660
566.233 Checksum for script __move-tool__/control.lua: 2027954920
566.234 Checksum for script __pushbutton__/control.lua: 1561402481
566.235 Checksum for script __recipeid__/control.lua: 2607032394
566.240 Checksum for script __research-queue__/control.lua: 688964699
566.241 Checksum for script __scammer__/control.lua: 1856944296
566.242 Checksum for script __signalstrings__/control.lua: 2176759383
566.243 Checksum for script __wirestripper__/control.lua: 3078678841
566.244 Checksum for script __conman__/control.lua: 2324771298
566.246 Checksum for script __nixie-tubes__/control.lua: 751306091
566.247 Checksum for script __player-combinator__/control.lua: 1250932658
566.248 Checksum for script __research-combinator__/control.lua: 333500696
566.249 Checksum for script __stringy-train-stop__/control.lua: 750595505
566.268 Script control.lua:61: [LTN] on_load: complete
690.553 Loading map D:\factorio\Factorio_0.15.0\saves\_autosave2.zip: 6603260 bytes.
690.830 Loading Level.dat: 37238138 bytes.
690.834 Info Scenario.cpp:133: Map version 0.15.9-0
692.286 Loading script.dat: 299402 bytes.
692.288 Checksum for script D:/factorio/Factorio_0.15.0/temp/currently-playing/control.lua: 76911248
692.295 Checksum for script __FARL__/control.lua: 1346902889
692.298 Checksum for script __LogisticTrainNetwork__/control.lua: 3327468473
692.299 Checksum for script __Arumba_Accelerated_Start__/control.lua: 3364038115
692.300 Checksum for script __combinatorgraph__/control.lua: 2383532859
692.301 Checksum for script __crashed-engineer-start__/control.lua: 1577043529
692.309 Checksum for script __Factorissimo2__/control.lua: 1620411916
692.310 Checksum for script __location-combinator__/control.lua: 621482660
692.311 Checksum for script __move-tool__/control.lua: 2027954920
692.312 Checksum for script __pushbutton__/control.lua: 1561402481
692.315 Checksum for script __recipeid__/control.lua: 2607032394
692.322 Checksum for script __research-queue__/control.lua: 688964699
692.324 Checksum for script __scammer__/control.lua: 1856944296
692.325 Checksum for script __signalstrings__/control.lua: 2176759383
692.326 Checksum for script __wirestripper__/control.lua: 3078678841
692.328 Checksum for script __conman__/control.lua: 2324771298
692.329 Checksum for script __nixie-tubes__/control.lua: 1097331100
692.330 Checksum for script __player-combinator__/control.lua: 1250932658
692.331 Checksum for script __research-combinator__/control.lua: 333500696
692.333 Checksum for script __stringy-train-stop__/control.lua: 750595505
692.351 Script control.lua:61: [LTN] on_load: complete
726.962 Device reset internal.
15689.173 Loading map D:\factorio\Factorio_0.15.0\saves\alltechribbon_15b.zip: 6544975 bytes.
15689.427 Loading Level.dat: 37159485 bytes.
15689.434 Info Scenario.cpp:133: Map version 0.15.9-0
15690.879 Loading script.dat: 299125 bytes.
15690.881 Checksum for script D:/factorio/Factorio_0.15.0/temp/currently-playing/control.lua: 76911248
15690.889 Checksum for script __FARL__/control.lua: 1346902889
15690.892 Checksum for script __LogisticTrainNetwork__/control.lua: 3327468473
15690.893 Checksum for script __Arumba_Accelerated_Start__/control.lua: 3364038115
15690.894 Checksum for script __combinatorgraph__/control.lua: 2383532859
15690.895 Checksum for script __crashed-engineer-start__/control.lua: 1577043529
15690.901 Checksum for script __Factorissimo2__/control.lua: 1620411916
15690.902 Checksum for script __location-combinator__/control.lua: 621482660
15690.903 Checksum for script __move-tool__/control.lua: 2027954920
15690.904 Checksum for script __pushbutton__/control.lua: 1561402481
15690.905 Checksum for script __recipeid__/control.lua: 2607032394
15690.909 Checksum for script __research-queue__/control.lua: 688964699
15690.911 Checksum for script __scammer__/control.lua: 1856944296
15690.912 Checksum for script __signalstrings__/control.lua: 2176759383
15690.913 Checksum for script __wirestripper__/control.lua: 3078678841
15690.914 Checksum for script __conman__/control.lua: 2324771298
15690.916 Checksum for script __nixie-tubes__/control.lua: 1097331100
15690.917 Checksum for script __player-combinator__/control.lua: 1250932658
15690.918 Checksum for script __research-combinator__/control.lua: 333500696
15690.919 Checksum for script __stringy-train-stop__/control.lua: 750595505
15690.937 Script control.lua:61: [LTN] on_load: complete
22659.993 Device reset external.
53319.041 Device reset external.
55622.261 Device reset external.
58601.798 DSound: Stopping voice
58601.813 DSound: Joining thread
58601.814 DSound: Exit _dsound_update; tid=26064
58601.814 DSound: Waiting for voice to stop ... signaled
58601.815 DSound: Joined thread
58601.815 DSound: Destroying thread
58601.815 DSound: Thread destroyed
58601.815 DSound: Releasing buffer
58601.815 DSound: Voice stopped
58601.815 DSound: Deallocating voice
58601.815 DSound: Deallocated voice
58601.918 Goodbye
And of course, reloading the game has restored the 0's to their normal functionality once again

Re: [0.15.1] Numbers fail to render trailing 0s correctly
Posted: Tue May 09, 2017 4:06 pm
by daniel34
Moving this to duplicates since it's the same issue as
viewtopic.php?t=46400, it should be resolved for the next release (0.15.10).