Ghost Counter


Generate a list of all ghosts in your selection area or the blueprint in your cursor using the shortcut button or hotkey (default: Ctrl+G). Find out what you have in your inventory, and conveniently make one-time logistic requests for everything you need.

Utilities
19 days ago
1.1 - 2.0
16.6K
Logistic network Circuit network Blueprints

g [2.0.1] Crash with quality requests

9 days ago
(updated 9 days ago)

Space Age, version 2.0.18

Error MainLoop.cpp:1432: Exception at tick 4297757: The mod Ghost Counter (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ghost-counter::on_nth_tick(10)
ghost-counter/scripts/core.lua:381: attempt to concatenate field 'quality' (a nil value)
stack traceback:
ghost-counter/scripts/core.lua:381: in function 'update_logistics_info'
ghost-counter/scripts/events.lua:189: in function <ghost-counter/scripts/events.lua:177>

Happened while enabling this group with a temporary request active: https://imgur.com/IRwYdj5

5 days ago

Hi, my crash happens when I have a ghost of an assembler with a module in it. Removing the module stops the crash. (assembling machine 3 with speed module 2):

The mod Ghost Counter (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ghost-counter::ghost-counter-selection-hotkey (ID 216)
ghost-counter/scripts/core.lua:237: attempt to concatenate local 'quality' (a nil value)
stack traceback:
ghost-counter/scripts/core.lua:237: in function 'get_blueprint_counts'
ghost-counter/scripts/events.lua:77: in function 'on_player_selected_blueprint'
ghost-counter/scripts/events.lua:14: in function <ghost-counter/scripts/events.lua:3>

5 days ago

I threw the code in chatgpt and now it doesn't crash anymore lol.

Something about changing the line 'local quality = item_request.id.quality' into 'local quality = item_request.id.quality or base_quality -- Default to base_quality if nil'

4 days ago

After personal request change to this: https://i.imgur.com/ZTQU34h.png

The mod Ghost Counter (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ghost-counter::on_nth_tick(10)
ghost-counter/scripts/core.lua:381: attempt to concatenate field 'quality' (a nil value)
stack traceback:
ghost-counter/scripts/core.lua:381: in function 'update_logistics_info'
ghost-counter/scripts/events.lua:189: in function <ghost-counter/scripts/events.lua:177>

New response