Modern-Industrialization icon indicating copy to clipboard operation
Modern-Industrialization copied to clipboard

Overflow discarded log message warnings

Open RyanRio opened this issue 1 year ago • 4 comments

Modern Industrialization v2.0.25 neoforge-20.4.237

Getting these concerning warnings about overflow, the setup - pipe is pulling from a machine and placing it in a sophisticated storage chest or other MI machines.

overflow_logs.txt

RyanRio avatar Aug 05 '24 03:08 RyanRio

It means that some items are getting destroyed. What kind of setup do you have?

Technici4n avatar Aug 05 '24 06:08 Technici4n

It's a pretty large network of machines with inputs on one side and outputs on another, but then both sides are connected to one another so products become inputs etc. For the soldering dust and gears, those are slightly different because they both additionally get routed to a sophisticated storage barrel with memory settings to only allow them in a specific slot(s).

RyanRio avatar Aug 05 '24 06:08 RyanRio

This might be a sophisticated storage issue alone, with the "Pretty Pipes" mod we're noticing weird behavior where it is oversending to similar memory-slot-setting barrels despite having upgrades that prevent that. It could be that both MI and Pretty Pipes isn't reading the inventory correctly, or Sophisticated Storage is reporting it wrong.. I can try to reproduce and upload a photo later.

RyanRio avatar Aug 05 '24 16:08 RyanRio

Hi @Technici4n

MI_overflow

Reproduced it with this setup, mixer making soldering dust -> sophisticated storage -> blast furnace making soldering alloy. It actually happens on storage default settings too, however interestingly enough it only happens when there are at least 2 slots filled with the item. I.e. it doesn't happen here -

image

but does happen here -

image

And incidentally, it does only happen with sophisticated storage barrels and chests.

It also doesn't happen with your mods chests nor pneumaticrafts - seems like its their problem!

RyanRio avatar Aug 06 '24 00:08 RyanRio

Starting from the next release, the message will also log the offending inventory, which should make debugging these issues a lot easier: https://github.com/AztechMC/Modern-Industrialization/pull/1060.

Technici4n avatar Mar 31 '25 23:03 Technici4n