tModLoader

tModLoader

Radiance
SuperBacon 1 Aug, 2022 @ 9:53pm
Wings buggin the game
Equipings wings while the mod is enabled freezes the the player.:lunar2019piginablanket:
< >
Showing 1-11 of 11 comments
Stellar  [developer] 3 Aug, 2022 @ 11:32am 
I cannot reproduce this. Provide an error log and I might be able to fix it.

Could possibly be an OS-specific issue. I've only seen non-Windows users have this problem so far.
Last edited by Stellar; 3 Aug, 2022 @ 3:22pm
SuperBacon 3 Aug, 2022 @ 8:53pm 
so i reenabled on the latest version and i havent had the bug but if it happens again ill send an error log
Last edited by SuperBacon; 3 Aug, 2022 @ 8:53pm
Sir Tibia The 1th 11 Aug, 2022 @ 6:03pm 
happens to me too
Stellar  [developer] 11 Aug, 2022 @ 9:22pm 
Can you post the original exception from your error log?

I need information on what's going wrong. This doesn't happen on my end.
SuperBacon 11 Aug, 2022 @ 11:16pm 
so i realized that since ive been playin on steam deck it freezes cuz its a linux based os
Stellar  [developer] 12 Aug, 2022 @ 11:32am 
Post the error from your log.

I do not have a Linux machine, or any experience with VMs, so I can't test it.
Last edited by Stellar; 13 Aug, 2022 @ 2:38pm
wya77 25 Aug, 2022 @ 12:13pm 
Originally posted by StellarGamez:
Post the error from your log.

I do not have a Linux machine, or any experience with VMs, so I can't test it.

an error log isn't made the game just freezes
sometimes it doesn't freeze but no movement works

i probably won't be active here so add me on discord aiden <3#0945
Last edited by wya77; 25 Aug, 2022 @ 12:13pm
Stellar  [developer] 25 Aug, 2022 @ 2:20pm 
The game doesn't crash, but there will still be a log file generated at: Steam/steamapps/common/tModLoader/tModLoader-logs/client.log

It should contain the exception thrown. Also if you want to talk, just DM me. I'm in the tModLoader discord.
wya77 26 Aug, 2022 @ 9:05am 
Originally posted by StellarGamez:
The game doesn't crash, but there will still be a log file generated at: Steam/steamapps/common/tModLoader/tModLoader-logs/client.log

It should contain the exception thrown. Also if you want to talk, just DM me. I'm in the tModLoader discord.

