[Res] [Dev 2620] error in prune_dead_listeners

has everyone taken a look at their networth while doing this?

I noticed I only got this error when my networth was below what is called for when it comes to goblins.

3 Likes

i have this error every time i fight an armed goblin. they always seem to come before my net worth is “where it should be”

the armed goblins come, but the goblin chieftain comes exactly when he is supposed to afaik.

i get this problem with goblins all the time. i think i can make this happen in the next hour or two. bugged save to follow.

1 Like

hopefully this is what you wanted.

saved and exited at the exact moment the bug happened. the bug happens at exactly the moment you kill the armed goblin. it is always an armed goblin. i personally always have a footman do the deed, have not tried the angry mob approach yet.

Save: http://www.filedropper.com/thereviledgoblinbug

Error Log: http://www.filedropper.com/showdownload.php/stonehearth_2

Screenshot:

2 Likes

just had this error, networth was under the 4000 mark for golbins to attack

2 Likes

was it the full on camp, or just the little mini camps?

1 Like

Do you get the error when you load this save? I think the armed goblin is already dead in the save file. All I see is Leah Papp killing two workers.

2 Likes

it was just a mini camp

2 Likes

those are able to come before the 400 net worth, the net worth counts towards when the large camp comes.

ahh ok, I see. nevermind me then lol

1 Like

so you need the armed goblin just before the kill? i can make that happen. another hour and i’ll have the bug just before it happens.

3 Likes

looks like its not going to happen tonight. i got distracted by actually playing the game >.>;;

Edit: i lied. here you go.

2nd edit

nevm.the error does not happen in this save for some reason. after i load the save from scratch the error does not persist. i cant win with this bug. it does not want to be shared. it is a jelous bug.

1 Like

@Albert Here’s my save file
Just wait until a stray wolf attacks, and the error should show up after you kill it.
Here’s the .log file: [Lua] prune dead listeners - Pastebin.com

In the last few lines you will see the error:

2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code | -- Script Error (lua) Begin ------------------------------- 
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    @radiant/modules/events.luac:73: old_entry is nil
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    stack traceback:
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/common.luac:46: in function 'report_traceback'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/common.luac:125: in function 'verify'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/events.luac:73: in function '_prune_dead_listeners'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/events.luac:78: in function '_update'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/server.luac:19: in function <radiant/server.luac:17>
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code | -- Lua Error End   ------------------------------- 
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code | -- Script Error (lua) Begin ------------------------------- 
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    @radiant/modules/events.luac:73: old_entry ~= entry
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    stack traceback:
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/common.luac:46: in function 'report_traceback'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/common.luac:125: in function 'verify'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/events.luac:73: in function '_prune_dead_listeners'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/modules/events.luac:78: in function '_update'
2015-Oct-02 11:56:45.863370 | server |  0 |                         lua.code |    	radiant/server.luac:19: in function <radiant/server.luac:17>
2015-Oct-02 11:56:45.864371 | server |  0 |                         lua.code | -- Lua Error End   ------------------------------- 

Had this error also this morning here’s the popup of it:
develop-2620 (x64)
@radiant/modules/events.luac:73: old_entry is nil
stack traceback:
radiant/modules/common.luac:46: in function 'report_traceback’
radiant/modules/common.luac:125: in function 'verify’
radiant/modules/events.luac:73: in function '_prune_dead_listeners’
radiant/modules/events.luac:78: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

Had two Footmen patrolling when 2 Goblin thieves approached the camp as soon as the footmen dispatched the first goblin that error popped up, no other popup on the second one though.

Windows 10 64-Bit
Alienware R4
16GB RAM
Intel® Core™ i7-4820 CPU @ 3.70GHz 3.70GHz
Graphics:
GeForce GTX 760 (2)

Here is a save that is right before a fight. I have the camera at the location and the footmen are just about there, the error does pop up during the fight. Warning , there are 25 Hearthlings in this save and you will notice that many things are not done as they refuse to do them. I had removed the trapping zones in an attempt to get them to clean up the woods west of the town but the going is rough. To help it out I placed some crates closer to see if that helps them clean it up. The Ram usage slowly goes up and there are some major spikes while playing. I have 16Gbs and I’ve used up to 9Gbs at times just to get to this point then eventually have to save and reload the game.

I’ve had quite a few errors pop up in this save but have been pushing through them to stress the game.

Game Save Dropbox - Error

Game Log Dropbox - Error

Hope this helps in some way.

Found the root cause in @AppEx213’s save. It happens with goblin thieves and wolves. Thanks to all for trying to reproduce this!

4 Likes

:o does that mean it will finally be stomped out?

2 Likes

we can only hope… but evils such as these never truly die, they simply crawl away defeated into the pits where they are banished to, never to be seen again…

2 Likes

Woohoo! My power went out last night, just came back on an hour ago and fired up my laptop to find this! I’ve been checking posts on my phone but it’s been patchy. Guess I’ll play an acrtual game instead of trying to reproduce this now…(walks off feeling victorious even though I did nothing)

2 Likes

so when will the fix this? or is it already fixed? I just started steam and it updated stonehearth, i cant find any logs for this update in the steam game news.

develop-2620 (x64)@radiant/modules/events.luac:73: old_entry is nilstack traceback:
radiant/modules/common.luac:46: in function 'report_traceback’
radiant/modules/common.luac:125: in function 'verify’
radiant/modules/events.luac:73: in function '_prune_dead_listeners’
radiant/modules/events.luac:78: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

sigh… even without a goblin or invader ever appearing this evil occurs.