Utilities
1 year, 16 days ago
1.0 - 1.1
1.66K

b Crash when clicking

2 years ago
(updated 2 years ago)

Not sure what the exact reasons are, but one of the alerts is crashing the game when I click on it.

The mod Programmable Speaker Alerts List 2 (1.3.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AlertsList2::on_gui_click (ID 1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    [C]: in function '__index'
    __AlertsList2__/control.lua:140: in function 'on_click'
    __AlertsList2__/control.lua:283: in function <__AlertsList2__/control.lua:280>

Save file

2 years ago
(updated 2 years ago)

Hi!
Could you please elaborate a bit more?

  • Where are you clicking?

  • What game mode are you in?

  • Have you any other mods installed? If yes what mods?

  • The error seems to indicate that the entity is missing - did you remove the speaker before you "clicked" ?

Please remember that I will need to reproduce the problem. So every information helps.

2 years ago

The save file contains the bug ready for testing. Load it with all the mods and click on the alert icon with the dark brown fluid icon to test the crash.

2 years ago

Hi, I'm seeing the same error message as modo_lv, but it occurs when clicking on either the "light oil" or "coal" icons in the Alerts list. Removing the mod "Auto Deconstruct" seems to have fixed the issue. I'll update if I experience this crash after more time.

Thanks for your work on this mod, it's very helpful!

2 years ago

I just uploaded version 1.3.2.
I added some checks when clicking on an icon. Could you test if this has helped? I could not reproduce the crash with the file from modo_lv.

New response