Attempt to call method 'destroy' (a nil value) - in function 'removemarker'

Summary: so, i was about to be attacked or raided by 2 goblins, on day #8, to the left of my village. so, i sent my 2 footmen to greet them. after this, i check to see if there are any more foes approaching, and see 2 other goblins comin’ at me to the right! so, i decide to divide my forces and i send one footman to attack the second group, before it’s too late. (i don’t know what they do when they get to my village’s stockpiles, as this is my first time off peaceful mode.) the next thing i know, the hearthling i left behind, fighting the original pair of goblins is stuck and the goblins are about to show me why i don’t like them and kill them when i see them.

Steps to reproduce:

  1. day 8 of gameplay
  2. 10 hearthlings
  3. 2nd time loaded, but 3 days have passed since resetting RAM
  4. 2 attacks by separate goblin parties at once
  5. separate party commands after initial instructions
  6. not sure when i added a third hearthling to the footmen team, but around the time of the bug, i did.

Expected Results: hearthling fights the two goblins on his side and the other reaches the other tow goblins. the village is saved, or one or both footmen are killed valiantly in battle

Actual Results: frozen hearthling, goblins approaching stockpiles

Notes: had The Book of Legends menu open the background, with it’s music playing
focusing screen on frozen hearthling does not help.
demoting and promoting does not do anything but make hearthling glow with being demoted

develop-2786 (x64)
...t_server_commands/combat_server_commands_service.lua:298: attempt to call method 'destroy' (a nil value)
stack traceback:
	[C]: in function 'destroy'
	...t_server_commands/combat_server_commands_service.lua:298: in function '_remove_marker'
	...t_server_commands/combat_server_commands_service.lua:204: in function '_issue_individual_event'
	...t_server_commands/combat_server_commands_service.lua:192: in function <...t_server_commands/combat_server_commands_service.lua:191>
develop-2786 (x64)
c++ exception: lua runtime error
stack traceback:

Attachments: upon starting the game, the hearthling that was stuck is not longer stuck, but giving the party of footmen commands causes the bug window to pop up again with the errors displayed above.

Version Number and Mods in use: Alpha 14
MODS: radiant.smod
rayya’s_children.smod
rayya’s_children_ui.smod
stonehearth.smod

System Information: 8x Intel® Core™ i7-6700K CPU
Display: 1768x992 (NIVIDIA Corporation)
GeForce GTX 970 PCIe/SSE2
4.4.0 NIVIDIA 344.75
installed memory: 16GB RAM
64-bit operating system

1 Like

Hey again @Smiley8716, thanks for the detailed bug report! It is so helpful to have all the information right from the start.

I don’t have any help for you on this error, but going to ping @sdee as the error seems to indicate this is related to the new party commands.

1 Like

Steps to reproduce:

  1. i use attack or move or defend on unit or group

Actual Results:
engine error

Attachments:

develop-2786 (x64)
...t_server_commands/combat_server_commands_service.lua:298: attempt to call method 'destroy' (a nil value)
stack traceback:
	[C]: in function 'destroy'
	...t_server_commands/combat_server_commands_service.lua:298: in function '_remove_marker'
	...t_server_commands/combat_server_commands_service.lua:204: in function '_issue_individual_event'
	...t_server_commands/combat_server_commands_service.lua:177: in function <...t_server_commands/combat_server_commands_service.lua:176>

no mod
System Information: gtx 970, I7 5820k, 8g ram

1 Like

Hey there @razielus974, welcome to the Discourse! I have moved your post here as this error was reported a bit earlier. Thanks for the confirmation, always good to know when bugs happen more than once!

1 Like

I got this one when trying to command a party to target 1 monster that came out of a crypt
@yshan ? I hope I got the right person

develop-2786 (x64)
...t_server_commands/combat_server_commands_service.lua:309: attempt to call method 'destroy' (a nil value)
stack traceback:
	[C]: in function 'destroy'
	...t_server_commands/combat_server_commands_service.lua:309: in function '_remove_marker'
	...t_server_commands/combat_server_commands_service.lua:478: in function '_issue_party_event'
	...t_server_commands/combat_server_commands_service.lua:463: in function <...t_server_commands/combat_server_commands_service.lua:462>
1 Like

*Summary:**military crash

[Enter basic crash description here. E.g. immediate crash to desktop, black screen with music playing, Windows error dialog popup, etc.]

I can no longer command the military . Heartligs collect only cumbersome objects . Tunnel is not built to end . Ladders are no longer used. Military groups can not be formed

