This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.


Crash with lua error near pigs

Recommended Posts

aepaen    0

I had problem with lua error crashes at table coerced to string, near pigs in one of attempts, following fixed issue;

--- widgets/hoverer.lua~    2017-03-14 19:27:37.465661044 +0100
+++ widgets/hoverer.lua    2017-03-14 19:28:15.901851638 +0100
@@ -54,7 +54,7 @@
                 local name = or ( and
-                if name then
+                if name and type(name) == "string" then
                     local adjective =
                     if adjective then


Moderator, please drop this if above shouldn't ever hit forum, just pass that to people who might like to patch game itself, type(name) was returning table if I remember correctly.



Share this post

Link to post
Share on other sites
JanH    3,315

If you are able to reproduce the crash on your save file, could you please provide us with the full log.txt file - you will find this in your documents folder at Documents\Klei\DoNotStarve\log.txt

Share this post

Link to post
Share on other sites