⚠️ 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

2 years ago

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

Error while running event SearchlightAssault::on_tick (ID 0)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function 'newindex'
__SearchlightAssault
/control-tunion.lua:502: in function 'Boost'
SearchlightAssault/control-gestalt.lua:146: in function 'BoostFriends'
SearchlightAssault/control-gestalt.lua:168: in function 'RaiseAlarm'
SearchlightAssault/control-gestalt.lua:421: in function 'CloseWatchCircle'
SearchlightAssault/control.lua:196: in function <SearchlightAssault/control.lua:187>

2 years ago

all searchlights seems bugged , pointing stuff in place outside range (like at other turrets behind) , turrets around looks like shooting all time but its only animation , no ammo is used no dmg is done anywhere

2 years ago

I've released version 1.2.10 to attempt to fix the crash. Please let me know if you still see the crash after updating.

I'm not sure what's going on in your other post here, and I have no idea how to reproduce the problem.
Possibly its related to uninstalling another mod, like you mentioned in your other thread?Can you send me an old and new savegame / modlist somehow?

I'm very sorry for the inconvenience, thank you for patiently reporting issues.

2 years ago

in other report blueprint related i did not uninstall mod, i just used blueprint from diffrent game

and this time some other mods updated (dont remember which ones) but all worked fine just this crash with your mod i did report here, only other wierd thing was that map is unexplored now , ill give you save soon so you can check yourself

its nice mod so im glad i can help fix it , no need thank me :)

2 years ago

I'm not sure what's going on in your other post here, and I have no idea how to reproduce the problem.

i just described whats going on before it crashes

2 years ago

just tested with new version and still crashes game

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

Error while running event SearchlightAssault::on_tick (ID 0)
Given entity doesn't exist anymore.
stack traceback:
[C]: in function 'newindex'
__SearchlightAssault
/control-tunion.lua:502: in function 'Boost'
SearchlightAssault/control-gestalt.lua:150: in function 'BoostFriends'
SearchlightAssault/control-gestalt.lua:172: in function 'RaiseAlarm'
SearchlightAssault/control-gestalt.lua:425: in function 'CloseWatchCircle'
SearchlightAssault/control.lua:196: in function <SearchlightAssault/control.lua:187>

2 years ago
(updated 2 years ago)

Yeah it looks like one of those mod updates wiped out the relationships between game forces.
Not sure which one it was, and a few of your mods don't seem to be on the official portal so I didn't spend a lot of time investigating.
I added some code to rebuild the relationships whenever there's mod configuration changes, that should take care of that.

(Nothing I can do about whatever wiped out the exploration on your map, nothing my mod does should touch that)

Thanks for the save, it made it way easier to figure out what was going on.

Your save now works fine on my machine, if it still doesn't work for you let me know.
If necessary, possibly I could send your save back to you?
I'd need the mods that the portal didn't have:
MoreAchievements
Shield-FX
Soundpack-alerts-and-sirens
belt-reverser
ctg
speaker-signals-expansion

I have released version 1.2.11 with what should be a fix.
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

ty for fix, i cant check now but will tell you later if this works

all mods are on portal but some of them are still at 0.18 or something and i manually upgraded them to 1.1

2 years ago

working now ! thank you again :)

2 years ago

Awesome, thank you too

2 years ago

one more thing - it seems that something is wrong when enemy got base on edge of range of searchlight
that searchlight seems bugged then it light keeps moving towards enemy and back, it does some strange sound and turret range on map is going larger for blink then back and repeat , it is prolly in save i gave you too, look at far north outpost ...

2 years ago

Sadly, that's a known issue.
If there's an enemy right at the farthest range of the searchlight, the hidden unit I use 'chases' the enemy, but then it runs out of range of the searchlight itself, so I have to teleport my hidden unit back into the searchlight's range.

I'm still trying to think of what I want to do about this. The mod framework wasn't really designed to be abused the way I use it :')

2 years ago

mayby just make this turret ignore this target after 100 tries or after time passed or something like that

2 years ago

That would be nice, but there's no event that fires before a unit starts attacking something.

I was thinking about it last night, I think I can just restrict the random wandering so the searchlight keeps just slightly over its spot-radius away from the edge of the searchlight. That should help significantly, and I can put it into the major update that's coming up.

New response