• PC 1.4.3: An eye for an eye, the Terraria x Don't Starve Together Crossover Update! Get all the details here. Found some bugs? Report them with as much detail as possible here.
  • Xbox & PS 1.4: Get all the info on the Journey's End update by clicking here. Known Issues and FAQ can be read here. For any other bugs, report them (with as much detail as possible) here.
  • Switch 1.4: Journey's End will launch on Switch January 4, 2022! More details here.
  • Mobile News: Stay up to date with the latest mobile news here. Report mobile bugs here

tModLoader Mod Helpers

hamstar

Terrarian
hello 'm having problems when I try to enter tModloader with calamity, it shows me this

[19:25:33] [1/INFO] [tML]: Starting tModLoader v0.11.7.5 Windows client (03/08/2020)
[19:25:33] [1/INFO] [tML]: Running on NetFramework 4.8
[19:25:33] [1/INFO] [tML]: Executable: C:\Program Files (x86)\Steam\steamapps\common\tModLoader\tModLoader.exe
[19:25:33] [1/INFO] [tML]: Working Directory: C:\Program Files (x86)\Steam\steamapps\common\tModLoader
[19:25:33] [1/INFO] [tML]: Launch Parameters:
[19:25:33] [1/DEBUG] [tML]: Assembly Resolve: -> MonoMod.RuntimeDetour, Version=20.5.14.1, Culture=neutral, PublicKeyToken=null
[19:25:33] [1/DEBUG] [tML]: Assembly Resolve: MonoMod.RuntimeDetour, Version=20.5.14.1, Culture=neutral, PublicKeyToken=null -> MonoMod.Utils, Version=20.5.14.1, Culture=neutral, PublicKeyToken=null
[19:25:33] [1/DEBUG] [tML]: Assembly Resolve: MonoMod.RuntimeDetour, Version=20.5.14.1, Culture=neutral, PublicKeyToken=null -> Mono.Cecil, Version=0.11.2.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e
[19:25:34] [1/DEBUG] [tML]: Assembly Resolve: -> Ionic.Zip.Reduced, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c
[19:25:34] [1/DEBUG] [tML]: Assembly Resolve: -> Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
[19:25:35] [1/DEBUG] [tML]: Assembly Resolve: -> Steamworks.NET, Version=9.1.0.0, Culture=neutral, PublicKeyToken=null
[19:25:35] [1/INFO] [tML]: Checking Steam installation...
[19:25:36] [1/INFO] [tML]: Steam installation OK.
[19:25:36] [1/INFO] [Terraria]: Found Terraria steamapp install at: C:\Program Files (x86)\Steam\steamapps\common\Terraria
[19:25:36] [1/INFO] [Terraria]: Steam Cloud Quota: 152.6 MB available
[19:25:39] [1/DEBUG] [Terraria]: Graphics Device: NVIDIA GeForce 7025 / NVIDIA nForce 630a {Width:1360 Height:768 Format:Color AspectRatio:1.770833}
[19:25:42] [1/INFO] [Terraria]: Loaded 1000 vanilla assets
[19:25:43] [1/INFO] [Terraria]: Loaded 2000 vanilla assets
[19:25:43] [1/INFO] [Terraria]: Loaded 3000 vanilla assets
[19:25:44] [1/INFO] [Terraria]: Loaded 4000 vanilla assets
[19:25:45] [1/INFO] [Terraria]: Loaded 5000 vanilla assets
[19:25:48] [1/DEBUG] [Terraria]: Device Reset, Profile: Reach, Width: 800 -> 720, Height: 480, Fullscreen: False -> True, Display: \\.\DISPLAY3
[19:25:49] [1/DEBUG] [Terraria]: Device Reset, Profile: Reach, Width: 720 -> 1360, Height: 480 -> 768, Fullscreen: True, Display: \\.\DISPLAY3
[19:26:01] [8/DEBUG] [tML]: Assembly Resolve: -> MP3Sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
[19:26:01] [8/DEBUG] [tML]: Assembly Resolve: -> NVorbis, Version=0.8.4.0, Culture=neutral, PublicKeyToken=null
[19:26:03] [7/DEBUG] [tML]: Assembly Resolve: -> Mono.Cecil.Mdb, Version=0.11.2.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e
[19:26:03] [7/DEBUG] [tML]: Assembly Resolve: -> Mono.Cecil.Pdb, Version=0.11.2.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e
[19:26:04] [8/INFO] [Terraria]: JIT loading finished
[19:26:05] [8/INFO] [tML]: Unloading mods
[19:26:06] [8/INFO] [tML]: Finding Mods...
[19:26:08] [8/INFO] [tML]: Sandboxing: CalamityMod
[19:26:14] [8/INFO] [tML]: Sandboxing: CalamityModMusic
[19:26:14] [8/INFO] [tML]: Sandboxing: HEROsMod
[19:26:14] [8/INFO] [tML]: Sandboxing: MagicStorage
[19:26:14] [8/INFO] [tML]: Instantiating Mods...
[19:26:16] [8/INFO] [tML]: Initializing: ModLoader v0.11.7.5
[19:26:17] [8/INFO] [tML]: Initializing: CalamityMod v1.4.5.1
[19:26:26] [17/DEBUG] [tML]: Assembly Resolve: -> Microsoft.Xna.Framework.resources, Version=4.0.0.0, Culture=es-ES, PublicKeyToken=842cf8be1de50553
[19:26:26] [17/DEBUG] [tML]: Assembly Resolve: -> Microsoft.Xna.Framework.resources, Version=4.0.0.0, Culture=es-ES, PublicKeyToken=842cf8be1de50553
[19:26:26] [17/DEBUG] [tML]: Assembly Resolve: -> Microsoft.Xna.Framework.resources, Version=4.0.0.0, Culture=es, PublicKeyToken=842cf8be1de50553
[19:26:26] [17/DEBUG] [tML]: Assembly Resolve: -> Microsoft.Xna.Framework.resources, Version=4.0.0.0, Culture=es, PublicKeyToken=842cf8be1de50553
[19:26:30] [17/WARN] [tML]: Silently Caught Exception:
System.NotSupportedException: XNA Framework Reach profile supports a maximum Texture2D size of 4096.
en Microsoft.Xna.Framework.Graphics.ProfileCapabilities.ThrowNotSupportedException(String message, Object arg1, Object arg2)
en Microsoft.Xna.Framework.Graphics.Texture2D.ValidateCreationParameters(ProfileCapabilities profile, Int32 width, Int32 height, SurfaceFormat format, Boolean mipMap)
en Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
en Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height)
en Terraria.ModLoader.IO.ImageIO.<>c__DisplayClass8_0.<RawToTexture2DAsync>b__0()
en System.Threading.Tasks.Task`1.InnerInvoke()
en System.Threading.Tasks.Task.Execute()
en System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
en System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
en System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
en System.Threading.ThreadPoolWorkQueue.Dispatch()
en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

[19:26:31] [10/WARN] [tML]: Silently Caught Exception:
Terraria.ModLoader.Exceptions.ResourceLoadException: The texture file at Tiles/DraeHolo failed to load
en Terraria.ModLoader.Mod.<>c__DisplayClass246_0.<LoadTexture>b__0(Task`1 t)
en System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
en System.Threading.Tasks.Task.Execute()
en System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
en System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
en System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
en System.Threading.ThreadPoolWorkQueue.Dispatch()
en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

