饥荒联机版

饥荒联机版

Health Regeneration
此主题已被锁定
Sabbze 2015 年 6 月 23 日 下午 9:52
[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>
< >
正在显示第 1 - 9 条,共 9 条留言
Holpites  [开发者] 2015 年 6 月 24 日 上午 6:07 
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?
最后由 Holpites 编辑于; 2015 年 6 月 24 日 上午 6:35
Sabbze 2015 年 6 月 25 日 上午 12:04 
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  [开发者] 2015 年 6 月 25 日 上午 7:14 
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 2015 年 6 月 25 日 下午 9:08 
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  [开发者] 2015 年 6 月 26 日 上午 5:08 
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 2015 年 6 月 26 日 下午 9:02 
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  [开发者] 2015 年 6 月 27 日 上午 6:55 
Nice, I'm glad it works now! And if it crashes again, just post here.
Jaule 2015 年 12 月 27 日 下午 12:29 
crashes
Holpites  [开发者] 2015 年 12 月 27 日 下午 12:36 
I fixed the bug, it should work now
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50