DRY411S / Recycling-Machines

A factorio mod that adds Recycling Machines to the game. These disassemble products back into their original ingredients.
GNU General Public License v3.0
10 stars 2 forks source link

ZRecycling/prototypes/entities.lua:34: attempt to index field 'hr_version' (a nil value) #94

Open kuxynator opened 3 years ago

kuxynator commented 3 years ago

possibly in conjunction with Industrial Revolution 2 Reported for a friend. It's annoying for non-developers to need an extra GitHub account to report bugs.

DRY411S commented 3 years ago

Code assumes that all entities have low-res and high-res graphics . Perhaps this isn't 'safe', and mods can have no high-res version. If so, it will be easy to fix.

Tell your friend that the mod portal is clear about bug reporting:

`If you want bugs fixed fast, please do not post bug reports in this portal. Please use either Factorio forums

https://forums.factorio.com/viewtopic.php?t=31692

or GitHub

https://github.com/DRY411S/Recycling-Machines/issues`

It's not necesssary to report bugs here. official forums are also good.

DRY411S commented 3 years ago

Confirmed that this is some kind of compatability issue with Industrial Revolution 2

DRY411S commented 3 years ago

The issue appears to be that Industrial Revolution 2 completely removes the vanilla assembling machines from the game, but my mod assumes that no mod will ever do that. Thus there is no fix, other than to mark Industrial Revolution as being incompatible. I'll add this incompatability to the info.json file when I next have a real bug to fix.

DRY411S commented 3 years ago

In discussion with the owner of the Industrial revolution 2 mod, I've decided that this IS a bug.

DRY411S commented 3 years ago

Further investigation shows that the recycling Machine animations and icons just won't work with the Industrial Revolution assembling machines. The way forward with this will be to just declare that recycling Mavhines Mod is incompatible with Industrial Revolution.