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

g non-recoverable error when placing a turret

a day ago

I got this error when replacing a broken turret near a searchlight. This was before construction bots, so there was no blueprint present, if that helps.

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

Error while running event SearchlightAssault::on_built_entity (ID 6)
SearchlightAssault/control-tunion.lua:439: attempt to index local 'g' (a nil value)
stack traceback:
SearchlightAssault/control-tunion.lua:439: in function 'IsBoostableAndInRange'
SearchlightAssault/control-tunion.lua:450: in function 'CreateRelationship'
SearchlightAssault/control-tunion.lua:346: in function 'TurretAdded'
SearchlightAssault/control.lua:494: in function 'turretOrInterfaceBuilt'
SearchlightAssault/control.lua:505: in function <SearchlightAssault/control.lua:500>

a day ago

Thanks for your report! I spent a few minutes trying to recreate this, but couldn't reproduce the problem.

Would you mind sending me your save file to help me debug this?

22 hours ago

https://drive.google.com/file/d/1ilFYgO9c0TLVeNlIWxvkIMIDa2idqruW/view?usp=sharing

The turret is near the bottom right of the platform. I tried replacing it again, and that crashed the game again.
In case you spawn on the wrong surface, the surface in question is named warpzone_62

9 hours ago

Thanks so much for the save!

I haven't played the new warptorio yet, but can confirm thanks to your help that the mod is invalidating my mod's hidden entities each time the platform warps.

I should be able to figure out a fix this weekend, maybe even tonight if I have enough time after dinner & chores.

New response