Lightorio


Adds a little 'glow' to assembling machines, chem plants and oil refineriers, to make the factory more visible at night. Not intended as an complete replacement for lamps.

Tweaks
1 year, 8 months ago
0.16 - 1.1
28.8K

b [fixed] crash when i use water

4 years ago
(updated 4 years ago)

when i use water canister (fire departement )
https://image.noelshack.com/fichiers/2019/43/5/1571996145-2019-10-25-113537-1366x768-scrot.png

with default setting mods

https://we.tl/t-Tb2NDRaQ06
my save 'sandbox" 6Mio

4 years ago

Hi,
Thanks for the bug report and for hosting your save file. It looks like for some reason Lightorio and Universal Turret don't like eachother... Disabling one or the other will fix your issue.

I'll have to look into what's causing it and post an update when I've found the cause (and hopefully a fix)
Thanks
Jack

4 years ago

Fixed in 0.17.8
Thanks

4 years ago

Hello, strange thing, before that worked perfectly. so I do not understand why now no: /

thank you for having so quickly corrected the worries,
How did you do ?

4 years ago

For some reason the 'water' entity created when using the water ammunition in the flamethrower was being added to an array in Lightorio which is used to automatically create the hidden lamps on miners. Since this entity only exists for a few ticks, when Lightorio attempted to access the array for that entity, the game would crash since the entity had already disappeared.

So now Lightorio does a sanity check that the entity is still valid first. If it's not valid, it skips any further logic and removes that element from the array.

It doesn't explain why the water entity was being added to the array only when a certain combination of mods are installed though.... But for now at least it works.

4 years ago

Very strange =)
but thanks you for your reactivity

New response