0ptera / Inventory-Sensor

Factorio mod adding a combinator that reads inventories of wagons, cars, furnaces and more
Other
5 stars 6 forks source link

non-recoverable error when placed next to a nuclear reactor from the Realistic Reactors mod #25

Closed diamond-lizard closed 1 year ago

diamond-lizard commented 1 year ago

When the inventory sensor was placed next to a nuclear reactor with the Realistic Reactors mod installed, the game crashed with this error:

The mod Inventory Sensor (1.10.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Inventory Sensor::on_tick (ID 0)
Value (470391973738637.000000) outside of range. The data type allows values from -2147483648 to 2147483647 in property tree at ROOT[2].count
stack traceback:
    [C]: in function '__newindex'
    __Inventory Sensor__/control.lua:446: in function 'UpdateSensor'
    __Inventory Sensor__/control.lua:176: in function <__Inventory Sensor__/control.lua:154>
0ptera commented 1 year ago

Out of range error is fixed in next release.

However using Inventory Sensor on Realistic Reactors is pointless. Sensors detect a dummy reactor containing dummy fuel. I'm not going to add a filter for that, as these reactors already have a built in control panel with all readouts.