Events Logger

by Ralnoc

Events Logger provides an event logging system for Factorio that generates formatted event logs based on events documented in the Events API, enabling server administrators to track game events, and build tooling around it.

6 months ago
2.0
582

g Error when loading my existing save file

8 months ago

Hi, I wanted to use this mod and just installed version 0.0.35. I'm getting the following error when installing the mod and running my existing save file:


The mod Events Logger (0.0.35) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event events-logger::on_entity_died (ID 4)
events-logger/events/entities.lua:30: attempt to index field 'damage_type' (a nil value)
stack traceback:
events-logger/events/entities.lua:30: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>


I'm getting no errors on a new save file though. I forked your repo and fixed the issue on my machine. I will put up a merge request and if you'd like to verify, I can send you my save file.

8 months ago

Go ahead and raise the PR, I'll do a double check to confirm locally and put together a release. I always appreciate help.

8 months ago

The PR has been merged and released under 0.0.37. You should be set once you update to that.

Thanks for the help!

8 months ago

Everything works for me now. Thanks man!