饥荒联机版

饥荒联机版

144 个评价
分享统计资料
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
3.821 KB
2020 年 8 月 4 日 下午 5:44
2020 年 8 月 19 日 下午 11:47
3 项改动说明 ( 查看 )

订阅以下载
分享统计资料

描述
中文翻译
厌倦了自己的数据统计独立于其他人?那么这个mod就是为你准备的!

让服务器上所有玩家的健康、饥饿和理智都能共享。

湿度也是共享的! (必须在配置菜单中启用)

同生共死!


注释:

这个模式是以百分比来计算的 例如,如果威尔逊有100/150的健康,那么服务器中的麦克斯韦就会有50/75。如果麦克斯韦吃了一个蓝帽,他将获得20个健康,而威尔逊将获得40个健康。

超界和洞穴是不同的世界,它们之间的数据不会共享。

每个玩家都会增加饥饿消耗。如果有10个人,饥饿感会消耗的很快。


如果你发现什么问题,请在评论中告诉我。
(自行翻译,如有出错请指正)
热门讨论 查看全部(2)
1
2022 年 1 月 17 日 下午 5:45
mod missing some luas in the crash log
dumpster rat (nefarious)
0
2020 年 9 月 24 日 下午 7:20
中文翻译
Evil Neuro
63 条留言
DaSancho 4 月 27 日 上午 11:35 
crashes server when healing :steamsad:
Angelic_Crusader 2023 年 7 月 2 日 下午 7:18 
An idea of my own id like to see is to combine each players stats so if there where a wilson and a webber its a combined 300 sanity same with hunger and health although each time someone connects might lag the server
Angelic_Crusader 2023 年 6 月 20 日 下午 10:39 
I really would like to see the config for it as well as ricks suggestions
I goon to Agnes Tachyon 2023 年 4 月 24 日 下午 9:26 
good for a chaotic server
zaptrap  [作者] 2022 年 5 月 12 日 上午 12:42 
Thank's for the ideas, I think I'm gonna implement all of that and then make it configurable so people can choose if they want shard sharing, averaging stats, announcements, ect.
RICK 2022 年 5 月 12 日 上午 12:08 
additions:
1. The averaging algorithm looks like oldval + (newval - oldval) / GetNumPlayers(), player number is buffered.
2. Let's say there are 10 ppls in one world, and hungerdelta takes place every 1 sec. onhungerdelta is called 10 times/sec. Actual hunger value change is 100 times/sec. I don't know what's the rate the net variable updates.
RICK 2022 年 5 月 11 日 下午 11:58 
Finally, sanity component has a SetInducedInsanity functionality which works different from actual sanity. This leads to an incoherence of functionality of those items like bone helm. Maybe this part demands extra coding.
Lastly, Wanda's aging does not take place instantly, I'd like to handle her case separately, but I know it is hard to do that.
Eventually, it is well known that worlds don't share information. But it adds to consistency to link Forest(Master) with Cave, and perhaps every shard. That said, I also welcome the current method that allows one to escape death or do dangerous things alone by entering the cave.
RICK 2022 年 5 月 11 日 下午 11:46 
Another suggestion is that you can add an announcement feature which reminds people whenever their health changes, and maybe with a threshold.
For example I write:TheNet:Announce(name .. "'s health" .. (delta > 0 and "drops" or "raises") .. "by" .. tostring(absdelta) .. ((absdelta >= thres) and ("%, to" .. tostring(hp)) or "") .. "%")
RICK 2022 年 5 月 11 日 下午 11:41 
During gameplay I've noticed an unbearable decrease of hunger(and perhaps sanity, too). So I changed the algorithm from sharing to averaging, which works fine. Another doubt is that the update rate is too frequent, which may cause huge network transmission. But I cannot think of a correct algorithm to precisely calculate the values with a buffer that stores values in memory.
zaptrap  [作者] 2022 年 5 月 6 日 下午 9:05 
Ok I'm thinking of revisiting this mod and adding more stuff (like what you suggested and also sharing between forest/caves)