[12:03:19.174] [Main Thread/INFO] [tML]: Save Are Located At: /home/aiden/.local/share/Terraria/tModLoader-preview [12:03:19.224] [Main Thread/INFO] [tML]: Starting tModLoader client 1.4.3.6+2022.08.51.0|1.4-preview|Preview|43964cb6324f63b14c4a465083fa22ef5cd6daa7|5249654025309819164 built 08/22/2022 17:31 [12:03:19.227] [Main Thread/INFO] [tML]: Log date: 08/26/2022 [12:03:19.227] [Main Thread/INFO] [tML]: Running on Linux (v5.18.13.1) X64 NetCore 6.0.0 [12:03:19.227] [Main Thread/INFO] [tML]: Executable: /home/aiden/.local/share/Steam/steamapps/common/tModLoader/tModLoader.dll [12:03:19.227] [Main Thread/INFO] [tML]: Working Directory: /home/aiden/.local/share/Steam/steamapps/common/tModLoader [12:03:19.229] [Main Thread/INFO] [tML]: Developer mode enabled [12:03:20.400] [Main Thread/DEBUG] [FNA]: Querying linked library versions... [12:03:20.410] [Main Thread/DEBUG] [FNA]: SDL v2.0.22 [12:03:20.412] [Main Thread/DEBUG] [tML]: Native Resolve: FNA, Version=22.7.0.0, Culture=neutral, PublicKeyToken=null -> FNA3D [12:03:20.412] [Main Thread/DEBUG] [tML]: attempting to load '/home/aiden/.local/share/Steam/steamapps/common/tModLoader/Libraries/Native/Linux/libFNA3D.so.0'... [12:03:20.420] [Main Thread/DEBUG] [tML]: success [12:03:20.421] [Main Thread/DEBUG] [FNA]: FNA3D v22.7.0 [12:03:20.422] [Main Thread/DEBUG] [FNA]: FAudio v22.7.0 [12:03:22.892] [Main Thread/INFO] [tML]: Distribution Platform: Steam. Detection method: CWD is /steamapps/ [12:03:22.977] [Main Thread/DEBUG] [tML]: Process.Start (UseShellExecute = False): "/home/aiden/.local/share/Steam/steamapps/common/tModLoader/dotnet/6.0.0/dotnet" tModLoader.dll -terrariasteamclient 147 [12:03:23.790] [Main Thread/DEBUG] [TerrariaSteamClient]: Recv: init_success [12:03:23.792] [Main Thread/DEBUG] [TerrariaSteamClient]: Send: acknowledged [12:03:23.823] [Main Thread/DEBUG] [tML]: Hook IL.Ionic.Zip.ZipEntry::ValidateOutput(string, Stream, out string) modified by tModLoader [12:03:26.323] [Main Thread/INFO] [Terraria]: Steam Cloud Quota: 147.7 MB available [12:03:26.400] [Main Thread/INFO] [FNA]: FNA3D Driver: OpenGL [12:03:26.400] [Main Thread/INFO] [FNA]: OpenGL Renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2) [12:03:26.400] [Main Thread/INFO] [FNA]: OpenGL Driver: 4.2 (Compatibility Profile) Mesa 22.1.3 [12:03:26.400] [Main Thread/INFO] [FNA]: OpenGL Vendor: Intel [12:03:26.403] [Main Thread/INFO] [FNA]: MojoShader Profile: glsl120 [12:03:26.434] [Main Thread/INFO] [tML]: Terraria Steam Install Location assumed to be: /home/aiden/.local/share/Steam/steamapps/common/Terraria [12:03:27.304] [Main Thread/DEBUG] [Terraria]: Device Created, Adapter: 0, DisplayMode: {{Width:1366 Height:768 Format:Color}}, Profile: Reach, Width: 800, Height: 480, Fullscreen: False, Display: \\.\DISPLAY1 [12:03:27.388] [Main Thread/DEBUG] [Terraria]: Device Reset, Adapter: 0, DisplayMode: {{Width:1366 Height:768 Format:Color}}, Profile: Reach, Width: 800 -> 2049, Height: 480 -> 1087, Fullscreen: False, Display: \\.\DISPLAY1 [12:03:33.508] [Main Thread/DEBUG] [tML]: Native Resolve: tModLoader, Version=1.4.3.6, Culture=neutral, PublicKeyToken=null -> RzChromaSDK64.dll [12:03:43.873] [9/DEBUG] [tML]: SSDP search line seperator: CRLF [12:04:06.067] [.NET ThreadPool Worker/INFO] [tML]: Finding Mods... [12:04:06.074] [.NET ThreadPool Worker/INFO] [tML]: Sandboxing: HEROsMod (HERO's Mod) v0.4.8 [12:04:06.279] [.NET ThreadPool Worker/INFO] [tML]: Sandboxing: Radiance (Radiance) v3.12.2.7 [12:04:06.294] [.NET ThreadPool Worker/INFO] [tML]: Constructing Mods... [12:04:06.489] [.NET ThreadPool Worker/INFO] [tML]: Adding Content: ModLoader (tModLoader) v2022.8.51.0 [12:04:06.596] [.NET ThreadPool Worker/INFO] [tML]: Adding Content: HEROsMod (HERO's Mod) v0.4.8 [12:04:07.893] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Player::ChatColor() added by HEROsMod [12:04:07.953] [.NET ThreadPool Worker/INFO] [tML]: Adding Content: Radiance (Radiance) v3.12.2.7 [12:04:08.476] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.NPC::UpdateFoundActiveNPCs() added by Radiance [12:04:08.486] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.NPC::TargetClosest(bool) added by Radiance [12:04:08.522] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.NPC::DoesntDespawnToInactivity() added by Radiance [12:04:08.530] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawNPCDirect_GetHallowBossArmFrame(NPC, out int, out int, out int) added by Radiance [12:04:08.535] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawNPCDirect_HallowBoss(SpriteBatch, NPC, ref Vector2, int, ref Color, ref Vector2, SpriteEffects) added by Radiance [12:04:08.568] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.NPC::DoDeathEvents(Player) added by Radiance [12:04:08.593] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Player::GetWingStats(int) added by Radiance [12:04:08.596] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Player::Hurt(PlayerDeathReason, int, int, bool, bool, bool, int) added by Radiance [12:04:08.656] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Graphics.Renderers.LegacyPlayerRenderer::DrawPlayerFull(Camera, Player) added by Radiance [12:04:08.673] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Player::AddBuff(int, int, bool, bool) added by Radiance [12:04:08.680] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Projectile::GetFairyQueenWeaponsColor(float, float, Nullable`1) added by Radiance [12:04:08.702] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawProjectiles() added by Radiance [12:04:08.710] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::hslToRgb(float, float, float, byte) added by Radiance [12:04:08.716] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawWhip_RainbowWhip(Projectile, List`1) added by Radiance [12:04:08.728] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawMurderAurora(Projectile) added by Radiance [12:04:08.739] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Projectile::CanHitWithMeleeWeapon(Entity) added by Radiance [12:04:08.748] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Projectile::Damage() added by Radiance [12:04:08.872] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.NPC::AddBuff(int, int, bool) added by Radiance [12:04:08.879] [.NET ThreadPool Worker/DEBUG] [tML]: Hook IL.Terraria.Main::DoDraw(GameTime) modified by Radiance [12:04:09.004] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawBackground() added by Radiance [12:04:09.558] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Main::DrawDust() added by Radiance [12:04:09.576] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Projectile::ProjectileFixDesperation() added by Radiance [12:04:09.580] [.NET ThreadPool Worker/DEBUG] [tML]: Hook On.Terraria.Audio.SoundEngine::PlaySound(ref SoundStyle, Nullable`1) added by Radiance [12:04:09.642] [.NET ThreadPool Worker/INFO] [tML]: Resizing... [12:04:09.885] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: ModLoader (tModLoader) v2022.8.51.0 [12:04:09.947] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: HEROsMod (HERO's Mod) v0.4.8 [12:04:09.996] [.NET ThreadPool Worker/INFO] [tML]: Configuring Content: Radiance (Radiance) v3.12.2.7 [12:04:10.173] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: ModLoader (tModLoader) v2022.8.51.0 [12:04:10.230] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: HEROsMod (HERO's Mod) v0.4.8 [12:04:10.286] [.NET ThreadPool Worker/INFO] [tML]: Finalizing Content: Radiance (Radiance) v3.12.2.7 [12:04:10.352] [.NET ThreadPool Worker/INFO] [tML]: RAM usage: 1.1 GB [12:04:10.452] [.NET ThreadPool Worker/INFO] [tML]: Adding Recipes... [12:04:20.424] [.NET ThreadPool Worker/INFO] [Terraria]: Loading World: radiance, IsCloud=False [12:04:20.490] [.NET ThreadPool Worker/INFO] [StatusText]: Loading world data [12:04:21.098] [.NET ThreadPool Worker/INFO] [StatusText]: Settling liquids [12:04:21.486] [.NET ThreadPool Worker/INFO] [StatusText]: Loading map data [12:04:21.525] [.NET ThreadPool Worker/INFO] [StatusText]: Drawing map [12:04:21.794] [Main Thread/INFO] [Terraria]: Entering world with player: br, IsCloud=False, Size=4200x1200 [12:04:21.996] [Main Thread/WARN] [tML]: Silently Caught Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Terraria.Player.TryGetModPlayer[T](T baseInstance, T& result) in tModLoader\Terraria\Player.TML.cs:line 52 at Radiance.PlayerTweaks.GetWingStats(orig_GetWingStats orig, Player self, Int32 wingID) in Radiance\PlayerTweaks.cs:line 182 at Terraria.Player.ApplyEquipFunctional(Item currentItem, Boolean hideVisual) in tModLoader\Terraria\Player.cs:line 11132 at Terraria.Player.UpdateEquips(Int32 i) in tModLoader\Terraria\Player.cs:line 10054 at Terraria.Player.Update(Int32 i) in tModLoader\Terraria\Player.cs:line 18920 at Terraria.Main.DoUpdateInWorld(Stopwatch sw) in tModLoader\Terraria\Main.cs:line 13485 at Terraria.Main.DoUpdate(GameTime& gameTime) in tModLoader\Terraria\Main.cs:line 13131 at Terraria.Main.Update(GameTime gameTime) in tModLoader\Terraria\Main.cs:line 12686 at Microsoft.Xna.Framework.Game.Tick() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 488 at Microsoft.Xna.Framework.Game.RunLoop() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 878 at Microsoft.Xna.Framework.Game.Run() in D:\a\tModLoader\tModLoader\FNA\src\Game.cs:line 419 at Terraria.Program.LaunchGame_(Boolean isServer) in tModLoader\Terraria\Program.cs:line 231 at Terraria.Program.LaunchGame(String[] args, Boolean monoArgs) in tModLoader\Terraria\Program.cs:line 192 at MonoLaunch.<>c__DisplayClass1_0.<Main>b__0() in tModLoader\Terraria\MonoLaunch.cs:line 56 at MonoLaunch.Main(String[] args) in tModLoader\Terraria\MonoLaunch.cs:line 64
不足 26 Aug, 2022 @ 9:06am 
Originally posted by StellarGamez:
Post the error from your log.

I do not have a Linux machine, or any experience with VMs, so I can't test it.
Stellar  [developer] 28 Aug, 2022 @ 2:52pm 
Player.TryGetModPlayer() shouldn't even throw exceptions, so there's some seriously screwed up stuff going on.

I've published an update to preview that should hopefully catch this seemingly impossible exception and fall back on a more robust implementation. It will still log something when the error occurs, but the alternate implementation shouldn't crash, so you'll be able to play fine.
< >
Showing 1-11 of 11 comments
Per page: 1530 50