[BUG] Bob's Metals, Chemicals and Intermediates

Some mods, made by Bob. Basically streaks every Factroio-area.

Moderator: bobingabout

onon99buynoodle
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Jul 15, 2018 9:02 am
Contact:

[BUG] Bob's Metals, Chemicals and Intermediates

Post by onon99buynoodle »

I found a bug after updating the "Bob's Metals, Chemicals and Intermediates" mod tonight.
https://mods.factorio.com/mod/bobplates

Image
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.
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

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [BUG] Bob's Metals, Chemicals and Intermediates

Post by bobingabout »

onon99buynoodle wrote:
Wed May 22, 2019 3:07 pm
I found a bug after updating the "Bob's Metals, Chemicals and Intermediates" mod tonight.
https://mods.factorio.com/mod/bobplates

Image
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.
It's a known issue.

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.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

onon99buynoodle
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Jul 15, 2018 9:02 am
Contact:

Re: [BUG] Bob's Metals, Chemicals and Intermediates

Post by onon99buynoodle »

Thank for you quick reply.
I want to know how can edit the mod to fix the issue for learning purpose. :D
Image
Figure 1
Image
Figure 2
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?

User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: [BUG] Bob's Metals, Chemicals and Intermediates

Post by bobingabout »

onon99buynoodle wrote:
Wed May 22, 2019 3:43 pm
Thank for you quick reply.
I want to know how can edit the mod to fix the issue for learning purpose. :D

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?
that's probably the wrong file.

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
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.

Post Reply

Return to “Bob's mods”