Hidden Patch? Game Loading Breaks with Network Tweaks

Open up steam, notice Stonehearth had just finished downloading something, look at news and see no patch notes.

Now when I launch the game the screen is black.

Even if I try to opt out of the latest Stonehearth version it does not re-download and revert to the last release 22.5

What happened? :fearful:

There has been no patch at all afaik. Could you post your stonehearth.log?
Right now unstable and stable are the same, A22.5 r763, so opting out won’t do anything.

Did you install any mods?

1 Like
Summary

2017-10-06 03:42:26.439650 | server | 0 | core.system | Initializing crash reporter
2017-10-06 03:42:26.484653 | server | 0 | lua.data | lua jit is disabled
2017-10-06 03:42:35.327159 | server | 1 | resources | Modules are verified pristine.
2017-10-06 03:42:35.442165 | server | 1 | app | Running Stonehearth server on port 46374
2017-10-06 03:42:35.461166 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2017-10-06 03:42:35.486168 | client | 1 | game_engine | Initializing OpenGL
2017-10-06 03:42:35.593174 | client | 1 | game_engine | Determining window placement
2017-10-06 03:42:35.594174 | client | 1 | game_engine | Selecting monitor at 990, 604
2017-10-06 03:42:35.594174 | client | 1 | game_engine | Creating OpenGL Window
2017-10-06 03:42:36.837245 | client | 1 | game_engine | Creating OpenGL Context
2017-10-06 03:42:36.838245 | client | 1 | game_engine | Finished OpenGL Initialization
2017-10-06 03:42:36.878248 | client | 1 | horde.general | Initializing GL2 backend using OpenGL driver ‘4.5.0 NVIDIA 385.41’ by ‘NVIDIA Corporation’ on 'GeForce GTX 960/PCIe/SSE2’
2017-10-06 03:42:37.081259 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2017-10-06 03:42:37.131262 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2017-10-06 03:42:38.168321 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.291328 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.341331 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.392334 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.443337 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.493340 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.543343 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.594346 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:42:38.644349 | server | 1 | simulation.remote_client | started buffering client updates. (seq:10 ack:0)
2017-10-06 03:42:41.308501 | client | 1 | browser | cef started.
2017-10-06 03:42:41.325502 | client | 1 | browser | Navigate called without an existing browser!
2017-10-06 03:42:41.744526 | thread1876 | 1 | browser | Doing a buffered navigation…
2017-10-06 03:42:41.760527 | client | 0 | physics.navgrid | subspace pathfinder is enabled
2017-10-06 03:42:42.076545 | client | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2017-10-06 03:42:42.129548 | client | 1 | network | client allocating new send buffer (total: 0)
2017-10-06 03:42:42.167550 | client | 1 | client.core | user feedback is off
2017-10-06 03:42:43.966653 | client | 1 | game_engine | ignoring duplicate screen resize to (1920, 1148)
2017-10-06 03:42:56.449367 | client | 0 | game_engine | window closed. exiting process

Okay so this is odd. I don’t know how stonehearth was in my steam downloads then.
Anyway I did solve the problem, I was doing some networking tweaks and one of them is bad apparently so I reverted back to my old settings and now the game works just fine. I use this program TCPOptimizer.exe because it helps with tweaking some ancient windows 7 registry settings to be optimal for gaming. Anyway after doing them manually instead it seems to be fine. Just find that patch odd, and the fact that only this game seemed to be affected by this change.

Summary

