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

g Scenario break

2 years ago

144.004 Error RuntimeError.cpp:24: The mod ⚠️ SearchlightAssault ⚠️ (1.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SearchlightAssault::on_tick (ID 0)
SearchlightAssault/control-tunion.lua:160: attempt to index field 'shooting_target' (a nil value)
stack traceback:
SearchlightAssault/control-tunion.lua:160: in function 'CheckElectricNeeds'
SearchlightAssault/control.lua:91: in function <SearchlightAssault/control.lua:86>
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-qtuqld\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-qtuqld\src\util\logger.cpp (545): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-qtuqld\src\util\logger.cpp (552): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-qtuqld\src\util\exceptions.cpp (47): ScriptEventException::ScriptEventException
c:\cygwin64\tmp\factorio-build-qtuqld\src\script\luagamescript.cpp (1114): LuaGameScript::runEventHandler
c:\cygwin64\tmp\factorio-build-qtuqld\src\script\luaeventdispatcher.cpp (665): LuaEventDispatcher::run
c:\cygwin64\tmp\factorio-build-qtuqld\src\script\luaeventdispatcher.cpp (107): LuaEventDispatcher::dispatch
c:\cygwin64\tmp\factorio-build-qtuqld\src\scenario\scenario.cpp (1273): Scenario::update
c:\cygwin64\tmp\factorio-build-qtuqld\src\scenario\scenario.cpp (1168): Scenario::updateStep
c:\cygwin64\tmp\factorio-build-qtuqld\src\mainloop.cpp (1252): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-qtuqld\src\mainloop.cpp (1108): MainLoop::gameUpdateLoop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\functional (15732480): std::_Func_impl_no_alloc<<lambda_8e35474fb9e14583fd182c53e326cf2d>,void>::_Do_call
c:\cygwin64\tmp\factorio-build-qtuqld\src\util\workerthread.cpp (49): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl SteelSeriesController::)(void),SteelSeriesController >,std::default_delete<std::tuple<void (__cdecl SteelSeriesController::)(void),SteelSeriesController > > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8B81454E0)
00007FF8B81454E0 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8B8BA485B)
00007FF8B8BA485B (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
145.950 Error MainLoop.cpp:1283: Exception at tick 12505264: The mod ⚠️ SearchlightAssault ⚠️ (1.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event SearchlightAssault::on_tick (ID 0)
SearchlightAssault/control-tunion.lua:160: attempt to index field 'shooting_target' (a nil value)
stack traceback:
SearchlightAssault/control-tunion.lua:160: in function 'CheckElectricNeeds'
SearchlightAssault/control.lua:91: in function <SearchlightAssault/control.lua:86>

2 years ago

Thank you for reporting!

I think I found the problem with the crash, I've uploaded a fix in version 1.0.4
If you don't see it in game after a few minutes, you can download it manually here: https://mods.factorio.com/mod/SearchlightAssault/downloads

New response