Avorion

Avorion

[2.0] - (SDK) Overhaul - Ship & Station Generation
Draylynn 18 Dec, 2021 @ 4:13pm
The Four - Error
Repeatedly failing to do The Four boss, it's not spawning the full event, making it impossible.
The collector appears, no dialog, no backup boss team.

Log:
spawning the The 4!
T: 139641516709632
Object: N2cp13ServerScriptsE
Execution Context (inner to outer):
#0: spawnTheFour data/scripts/entity/story/artifactdeliverybeacon.lua

could not execute function 'spawnTheFour' in '"data/scripts/entity/story/artifactdeliverybeacon.lua"':

mods/content/445220/2266369998/data/scripts/lib/SDKGlobalDesigns - Equipment.lua:167: bad argument #1 to 'insert' (table expected, got nil)
stack traceback:
[C]: in function 'insert'


Fix:
^ Line 166/167 of equipment.lua (Fault: 'Reapir'):
if v.hullRepairRate > 0 then table.insert(Reapir, v) end -- Check for Hull Repair
if v.shieldRepairRate > 0 then table.insert(Reapir, v) end -- Check for Shield Repair

Replaced 'reapir' with 'repair', now spawns the boss.
Last edited by Draylynn; 18 Dec, 2021 @ 4:13pm
< >
Showing 1-1 of 1 comments
Gregie 17 Jan, 2022 @ 10:06pm 
Appreciate the fix!
< >
Showing 1-1 of 1 comments
Per page: 1530 50