I found a bug after updating the "Bob's Metals, Chemicals and Intermediates" mod tonight.
https://mods.factorio.com/mod/bobplates
This bob mod seem crashed with angel's mods.
It's because when I turn off this mod only and turn on all others mods, factorio will work normally.
Also, I turn on some Angel's mods and this mod only, the same issue will occur.
The attached logs shows what I tested.
I hope the bug will fix soon.
Thank you.
[BUG] Bob's Metals, Chemicals and Intermediates
Moderator: bobingabout
-
- Manual Inserter
- Posts: 3
- Joined: Sun Jul 15, 2018 9:02 am
- Contact:
[BUG] Bob's Metals, Chemicals and Intermediates
- Attachments
-
- No error - Full mods without bobplates.log
- (96.7 KiB) Downloaded 116 times
-
- Error - Full mods.log
- (95.3 KiB) Downloaded 108 times
-
- Error - Angel's mods and bobplates only.log
- (37.9 KiB) Downloaded 118 times
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [BUG] Bob's Metals, Chemicals and Intermediates
It's a known issue.onon99buynoodle wrote: ↑Wed May 22, 2019 3:07 pmI found a bug after updating the "Bob's Metals, Chemicals and Intermediates" mod tonight.
https://mods.factorio.com/mod/bobplates
This bob mod seem crashed with angel's mods.
It's because when I turn off this mod only and turn on all others mods, factorio will work normally.
Also, I turn on some Angel's mods and this mod only, the same issue will occur.
The attached logs shows what I tested.
I hope the bug will fix soon.
Thank you.
The reason why it breaks is because Angel is replacing an icon with one sized 32x32 when the original was 64x64, therefore the item it is on has icon_size = 64 set. Angel's mod neglects to set the icon_size tag to the size of the new icon (32) and therefore you get this error.
Angel said he will update his mod to not assume icon size doesn't change soon.
Until then, it's recommended that you simply revert to the previous version of bobplates (Metals, chemicals and intermediates version 0.17.6) https://mods.factorio.com/mod/bobplates/downloads
You could also edit angel's mod, either by adding icon_size = 32 to the erroring items, deleting those item replacement lines, or replacing those graphics with the size 64 graphics from my mod.
-
- Manual Inserter
- Posts: 3
- Joined: Sun Jul 15, 2018 9:02 am
- Contact:
Re: [BUG] Bob's Metals, Chemicals and Intermediates
Thank for you quick reply.
I want to know how can edit the mod to fix the issue for learning purpose.
I found that if I change the icon_size to 64, the error of this item will be solved but there are many items will come up the same error.
How about if i change icon_size of all items to 64?
I want to know how can edit the mod to fix the issue for learning purpose.
Figure 1
Actually, the angel's mod items has icon_size = 32. (May be i open the wrong file?)
Figure 2
I found that if I change the icon_size to 64, the error of this item will be solved but there are many items will come up the same error.
How about if i change icon_size of all items to 64?
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: [BUG] Bob's Metals, Chemicals and Intermediates
that's probably the wrong file.onon99buynoodle wrote: ↑Wed May 22, 2019 3:43 pmThank for you quick reply.
I want to know how can edit the mod to fix the issue for learning purpose.
Actually, the angel's mod items has icon_size = 32. (May be i open the wrong file?)
I found that if I change the icon_size to 64, the error of this item will be solved but there are many items will come up the same error.
How about if i change icon_size of all items to 64?
you're looking for an item called aluminium-plate, or a recipe called bob-aluminium-plate, likely somewhere in the data-updates phase.
it will probably be in the form of... data.raw.item["aluminium-plate"].icon = I'm not typing the whole thing.
you need to match it with a data.raw.item["aluminium-plate"].icon_size = 32.
I looked myself, it's in smelting-override-global.lua