[Res] Dev 2611 engine error attempt to perform arithmetic on local 'exp' (a nil value)

develop-2611 (x64)stonehearth/jobs/crafting_job.luac:39: attempt to perform arithmetic on local ‘exp’ (a nil value)stack traceback:
radiant/modules/events.luac:44: in function <radiant/modules/events.luac:41>
stonehearth/jobs/crafting_job.luac:39: in function 'fn’
radiant/modules/events.luac:55: in function <radiant/modules/events.luac:54>
[C]: in function 'xpcall’
radiant/modules/events.luac:54: in function 'trigger’
radiant/modules/events.luac:72: in function '_fire_async_triggers’
radiant/modules/events.luac:82: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

1 Like

What had you done just before you got this error and can you reproduce it?

i will upload my savegame. it is persistent after the ususal save+ load “fix”.
and i did nothing, but pretty much all crafters have work to do.

Thanks for the save game! We’ll get this fixed.

3 Likes

in dev 2617 (same savegame) it looks like this. or maybe a new error.

develop-2617 (x64)stonehearth/jobs/crafting_job.luac:41: i18n(stonehearth:jobs.blacksmith.blacksmith_description.display_name) has no exp reward tuned for level 6 recipesstack traceback:
radiant/modules/events.luac:43: in function <radiant/modules/events.luac:40>
[C]: in function 'assert’
stonehearth/jobs/crafting_job.luac:41: in function 'fn’
radiant/modules/events.luac:53: in function <radiant/modules/events.luac:52>
[C]: in function 'xpcall’
radiant/modules/events.luac:52: in function 'trigger’
radiant/modules/events.luac:68: in function '_fire_async_triggers’
radiant/modules/events.luac:78: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

@seraphic - The error is only fixed when you start a new game. Thanks for pointing this out!

2 Likes