Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lag every few seconds after the first player joins (or if i join a multiplayer session) #329

Open
dandud100 opened this issue Nov 4, 2023 · 2 comments
Labels

Comments

@dandud100
Copy link

dandud100 commented Nov 4, 2023

Describe the bug
So my problem is, that my game runs normaly buttery smooth, but if at least one player is connected to my world the game stutters every few seconds.

It does not matter if the other player hosts the map, if i join it lags on my end. My other players use the exact same mods with weaker hardware and do not face this issue.

My Hardware:
Ryzen 7 5800h
32 GB RAM
RTX 3060 mobile

I only notice the following as a difference in the debug logs... Also i recorded a video: https://www.youtube.com/watch?v=UeZUrSbvdLc

What spams in if no one is connected / after the last player left (game runs smooth):

[08:58:23.8586] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:23.8636] [Debug] Sending FinishTransactionCommand to all clients
[08:58:23.9844] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:24.0040] [Debug] Sending FinishTransactionCommand to all clients
[08:58:24.0586] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:24.0640] [Debug] Sending FinishTransactionCommand to all clients

What spams in if one person is connected (game lags every few seconds for me):

[08:58:13.5039] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.5169] [Debug] Sending FinishTransactionCommand to all clients
[08:58:13.7048] [Debug] Sending BuildingCreateCommand to all clients
[08:58:13.7048] [Debug] Sending BuildingRemoveCommand to all clients
[08:58:13.7199] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.7452] [Debug] Sending FinishTransactionCommand to all clients
[08:58:13.8709] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.8814] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.8872] [Debug] Sending FinishTransactionCommand to all clients
[08:58:13.9238] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.9293] [Debug] Sending FinishTransactionCommand to all clients
[08:58:13.9395] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.9495] [Debug] Sending FinishTransactionCommand to all clients
[08:58:13.9656] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:13.9701] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.1102] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.1386] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.1957] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.2006] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.3158] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.3324] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.4066] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.4116] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.4236] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.4291] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.4341] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.4406] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.4562] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.4693] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:14.4798] [Debug] Sending FinishTransactionCommand to all clients
[08:58:14.7168] [Debug] Sending BuildingCreateCommand to all clients
[08:58:14.7178] [Debug] Sending BuildingRemoveCommand to all clients
[08:58:14.7361] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.0649] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.0780] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.2462] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.2634] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.3789] [Debug] Sending EconomyResourcesCommand to all clients
[08:58:15.3789] [Debug] 38 dropped frames!
[08:58:15.3789] [Debug] Sending SlowdownCommand to all clients
[08:58:15.3850] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.3963] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.4023] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.4408] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.4454] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.4577] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.4683] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.4832] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.4876] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.6234] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.6456] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.7139] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.7195] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.8320] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.8467] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.9053] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.9109] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.9204] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.9271] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.9324] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.9368] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.9518] [Debug] Sending FinishTransactionCommand to all clients
[08:58:15.9618] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:15.9715] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.1808] [Debug] Sending BuildingCreateCommand to all clients
[08:58:16.1808] [Debug] Sending BuildingRemoveCommand to all clients
[08:58:16.2049] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.4729] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.4839] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.6320] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.6473] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.7507] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.7660] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.7711] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.8059] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.8109] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.8209] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.8314] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.8455] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:16.8507] [Debug] Sending FinishTransactionCommand to all clients
[08:58:16.8997] [Debug] Sending BuildingCreateCommand to all clients
[08:58:16.8997] [Debug] Sending BuildingRemoveCommand to all clients
[08:58:16.9242] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.0154] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.0364] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.0895] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.0951] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.2121] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.2268] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.2843] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.2888] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.2938] [Debug] Sending BuildingCreateCommand to all clients
[08:58:17.2938] [Debug] Sending BuildingRemoveCommand to all clients
[08:58:17.3020] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.3085] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.3133] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.3238] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.3373] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.3478] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.3573] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.4053] [Debug] Sending EconomyResourcesCommand to all clients
[08:58:17.4053] [Debug] 29 dropped frames!
[08:58:17.4053] [Debug] Sending SlowdownCommand to all clients
[08:58:17.8612] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:17.8727] [Debug] Sending FinishTransactionCommand to all clients
[08:58:17.9656] [Debug] Sending BuildingCreateCommand to all clients
[08:58:17.9656] [Debug] Sending BuildingRemoveCommand to all clients
[08:58:17.9931] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.0522] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.0668] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.1799] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.1894] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.1945] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.2293] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.2333] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.2438] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.2530] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.2680] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.2720] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.3974] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.4159] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.4722] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.4772] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.6122] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.6298] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.6970] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.7020] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.7115] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.7165] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.7212] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.7257] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.7402] [Debug] Sending FinishTransactionCommand to all clients
[08:58:18.7507] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:18.7603] [Debug] Sending FinishTransactionCommand to all clients
[08:58:19.2694] [Debug] Sending DemandDisplayedCommand to all clients
[08:58:19.2819] [Debug] Sending FinishTransactionCommand to all clients
[08:58:19.4316] [Debug] Sending EconomyResourcesCommand to all clients
[08:58:19.4316] [Debug] 28 dropped frames!
[08:58:19.4316] [Debug] Sending SlowdownCommand to all clients

Active DLCs
NO DLC

Active mods
CSM
Harmony 2.2.2-0
BigCity (25 tiles mod)

Versions
Type /version into the in-game chat and paste the version numbers here:

  • Mod version: 2309.286.0.0
  • Game version: 1.17.1-f4
@dandud100 dandud100 added the bug label Nov 4, 2023
@dandud100
Copy link
Author

dandud100 commented Nov 4, 2023

Update: A member of your discord gave me an hint to this behavior! Thank you Xephos!

So the problem is, that my computer is so much faster, that on x3 I am usually 2 or almost 3 days ahead of my other players and then I need to wait until they catch up. Oh hell this is annoying, but if we play on x1 everything is fine again.

Is there anything that could be done to slow down the fastest computer on the multiplayer session to match the other players. I don't know, maybe the API gives something that allows to slow down the animation speed or whatever.

(Also I think maybe the issue started at the time where our public transport eg busses and so on got bigger)

@Root-DE
Copy link

Root-DE commented Sep 20, 2024

I also face the same problem, is there any workaround yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants