tModLoader

tModLoader

Player Location Saving
DukeyNukey 2021 年 11 月 17 日 下午 9:25
[Bugs]
x for cleared
o for still present
< >
目前顯示第 1-9 則留言,共 9
DukeyNukey 2021 年 11 月 17 日 下午 9:29 
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
最後修改者:DukeyNukey; 2021 年 12 月 10 日 上午 11:51
Garretonzo  [開發人員] 2021 年 12 月 7 日 上午 11:44 
This bug has since been fixed. Thanks for the detailed log, much appreciated!
DukeyNukey 2021 年 12 月 10 日 上午 11:50 
thank you!
Sulphur 2022 年 2 月 18 日 下午 6:03 
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 2022 年 2 月 28 日 下午 9: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?
Mechanos 2022 年 4 月 4 日 下午 4:56 
@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 2022 年 4 月 27 日 上午 2:34 
引用自 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 2024 年 8 月 26 日 上午 5:06 
the location saving should ideally consider subworlds separately or not at all, depending on how difficult it is to program
DukeyNukey 2024 年 8 月 26 日 下午 12:29 
stop necro-posting
< >
目前顯示第 1-9 則留言,共 9
每頁顯示: 1530 50