2017-10-06 03:45:56.683713 | server | 0 | core.system | Initializing crash reporter
2017-10-06 03:45:56.728715 | server | 0 | lua.data | lua jit is disabled
2017-10-06 03:46:05.450214 | server | 1 | resources | Modules are verified pristine.
2017-10-06 03:46:05.554220 | server | 1 | app | Running Stonehearth server on port 47884
2017-10-06 03:46:05.572221 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2017-10-06 03:46:05.598223 | client | 1 | game_engine | Initializing OpenGL
2017-10-06 03:46:05.705229 | client | 1 | game_engine | Determining window placement
2017-10-06 03:46:05.705229 | client | 1 | game_engine | Selecting monitor at 990, 604
2017-10-06 03:46:05.705229 | client | 1 | game_engine | Creating OpenGL Window
2017-10-06 03:46:06.974301 | client | 1 | game_engine | Creating OpenGL Context
2017-10-06 03:46:06.975302 | client | 1 | game_engine | Finished OpenGL Initialization
2017-10-06 03:46:07.002303 | client | 1 | horde.general | Initializing GL2 backend using OpenGL driver ‘4.5.0 NVIDIA 385.41’ by ‘NVIDIA Corporation’ on 'GeForce GTX 960/PCIe/SSE2’
2017-10-06 03:46:07.265318 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2017-10-06 03:46:07.329322 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2017-10-06 03:46:08.430385 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.553392 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.603395 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.654398 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.704400 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.754403 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.805406 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.856409 | server | 1 | network | server allocating new send buffer (total: 0)
2017-10-06 03:46:08.906412 | server | 1 | simulation.remote_client | started buffering client updates. (seq:10 ack:0)
2017-10-06 03:46:11.455558 | client | 1 | browser | cef started.
2017-10-06 03:46:11.484559 | client | 1 | browser | Navigate called without an existing browser!
2017-10-06 03:46:12.036591 | thread6056 | 1 | browser | Doing a buffered navigation…
2017-10-06 03:46:12.567621 | client | 0 | physics.navgrid | subspace pathfinder is enabled
2017-10-06 03:46:12.943643 | client | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2017-10-06 03:46:13.009647 | client | 1 | network | client allocating new send buffer (total: 0)
2017-10-06 03:46:13.095652 | client | 1 | client.core | user feedback is off
2017-10-06 03:46:13.890697 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:10 ack:10)
2017-10-06 03:46:13.940700 | server | 1 | simulation.remote_client | started buffering client updates. (seq:110 ack:10)
2017-10-06 03:46:14.141711 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:110 ack:110)
2017-10-06 03:46:16.668856 | server | 1 | simulation.core | game loop exhausted before any jobs processed!
2017-10-06 03:46:18.979988 | server | 1 | simulation.core | game loop exhausted before any jobs processed!
2017-10-06 03:46:19.437014 | server | 1 | simulation.remote_client | started buffering client updates. (seq:211 ack:201)
2017-10-06 03:46:19.487017 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:211 ack:211)
2017-10-06 03:46:28.172514 | client | 0 | game_engine | window closed. exiting process

1 Like

Glad you found the cause :slightly_smiling_face:

yeah, I don’t know which one exactly is interfering with the game loading screen though, like I said this is really odd.

anyway this is some of the things I changed manually without the use of that program, the idea is to minimize latency for gaming.

Summary

[netsh]
TCP Window Auto-Tuning=0
Congestion Control Provider=0
TCP Chimney Offload=3
Receive-Side Scaling State=1
EnableDCA=1
EnableTCPA=1
ECN Capability=1
Windows Scaling heuristics=2
[SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
DefaultTTL=64
Tcp1323Opts=1
DisableTaskOffload=0
DisableTaskOffload_SEL=0
MaxUserPort=65535
TcpTimedWaitDelay=30
SynAttackProtect=1
SynAttackProtect_SEL=1
TCPMaxDataRetransmissions=5
[SYSTEM\CurrentControlSet\Services\Tcpip\ServiceProvider]
LocalPriority=4
HostsPriority=5
DnsPriority=6
NetbtPriority=7
[SOFTWARE\Policies\Microsoft\Windows\Psched]
NonBestEffortLimit=-2
[System\CurrentControlSet\Services\Tcpip\QoS]
Do not use NLA=-2
Do not use NLA_SEL=0
[SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile]
NetworkThrottlingIndex=-1
NetworkThrottlingIndex_SEL=0
SystemResponsiveness=0
SystemResponsiveness_SEL=0
[SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
Size=3
Size_SEL=3
[SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
LargeSystemCache=0
LargeSystemCache_SEL=0
[SOFTWARE\Microsoft\MSMQ\Parameters]
TCPNoDelay=-2
TCPNoDelay_SEL=0
[SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
NegativeCacheTime=-1
NetFailureCacheTime=0
NegativeSOACacheTime=0
[Local Area Connection]
MTU=1500
[SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces{NIC}]
TcpAckFrequency=1
TcpAckFrequency_SEL=1
TcpDelAckTicks=0
TcpDelAckTicks_SEL=0
TCPNoDelay=1
TCPNoDelay_SEL=1