[19:26:42] [8/WARN] [tML]: Silently Caught Exception:
System.AggregateException: Se han producido uno o varios errores.
en System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
en System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
en Terraria.ModLoader.Mod.Autoload()
en Terraria.ModLoader.ModContent.<>c.<Load>b__38_0(Mod mod)
en Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
en Terraria.ModLoader.ModContent.Load(CancellationToken token)
en Terraria.ModLoader.ModLoader.Load(CancellationToken token)
en Terraria.ModLoader.ModLoader.<>c__DisplayClass42_0.<BeginLoad>b__0()
en System.Threading.Tasks.Task.InnerInvoke()
en System.Threading.Tasks.Task.Execute()
en System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
en System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
en System.Threading.Tasks.Task.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
en System.Threading.ThreadPoolWorkQueue.Dispatch()
en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

[19:26:43] [8/ERROR] [tML]: An error occurred while loading CalamityMod
The mod(s) have been automatically disabled.
System.AggregateException: Se han producido uno o varios errores. ---> Terraria.ModLoader.Exceptions.ResourceLoadException: The texture file at Tiles/DraeHolo failed to load ---> System.AggregateException: Se han producido uno o varios errores. ---> System.NotSupportedException: XNA Framework Reach profile supports a maximum Texture2D size of 4096.
en Microsoft.Xna.Framework.Graphics.ProfileCapabilities.ThrowNotSupportedException(String message, Object arg1, Object arg2)
en Microsoft.Xna.Framework.Graphics.Texture2D.ValidateCreationParameters(ProfileCapabilities profile, Int32 width, Int32 height, SurfaceFormat format, Boolean mipMap)
en Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
en Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height)
en Terraria.ModLoader.IO.ImageIO.<>c__DisplayClass8_0.<RawToTexture2DAsync>b__0()
en System.Threading.Tasks.Task`1.InnerInvoke()
en System.Threading.Tasks.Task.Execute()
--- Fin del seguimiento de la pila de la excepción interna ---
--- Fin del seguimiento de la pila de la excepción interna ---
en Terraria.ModLoader.Mod.<>c__DisplayClass246_0.<LoadTexture>b__0(Task`1 t)
en System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
en System.Threading.Tasks.Task.Execute()
--- Fin del seguimiento de la pila de la excepción interna ---
en System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
en System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
en Terraria.ModLoader.Mod.Autoload()
en Terraria.ModLoader.ModContent.<>c.<Load>b__38_0(Mod mod)
en Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
en Terraria.ModLoader.ModContent.Load(CancellationToken token)
en Terraria.ModLoader.ModLoader.Load(CancellationToken token)
---> (Nº de excepción interna 0) Terraria.ModLoader.Exceptions.ResourceLoadException: The texture file at Tiles/DraeHolo failed to load ---> System.AggregateException: Se han producido uno o varios errores. ---> System.NotSupportedException: XNA Framework Reach profile supports a maximum Texture2D size of 4096.
en Microsoft.Xna.Framework.Graphics.ProfileCapabilities.ThrowNotSupportedException(String message, Object arg1, Object arg2)
en Microsoft.Xna.Framework.Graphics.Texture2D.ValidateCreationParameters(ProfileCapabilities profile, Int32 width, Int32 height, SurfaceFormat format, Boolean mipMap)
en Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
en Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height)
en Terraria.ModLoader.IO.ImageIO.<>c__DisplayClass8_0.<RawToTexture2DAsync>b__0()
en System.Threading.Tasks.Task`1.InnerInvoke()
en System.Threading.Tasks.Task.Execute()
--- Fin del seguimiento de la pila de la excepción interna ---
--- Fin del seguimiento de la pila de la excepción interna ---
en Terraria.ModLoader.Mod.<>c__DisplayClass246_0.<LoadTexture>b__0(Task`1 t)
en System.Threading.Tasks.ContinuationTaskFromResultTask`1.InnerInvoke()
en System.Threading.Tasks.Task.Execute()<---

[19:26:43] [8/INFO] [tML]: Disabling Mod: CalamityMod
[19:27:00] [1/DEBUG] [tML]: Process.Start (UseShellExecute = True): "C:\Users\Escritorio\Documents\My Games\Terraria\ModLoader\Logs\client.log"


sorry for my very poor english
None of those errors look like they pertain to Mod Helpers. Did you fail to download Calamity mod properly? One of those errors mentions a `Tiles/DraeHolo` texture failing to load, which I know nothing about.
 

Khaelum

Terrarian
Getting this crash when a player joins, this happens both when Mod Helpers is enabled only by itself and when enabled with a bunch of other mods.
OS is Debian, server ran using mono.
Removing the mod will make it so the server no longer crashes.


Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,System.Collections.Generic.KeyValuePair`2<int, string>) <0x0003e>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,System.Collections.Generic.KeyValuePair`2<int, string>[]) <0x000a8>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00078>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at NetSerializer.DictionarySerializer.WritePrimitive<int, string> (NetSerializer.Serializer,System.IO.Stream,System.Collections.Generic.Dictionary`2<int, string>) <0x0014f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0005a>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolBidirectionalPayload,int,int) <0x00037>
at HamstarHelpers.Internals.NetProtocols.PlayerNewIdProtocol.QuickRequestToClient (int) <0x0003f>
at HamstarHelpers.Internals.Logic.PlayerLogic.OnServerConnect (Terraria.Player) <0x00033>
at HamstarHelpers.ModHelpersPlayer.SyncPlayer (int,int,bool) <0x000c3>
at Terraria.ModLoader.PlayerHooks.SyncPlayer (Terraria.Player,int,int,bool) <0x0008e>
at Terraria.NetMessage.SyncOnePlayer (int,int,int) <0x007b3>
at Terraria.NetMessage.SyncConnectedPlayer (int) <0x00023>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x05fc3>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x00333>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f8bc27700e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x4041c28c]
Debug info from gdb:
 

