⚠️ 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
7 days ago
1.1 - 2.0
12.8K
Combat

b Crash with no valid object while engaged with the enemy

2 years ago
(updated 2 years ago)

This has happened a couple times when turrets are engaged with the enemy through a search light.

Error MainLoop.cpp:1284: Exception at tick 3589962: The mod ^@ SearchlightAssault ^@ (2.2.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SearchlightAssault::on_tick (ID 0)

There is no valid object with id 13199.
stack traceback:
        [C]: in function 'set_target'
        __SearchlightAssault__/sl-render.lua:265: in function 'Update'
        __SearchlightAssault__/control.lua:277: in function <__SearchlightAssault__/control.lua:239>
2377.361 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod ^@ SearchlightAssault ^@ (2.2.9) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SearchlightAssault::on_tick (ID 0)
There is no valid object with id 13199.
stack traceback:
        [C]: in function 'set_target'
        __SearchlightAssault__/sl-render.lua:265: in function 'Update'
        __SearchlightAssault__/control.lua:277: in function <__SearchlightAssault__/control.lua:239>"
2377.361 Info ServerMultiplayerManager.cpp:795: updateTick(3589962) changing state from(InGame) to(Failed)
2377.361 Quitting: multiplayer error.
2377.881 Info ServerMultiplayerManager.cpp:141: Quitting multiplayer connection.
2377.881 Info ServerMultiplayerManager.cpp:795: updateTick(4294967295) changing state from(Failed) to(Closed)
2377.882 Info UDPSocket.cpp:218: Closing socket
2377.882 Info UDPSocket.cpp:248: Socket closed
2377.882 Info UDPSocket.cpp:218: Closing socket
2378.139 Info UDPSocket.cpp:218: Closing socket
2378.139 Info UDPSocket.cpp:248: Socket closed
2378.140 Goodbye
2 years ago

Thanks for your report!

Any chance you can send me a savefile, or list what other mods you're playing with?

2 years ago

I wasn't able to reproduce the issue, so I tried my best to make a workaround.

I've just released version 2.2.11 which will hopefully fix this. Please let me know if it does or not.

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

2 years ago
(updated 2 years ago)

About sharing the savefile, we would have to see through what medium, the bug isn't easy to trigger though and it may take quite a while of gameplay for it to happen.

I've been using Search Lights for quite a while, successfully, now the only difference is that in this world we are using MSI II.

I'm going to try the update you made today and tell you if it fails again... if it doesn't fail in some days I'll let you know too.

2 years ago
(updated 2 years ago)

(deleted message)

2 years ago

Sounds good, much appreciated!

The mod you linked is new to me, I'll look it over sometime next week and see if there's anything that might cause incompatibility issues.

2 years ago

The bug hasn't happened again and we have used search lights a lot, so let consider it fixed.
Thanks.

2 years ago

Awesome, thank you for following up!

New response