tModLoader

tModLoader

Player Location Saving
[Bugs]
x for cleared
o for still present
< >
Zobrazeno 19 z 9 komentářů
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
Naposledy upravil DukeyNukey; 10. pro. 2021 v 11.51
Garretonzo  [vývojář] 7. pro. 2021 v 11.44 
This bug has since been fixed. Thanks for the detailed log, much appreciated!
thank you!
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. úno. 2022 v 21.42 
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?
@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.
Mechanos původně napsal:
@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.
the location saving should ideally consider subworlds separately or not at all, depending on how difficult it is to program
stop necro-posting
< >
Zobrazeno 19 z 9 komentářů
Na stránku: 1530 50