RinseV / valheim-skipsleep

Valheim Skip Sleep mod
GNU General Public License v3.0
3 stars 1 forks source link

Failing to sleep, exception in logs #6

Open Ricket opened 11 months ago

Ricket commented 11 months ago

Have not done a ton of testing but so far from console failed to sleep, this is the error shown in log every 2 seconds....

valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server 10/16/2023 15:18:47: Console: [Error  : Unity Log] EndOfStreamException: Unable to read beyond the end of the stream.
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server Stack trace:
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server System.IO.BinaryReader.ReadByte () (at <695d1cc93cca45069c528c15c9fdd749>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server System.IO.BinaryReader.Read7BitEncodedInt () (at <695d1cc93cca45069c528c15c9fdd749>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server System.IO.BinaryReader.ReadString () (at <695d1cc93cca45069c528c15c9fdd749>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ZPackage.ReadString () (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server UserInfo.Deserialize (ZPackage& pkg) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ZRpc.Deserialize (System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg, System.Collections.Generic.List`1[System.Object]& parameters) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ZNetView.Deserialize (System.Int64 callerID, System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server RoutedMethod`5[T,U,V,B,K].Invoke (System.Int64 rpc, ZPackage pkg) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ZRoutedRpc.HandleRoutedRPC (ZRoutedRpc+RoutedRPCData data) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, ZDOID targetZDO, System.String methodName, System.Object[] parameters) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, System.String methodName, System.Object[] parameters) (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server ModSkipSleepValheim.Mod.SkipSleep (Game& __instance, System.Boolean& __result) (at <0877a1b4fa334af3a192fc18e53219b6>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server (wrapper dynamic-method) Game.DMD<Game::EverybodyIsTryingToSleep>(Game)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server Game.UpdateSleeping () (at <44acbe81e27943ac869206cc156a400d>:0)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server EndOfStreamException: Unable to read beyond the end of the stream.
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at System.IO.BinaryReader.ReadByte () [0x00018] in <695d1cc93cca45069c528c15c9fdd749>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at System.IO.BinaryReader.Read7BitEncodedInt () [0x00019] in <695d1cc93cca45069c528c15c9fdd749>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at System.IO.BinaryReader.ReadString () [0x0000f] in <695d1cc93cca45069c528c15c9fdd749>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ZPackage.ReadString () [0x00000] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at UserInfo.Deserialize (ZPackage& pkg) [0x0001a] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ZRpc.Deserialize (System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg, System.Collections.Generic.List`1[System.Object]& parameters) [0x002d4] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ZNetView.Deserialize (System.Int64 callerID, System.Reflection.ParameterInfo[] paramInfo, ZPackage pkg) [0x00012] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at RoutedMethod`5[T,U,V,B,K].Invoke (System.Int64 rpc, ZPackage pkg) [0x00017] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ZRoutedRpc.HandleRoutedRPC (ZRoutedRpc+RoutedRPCData data) [0x00022] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, ZDOID targetZDO, System.String methodName, System.Object[] parameters) [0x00070] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ZRoutedRpc.InvokeRoutedRPC (System.Int64 targetPeerID, System.String methodName, System.Object[] parameters) [0x00000] in <44acbe81e27943ac869206cc156a400d>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at ModSkipSleepValheim.Mod.SkipSleep (Game& __instance, System.Boolean& __result) [0x0011a] in <0877a1b4fa334af3a192fc18e53219b6>:0
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at (wrapper dynamic-method) Game.DMD<Game::EverybodyIsTryingToSleep>(Game)
valheim-valheim-1  | Oct 16 15:18:47 supervisord: valheim-server   at Game.UpdateSleeping () [0x00067] in <44acbe81e27943ac869206cc156a400d>:0
RinseV commented 11 months ago

Unfortunately I'm no longer actively maintaining this mod, I recommend looking for an alternative mod to satisfy your needs, here are some alternatives I was able to find (I did not test them):

These mods seem to do the same thing as this one by allowing you to skip the night when a percentage of players is sleeping.

Ricket commented 10 months ago

All good, thanks. LetMeSleep worked.