[0.18.28] Crash loading save, in lua

This subforum contains all the issues which we already resolved.
hendres
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri May 29, 2020 3:58 pm
Contact:

[0.18.28] Crash loading save, in lua

Post by hendres »

Hey folks,

my save is crashing if I try to open the save game(same behavior on Windows). Since there is a message in the log, here is the output.

mod list:

Code: Select all

ammo-loader_18_0.18.69.zip
angelsinfiniteores_0.9.3.zip
belt_buffer_up_0.18.5.zip
Construction_Drones_0.6.2.zip
Crafting_Speed_Research_0.2.2.zip
FNEI_0.3.4.zip
Krastorio2_0.9.18.zip
miniloader_1.11.1.zip
Mining_Drones_0.3.22.zip
railloader_1.0.2.zip
Repair_Turret_0.5.3.zip
Robot_Battery_Research_0.2.0.zip
'Squeak Through_1.8.0.zip'
stdlib_1.4.3.zip
Teleporters_0.2.3.zip
Transport_Drones_0.7.5.zip
Waterfill_v17_0.18.0.zip
Best Regards and thank you in advance
hendres
Attachments
krastorio2018.zip
(11.84 MiB) Downloaded 94 times
factorio-current.log
(18.7 KiB) Downloaded 112 times
boim
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 29, 2020 10:29 pm
Contact:

Re: [0.18.28] Crash loading save, in lua

Post by boim »

Happened to me after last update too. Trying new game and loading it afterwards still crashes.
Attachments
123zzzzzzzzzzzzzzzzz.zip
(6.93 MiB) Downloaded 109 times
factorio-current.log
(42.16 KiB) Downloaded 111 times
boim
Manual Inserter
Manual Inserter
Posts: 2
Joined: Fri May 29, 2020 10:29 pm
Contact:

Re: [0.18.28] Crash loading save, in lua

Post by boim »

Found the issue. Ammo loader+ mod is causing those problem's.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4047
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.28] Crash loading save, in lua

Post by boskid »

ammo-loader_18 is using lua function as key in table. Lua functions are being niled when saving and during load, lua does not like creating table with nil key. In 0.18.29 this will give proper error during save and also (when no proper migration is implemented) during load (since there is one base migration that forces script reload which causes temporary script data saving), properly blaming which mod is broken.

Resolved = will throw proper error instead of crashing.
hendres
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri May 29, 2020 3:58 pm
Contact:

Re: [0.18.28] Crash loading save, in lua

Post by hendres »

Thank you for clarification and proper error handling! :)

I've informed the developer of the mod
SilentCrim
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun Apr 09, 2017 10:56 pm
Contact:

Re: [0.18.28] Crash loading save, in lua

Post by SilentCrim »

Hi everybody! I'm the developer of the mod in question. Well, sort of anyway.

I believe the mod in question is the (unofficially) deprecated version that a fan posted as a quick 0.18 update(link here). I had been inactive for a while at the time, so they posted an update while waiting for the official one. Of course, I've since updated the original mod, but unfortunately cannot seem to contact the transient mod's owner to get it officially deprecated.

Here is a link to the official mod: Ammo Loader+.

If this version also has these issues, please let me know and I'll try to get them resolved as quickly as possible.
Image[url=steam://friends/add/'.76561198074798722.']Image[/url]
hendres
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri May 29, 2020 3:58 pm
Contact:

Re: [0.18.28] Crash loading save, in lua

Post by hendres »

Hi, guys,

oh I must have overlooked the suffix when "just quickly installing" the 0.18 mods. Thanks for the attentive eyes ;-).

wroking as expected after using the proper mod!

Best regards and thank you!
Post Reply

Return to “Resolved Problems and Bugs”