Avorion
[2.0] - (SDK) Overhaul - Ship & Station Generation
Draylynn 2021 年 12 月 18 日 下午 4:13
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.
最后由 Draylynn 编辑于; 2021 年 12 月 18 日 下午 4:13
< >
正在显示第 1 - 1 条,共 1 条留言
Gregie 2022 年 1 月 17 日 下午 10:06 
Appreciate the fix!
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50