Multiple Game Master Engine Errors

develop-2818 (x64)
...ter/controllers/encounters/create_camp_encounter.lua:85: attempt to call method 'destroy' (a nil value)
stack traceback:
    [C]: in function 'destroy'
    ...ter/controllers/encounters/create_camp_encounter.lua:85: in function <...ter/controllers/encounters/create_camp_encounter.lua:79>
    [C]: in function 'destroy'
    ...ervices/server/game_master/controllers/encounter.lua:49: in function <...ervices/server/game_master/controllers/encounter.lua:46>
    [C]: in function 'destroy'
    stonehearth/lib/game_master/game_master_lib.lua:111: in function 'recursive_destroy'
    stonehearth/lib/game_master/game_master_lib.lua:109: in function 'recursive_destroy'
    stonehearth/lib/game_master/game_master_lib.lua:127: in function 'destroy_tree'
    ...arth/services/server/game_master/controllers/arc.lua:185: in function '_convert_out_edge_to_edgelist'
    ...arth/services/server/game_master/controllers/arc.lua:250: in function '_trigger_out_edge'
    ...arth/services/server/game_master/controllers/arc.lua:242: in function 'trigger_next_encounter'
    ...ervices/server/game_master/controllers/encounter.lua:98: in function 'start'
    ...arth/services/server/game_master/controllers/arc.lua:359: in function '_start_encounter'
    ...arth/services/server/game_master/controllers/arc.lua:335: in function '_trigger_edge'
    ...arth/services/server/game_master/controllers/arc.lua:268: in function '_trigger_out_edge'
    ...arth/services/server/game_master/controllers/arc.lua:242: in function 'trigger_next_encounter'
    .../controllers/encounters/wait_for_event_encounter.lua:59: in function 'instance'
    radiant/modules/events.lua:209: in function <radiant/modules/events.lua:203>
    [C]: in function 'xpcall'
    radiant/modules/common.lua:232: in function 'xpcall'
    radiant/modules/events.lua:203: in function <radiant/modules/events.lua:174>
develop-2818 (x64)
c++ exception: lua runtime error
stack traceback:
	[C]: in function 'destroy'
	...ervices/server/game_master/controllers/encounter.lua:49: in function <...ervices/server/game_master/controllers/encounter.lua:46>
	[C]: in function 'destroy'
	stonehearth/lib/game_master/game_master_lib.lua:111: in function 'recursive_destroy'
	stonehearth/lib/game_master/game_master_lib.lua:109: in function 'recursive_destroy'
	stonehearth/lib/game_master/game_master_lib.lua:127: in function 'destroy_tree'
	...arth/services/server/game_master/controllers/arc.lua:185: in function '_convert_out_edge_to_edgelist'
	...arth/services/server/game_master/controllers/arc.lua:250: in function '_trigger_out_edge'
	...arth/services/server/game_master/controllers/arc.lua:242: in function 'trigger_next_encounter'
	...ervices/server/game_master/controllers/encounter.lua:98: in function 'start'
	...arth/services/server/game_master/controllers/arc.lua:359: in function '_start_encounter'
	...arth/services/server/game_master/controllers/arc.lua:335: in function '_trigger_edge'
	...arth/services/server/game_master/controllers/arc.lua:268: in function '_trigger_out_edge'
	...arth/services/server/game_master/controllers/arc.lua:242: in function 'trigger_next_encounter'
	.../controllers/encounters/wait_for_event_encounter.lua:59: in function 'instance'
	radiant/modules/events.lua:209: in function <radiant/modules/events.lua:203>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:232: in function 'xpcall'
	radiant/modules/events.lua:203: in function <radiant/modules/events.lua:174>

Hey there @dinner, welcome to the discourse. Thanks for the report. Can you share what you were doing/what was going on in game when these errors appeared?

  1. i think becuase [the worker always remove in red circle from outside go to inside] , after remove like this picture. no fixed ladder no done by themsalve. [the worker still idle in orange rectangle]. i dont know why?

2.1 the worker no one to keep any pelt to keep in stockpile for weaver.

2.2 the worker no one to keep those pelts , still idle. :sob:

  1. after i pressed F5 button. no anything be change.

finally

4.** when i used foundation to build the floor. but can not build the walls. always can not to build building after remove.**

Thanks for the report! I’m currently working on this issue. Could you send me the save file if you have it?

I already posted those pictures. or what did you mean is another file? :grin:

The actual save file :slight_smile: If you’re using steam it’s located somewhere like:
C:\Program Files (x86)\Steam\steamapps\common\Stonehearth\saved_games

Then just zip up the folders of the save you’re having problems with (probably the most recently modified one) and upload it here using the button.

Let me know if you have any questions!

i cannot upload this file becuase i’m new users

It’s okay, I figured it out from the error trace. Thanks!

A fix will be pushed in the next build.

1 Like

bumped you up to TL1 so you can upload files now, but it appears Linda already found the problem so the save probably wont be needed.

1 Like

thank for your help.

1454086715207.zip (8.6 MB)

it’s here.