develop-2786 (x64)
...t_server_commands/combat_server_commands_service.lua:309: attempt to call method 'destroy' (a nil value)
stack traceback:
	[C]: in function 'destroy'
	...t_server_commands/combat_server_commands_service.lua:309: in function '_remove_marker'
	...t_server_commands/combat_server_commands_service.lua:478: in function '_issue_party_event'
	...t_server_commands/combat_server_commands_service.lua:454: in function <...t_server_commands/combat_server_commands_service.lua:453>

Stonehearth.log:

[Paste your Stonehearth.log file here. File is located in game install directory. Default Steam location is C:\Program Files (x86)\Steam\steamapps\common\Stonehearth]

Stonehearth.log uploaded by google drive

A Picture of my town. Are there to many ways?

Attachments:

[Link to crash.dmp (from game install directory). Upload your file to an online file sharing service like Dropbox or Google Drive and paste link here]

Versions and Mods:

Alpha 14, german modd

[What version of Stonehearth are you playing? Have you installed any mods?]

System Information:

[Please list Windows version (7, 8, 8.1, 10), video card (e.g. GTX 780), and monitor type (laptop panel or external monitor)

Win 10, extern monitor, AMD Readon R7

Have you attempted basic troubleshooting steps here: http://discourse.stonehearth.net/t/crashing-on-start-read-this-updated-october-28/13297:

[Have you attempted all the steps detailed in linked post? Please do before posting!]

Notes:

[Any additional useful information]

1 Like

Summary:
Engine error while i command the soldier
Steps to reproduce:

  1. load save game
  2. wait until enemies attack
  3. attack the animies

Expected Results:

Actual Results:

Notes: After error i cant controll the soldier

Attachments: Savegame uploaded by google drive

Version Number and Mods in use: Alpha 14

System Information:

1 Like

Hey there @kanalgrufti, do you by chance have the engine error handy? Can you paste it in here?

Oh yes of course, sorry.

develop-2786 (x64)
…t_server_commands/combat_server_commands_service.lua:309: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function ‘destroy’
…t_server_commands/combat_server_commands_service.lua:309: in function ‘_remove_marker’
…t_server_commands/combat_server_commands_service.lua:478: in function ‘_issue_party_event’
…t_server_commands/combat_server_commands_service.lua:463: in function <…t_server_commands/combat_server_commands_service.lua:462>

page # 2

develop-2786 (x64)
c++ exception: lua runtime error
stack traceback:

No worries, it’s easy to forget! Going to merge this one, we already have reports on this error (but the save is likely really helpful)!

Not sure if this is the same bug, but I’ll post it here.
Latest alpha 14 build 2786 x64 no mods

I can command my one footman (only have one at the moment) but whenever I try to use the party no 1 commands I get an error. I believe it started happening after I saved/reloaded a game

Here’s the error:

develop-2786 (x64)
…t_server_commands/combat_server_commands_service.lua:309: attempt to call method ‘destroy’ (a nil value)
stack traceback:
[C]: in function ‘destroy’
…t_server_commands/combat_server_commands_service.lua:309: in function ‘_remove_marker’
…t_server_commands/combat_server_commands_service.lua:478: in function ‘_issue_party_event’
…t_server_commands/combat_server_commands_service.lua:463: in function <…t_server_commands/combat_server_commands_service.lua:462>

2 Likes

Sorry for my terrible English!

Summary:

After loading a savegame I had an engine error (with two messages), which make it impossible to use the first soldier party (red flag). No commands are possible or take new soldiers to the group. So I grouped my soldiers new on the 3rd (green) flag. It´s worked for a several hours. After loading a savegame and an engine error I had the same problem with the green flag party.

Steps to reproduce:

  1. Load my savegame
  2. Move the green flag group or attack with them and a window with the engine error will be open.
  3. Close it and try to use the group. Nothing works. Same with the red group (older error which I had earlier in the game).

Expected Results:
No more soldier groups will follow commands

Actual Results:
Two soldier groups (red and green flag) don´t follow my commands

Notes:
These are the messages comes with the engine error:

Number 1:

develop-2786 (x64)
...t_server_commands/combat_server_commands_service.lua:309: attempt to call method 'destroy' (a nil value)
stack traceback:
    [C]: in function 'destroy'
    ...t_server_commands/combat_server_commands_service.lua:309: in function '_remove_marker'
    ...t_server_commands/combat_server_commands_service.lua:478: in function '_issue_party_event'
    ...t_server_commands/combat_server_commands_service.lua:463: in function <...t_server_commands/combat_server_commands_service.lua:462>

Number 2:

develop-2786 (x64)
c++ exception: lua runtime error
stack traceback:

Attachments:
savegame download:
https://app.box.com/s/f65qbpuc5cuppb2a8a6ovgbj6o2r11ud

Version Number and Mods in use:

Version: 14 (2786)
Mods: German translation

System Information:

Time of this report: 1/17/2016, 07:12:07
Machine name: My-PC
Operating System: Windows 7 Ultimate 64-bit (6.1, Build 7601) Service Pack 1 (7601.win7sp1_gdr.151230-0600)
Language: German (Regional Setting: German)
System Manufacturer: Gigabyte Technology Co., Ltd.
System Model: H67M-D2-B3
BIOS: Award Modular BIOS v6.00PG
Processor: Intel® Core™ i5-2300 CPU @ 2.80GHz (4 CPUs), ~3.0GHz
Memory: 12288MB RAM
Available OS Memory: 12272MB RAM
Page File: 3285MB used, 21255MB available
Windows Dir: C:\Windows
DirectX Version: DirectX 11
DX Setup Parameters: Not found
User DPI Setting: Using System DPI
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
DxDiag Version: 6.01.7601.17514 64bit Unicode


Display Devices

Card name: NVIDIA GeForce GTX 950
Manufacturer: NVIDIA
Chip type: GeForce GTX 950
DAC type: Integrated RAMDAC
Device Key: Enum\PCI\VEN_10DE&DEV_1402&SUBSYS_32081462&REV_A1
Display Memory: 4017 MB
Dedicated Memory: 1969 MB
Shared Memory: 2048 MB
Current Mode: 1360 x 768 (32 bit) (60Hz)
Monitor Name: PnP-Monitor (Standard)
Monitor Model: M197WDP
Native Mode: 1360 x 768§ (59.664Hz)
Output Type: DVI
Driver Name: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Driver File Version: 10.18.0013.6143 (English)
Driver Version: 10.18.13.6143
DDI Version: 11
Driver Model: WDDM 1.1
Driver Attributes: Final Retail
Driver Date/Size: 12/16/2015 18:34:16, 16981976 bytes
WHQL Logo’d: n/a
WHQL Date Stamp: n/a
Device Identifier: {D7B71E3E-5742-11CF-2D60-05121CC2C735}
Vendor ID: 0x10DE
Device ID: 0x1402
SubSys ID: 0x32081462
Revision ID: 0x00A1
Driver Strong Name: oem5.inf:NVIDIA_Devices.NTamd64.6.1:Section032:10.18.13.6143:pci\ven_10de&dev_1402
Rank Of Driver: 00E62001

1 Like

You’ll be happy to know that this has also been encountered by many others, so we should see a quick fix, assuming the problem is easy to fix of course.

Hey there @Bluesmaker, welcome to the Discourse! Thanks so much for the report, it is very detailed and easy to understand. I moved it over here with the similar reports @megashub mentioned.

1 Like

Summary:

Steps to reproduce:

  1. Not consistently reproduceable. Sometimes placing a “Move” token works, other times it gives an error. Usually issuing a couple of subsequent orders for a single party ends up resulting in this error.

Version Number: develop-2786 (x64)

Error #1:

develop-2786 (x64)
...t_server_commands/combat_server_commands_service.lua:309: attempt to call method 'destroy' (a nil value)
stack traceback:
	[C]: in function 'destroy'
	...t_server_commands/combat_server_commands_service.lua:309: in function '_remove_marker'
	...t_server_commands/combat_server_commands_service.lua:478: in function '_issue_party_event'
	...t_server_commands/combat_server_commands_service.lua:454: in function <...t_server_commands/combat_server_commands_service.lua:453>

Error #2:

develop-2786 (x64)c++ exception: lua runtime error
stack traceback:

Is now fixed on my machine. @Bluesmaker, thank you for your very giant save! :slight_smile: It now loads fine on my personal build. Also: fences ho! :smiley: :smiley: :smiley:

1 Like

Must we do something or is there an update in steam?

@kanalgrufti: the update has not been released at this time (as of 2:52 PM EST, January 18, 2016). You will see a post on the Stonehearth dev blog when a new patch is released. Someone will also likely post in the #development category at the same time!

2 Likes

@sdee: Great! I have a lot oft fun with the alpha and looking forward to the final game.
Nice community here and with @jomaxro a really friendly supporter.

6 Likes