Ghost On Water


This mod adds the ability to place ghosts (blueprints) on water or in space (space exploration). Ghost Landfill/Space Scaffolding is automatically added once a blueprint has been placed on water. Usage: press control + w while holding a blueprint to make it placeable on water, then simply place it on water.

Tweaks
7 months ago
1.1
12.9K
Blueprints

b Crash when converting blueprint of landfill

1 year, 5 months ago

Trying to convert a blueprint that contains ONLY landfill makes the game crash with the following notice:

The mod Ghost On Water (0.11.0) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event GhostOnWater::InputWaterGhostBlueprintUpdate (ID 178)
__GhostOnWater__/modules/blueprints.lua:35: attempt to get length of local 'blueprintEntities' (a nil value)
stack traceback:
    __GhostOnWater__/modules/blueprints.lua:35: in function 'updateSingleBlueprint'
    __GhostOnWater__/modules/blueprints.lua:15: in function 'updateBlueprint'
    __GhostOnWater__/control.lua:83: in function 'handler'
    __stdlib__/stdlib/event/event.lua:342: in function 'pcall'
    __stdlib__/stdlib/event/event.lua:362: in function 'dispatch_event'
    __stdlib__/stdlib/event/event.lua:438: in function <__stdlib__/stdlib/event/event.lua:396>

It also happens with concrete, scaffolding (SE) and probably any type of tile. Looking at the error it looks like it would happen on any blueprint that doesn't contain actual entities.

Its not very critical, as there is the obvious workaround of not uselessly converting blueprints of tiles, but I thought you may want to know about it. Cheers!

1 year, 4 months ago

It's a known issue and will be fixed soon.

New response