#multiplayer desync

59 messages · Page 1 of 1 (latest)

white remnant
#

Bug Description: _ Desync
How to cause it: _ just play the game ig idk how it s caused... maybe by spawning bosses
Multiplayer: yes

Windows / Mac / Linux: Which one are you using windows
IF WINDOWS: Are you using Windows 11? the 2 nd player is using 11 i am using 10 (im the host)
IF LINUX: What distro are you running?

Does your computer have a dedicated graphics card: yes
How many GB of RAM do you have: 16
(Check Task Manager Performance tab to see your RAM GB)

#

this is the hosts log

#

my friend will send them shortly

#

this is the 2 player s log

white remnant
#

bro pls

#

read the logs

#

idk how to replicate

#

pls help me

white remnant
#

[21:58:36.723] [TCP Client Thread/WARN] [tML]: Silently Caught Exception:
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it. [::ffff:127.0.0.1]:7777
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
at Terraria.Net.Sockets.TcpSocket.Terraria.Net.Sockets.ISocket.Connect(RemoteAddress address) in tModLoader\Terraria\Net\Sockets\TcpSocket.cs:line 61
at Terraria.Netplay.TcpClientLoop() in tModLoader\Terraria\Netplay.cs:line 406
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
i found this @hoary cape

white remnant
#

[22:02:39.113] [Main Thread/WARN] [tML]: Silently Caught Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at CalamityMod.CalPlayer.CalamityPlayer.HandleCooldownRemoval(BinaryReader reader) in CalamityMod\CalPlayer\CalamityPlayerNetcode.cs:line 154
at CalamityMod.CalamityNetcode.HandlePacket(Mod mod, BinaryReader reader, Int32 whoAmI) in CalamityMod\CalamityNetcode.cs:line 26
at Terraria.ModLoader.ModNet.HandleModPacket(BinaryReader reader, Int32 whoAmI, Int32 length) in tModLoader\Terraria\ModLoader\ModNet.cs:line 622
at Terraria.MessageBuffer.GetData(Int32 start, Int32 length, Int32& messageType) in tModLoader\Terraria\MessageBuffer.cs:line 3882
at Terraria.NetMessage.CheckBytes(Int32 bufferIndex) in tModLoader\Terraria\NetMessage.cs:line 2359
at Terraria.Netplay.UpdateServerInMainThread() in tModLoader\Terraria\Netplay.cs:line 61
at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 14396
at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 14295
at Terraria.Main.DedServ_PostModLoad(Boolean& reloadMods) in tModLoader\Terraria\Main.cs:line 5189
at Terraria.Main.DedServ() in tModLoader\Terraria\Main.cs:line 4705
at Terraria.Program.RunGame() in tModLoader\Terraria\Program.cs:line 264
at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 240
at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 213
at Terraria.MonoLaunch.Main_End(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 79
at Terraria.MonoLaunch.<>c__DisplayClass1_0.<Main>b__1() in tModLoader\Terraria\MonoLaunch.cs:line 65

hoary cape
#

the server log you sent earlier doesnt have that error

#

please send the server.log with the error

hoary cape
white remnant
hoary cape
#

but for the desync to be that bad, there for sure is something else additionally

white remnant
#

is there any way we can do?

#

i am willing to do anything bro

#

i ll even hop in a call going trough the bug

#

if you want

#

we ll share screen

#

wanna do that?

hoary cape
#

each of you go to a singleplayer world and wait for like 10 minutes

white remnant
#

we ll try to hop back a tmod version to see if it s still happening

hoary cape
#

that should help making cooldowns clear properly

white remnant
hoary cape
white remnant
#

and if you want to replicate the bug i can share my screen and my friend aswell and you can see how it behaves

white remnant
#

also another issue apeared... when the desync starts my friend s chunks stop loading

hoary cape
white remnant
#

we don t have insignia, we re only at skeletron

hoary cape
#

‘started happening with more cooldowns too’

#

such as health potion

white remnant
#

a damn healthpotion started allat?

hoary cape
#

plausibly

white remnant
#

well we don t have any more cooldowns under our hotbar?

#

should we try a multiplayer sv?

white remnant
hoary cape
#

first load the world you were at in singleplayer and wait for 10 mins so that any packet that hasnt been handled, is

hoary cape
white remnant
#

alr so after it s fixed no one will have this problem?

hoary cape
#

sunken sea has horrible frame drops rn and stuff is not finished yet so we cant release it

white remnant
#

and also if i try to mess with the json files it just goes back

hoary cape
#

used to work nicely in older tmod vers

white remnant
#

so if we hop back a version will our files get corrupted?

#

and we added calamity overhaul recently does that make it an issue?

white remnant
#

and we ve tryed to play fargos aswell but we have the same issue just in lower magnitude

#

we just realised something

#

we ve been playing on the prelease version

#

we think