Jump to content

Game does not pause when empty


Ame Liu
  • Pending

Hi there, I have a dedicated DST server running, and I found that the time in the game is passing when I I'm out of the game. 

I remembered that I quit the game at day 12 in autumn one day. The next day I entered the game, the time in the game turned into day 30 in winter.

The basic settings of this server are shown below:

image.png.b0bf8b0a891620a42abc1c6b72670354.png

The server mods are shown below:

image.png.cf055038a53e82a6f7b5ec821678d782.png

I have checked the following steps:

  • checked the setting in cluster.ini is correct. 
     pause_when_empty=true

     

  • checked the log file server_log.txt that no one else entered into my server.
  • checked that the auto-pause in game is running correctly (when open the map or open the crafting menu)
  • checked that the pause button is running (when pressing P the game will pause correctly)

What should I do next? What else can I provide to solve this problem?

 

image.png


Steps to Reproduce

I don't know how to reproduce the bug. I met it a few times. 

I attached the complete log file. It may help something.




User Feedback


I met similar situation on dedicated server. I submit a ticket but havn't recieve reply yet.

 

What I wrote in the ticket  is following:

I (clearlove) and my girlfriend(cici) played Don't starve together on dedicated server. I disconnect at about 3:00 am(the error must not exceed 10 miniutes, because I say goodbye to my girlfriend at 3:02am according to our chat on Tecent QQ). However, I didn't close the program itself (I only click `disconnect` ). My girlfriend exit the whole program at about 4:00am(she is not sure about this time). When she exit, she believe it is about 123 days. However, when my girlfriend logged in again at about 16:00, it became 143days. She tried c_rollback, but doesn't work.

My log:

 

log.zip

 

It seems that after I `disconnect`, my character is still in the world.

Edited by clearlove

Share this comment


Link to comment
Share on other sites

7 hours ago, clearlove said:

It seems that after I `disconnect`, my character is still in the world.

I looked at your save file's log. It may be because you automatically paused before disconnect.

[05:57:32]: Server Autopaused	
[05:57:40]: Server Unpaused	

You can do some tests to try to reproduce the issue.

Spoiler

日志显示在你离线之后确实是没有暂停,服务器的设定也确实是没人的情况下暂停。这很有可能是个bug,就看能不能很容易复现。

 

Edited by Zepp

Share this comment


Link to comment
Share on other sites

I think these two line of "automatically paused" is reasonable. When I exit the game, I hit the key `ESC` and call the menu, which makes the server autopaused. Then when I click `disconnect`, the server becomes unpaused. 

I opened a new game and compared the log between my old logs and new logs. 

In new games:

Quote

[07:30:07]: Server Autopaused    
[07:30:15]: Server Unpaused    
[07:30:16]: Server Autopaused    
[07:30:21]: Server Unpaused    
[07:30:21]: Server Autopaused    
[07:30:27]: Server Unpaused    
[07:30:28]: [Steam] SendUserDisconnect for '76561199049162869'
[07:30:28]: [Shard] (KU_MAFS6ls5) disconnected from [SHDMASTER](1)
[07:30:29]: Serializing user: session/0220719048756A8E/A7IOKFE1LVC5/0000000053
[07:30:29]: Sim paused

While in old games:

Quote

[05:57:32]: Server Autopaused    
[05:57:40]: Server Unpaused    
[05:57:41]: [Steam] SendUserDisconnect for '76561199049162869'
[05:57:41]: [Shard] (KU_MAFS6ls5) disconnected from [SHDMASTER](1)
[05:57:42]: Serializing user: session/7BA476879A4F16EB/A7IOKFE1LVC5/0000000134

The "Sim paused" is not called. So the bug may lay between `Serializing user` and `Sim paused`. 

And the log of OP is much more stranger, where `Server Unpaused` is called:

Quote

[23:33:21]: Server Autopaused	
[23:34:46]: Server Unpaused	
[23:34:52]: Server Autopaused	
[23:34:56]: Server Unpaused	
[23:34:56]: Server Paused	
[23:35:09]: [Steam] SendUserDisconnect for '76561198807850375'
[23:35:09]: Connection lost to 193.58.28.234|1 <3576762195996051826>
[23:35:09]: [Shard] (KU_8qZ5EvS5) disconnected from [SHDMASTER](1)
[23:35:09]: Server Unpaused	
[23:35:10]: Serializing user: session/72AD0E722EFE19BE/A7H3932JN5O5/0000000025

I also find a very old post stating the exactly same problem, however, no log is provided. This post also mention a bug with `Server Unpaused`. 

Edited by clearlove

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...