Zinal001 / ValheimMods

A collection of Valheim Mods I'm working on
3 stars 1 forks source link

Server Messages Failing On Server #8

Open AmySchaplowsky opened 3 months ago

AmySchaplowsky commented 3 months ago

Trying to get notifications set up on my server with the Server Messages mod and I'm getting this exception in the logs whenever it tries to send.

06/07/2024 07:54:42: Console: [Error  : Unity Log] EndOfStreamException: Unable to read beyond the end of the stream.
Stack trace:
System.IO.BinaryReader.ReadByte () (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.IO.BinaryReader.Read7BitEncodedInt () (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
System.IO.BinaryReader.ReadString () (at <17d9ce77f27a4bd2afb5ba32c9bea976>:0)
ZPackage.ReadString () (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
UserInfo.Deserialize (ZPackage& pkg) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
ZRpc.Deserialize (System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg, System.Collections.Generic.List`1[System.Object]& parameters) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
ZNetView.Deserialize (System.Int64 callerID, System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
RoutedMethod`5[T,U,V,B,K].Invoke (System.Int64 rpc, ZPackage pkg) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
ZRoutedRpc.HandleRoutedRPC (ZRoutedRpc+RoutedRPCData data) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, ZDOID targetZDO, System.String methodName, System.Object[] parameters) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, System.String methodName, System.Object[] parameters) (at <c7b45d4f19fe45bd9ce84673b5236685>:0)
ServerMessages.BaseMessage.SendMessage () (at <50c38e968c7c448cb07336bd9aae1d6f>:0)
ServerMessages.TimedMessage.SendMessage () (at <50c38e968c7c448cb07336bd9aae1d6f>:0)
ServerMessages.Server.SendTimedMessages () (at <50c38e968c7c448cb07336bd9aae1d6f>:0)
EndOfStreamException: Unable to read beyond the end of the stream.
  at System.IO.BinaryReader.ReadByte () [0x00018] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 
  at System.IO.BinaryReader.Read7BitEncodedInt () [0x00019] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 
  at System.IO.BinaryReader.ReadString () [0x0000f] in <17d9ce77f27a4bd2afb5ba32c9bea976>:0 
  at ZPackage.ReadString () [0x00000] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at UserInfo.Deserialize (ZPackage& pkg) [0x0001a] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at ZRpc.Deserialize (System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg, System.Collections.Generic.List`1[System.Object]& parameters) [0x002d4] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at ZNetView.Deserialize (System.Int64 callerID, System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg) [0x00012] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at RoutedMethod`5[T,U,V,B,K].Invoke (System.Int64 rpc, ZPackage pkg) [0x00017] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at ZRoutedRpc.HandleRoutedRPC (ZRoutedRpc+RoutedRPCData data) [0x00022] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, ZDOID targetZDO, System.String methodName, System.Object[] parameters) [0x00070] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, System.String methodName, System.Object[] parameters) [0x00000] in <c7b45d4f19fe45bd9ce84673b5236685>:0 
  at ServerMessages.BaseMessage.SendMessage () [0x0005b] in <50c38e968c7c448cb07336bd9aae1d6f>:0 
  at ServerMessages.TimedMessage.SendMessage () [0x00001] in <50c38e968c7c448cb07336bd9aae1d6f>:0 
  at ServerMessages.Server.SendTimedMessages () [0x0007c] in <50c38e968c7c448cb07336bd9aae1d6f>:0