饑荒聯機版

饑荒聯機版

Global Pause
hmaarrfk  [開發人員] 2016 年 9 月 11 日 下午 8:40
Impossible features
Things that might be impossible:
- Non admin unpause

When the server pauses, most communication is blocked between the clients and
the server. An admin may execute code on the server which bypasses these
limitations. This is what enables the admin to unpause the game. For this
reason, I don't think that vote to unpause or a normal player unpausing will
ever be possible. If you find a way, and want to submit a patch, please do.
< >
目前顯示第 1-4 則留言,共 4
EZ 2016 年 9 月 12 日 上午 1:10 
For now, one method which is probably useful anyway (especially on public servers?) is to allow vote to pause for a specfic amount of time in minutes, after which an auto unpaused occurs.I suppose iIf the server admin is concerned with players not making it back, he could also install an AFK Detection mod alongside this one, for that synergy.
hmaarrfk  [開發人員] 2016 年 9 月 13 日 上午 8:55 
I really think things like "DoTaskInTime" which allows you to do something after a set amount of time are not going to work with this mod. It would require a significant amount of effot for something i beleive has little value.

Also, I feel like in this case the democratic solution is not as good as the autocratic one. Simply have the admin look at his watch ;).

What kind of voting do you use anyway? Majority? Smallest pause time that somebody asked for?

If somebody writes a patch, i will include it, but i wont spend my time developing this feature. Sorry.
Leon 2016 年 12 月 11 日 下午 5:58 
I don't have a moral solution for you, and I don't know exactly what the problem is, but a technical solution could be to spawn seperate threads on the server and client that don't have their connections blocked. Again, I'm not familiar with what the problem is.
hmaarrfk  [開發人員] 2016 年 12 月 14 日 上午 1:22 
That sounds a little complicated. I imagine Klei might get it working before I do if I try to go down that way. But you are right, that is the solution. If somebody does want to implement, I'll be happy to include the pull request on GitHub
< >
目前顯示第 1-4 則留言,共 4
每頁顯示: 1530 50