pollution visuals


heavilly polluted areas will now contain clouds of smog

Tweaks
2 years ago
1.1
4.18K

b [FIXED] Crash when using Space Exploration's 'trim surface' feature

2 years ago

The mod pollution visuals (0.2.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event pollution-visuals::on_chunk_deleted (ID 111)
pollution-visuals/control.lua:342: attempt to index field 'area' (a nil value)
stack traceback:
pollution-visuals/control.lua:342: in function <pollution-visuals/control.lua:341>

To reproduce: Launch 2 satellites to unlock the universe explorer, then open it (U) and press the 'Trim Surface' button for any planet.

2 years ago

thank you, i will look into this.

2 years ago

hello DigitalSoul247,
i believe i have fixed this bug with the most recent update. if you are still having issues with the most recent update please don't hesitate to let me know :)

2 years ago

The mod pollution visuals (0.2.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event pollution-visuals::on_tick (ID 0)
pollution-visuals/control.lua:65: attempt to index local 'surface' (a nil value)
stack traceback:
pollution-visuals/control.lua:65: in function 'setup'
pollution-visuals/control.lua:400: in function <pollution-visuals/control.lua:397>

When trying to load the save.
I get a similar crash a few seconds after deleting surface in a new game:

Error while running event pollution-visuals::on_tick (ID 0)
pollution-visuals/control.lua:127: attempt to index local 'surface' (a nil value)
stack traceback:
pollution-visuals/control.lua:127: in function 'check_all_chunks'
pollution-visuals/control.lua:406: in function <pollution-visuals/control.lua:397>

I suspect the first happens because I have previously deleted surfaces on that save.
This is only when deleting the whole surface. Deleting individual chunks works fine.

2 years ago

that first one is definitely a head scratcher.
i will look into this once again. thank you for the bug reports.

2 years ago

i updated the mod to fix the crash on deleting surfaces. I'm not sure if this will fix the issue that happens on loading your existing save.
if the issue still persists could you maybe send me your save file through a drive or something?

2 years ago
(updated 2 years ago)

Still crashes when loading that save:

Error while running event pollution-visuals::on_tick (ID 0)
pollution-visuals/control.lua:251: attempt to index field '?' (a nil value)
stack traceback:
pollution-visuals/control.lua:251: in function 'check_polluted_chunk'
pollution-visuals/control.lua:264: in function 'check_polluted_chunks'
pollution-visuals/control.lua:399: in function <pollution-visuals/control.lua:393>

However, if I uninstall ALL my mods except SE, then load and save the game, I can re-enable pollution visuals and it will load. So now I'm going through my mod list to try and figure out which one is doing it, but that'll take a while. I'll update if I find anything.

EDIT: Well, removing Krastorio 2 fixed it, but then re-enabling that mod and trying again to double check no longer gives me an error. It's the exact same save file with the exact same mod configuration, but I can't reproduce it any more. I have no idea what it was.

2 years ago

that's a shame.
however this error you send me is different from the other crash on start up. its also weird how removing krastorio 2 resolved the issue. i don't really know whats going on there.

thank you for everything. if you encounter any more issues you know where to find me :)
although i hope you wont encounter any.

2 years ago

Alas, I am now getting the same error, but this time on a fresh save with this as the ONLY active mod. Crash occurs about 5 minutes after starting.

2 years ago

pretty colossal mistake on my part. it should be fixed now.

New response