⚠️ SearchlightAssault ⚠️


Adds a game map and searchlights which sweep for foes at great range, alerting you while directing adjacent turrets to snipe spotted foes. Designed to dovetail with the early-mid game, searchlights provide: - Circuit network interfaces for search & detection I/O - Incentive to automate lamp & combinator production in the early game - New tactics to assault biter bases without leap-frogging turrets!

Content
10 days ago
1.1 - 2.0
12.8K
Combat

b Non-Recoverable Error

2 years ago

The mod ⚠️ SearchlightAssault ⚠️ (2.2.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SearchlightAssault::on_ai_command_completed (ID 118)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__SearchlightAssault
/control-turtle.lua:391: in function 'TurtleChase'
SearchlightAssault/control-turtle.lua:231: in function 'TurtleFailed'
SearchlightAssault/control.lua:378: in function <SearchlightAssault/control.lua:361>

I don't know what's happening but searchlight randomly crashes and I'll have to go back to main menu to resume my save.

2 years ago
(updated 2 years ago)

It looks like possibly the game engine is failing to create a new entity when I request one.
I've just released version 2.2.6, which adds a check to try to work around this.

The new version should start to appear in the mod portal shortly.
If you don't see it in-game you can download it manually here: https://mods.factorio.com/mod/SearchlightAssault/downloads

If the new version doesn't fix this for you, please send me your save file so I can investigate.

2 years ago

I have almost exactly the same error exept on version 2.2.7

The mod ⚠️ SearchlightAssault ⚠️ (2.2.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SearchlightAssault::on_ai_command_completed (ID 118)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__SearchlightAssault
/control-turtle.lua:398: in function 'TurtleChase'
SearchlightAssault/control-turtle.lua:236: in function 'TurtleFailed'
SearchlightAssault/control.lua:378: in function
<SearchlightAssault/control.lua:361>

2 years ago

I'm sorry to hear that, any chance you can send me your savefile?

2 years ago

https://www.dropbox.com/s/b8qm0s12d7vzadh/test.zip?dl=0
It happened when a cannon tower from Rampant Arsenal had its range extanded and was shooting

2 years ago

Thanks for the save, it helped a lot!
I've just released version 2.2.8, which should fix this.

The new version should start to appear in the mod portal shortly.
If you don't see it in-game you can download it manually here: https://mods.factorio.com/mod/SearchlightAssault/downloads

If the new version doesn't fix this for you, please send me an updated save file, saved as close to before any problems happen as you can.

New response