hamstar

Terrarian
Getting this crash when a player joins, this happens both when Mod Helpers is enabled only by itself and when enabled with a bunch of other mods.
OS is Debian, server ran using mono.
Removing the mod will make it so the server no longer crashes.


Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,System.Collections.Generic.KeyValuePair`2<int, string>) <0x0003e>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,System.Collections.Generic.KeyValuePair`2<int, string>[]) <0x000a8>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00078>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at NetSerializer.DictionarySerializer.WritePrimitive<int, string> (NetSerializer.Serializer,System.IO.Stream,System.Collections.Generic.Dictionary`2<int, string>) <0x0014f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0005a>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolBidirectionalPayload,int,int) <0x00037>
at HamstarHelpers.Internals.NetProtocols.PlayerNewIdProtocol.QuickRequestToClient (int) <0x0003f>
at HamstarHelpers.Internals.Logic.PlayerLogic.OnServerConnect (Terraria.Player) <0x00033>
at HamstarHelpers.ModHelpersPlayer.SyncPlayer (int,int,bool) <0x000c3>
at Terraria.ModLoader.PlayerHooks.SyncPlayer (Terraria.Player,int,int,bool) <0x0008e>
at Terraria.NetMessage.SyncOnePlayer (int,int,int) <0x007b3>
at Terraria.NetMessage.SyncConnectedPlayer (int) <0x00023>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x05fc3>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x00333>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f8bc27700e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x4041c28c]
Debug info from gdb:
I'll have an update released shortly to try to fix that (v5.9.1). I've internally switched to a new packet protocol model, so some turbulence is expected.
 

Khaelum

Terrarian
I can now join but the server crashes when what appears to be sending world data to players.
Also, just to make it clear, it seems to only happen on Linux, as I've tried your mod on a Windows server and everything was fine.
Maybe I am lacking a library?

Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,HamstarHelpers.Internals.NetProtocols.WorldDataProtocol) <0x0004f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload,int,int) <0x00037>
at HamstarHelpers.Services.Network.NetIO.NetIO.ProcessRequestOnServer (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int,HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload) <0x000c7>
at HamstarHelpers.Services.Network.NetIO.NetIO.ReceiveRequest (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int) <0x00133>
at HamstarHelpers.Services.Network.NetIO.NetIO.HandlePacket (System.IO.BinaryReader,int) <0x002c7>
at HamstarHelpers.ModHelpersMod.HandlePacket (System.IO.BinaryReader,int) <0x00027>
at Terraria.ModLoader.ModNet.HandleModPacket (System.IO.BinaryReader,int,int) <0x00109>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x1303b>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x0032f>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f87c709f0e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x40d7a28c]
Debug info from gdb:
>
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
./tModLoaderServer: line 60: 20 Aborted (core dumped) $KICKSTART [email protected]
 

hamstar

Terrarian
I can now join but the server crashes when what appears to be sending world data to players.
Also, just to make it clear, it seems to only happen on Linux, as I've tried your mod on a Windows server and everything was fine.
Maybe I am lacking a library?

Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,HamstarHelpers.Internals.NetProtocols.WorldDataProtocol) <0x0004f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload,int,int) <0x00037>
at HamstarHelpers.Services.Network.NetIO.NetIO.ProcessRequestOnServer (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int,HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload) <0x000c7>
at HamstarHelpers.Services.Network.NetIO.NetIO.ReceiveRequest (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int) <0x00133>
at HamstarHelpers.Services.Network.NetIO.NetIO.HandlePacket (System.IO.BinaryReader,int) <0x002c7>
at HamstarHelpers.ModHelpersMod.HandlePacket (System.IO.BinaryReader,int) <0x00027>
at Terraria.ModLoader.ModNet.HandleModPacket (System.IO.BinaryReader,int,int) <0x00109>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x1303b>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x0032f>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f87c709f0e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x40d7a28c]
Debug info from gdb:
>
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
./tModLoaderServer: line 60: 20 Aborted (core dumped) $KICKSTART [email protected]
Alright, this might take me a moment to get resolved. Please downgrade to v5.8.2 until I figure this out.
 

hamstar

Terrarian
I can now join but the server crashes when what appears to be sending world data to players.
Also, just to make it clear, it seems to only happen on Linux, as I've tried your mod on a Windows server and everything was fine.
Maybe I am lacking a library?

Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,HamstarHelpers.Internals.NetProtocols.WorldDataProtocol) <0x0004f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload,int,int) <0x00037>
at HamstarHelpers.Services.Network.NetIO.NetIO.ProcessRequestOnServer (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int,HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload) <0x000c7>
at HamstarHelpers.Services.Network.NetIO.NetIO.ReceiveRequest (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int) <0x00133>
at HamstarHelpers.Services.Network.NetIO.NetIO.HandlePacket (System.IO.BinaryReader,int) <0x002c7>
at HamstarHelpers.ModHelpersMod.HandlePacket (System.IO.BinaryReader,int) <0x00027>
at Terraria.ModLoader.ModNet.HandleModPacket (System.IO.BinaryReader,int,int) <0x00109>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x1303b>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x0032f>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f87c709f0e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x40d7a28c]
Debug info from gdb:
>
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
./tModLoaderServer: line 60: 20 Aborted (core dumped) $KICKSTART [email protected]
See if v5.9.1.1 solves your issue.
 

Khaelum

Terrarian
Seems like the same crash, downgrading to v5.8.2 as advised fixed the issue.

Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,HamstarHelpers.Internals.NetProtocols.WorldDataProtocol) <0x0004f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload,int,int) <0x00037>
at HamstarHelpers.Services.Network.NetIO.NetIO.ProcessRequestOnServer (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int,HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload) <0x000c7>
at HamstarHelpers.Services.Network.NetIO.NetIO.ReceiveRequest (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int) <0x00133>
at HamstarHelpers.Services.Network.NetIO.NetIO.HandlePacket (System.IO.BinaryReader,int) <0x002c7>
at HamstarHelpers.ModHelpersMod.HandlePacket (System.IO.BinaryReader,int) <0x00027>
at Terraria.ModLoader.ModNet.HandleModPacket (System.IO.BinaryReader,int,int) <0x00109>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x13023>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x00333>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f0c754010e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x4175828c]
Debug info from gdb:
>
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
./tModLoaderServer: line 60: 20 Aborted (core dumped) $KICKSTART [email protected]
 

hamstar

Terrarian
Seems like the same crash, downgrading to v5.8.2 as advised fixed the issue.

Code:
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,HamstarHelpers.Internals.NetProtocols.WorldDataProtocol) <0x0004f>
at (wrapper dynamic-method) NetSerializer.Serializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x00058>
at NetSerializer.ObjectSerializer.Serialize (NetSerializer.Serializer,System.IO.Stream,object) <0x0008d>
at NetSerializer.Serializer.Serialize (System.IO.Stream,object) <0x00017>
at HamstarHelpers.Services.Network.NetIO.NetIO.Send (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolPayload,int,int) <0x0006f>
at HamstarHelpers.Services.Network.NetIO.NetIO.SendToClients (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload,int,int) <0x00037>
at HamstarHelpers.Services.Network.NetIO.NetIO.ProcessRequestOnServer (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int,HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolClientPayload) <0x000c7>
at HamstarHelpers.Services.Network.NetIO.NetIO.ReceiveRequest (HamstarHelpers.Services.Network.NetIO.PayloadTypes.NetProtocolRequest,int) <0x00133>
at HamstarHelpers.Services.Network.NetIO.NetIO.HandlePacket (System.IO.BinaryReader,int) <0x002c7>
at HamstarHelpers.ModHelpersMod.HandlePacket (System.IO.BinaryReader,int) <0x00027>
at Terraria.ModLoader.ModNet.HandleModPacket (System.IO.BinaryReader,int,int) <0x00109>
at Terraria.MessageBuffer.GetData (int,int,int&) <0x13023>
at Terraria.NetMessage.CheckBytes (int) <0x00187>
at Terraria.Netplay/<>c.<ServerLoop>b__44_2 () <0x0003b>
at System.Threading.Tasks.Task.InnerInvoke () <0x0004a>
at System.Threading.Tasks.Task.Execute () <0x0005b>
at System.Threading.Tasks.Task.ExecutionContextCallback (object) <0x0004f>
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x001f5>
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00023>
at System.Threading.Tasks.Task.ExecuteWithThreadLocal (System.Threading.Tasks.Task&) <0x00143>
at System.Threading.Tasks.Task.ExecuteEntry (bool) <0x000b3>
at System.Threading.Tasks.ThreadPoolTaskScheduler.TryExecuteTaskInline (System.Threading.Tasks.Task,bool) <0x00047>
at System.Threading.Tasks.TaskScheduler.TryRunInline (System.Threading.Tasks.Task,bool) <0x000d8>
at System.Threading.Tasks.Task.InternalRunSynchronously (System.Threading.Tasks.TaskScheduler,bool) <0x00127>
at System.Threading.Tasks.Task.RunSynchronously () <0x00023>
at Terraria.Netplay.OnUpdate () <0x0001f>
at Terraria.Main.DoUpdate (Microsoft.Xna.Framework.GameTime) <0x00333>
at Terraria.Main.Update (Microsoft.Xna.Framework.GameTime) <0x0008b>
at Terraria.Main.DedServ () <0x021ba>
at Terraria.Program.LaunchGame_ () <0x001d7>
at Terraria.Program.LaunchGame (string[],bool) <0x001a7>
at MonoLaunch.Main (string[]) <0x0010b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000c8>
Native stacktrace:
./tModLoaderServer.bin.x86_64() [0x45243d]
./tModLoaderServer.bin.x86_64() [0x607832]
./tModLoaderServer.bin.x86_64() [0x461a17]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7f0c754010e0]
./tModLoaderServer.bin.x86_64() [0x6103ee]
./tModLoaderServer.bin.x86_64() [0x46d738]
./tModLoaderServer.bin.x86_64() [0x46dd0e]
./tModLoaderServer.bin.x86_64() [0x46033c]
./tModLoaderServer.bin.x86_64() [0x464959]
./tModLoaderServer.bin.x86_64() [0x4653e0]
[0x4175828c]
Debug info from gdb:
>
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
./tModLoaderServer: line 60: 20 Aborted (core dumped) $KICKSTART [email protected]
Are you by chance using *the 64 bit tModLoader on Linux? That might be part of your issue.

This link gives more info (read reply): Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime

Edit: Due to issues I haven't been able to resolve with NetSerializer, I've since reverted my net code, and I disabled all 'unsafe' code from NetSerializer itself. Mod Helpers v5.9.1.2 should now work as before.

Sorry for any inconvenience.
 
Last edited:

Khaelum

Terrarian
Newest version fixed it for me. It does seem like it is running the 64 bit binary, but I am not sure. I have "restricted" access to the server since its running in a docker and therefore can't really check that [a.k.a I have no idea how to do that ].
 

mookie1590

Terrarian
question, how do i go about installing this mod without the t mod helper thingie. Im running a small server on the updated version of terraria, 1.4+ whatever. And it says the mod loader isnt compatible, so im assuming I have to do this manually.

So far, im only wanting one mod, the extensible inventory mod. jsut to add 1 more page since default inst enough. for anything.

Thanks for any help
 

hamstar

Terrarian
question, how do i go about installing this mod without the t mod helper thingie. Im running a small server on the updated version of terraria, 1.4+ whatever. And it says the mod loader isnt compatible, so im assuming I have to do this manually.

So far, im only wanting one mod, the extensible inventory mod. jsut to add 1 more page since default inst enough. for anything.

Thanks for any help
You cannot yet. TML has not updated for 1.4, and Mod Helpers requires it.
 

hamstar

Terrarian
I want to eventually subdivide Mod Helpers into several mods, but it will be a lot of work, and I don't have a lot of time. If anyone seems interested in using any of the following individual mods (as opposed to the whole of Mod Helpers as it is now), I may consider the subdivision. Here's the current list of mods I can split off from Mod Helpers:
  • Helpers Essentials: "Core" mod that ensures several below mods are always active. Also displays the main menu contact info.
  • Autoloaders: Basically tML's upcoming ILoadable/IAutoloader.
  • Net IO: Enhances ModPacket to put all your net code into one place, and abstract away concerns such as the underlying BinaryStream, figuring out who is sending or receiving the packet, and packet ID-ing.
  • Timers: Just a simple tool for scheduling stuff to happen on a timer. Works by Terraria's game ticks (same thread).
  • General Helpers: All of Mod Helpers current 'Helpers' folder's contents, minus ReflectionHelpers and some assorted stuff.
  • Reflection Helpers: Shorthand methods for reflection use. Includes caching. WIP.
  • Animators Helpers: Assorted features for animating colors and textures.
  • Cheat Commands: Guess.
  • NPC Dialogue Helpers: Allows customizing town NPC dialogue, including adding alerts.
  • Entity Groups: Provides named lists of items, NPCs, and projectiles grouped according to the given trait of the group's name.
  • tML Helpers: Features that could eventually exist in tML: Assorted new hooks and access to some internal tML classes.
  • UI Helpers: A wide range of helpful custom (and themeable) UI elements.
  • Menu Helpers: Features to safely add content to Terraria's main menu and it's UI components.
  • Sound Helpers: A 'lightweight' library for playing sounds with finely controllable pitch, volume, looping, etc.
  • Map Helpers: Adds features for drawing stuff to the (currently only fullscreen) map.
  • Camera Helpers: Adds features for manipulating the player's camera, including moving and adjusting it.
  • Free HUD: Simply turns the in-game HUD into a canvas for interaction-enabled UI elements.
  • Mod Control Panel: The current Mod Helpers control panel, as accessed above the player's inventory UI.
  • Mod Tags: The mod browser overlay currently implemented in Mod Helpers for filtering the mod list by tags.
 

Nightm4re

Terrarian
hey hamster, do you know why im not allowed to turn on cheat mode and change the config? It says im not approved or something when its my server
thanks
 

hamstar

Terrarian
hey hamster, do you know why im not allowed to turn on cheat mode and change the config? It says im not approved or something when its my server
thanks
You need to put your player's "uid" into a "privileged user" config field. There's a chat command to tell you what it is.
 

Ceoncii

Terrarian
Hello. The latest update bugged with multiplayer, the game became froze. It works fine if I disable the mod. Btw, here the log of my client and server.
 

Attachments

  • client.log
    40.9 KB · Views: 17
  • server.log
    15.8 KB · Views: 19
Top Bottom