Replies: 2 comments 15 replies
-
Are you running 32-bit? Try run |
Beta Was this translation helpful? Give feedback.
-
after a lot of attempts and crawling through the net, I just recognized, that I only switched the kernel mode to 64bit, but not the OS. So the 64 bit dotnet will never work on it. Was able to revert all changes and start from scratch. Error on message Terraria.MessageBuffer |
Beta Was this translation helpful? Give feedback.
-
Hi,
very new here. I was able to install the 5.1.3 on my Raspberry and finally was able to create new worlds. Everything worked fine, unless I created a new middle sized world.
Joining the world was possible, the first save operation threw the following expeption.
Error on message Terraria.MessageBuffer System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction. at Glue:ThiscallStructRetPtr<Terraria.NPC::StrikeNPC,Hook<Terraria.NPC::StrikeNPC>?729210>(NPC , Double& , Int32 , Single , Int32 , Boolean , Boolean , Boolean , Entity ) at Terraria.MessageBuffer.GetData(Int32 start, Int32 length, Int32& messageType) at Terraria.NetMessage.CheckBytes(Int32 bufferIndex) Error on message Terraria.MessageBuffer System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction. at Glue:ThiscallStructRetPtr<Terraria.NPC::StrikeNPC,Hook<Terraria.NPC::StrikeNPC>?729210>(NPC , Double& , Int32 , Single , Int32 , Boolean , Boolean , Boolean , Entity ) at Terraria.MessageBuffer.GetData(Int32 start, Int32 length, Int32& messageType) at Terraria.NetMessage.CheckBytes(Int32 bufferIndex) Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Runtime.CompilerServices.CastHelpers.IsInstanceOfClass(Void*, System.Object) at TerrariaApi.Server.Hooking.NpcHooks.OnStrike(orig_StrikeNPC, Terraria.NPC, Int32, Single, Int32, Boolean, Boolean, Boolean, Terraria.Entity) at DynamicClass.Hook<Terraria.NPC::StrikeNPC>?729210(Terraria.NPC, Int32, Single, Int32, Boolean, Boolean, Boolean, Terraria.Entity) at DynamicClass.Glue:ThiscallStructRetPtr<Terraria.NPC::StrikeNPC,Hook<Terraria.NPC::StrikeNPC>?729210>(Terraria.NPC, Double ByRef, Int32, Single, Int32, Boolean, Boolean, Boolean, Terraria.Entity) at Terraria.MessageBuffer.GetData(Int32, Int32, Int32 ByRef) at Terraria.NetMessage.CheckBytes(Int32) at Terraria.Netplay.UpdateServerInMainThread() at Terraria.Netplay.UpdateInMainThread() at Terraria.Main.DoUpdate(Microsoft.Xna.Framework.GameTime ByRef) at Terraria.Main.Update(Microsoft.Xna.Framework.GameTime) at Terraria.Main.DedServ() at Terraria.Program.orig_RunGame() at Terraria.Program.RunGame() at Terraria.Program.LaunchGame(System.String[], Boolean) at Terraria.WindowsLaunch.orig_Main(System.String[]) at Terraria.WindowsLaunch.Main(System.String[]) at TerrariaApi.Server.Program.StartServer(System.String[]) at TerrariaApi.Server.Program.Main(System.String[]) at Program+<>c__DisplayClass0_0.<<Main>$>g__Start|1() at Program.<Main>$(System.String[])
I restarted the Pi and now starting TShock.Server throws also an exception. :(
Error on message Terraria.MessageBuffer System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction. at Glue:ThiscallStructRetPtr<Terraria.NPC::StrikeNPC,Hook<Terraria.NPC::StrikeNPC>?729210>(NPC , Double& , Int32 , Single , Int32 , Boolean , Boolean , Boolean , Entity ) at Terraria.MessageBuffer.GetData(Int32 start, Int32 length, Int32& messageType) at Terraria.NetMessage.CheckBytes(Int32 bufferIndex) Error on message Terraria.MessageBuffer System.DataMisalignedException: A datatype misalignment was detected in a load or store instruction. at Glue:ThiscallStructRetPtr<Terraria.NPC::StrikeNPC,Hook<Terraria.NPC::StrikeNPC>?729210>(NPC , Double& , Int32 , Single , Int32 , Boolean , Boolean , Boolean , Entity ) at Terraria.MessageBuffer.GetData(Int32 start, Int32 length, Int32& messageType) at Terraria.NetMessage.CheckBytes(Int32 bufferIndex) Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Runtime.CompilerServices.CastHelpers.IsInstanceOfClass(Void*, System.Object) at TerrariaApi.Server.Hooking.NpcHooks.OnStrike(orig_StrikeNPC, Terraria.NPC, Int32, Single, Int32, Boolean, Boolean, Boolean, Terraria.Entity) at DynamicClass.Hook<Terraria.NPC::StrikeNPC>?729210(Terraria.NPC, Int32, Single, Int32, Boolean, Boolean, Boolean, Terraria.Entity) at DynamicClass.Glue:ThiscallStructRetPtr<Terraria.NPC::StrikeNPC,Hook<Terraria.NPC::StrikeNPC>?729210>(Terraria.NPC, Double ByRef, Int32, Single, Int32, Boolean, Boolean, Boolean, Terraria.Entity) at Terraria.MessageBuffer.GetData(Int32, Int32, Int32 ByRef) at Terraria.NetMessage.CheckBytes(Int32) at Terraria.Netplay.UpdateServerInMainThread() at Terraria.Netplay.UpdateInMainThread() at Terraria.Main.DoUpdate(Microsoft.Xna.Framework.GameTime ByRef) at Terraria.Main.Update(Microsoft.Xna.Framework.GameTime) at Terraria.Main.DedServ() at Terraria.Program.orig_RunGame() at Terraria.Program.RunGame() at Terraria.Program.LaunchGame(System.String[], Boolean) at Terraria.WindowsLaunch.orig_Main(System.String[]) at Terraria.WindowsLaunch.Main(System.String[]) at TerrariaApi.Server.Program.StartServer(System.String[]) at TerrariaApi.Server.Program.Main(System.String[]) at Program+<>c__DisplayClass0_0.<<Main>$>g__Start|1() at Program.<Main>$(System.String[])
Any hints to that? Thanks for any help. Alex
Beta Was this translation helpful? Give feedback.
All reactions