Since updating to Alpha 15, I get this error on load:
ENGINE ERROR
release-529 (x32)
…th/services/server/food_decay/food_decay_service.lua:94: attempt to perform arithmetic on local ‘initial_decay’ (a nil value)
stack traceback:
radiant/modules/common.lua:223: in function 'report_traceback’
radiant/modules/common.lua:234: in function <radiant/modules/common.lua:228>
…th/services/server/food_decay/food_decay_service.lua:94: in function ‘increment_decay’
…th/services/server/food_decay/food_decay_service.lua:59: in function ‘_on_decay’
…th/services/server/food_decay/food_decay_service.lua:24: in function '_fn’
radiant/controllers/timer_controller.lua:95: in function 'fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
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:206: in function <radiant/modules/events.lua:200>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
radiant/modules/events.lua:200: in function 'trigger’
radiant/modules/events.lua:269: in function '_trigger_gameloop’
radiant/modules/events.lua:320: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>
Steps to reproduce:
Load a save game
Error appears
Version Number and Mods in use:
Steam Latest Branch, no mods.
System Information:
Windows 7, AMD A8 quad-core processor, 8GB RAM, Radeon R9 270X GPU.
Got an error when I pulled up the UI for item placement specifically, it loads the sidebar, but it’s empty and I get a pop up with this in it:
release-529 (x64)
…th/services/server/food_decay/food_decay_service.lua:94: attempt to perform arithmetic on local ‘initial_decay’ (a nil value)
stack traceback:
radiant/modules/common.lua:223: in function 'report_traceback’
radiant/modules/common.lua:234: in function <radiant/modules/common.lua:228>
…th/services/server/food_decay/food_decay_service.lua:94: in function ‘increment_decay’
…th/services/server/food_decay/food_decay_service.lua:59: in function ‘_on_decay’
…th/services/server/food_decay/food_decay_service.lua:24: in function '_fn’
radiant/controllers/timer_controller.lua:95: in function 'fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
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:206: in function <radiant/modules/events.lua:200>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
radiant/modules/events.lua:200: in function 'trigger’
radiant/modules/events.lua:269: in function '_trigger_gameloop’
radiant/modules/events.lua:320: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>
Hi all,
Yeah this error will happen on older games. Sorry about that! I don’t think it breaks anything, I think your food will not decay … free food! I have a fix for on my machine., but in the meantime, feel free to ignore it.
Thanks for reporting this!
-Yang
release-529 (x64)
…th/services/server/food_decay/food_decay_service.lua:94: attempt to perform arithmetic on local ‘initial_decay’ (a nil value)
stack traceback:
radiant/modules/common.lua:223: in function 'report_traceback’
radiant/modules/common.lua:234: in function <radiant/modules/common.lua:228>
…th/services/server/food_decay/food_decay_service.lua:94: in function ‘increment_decay’
…th/services/server/food_decay/food_decay_service.lua:59: in function ‘_on_decay’
…th/services/server/food_decay/food_decay_service.lua:24: in function '_fn’
radiant/controllers/timer_controller.lua:95: in function 'fire’
radiant/controllers/time_tracker_controller.lua:82: in function <radiant/controllers/time_tracker_controller.lua:82>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
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:206: in function <radiant/modules/events.lua:200>
[C]: in function 'xpcall’
radiant/modules/common.lua:243: in function 'xpcall’
radiant/modules/events.lua:200: in function 'trigger’
radiant/modules/events.lua:269: in function '_trigger_gameloop’
radiant/modules/events.lua:320: in function '_update’
radiant/server.lua:62: in function <radiant/server.lua:58>
just a tip: if you’re searching for an error dont just search one or two words, search the first line of the error, so in this case that wold be,
...th/services/server/food_decay/food_decay_service.lua:94: attempt to perform arithmetic on local 'initial_decay' (a nil value)
if you put that in the search bar it brings up this report, and that way you dont end up with an error thats still about food decay but actually completely different.