Lua API Event Trace

by x2605

This is a debugging tool. This mod tracks and shows you what event ID(defines.events.~) occurs. Only admins can open GUI if it is multiplay game. - Press SHIFT+F3 to open GUI. (you can change key bindings) - Press SHIFT+F2 for quick toggle logging mode while GUI is opened. - Only works while GUI is opened. Tracked logs can be saved and investigated by "gvv" mod. https://mods.factorio.com/mod/gvv Visit https://lua-api.factorio.com/latest/events.html to see full description of events.

Utilities
30 days ago
1.0 - 2.0
1.06K

Changelog

Version: 0.3.2
Date: 2024-10-22

  Changes:
    - Changed version string to Factorio 2.0
    - Changed a few reserved words in source code to make compatible to 2.0
Version: 0.3.1
Date: 2022-05-09

  Fixes:
    - Fixed crash when lua pattern character input in search field.
Version: 0.3.0
Date: 2020-11-24

  Changes:
    - Changed only version string to Factorio 1.1
Version: 0.2.4
Date: 2020-09-11

  Changes:
    - Added remote.call("__gvv__0-event-trace","get_last_index",<player_name>, <event_name>)

  Fixes:
    - Fixed wrong indexing in gvv if index > 99999.
Version: 0.2.3
Date: 2020-09-10

  Fixes:
    - Fixed gvv global table can cause savefile to be corrupted.
      Saving LuaItemStack and LuaLazyLoadedValue in global is blacklisted to fix.
Version: 0.2.2
Date: 2020-09-10

  Fixes:
    - Fixed "player_index" doesn't leave "_T_player_index.position" and "_T_player_index.surface" in gvv log.
Version: 0.2.1
Date: 2020-09-10

  Changes:
    - Log of LuaObject in gvv global leaves a few information such as name, position... with "_T_" header for the cases that LuaObject is no more exist.
Version: 0.2.0
Date: 2020-09-10

  Changes:
    - Added collaborative function working with "gvv" mod. "gvv" mod can keep event logs and investigate them.
      https://mods.factorio.com/mod/gvv
    - Main window can be minimized to do not disturb game play while logging. (Closing window will stop logging)
Version: 0.1.1
Date: 2020-08-31

  Changes:
    - Shows string parameter of on_console_chat and on_console_command.
    - Shortens string to show if it is too long. (Not applied to table keys or object names.)
    - Shows extra information of LuaObject such as LuaTrain, LuaCustomChartTag, LuaUnitGroup, etc.
Version: 0.1.0
Date: 2020-08-30

  Info:
    - First push.