Don't Starve Together

Don't Starve Together

Health Regeneration
This topic has been locked
Sabbze 23 Jun, 2015 @ 9:52pm
[BUG-REPORT]
Here is what I got when I looked in the logs when my game crashed right when my world started and spawned me in.
That's all I could see regarding the problem.

[00:03:26]: [string "../mods/workshop-457071756/scripts/componen..."]:27: attempt to index field 'health' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-457071756/scripts/components/regeneration.lua:27 in (method) OnUpdate (Lua) <9-38>
self =
player = 113188 - globalposition_classified (valid:true)
delta = 0.033333335071802
scripts/update.lua:183 in () ? (Lua) <146-219>
dt = 0.033333335071802
tick = 31
k = 113188
v = 113188 - globalposition_classified (valid:true)
cmp = table: 3F26AB50

[00:03:26]: [string "../mods/workshop-457071756/scripts/componen..."]:27: attempt to index field 'health' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-457071756/scripts/components/regeneration.lua:27 in (method) OnUpdate (Lua) <9-38>
scripts/update.lua:183 in () ? (Lua) <146-219>
< >
Showing 1-9 of 9 comments
Holpites  [developer] 24 Jun, 2015 @ 6:07am 
I was now able to reproduce the error, so I'll test a bit and try to fix the issue. I just need to know one more thing: What character did you choose when joining?
Last edited by Holpites; 24 Jun, 2015 @ 6:35am
Sabbze 25 Jun, 2015 @ 12:04am 
I did use a custom character at first. However it does the same with all vanilla characters I tried as well. I disabled all other mods after, to be sure regeneration was not being tampered with from other mods.
Holpites  [developer] 25 Jun, 2015 @ 7:14am 
I finally found the bug. The mod 'Global Positions' adds fake players and if my mod trys to apply the regeneration effect to those, the game crashes. I updated the mod, so this shouldn't happen anymore. Can you test the mod please and confirm that the bug is fixed?
Sabbze 25 Jun, 2015 @ 9:08pm 
Sadly it still crashed. Luckly this does not happen to many other people and only a few, hopefully the source of the problem can be found sometime. Just take your time.
Holpites  [developer] 26 Jun, 2015 @ 5:08am 
Thanks for your patience! It's really weird that this issue only affects a few people... But i won't stop investigating the cause ;) Can you please post the whole new log file?
Sabbze 26 Jun, 2015 @ 9:02pm 
It actually looks like it's working now. Praise! Anyway, I have managed to joined a server without crashing instantly. I will let you know if any more problems arise. Thank you for the time you have put into this to help me out.
Holpites  [developer] 27 Jun, 2015 @ 6:55am 
Nice, I'm glad it works now! And if it crashes again, just post here.
Jaule 27 Dec, 2015 @ 12:29pm 
crashes
Holpites  [developer] 27 Dec, 2015 @ 12:36pm 
I fixed the bug, it should work now
< >
Showing 1-9 of 9 comments
Per page: 1530 50