So i came across a very dumb and annoying bug, i dont know why, but i had 3 ACTIVE (!!) mods which were failing to load (silently) over the last X hours of gameplay
I just looked in current factorio log and saw 3 lines ala:" Could not load modname.zip, Bad Zip" (or something like this)
I mean its ok. But its not OK that you dont get a notice about it. The mods showed ALWAYS perfectly fine in the mod overview (!). I deleted them and redownloaded them and everything working fine.
So please, add a notice when something like this happens and DISABLE these mods.
[0.17.25] Crazy bug [bad mod zip - no notice??!]
[0.17.25] Crazy bug [bad mod zip - no notice??!]
Last edited by nuhll on Mon Apr 08, 2019 6:54 pm, edited 1 time in total.
Re: Crazy bug [bad mod zip - no notice??!]
Ideally, sha1 of downloaded mods should be checked. There is sha1 field for every mod version returned by mod portal api, so if something bad happens during download (network problem or firewall software bug) causing wrong hash - this file should be discarded and download process should be re-attempted (after n failed attempts an error should be thrown) rather that silently trusting downloaded file and marking mod download as successful.
Re: [0.17.25] Crazy bug [bad mod zip - no notice??!]
Thanks for the report however I can't reproduce having a mod fail to load and still showing up in the in-game mods GUI.
When a mod fails to load (the zip is corrupt in some way) the game treats it as "not a mod - some garabge zip file/unknown zip file) and ignores it.
When a mod fails to load (the zip is corrupt in some way) the game treats it as "not a mod - some garabge zip file/unknown zip file) and ignores it.
If you want to get ahold of me I'm almost always on Discord.
Re: [0.17.25] Crazy bug [bad mod zip - no notice??!]
I should have saved these files i guess. And or log, But i ddint know it was a bug, only when i deleted them i found out it was... (because then it was working)
Is it possible to display a message to the user if "garbage" in mod directory is found? Maybe with a "ignore" option?
Is it possible to display a message to the user if "garbage" in mod directory is found? Maybe with a "ignore" option?
Re: [0.17.25] Crazy bug [bad mod zip - no notice??!]
I have the same bug:
The error seems to come from an Auto-Update. I removed the files by hand and I tried to reload them from mods.factorio.com
Reason: Unknown. Some hickup on a storage?
Code: Select all
...
1.137 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: low-quality]
1.137 [Max load threads: 32] [Max texture size: 4096] [Tex.Stream.: 0] [Rotation quality: low] [Color: 16bit]
1.432 Error ModManager.cpp:793: Mod package read error. Opening zip /Users/ssilk/Library/Application Support/factorio/mods/deadlock-beltboxes-loaders_2.1.12.zip failed: Bad zip file
1.446 Error ModManager.cpp:793: Mod package read error. Opening zip /Users/ssilk/Library/Application Support/factorio/mods/FARL_3.1.9.zip failed: Bad zip file
1.745 Loading mod settings ModuleInserter 4.0.5 (settings.lua)
...
Code: Select all
~/Library/Application Support/factorio/mods » zip -T FARL_3.1.9.zip ssilk@ssilkPro2-4
zip warning: missing end signature--probably not a zip file (did you
zip warning: remember to use binary mode when you transferred it?)
zip warning: (if you are trying to read a damaged archive try -F)
zip error: Zip file structure invalid (FARL_3.1.9.zip)
~/Library/Application Support/factorio/mods » zip -T deadlock-beltboxes-loaders_2.1.12.zip ssilk@ssilkPro2-4
zip warning: missing end signature--probably not a zip file (did you
zip warning: remember to use binary mode when you transferred it?)
zip warning: (if you are trying to read a damaged archive try -F)
zip error: Zip file structure invalid (deadlock-beltboxes-loaders_2.1.12.zip)
Code: Select all
~/Library/Application Support/factorio/mods » zip -T FARL_3.1.9.zip ssilk@ssilkPro2-4
test of FARL_3.1.9.zip OK
------------------------------------------------------------
~/Library/Application Support/factorio/mods » zip -T deadlock-beltboxes-loaders_2.1.12.zip
ssilk@ssilkPro2-4
test of deadlock-beltboxes-loaders_2.1.12.zip OK
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: [0.17.25] Crazy bug [bad mod zip - no notice??!]
Did the game load the maps without notice (but without mod?)