tModLoader

tModLoader

Player Location Saving
DukeyNukey 17 Nov, 2021 @ 9:25pm
[Bugs]
x for cleared
o for still present
< >
Showing 1-9 of 9 comments
DukeyNukey 17 Nov, 2021 @ 9:29pm 
X;MOD DOESN'T LOAD


21:22:02] [.NET ThreadPool Worker/INFO] [tML]: Initializing: PlayerLocationSaving v1.4.0
[21:22:02] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception:
System.Exception: PlayerLocationSaving.MyPlayer has old Load/Save callbacks but not new LoadData/SaveData ones, not loading the mod to avoid wiping mod data
at Terraria.ModLoader.PlayerLoader.VerifyModPlayer(ModPlayer player) in tModLoader\Terraria\ModLoader\PlayerLoader.cs:line 981
at Terraria.ModLoader.ModPlayer.Register() in tModLoader\Terraria\ModLoader\ModPlayer.cs:line 44
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in tModLoader\Terraria\ModLoader\ModType.cs:line 26
at Terraria.ModLoader.Mod.AddContent(ILoadable instance) in tModLoader\Terraria\ModLoader\Mod.cs:line 140
at Terraria.ModLoader.Mod.Autoload() in tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 77
at Terraria.ModLoader.ModContent.<>c.<Load>b__41_0(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 302
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 358
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 297
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
at Terraria.ModLoader.ModLoader.<>c__DisplayClass45_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 114
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__271_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
at System.Threading.Tasks.Task.ExecuteEntryUnsafe(Thread threadPoolThread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

[21:22:02] [.NET ThreadPool Worker/ERROR] [tML]: An error occurred while loading PlayerLocationSaving
The mod(s) have been automatically disabled.
System.Exception: PlayerLocationSaving.MyPlayer has old Load/Save callbacks but not new LoadData/SaveData ones, not loading the mod to avoid wiping mod data
at Terraria.ModLoader.PlayerLoader.VerifyModPlayer(ModPlayer player) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\PlayerLoader.cs:line 981
at Terraria.ModLoader.ModPlayer.Register() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\ModPlayer.cs:line 44
at Terraria.ModLoader.ModType.Terraria.ModLoader.ILoadable.Load(Mod mod) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\ModType.cs:line 26
at Terraria.ModLoader.Mod.AddContent(ILoadable instance) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Mod.cs:line 140
at Terraria.ModLoader.Mod.Autoload() in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\Mod.Internals.cs:line 77
at Terraria.ModLoader.ModContent.<>c.<Load>b__41_0(Mod mod) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\ModContent.cs:line 302
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\ModContent.cs:line 358
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\ModContent.cs:line 297
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in D:\a\tModLoader\tModLoader\src\tModLoader\Terraria\ModLoader\ModLoader.cs:line 134
[21:22:02] [.NET ThreadPool Worker/INFO] [tML]: Disabling Mod: PlayerLocationSaving
Last edited by DukeyNukey; 10 Dec, 2021 @ 11:51am
Garretonzo  [developer] 7 Dec, 2021 @ 11:44am 
This bug has since been fixed. Thanks for the detailed log, much appreciated!
DukeyNukey 10 Dec, 2021 @ 11:50am 
thank you!
Sulphur 18 Feb, 2022 @ 6:03pm 
when you die then leave the world (while you are dead), you'll respawn at your death
try to make it that when you die it doesn't save your location
Raden 28 Feb, 2022 @ 9:42pm 
That's not a bug, that's how the mod works. You log in where you logged out. Why would you log out while dead to begin with, and why would you even think this is a bug?
Mechanos 4 Apr, 2022 @ 4:56pm 
@Raden - wat? He's literally saying that you can exploit the mod in order to get back to your grave instantly. That "is" a bug, as I don't see anywhere in the description where this mod is intended to be used to bypass death mechanics. The fix, would be to check if the player is dead when they logout, and if they are, don't save their location. That way when they rejoin, they're not spawning at their grave for free.
sqworm 27 Apr, 2022 @ 2:34am 
Originally posted by Mechanos:
@Raden - wat? He's literally saying that you can exploit the mod in order to get back to your grave instantly. That "is" a bug, as I don't see anywhere in the description where this mod is intended to be used to bypass death mechanics. The fix, would be to check if the player is dead when they logout, and if they are, don't save their location. That way when they rejoin, they're not spawning at their grave for free.

Or maybe make it toggle-able? Like, "Save Location on Death" with "On" or "Off" next to it. Sometimes it's useful to be where you died, sometimes it isn't.
Wombat 26 Aug, 2024 @ 5:06am 
the location saving should ideally consider subworlds separately or not at all, depending on how difficult it is to program
DukeyNukey 26 Aug, 2024 @ 12:29pm 
stop necro-posting
< >
Showing 1-9 of 9 comments
Per page: 1530 50