Engine Error - Attempt to index a nil value (goblin boss sheep)

This popped up after killing what I think was a “boss” goblin. It doesn’t seem like it actually caused any problems in-game, however, at least not yet.

release-610 (x64)
radiant/modules/entities.lua:304: attempt to index a nil value
stack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
radiant/modules/entities.lua:304: in function ‘set_player_id’
…cs/trigger/raidcamp/encounters/boss_death_script.lua:13: in function ‘start’
…ter/controllers/encounters/dialog_tree_encounter.lua:38: in function ‘start’
…ervices/server/game_master/controllers/encounter.lua:115: in function ‘start’
…arth/services/server/game_master/controllers/arc.lua:373: in function ‘_start_encounter’
…arth/services/server/game_master/controllers/arc.lua:349: in function ‘_trigger_edge’
…arth/services/server/game_master/controllers/arc.lua:282: in function ‘_trigger_out_edge’
…arth/services/server/game_master/controllers/arc.lua:256: in function ‘trigger_next_encounter’
…/controllers/encounters/wait_for_event_encounter.lua:98: in function ‘_on_event_triggered’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:227: in function <radiant/modules/events.lua:221>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:221: in function 'trigger’
radiant/modules/events.lua:290: in function '_trigger_gameloop’
radiant/modules/events.lua:338: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

Welcome to the forum, @Dreamchime :smiley:

Thanks for reporting!
I believe this bug is fixed on A18 d3107. If you see it again after A18 stable is released, don’t hesitate to tell us.

Hi,
so probably it is not the same problem but as this error is also related to the goblin chieftain I thought it might still be connected.

This is the Error Log:
release-610 (x64)radiant/modules/entities.lua:304: attempt to index a nil valuestack traceback:
radiant/modules/common.lua:237: in function 'report_traceback’
radiant/modules/common.lua:248: in function <radiant/modules/common.lua:242>
radiant/modules/entities.lua:304: in function ‘set_player_id’
…cs/trigger/raidcamp/encounters/boss_death_script.lua:13: in function ‘start’
…ter/controllers/encounters/dialog_tree_encounter.lua:38: in function ‘start’
…ervices/server/game_master/controllers/encounter.lua:115: in function ‘start’
…arth/services/server/game_master/controllers/arc.lua:373: in function ‘_start_encounter’
…arth/services/server/game_master/controllers/arc.lua:349: in function ‘_trigger_edge’
…arth/services/server/game_master/controllers/arc.lua:282: in function ‘_trigger_out_edge’
…arth/services/server/game_master/controllers/arc.lua:256: in function ‘trigger_next_encounter’
…/controllers/encounters/wait_for_event_encounter.lua:98: in function ‘_on_event_triggered’

radiant/controllers/time_tracker_controller.lua:82: in function ‘set_now’
…hearth/services/server/calendar/calendar_service.lua:379: in function ‘_on_event_loop’
…hearth/services/server/calendar/calendar_service.lua:37: in function 'instance’
radiant/modules/events.lua:227: in function <radiant/modules/events.lua:221>
[C]: in function 'xpcall’
radiant/modules/common.lua:257: in function 'xpcall’
radiant/modules/events.lua:221: in function 'trigger’
radiant/modules/events.lua:290: in function '_trigger_gameloop’
radiant/modules/events.lua:338: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>

time of occurrence:
When killing the Horrendous Goblin Chieftain (I think his name was something with H? Unfortunately I forgot the complete name)

Version:
latest one downloaded via Steam (Alpha 18)
No Mods

Results:
None that I could see. The game continues and I think also the steam cloud after killing him appeared. Loot also appeared. Maybe another Event message failed?

Hope it helps! Best regards

Thanks for catching that! Game was trying to set player id on a dead boss sheep which caused errors. Will be fixed in next build

1 Like