Last night I saved and shutdown Factorio. This morning I loaded the save and LTN is crashing with:
3964.408 Script @__LogisticTrainNetwork__/control.lua:227: [LTN] on_load: complete
3965.433 Error MainLoop.cpp:1035: Exception at tick 243918042: Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1375: table index is nil
I have 1129 hours of play time on this map. I have changed nothing since last night and this morning. I have rebooted my computers. I have tried disabling all mods and get a different error sequence.
45.404 Script @__LogisticTrainNetwork__/control.lua:227: [LTN] on_load: complete
45.666 Script @__LogisticTrainNetwork__/control.lua:175: [LTN] recreated 0 LTN stops missing from global.LogisticTrainStops
45.667 Script @__LogisticTrainNetwork__/control.lua:271: [LTN] LogisticTrainNetwork 1.8.0 configuration updated.
377.486 Error MainLoop.cpp:1035: Exception at tick 243882042: Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1375: table index is nil
397.365 Info AppManager.cpp:932: Restarting Factorio
Not from those snippets. Attach the full logfile and I might be able to read something out of it.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Tue Sep 11, 2018 9:52 pm
by WhiskeyWonka
logfile
0.001 2018-09-11 14:27:53; Factorio 0.16.51 (build 36654, win64, steam)
0.001 Operating system: Windows 7 Service Pack 1
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "7808"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Breadstick/AppData/Roaming/Factorio [4092/114370MB]
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.011 System info: [CPU: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz, 4 cores, RAM: 8081/12154 MB, page: 11973/32152 MB, virtual: 171/8388607 MB, extended virtual: 0 MB]
0.011 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (90.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.012 Available display adapters: 1
0.012 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 530 {0x8000005, [0,0], 1366x768, 32bit, 60Hz}
0.012 Create display on adapter 0. Size 1280x718 at position [33, 7].
0.311 Initialised Direct3D:[0] Intel(R) HD Graphics 530; driver: nvumdshimx.dll 23.21.13.9125
0.321 Video memory size (dedicated video/dedicated system/shared system/available): 4028/0/5821/1649 MB
0.380 DSound: Starting _dsound_update thread
0.381 DSound: Enter _dsound_update; tid=6772
0.381 Device reset internal.
0.395 Graphics settings preset: extreme
0.396 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: auto] [Shader: 1]
0.396 [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
0.590 Loading mod settings FARL 2.1.2 (settings.lua)
0.590 Loading mod settings miniloader 1.5.23 (settings.lua)
0.590 Loading mod settings railloader 0.5.1 (settings.lua)
0.591 Loading mod settings auto-research 4.2.0 (settings.lua)
0.591 Loading mod settings AutoDeconstruct 0.1.11 (settings.lua)
0.591 Loading mod settings ChargeTransmission 0.6.0 (settings.lua)
0.592 Loading mod settings ElectricTrain 0.16.8 (settings.lua)
0.592 Loading mod settings Geothermal 1.0.96 (settings.lua)
0.592 Loading mod settings LogisticTrainNetwork 1.8.0 (settings.lua)
0.593 Loading mod settings Teleportation 0.16.1 (settings.lua)
0.593 Loading mod settings WhistleStopFactories 0.1.5 (settings.lua)
0.597 Loading mod core 0.0.0 (data.lua)
0.629 Loading mod base 0.16.51 (data.lua)
0.807 Loading mod FARL 2.1.2 (data.lua)
0.861 Loading mod miniloader 1.5.23 (data.lua)
0.926 Loading mod railloader 0.5.1 (data.lua)
0.995 Loading mod auto-research 4.2.0 (data.lua)
1.060 Loading mod beautiful_bridge_railway 0.1.3 (data.lua)
1.160 Loading mod ChargeTransmission 0.6.0 (data.lua)
1.222 Loading mod Electric Furnaces 2x2 0.0.3 (data.lua)
1.283 Loading mod ElectricTrain 0.16.8 (data.lua)
1.353 Loading mod Geothermal 1.0.96 (data.lua)
1.422 Loading mod LightedPolesPlus 1.1.3 (data.lua)
1.485 Loading mod LogisticTrainNetwork 1.8.0 (data.lua)
1.562 Loading mod Teleportation 0.16.1 (data.lua)
1.623 Loading mod Waterbomb 0.16.3 (data.lua)
1.689 Loading mod WhistleStopFactories 0.1.5 (data.lua)
1.763 Loading mod WWGeothermal 0.0.1 (data.lua)
1.830 Loading mod base 0.16.51 (data-updates.lua)
1.906 Loading mod FARL 2.1.2 (data-updates.lua)
1.972 Loading mod miniloader 1.5.23 (data-updates.lua)
2.045 Loading mod beautiful_bridge_railway 0.1.3 (data-updates.lua)
2.108 Loading mod Bot Landfill 1.0.2 (data-updates.lua)
2.172 Loading mod ChargeTransmission 0.6.0 (data-updates.lua)
2.239 Loading mod ElectricTrain 0.16.8 (data-updates.lua)
2.307 Loading mod Geothermal 1.0.96 (data-updates.lua)
2.375 Loading mod LightedPolesPlus 1.1.3 (data-updates.lua)
2.382 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole small-electric-pole in item small-electric-pole
2.382 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity small-electric-pole to lighted-small-electric-pole
2.382 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item small-electric-pole to lighted-small-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole big-electric-pole in item big-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity big-electric-pole to lighted-big-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item big-electric-pole to lighted-big-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole medium-electric-pole in item medium-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity medium-electric-pole to lighted-medium-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item medium-electric-pole to lighted-medium-electric-pole
2.383 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole substation in item substation
2.383 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity substation to lighted-substation
2.383 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item substation to lighted-substation
2.384 Script @__LightedPolesPlus__/data-updates.lua:86: [LEP+] found original recipe result medium-electric-pole, inserting lighted-medium-electric-pole into technology electric-energy-distribution-1
2.384 Script @__LightedPolesPlus__/data-updates.lua:86: [LEP+] found original recipe result big-electric-pole, inserting lighted-big-electric-pole into technology electric-energy-distribution-1
2.384 Script @__LightedPolesPlus__/data-updates.lua:86: [LEP+] found original recipe result substation, inserting lighted-substation into technology electric-energy-distribution-2
2.449 Loading mod FARL 2.1.2 (data-final-fixes.lua)
2.526 Loading mod auto-research 4.2.0 (data-final-fixes.lua)
2.596 Loading mod LogisticTrainNetwork 1.8.0 (data-final-fixes.lua)
2.601 Script @__LogisticTrainNetwork__/data-final-fixes.lua:113: [LTN] found 276 items, 10 fluids, 5 locomotives, 7 wagons
2.663 Loading mod WhistleStopFactories 0.1.5 (data-final-fixes.lua)
2.758 Checksum for core: 840319042
2.758 Checksum of base: 3323233190
2.758 Checksum of FARL: 3099333090
2.758 Checksum of miniloader: 3560859662
2.758 Checksum of railloader: 1656928860
2.758 Checksum of AdequateBotStart: 0
2.758 Checksum of auto-research: 1436614629
2.758 Checksum of AutoDeconstruct: 2582707891
2.758 Checksum of beautiful_bridge_railway: 3434254638
2.758 Checksum of Bot Landfill: 2257445729
2.758 Checksum of ChargeTransmission: 3161107046
2.758 Checksum of Electric Furnaces 2x2: 3524861532
2.758 Checksum of ElectricTrain: 2498270241
2.758 Checksum of Geothermal: 1000889030
2.758 Checksum of LightedPolesPlus: 12283823
2.758 Checksum of LogisticTrainNetwork: 3507305468
2.758 Checksum of Teleportation: 1761167137
2.758 Checksum of Waterbomb: 2121052566
2.758 Checksum of WhistleStopFactories: 2330294510
2.759 Checksum of WWGeothermal: 588498239
2.973 Loading sounds...
3.113 Info PlayerData.cpp:67: Local player-data.json unavailable
3.113 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1529242498
3.402 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
3.403 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
3.403 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
3.454 Initial atlas bitmap size is 16384
3.462 Created atlas bitmap 16384x6769 [none]
4.161 Created atlas bitmap 16384x682 [decal]
4.263 Created atlas bitmap 8192x4144 [compressed, mask]
4.354 Created atlas bitmap 8192x4384 [compressed, mask, shadow]
4.406 Created atlas bitmap 8192x1496 [mipmap]
4.423 Created atlas bitmap 8192x800 [compressed, mipmap, mask, smoke]
4.456 Created atlas bitmap 8192x2376 [linear-minification, mipmap, terrain]
4.603 Created atlas bitmap 8192x1140 [no-crop, trilinear-filtering, icon, light]
4.637 Created atlas bitmap 8192x238 [alpha-mask]
13.868 Sprites loaded
13.868 Convert atlas 8192x4144 to: compressed
16.496 Convert atlas 8192x4384 to: compressed
18.016 Convert atlas 8192x1496 to: mipmap
18.144 Convert atlas 8192x800 to: mipmap compressed
18.588 Convert atlas 8192x2376 to: min-linear
18.758 Convert atlas 8192x1140 to: trilinear-filtering
18.815 Convert atlas 8192x238 to: alpha-mask
20.327 Custom inputs active: 5
20.447 Factorio initialised
28.689 Loading map C:\Users\Breadstick\AppData\Roaming\Factorio\saves\Map 103.zip: 92022039 bytes.
28.723 Loading Level.dat: 196385000 bytes.
28.733 Info Scenario.cpp:136: Map version 0.16.51-0
34.445 Loading script.dat: 2561775 bytes.
34.450 Checksum for script C:/Users/Breadstick/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 950616531
34.467 Checksum for script __FARL__/control.lua: 118530187
34.475 Checksum for script __miniloader__/control.lua: 3473968990
34.481 Checksum for script __railloader__/control.lua: 2900355021
34.482 Checksum for script __AdequateBotStart__/control.lua: 2403635406
34.485 Checksum for script __auto-research__/control.lua: 1329121496
34.488 Checksum for script __AutoDeconstruct__/control.lua: 3223198268
34.489 Checksum for script __Bot Landfill__/control.lua: 1241308455
34.496 Checksum for script __ChargeTransmission__/control.lua: 4226433803
34.498 Checksum for script __ElectricTrain__/control.lua: 759298784
34.500 Checksum for script __Geothermal__/control.lua: 313271357
34.502 Checksum for script __LightedPolesPlus__/control.lua: 2454629401
34.507 Checksum for script __LogisticTrainNetwork__/control.lua: 221304292
34.514 Checksum for script __Teleportation__/control.lua: 4003135727
34.516 Checksum for script __Waterbomb__/control.lua: 1116793566
34.522 Checksum for script __WhistleStopFactories__/control.lua: 4272942701
34.524 Checksum for script __WWGeothermal__/control.lua: 1640248620
36.086 Script @__LogisticTrainNetwork__/control.lua:227: [LTN] on_load: complete
36.958 Error MainLoop.cpp:1035: Exception at tick 243918042: Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1375: table index is nil
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Tue Sep 11, 2018 9:56 pm
by WhiskeyWonka
Also, starting map 104 runs fine, but of course there is no LTN on it yet. The TLN Demo map loads fine. Something happened with the save I just have no idea what. It effects all 3 autosaves and my last world save, which makes sense as I had left the game running all day and saved it then closed factoro so those 4 are all basically the same just time separated.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 5:39 am
by Optera
That error shouldn't be possible.
Please attach the save file so I can look into the data structures.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 2:45 pm
by WhiskeyWonka
Its 90MB. Sent a PM with google drive link
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 4:05 pm
by Optera
For the future, you can attach files right to forum posts.
The save you provided crashes Factorio during buildabilityCheck before one line of code from mods can even run.
Attach your mods and mod settings, maybe that will allow it to load, but Factorio should never crash like this.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 5:02 pm
by WhiskeyWonka
Holy %$@# its doing that here today too. I have no idea what could cause that. It was running yesterday as it produced the previous error log. Maybe my SSD is failing, ill find the test tools for it. 90mb is often not acceptable to forums, and that is my scratch world where i test things, not meant for public viewing
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 5:10 pm
by WhiskeyWonka
Disabling all mod except LTN, it loads, gives the lists of things disabled/removed, then throws the LTN error. I am now working on finding the mod mix that leads to a hard crash.
Edit: spelling
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 5:22 pm
by WhiskeyWonka
Disabling Geothermal and it loads.
factorio-current.log
0.001 2018-09-12 10:20:24; Factorio 0.16.51 (build 36654, win64, steam)
0.001 Operating system: Windows 7 Service Pack 1
0.001 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" "--wait-to-close" "10448"
0.001 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Breadstick/AppData/Roaming/Factorio [3761/114370MB]
0.001 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
0.013 System info: [CPU: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz, 4 cores, RAM: 8233/12154 MB, page: 15138/32152 MB, virtual: 171/8388607 MB, extended virtual: 0 MB]
0.013 Display options: [FullScreen: 1] [VSync: 1] [UIScale: custom (90.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
0.013 Available display adapters: 1
0.013 [0]: \\.\DISPLAY1 - Intel(R) HD Graphics 530 {0x8000005, [0,0], 1366x768, 32bit, 60Hz}
0.013 Create display on adapter 0. Size 1280x718 at position [33, 7].
0.344 Initialised Direct3D:[0] Intel(R) HD Graphics 530; driver: nvumdshimx.dll 23.21.13.9125
0.354 Video memory size (dedicated video/dedicated system/shared system/available): 4028/0/5821/1649 MB
0.413 DSound: Starting _dsound_update thread
0.413 DSound: Enter _dsound_update; tid=8852
0.414 Device reset internal.
0.425 Graphics settings preset: extreme
0.426 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: auto] [Shader: 1]
0.426 [Parallel sprite loading: 1] [Max texture size: 0/8192] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 0]
0.609 Loading mod settings FARL 2.1.2 (settings.lua)
0.609 Loading mod settings miniloader 1.5.23 (settings.lua)
0.609 Loading mod settings railloader 0.5.1 (settings.lua)
0.610 Loading mod settings auto-research 4.2.0 (settings.lua)
0.610 Loading mod settings AutoDeconstruct 0.1.11 (settings.lua)
0.610 Loading mod settings ChargeTransmission 0.6.0 (settings.lua)
0.610 Loading mod settings ElectricTrain 0.16.8 (settings.lua)
0.611 Loading mod settings LogisticTrainNetwork 1.8.0 (settings.lua)
0.611 Loading mod settings Teleportation 0.16.1 (settings.lua)
0.612 Loading mod settings WhistleStopFactories 0.1.5 (settings.lua)
0.615 Loading mod core 0.0.0 (data.lua)
0.647 Loading mod base 0.16.51 (data.lua)
0.836 Loading mod FARL 2.1.2 (data.lua)
0.897 Loading mod miniloader 1.5.23 (data.lua)
0.962 Loading mod railloader 0.5.1 (data.lua)
1.047 Loading mod auto-research 4.2.0 (data.lua)
1.112 Loading mod beautiful_bridge_railway 0.1.3 (data.lua)
1.214 Loading mod ChargeTransmission 0.6.0 (data.lua)
1.290 Loading mod Electric Furnaces 2x2 0.0.3 (data.lua)
1.351 Loading mod ElectricTrain 0.16.8 (data.lua)
1.428 Loading mod LightedPolesPlus 1.1.3 (data.lua)
1.488 Loading mod LogisticTrainNetwork 1.8.0 (data.lua)
1.560 Loading mod Teleportation 0.16.1 (data.lua)
1.626 Loading mod Waterbomb 0.16.3 (data.lua)
1.692 Loading mod WhistleStopFactories 0.1.5 (data.lua)
1.780 Loading mod base 0.16.51 (data-updates.lua)
1.865 Loading mod FARL 2.1.2 (data-updates.lua)
1.942 Loading mod miniloader 1.5.23 (data-updates.lua)
2.012 Loading mod beautiful_bridge_railway 0.1.3 (data-updates.lua)
2.073 Loading mod Bot Landfill 1.0.2 (data-updates.lua)
2.144 Loading mod ChargeTransmission 0.6.0 (data-updates.lua)
2.217 Loading mod ElectricTrain 0.16.8 (data-updates.lua)
2.300 Loading mod LightedPolesPlus 1.1.3 (data-updates.lua)
2.315 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole small-electric-pole in item small-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity small-electric-pole to lighted-small-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item small-electric-pole to lighted-small-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole big-electric-pole in item big-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity big-electric-pole to lighted-big-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item big-electric-pole to lighted-big-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole medium-electric-pole in item medium-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity medium-electric-pole to lighted-medium-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item medium-electric-pole to lighted-medium-electric-pole
2.316 Script @__LightedPolesPlus__/data-updates.lua:30: [LEP+] found pole substation in item substation
2.316 Script @__LightedPolesPlus__/data-updates.lua:37: [LEP+] copying entity substation to lighted-substation
2.316 Script @__LightedPolesPlus__/data-updates.lua:45: [LEP+] copying item substation to lighted-substation
2.317 Script @__LightedPolesPlus__/data-updates.lua:86: [LEP+] found original recipe result medium-electric-pole, inserting lighted-medium-electric-pole into technology electric-energy-distribution-1
2.317 Script @__LightedPolesPlus__/data-updates.lua:86: [LEP+] found original recipe result big-electric-pole, inserting lighted-big-electric-pole into technology electric-energy-distribution-1
2.317 Script @__LightedPolesPlus__/data-updates.lua:86: [LEP+] found original recipe result substation, inserting lighted-substation into technology electric-energy-distribution-2
2.399 Loading mod FARL 2.1.2 (data-final-fixes.lua)
2.484 Loading mod auto-research 4.2.0 (data-final-fixes.lua)
2.566 Loading mod LogisticTrainNetwork 1.8.0 (data-final-fixes.lua)
2.567 Script @__LogisticTrainNetwork__/data-final-fixes.lua:113: [LTN] found 271 items, 8 fluids, 5 locomotives, 7 wagons
2.637 Loading mod WhistleStopFactories 0.1.5 (data-final-fixes.lua)
2.758 Checksum for core: 840319042
2.758 Checksum of base: 3323233190
2.758 Checksum of FARL: 3099333090
2.758 Checksum of miniloader: 3560859662
2.758 Checksum of railloader: 1656928860
2.758 Checksum of AdequateBotStart: 0
2.758 Checksum of auto-research: 1436614629
2.758 Checksum of AutoDeconstruct: 2582707891
2.758 Checksum of beautiful_bridge_railway: 3434254638
2.758 Checksum of Bot Landfill: 2257445729
2.758 Checksum of ChargeTransmission: 3161107046
2.758 Checksum of Electric Furnaces 2x2: 3524861532
2.758 Checksum of ElectricTrain: 2498270241
2.758 Checksum of LightedPolesPlus: 12283823
2.758 Checksum of LogisticTrainNetwork: 3507305468
2.758 Checksum of Teleportation: 1761167137
2.758 Checksum of Waterbomb: 2121052566
2.758 Checksum of WhistleStopFactories: 2330294510
2.975 Loading sounds...
3.112 Info PlayerData.cpp:67: Local player-data.json unavailable
3.113 Info PlayerData.cpp:70: Cloud player-data.json available, timestamp 1529242498
3.352 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
3.353 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
3.353 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/alpha-mask.cso
3.406 Initial atlas bitmap size is 16384
3.413 Created atlas bitmap 16384x6734 [none]
4.216 Created atlas bitmap 16384x682 [decal]
4.326 Created atlas bitmap 8192x4140 [compressed, mask]
4.448 Created atlas bitmap 8192x4388 [compressed, mask, shadow]
4.501 Created atlas bitmap 8192x1496 [mipmap]
4.520 Created atlas bitmap 8192x800 [compressed, mipmap, mask, smoke]
4.561 Created atlas bitmap 8192x2376 [linear-minification, mipmap, terrain]
4.709 Created atlas bitmap 8192x1108 [no-crop, trilinear-filtering, icon, light]
4.739 Created atlas bitmap 8192x238 [alpha-mask]
14.582 Sprites loaded
14.582 Convert atlas 8192x4140 to: compressed
17.371 Convert atlas 8192x4388 to: compressed
19.034 Convert atlas 8192x1496 to: mipmap
19.166 Convert atlas 8192x800 to: mipmap compressed
19.628 Convert atlas 8192x2376 to: min-linear
19.809 Convert atlas 8192x1108 to: trilinear-filtering
19.927 Convert atlas 8192x238 to: alpha-mask
21.478 Custom inputs active: 5
21.603 Factorio initialised
34.944 Loading map C:\Users\Breadstick\AppData\Roaming\Factorio\saves\Map 103.zip: 92022039 bytes.
34.980 Loading Level.dat: 196385000 bytes.
34.990 Info Scenario.cpp:136: Map version 0.16.51-0
49.840 Loading script.dat: 2561775 bytes.
49.844 Checksum for script C:/Users/Breadstick/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 950616531
49.861 Checksum for script __FARL__/control.lua: 118530187
49.868 Checksum for script __miniloader__/control.lua: 3473968990
49.875 Checksum for script __railloader__/control.lua: 2900355021
49.876 Checksum for script __AdequateBotStart__/control.lua: 2403635406
49.879 Checksum for script __auto-research__/control.lua: 1329121496
49.883 Checksum for script __AutoDeconstruct__/control.lua: 3223198268
49.885 Checksum for script __Bot Landfill__/control.lua: 1241308455
49.892 Checksum for script __ChargeTransmission__/control.lua: 4226433803
49.894 Checksum for script __ElectricTrain__/control.lua: 759298784
49.896 Checksum for script __LightedPolesPlus__/control.lua: 2454629401
49.903 Checksum for script __LogisticTrainNetwork__/control.lua: 221304292
49.909 Checksum for script __Teleportation__/control.lua: 4003135727
49.912 Checksum for script __Waterbomb__/control.lua: 1116793566
49.918 Checksum for script __WhistleStopFactories__/control.lua: 4272942701
51.702 Script @__LogisticTrainNetwork__/control.lua:227: [LTN] on_load: complete
52.911 Script @__LogisticTrainNetwork__/control.lua:175: [LTN] recreated 0 LTN stops missing from global.LogisticTrainStops
52.924 Script @__LogisticTrainNetwork__/control.lua:271: [LTN] LogisticTrainNetwork 1.8.0 configuration updated.
63.759 Error MainLoop.cpp:1035: Exception at tick 243918042: Error while running event LogisticTrainNetwork::on_tick (ID 0)
__LogisticTrainNetwork__/control.lua:1375: table index is nil
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 5:43 pm
by WhiskeyWonka
even going back to Geothermal 1.0.80 is causing a major crash with factorio with this save. I found a save done at around 1000 hours that loads, IIRC that was the backup prior to installing LTN (I named it poorly, should have been "Map 103 pre LTN")
Edit: Nope that was the save I did to move it over to my other box that runs factorio 24/7
PS: I want to be sure to thank you for the time spend on this, ever more so since it looks to not have been caused by LTN.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 6:01 pm
by Optera
I managed to make LTN fix the corrupted global stop list in your save.
please either use spoiler= tag or attachment for large text files for readability.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 7:02 pm
by WhiskeyWonka
Thank you very much for the fix! And I will do attachments for logs from now on. If you are ever in the way of oregon usa, ill by you a beer, or whiskey, or dinner, etc
Could you tell what corrupted the data structure? Right now I feel it was just something with my laptop since there do not look to be anyone else with this issue.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 7:13 pm
by Optera
I have no idea how it was possible for a stop stored in global.LogisticTrainStops to loose its entity.id between save and reload.
My fix just skips over stops that have invalidated entity information when generating the list of stops to update each tick.
Re: [1.8.0] control.lua:1375: table index is nil
Posted: Wed Sep 12, 2018 10:48 pm
by WhiskeyWonka
I think I figured out the issue. The geothermal mod uses a modified rail signal in order to have a glowing entity (he said its the only way, i've been told its not). I know that I built one of the depot sections over a geothermal field. I can not locate that now because of having to disable, save, enable, load save --> all geothermal fields are gone and even being able to build the units is not showing up in the build menu. I know I built over one cause I had to move the rail one space to fix where the rail went over it. I will test this out.