tModLoader

tModLoader

AFK's PETS and more(Alpha)
JJ's Place Jan 10, 2024 @ 8:39pm
Small boss checklist format bug with The Ancient Guardian
There is a small exception with the The Ancient Guardian on the boss checklist. It doesn't appear to cause any noticeable in game issue, just throws and exception in the logs.

System.FormatException: Input string was not in a correct format.
at System.Text.ValueStringBuilder.ThrowFormatError()
at System.Text.ValueStringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
at System.String.Format(String format, Object[] args)
at Terraria.Localization.LocalizedText.Format(Object[] args) in tModLoader\Terraria\Localization\LocalizedText.TML.cs:line 97
at BossChecklist.BossChecklist.LogWarning(String key, Boolean requiresConfig, Object[] args) in BossChecklist.cs:line 93
at BossChecklist.BossChecklist.Call(Object[] args) in BossChecklist.cs:line 180
at AFKPETS.AFKPetsCrossModSupport.BossChecklistSupport() in AFKPetsCrossModSupport.cs:line 337
at Terraria.ModLoader.SystemLoader.PostSetupContent(Mod mod) in tModLoader\Terraria\ModLoader\SystemLoader.cs:line 65
at Terraria.ModLoader.ModContent.<>c.<Load>b__43_2(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 315
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 377
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 313
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 127
at Terraria.ModLoader.ModLoader.<>c__DisplayClass47_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 107
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_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.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

[22:27:05.972] [.NET ThreadPool Worker/WARN] [tML]: Silently Caught Exception:
System.Exception: The localization key:
"Mods.BossChecklist.LogMessage.MustContainName"
with a value of:
"Invalid internal name passed ({internalName}). Your call must contain a string comprised of letters and/or digits without whitespace characters in order to generate an entry key."
failed to be formatted with the inputs:
[The Ancient Guardian]
at Terraria.Localization.LocalizedText.Format(Object[] args) in tModLoader\Terraria\Localization\LocalizedText.TML.cs:line 97
at BossChecklist.BossChecklist.LogWarning(String key, Boolean requiresConfig, Object[] args) in BossChecklist.cs:line 93
at BossChecklist.BossChecklist.Call(Object[] args) in BossChecklist.cs:line 180
at AFKPETS.AFKPetsCrossModSupport.BossChecklistSupport() in AFKPetsCrossModSupport.cs:line 337
at Terraria.ModLoader.SystemLoader.PostSetupContent(Mod mod) in tModLoader\Terraria\ModLoader\SystemLoader.cs:line 65
at Terraria.ModLoader.ModContent.<>c.<Load>b__43_2(Mod mod) in tModLoader\Terraria\ModLoader\ModContent.cs:line 315
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction) in tModLoader\Terraria\ModLoader\ModContent.cs:line 377
at Terraria.ModLoader.ModContent.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModContent.cs:line 313
at Terraria.ModLoader.ModLoader.Load(CancellationToken token) in tModLoader\Terraria\ModLoader\ModLoader.cs:line 127
at Terraria.ModLoader.ModLoader.<>c__DisplayClass47_0.<BeginLoad>b__0() in tModLoader\Terraria\ModLoader\ModLoader.cs:line 107
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_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.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()

[22:27:05.973] [.NET ThreadPool Worker/ERROR] [BossChecklist]: Call Error: at Terraria.Localization.LocalizedText.Format(Object[] args) in tModLoader\Terraria\Localization\LocalizedText.TML.cs:line 104
at BossChecklist.BossChecklist.LogWarning(String key, Boolean requiresConfig, Object[] args) in BossChecklist.cs:line 93
at BossChecklist.BossChecklist.Call(Object[] args) in BossChecklist.cs:line 180 The localization key:
"Mods.BossChecklist.LogMessage.MustContainName"
with a value of:
"Invalid internal name passed ({internalName}). Your call must contain a string comprised of letters and/or digits without whitespace characters in order to generate an entry key."
failed to be formatted with the inputs:
[The Ancient Guardian]
< >
Showing 1-2 of 2 comments
Sir AFK  [developer] Jan 13, 2024 @ 12:50pm 
Noted. Will apply for future update. Thanks.
JJ's Place Sep 2, 2024 @ 1:05pm 
Update: there is still a call issues with the ancient guardian and also call errors with census mod

logs:
[14:58:19.240] [.NET TP Worker/WARN] [tML]: Silently Caught Exception:
System.Exception: Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs
at Census.CensusSystem.Call(Object[] args)
at AFKPETS.AFKPetsCrossModSupport.CensusSupport()
at AFKPETS.AFKPetsCrossModSupport.PostSetupContent()
at Terraria.ModLoader.SystemLoader.PostSetupContent(Mod mod)
at Terraria.ModLoader.ModContent.<>c.<Load>b__44_2(Mod mod)
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
at Terraria.ModLoader.ModContent.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.<>c__DisplayClass46_0.<BeginLoad>b__0()
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.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

[14:58:19.241] [.NET TP Worker/ERROR] [Census]: Census Call Error: at Census.CensusSystem.Call(Object[] args) in CensusSystem.cs:line 520Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs
[14:58:19.242] [.NET TP Worker/ERROR] [Census]: Census Call Error: at Census.CensusSystem.Call(Object[] args) in CensusSystem.cs:line 520Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs
[14:58:19.242] [.NET TP Worker/ERROR] [Census]: Census Call Error: at Census.CensusSystem.Call(Object[] args) in CensusSystem.cs:line 520Call Error: The 2nd parameter of TownNPCCondition is now LocalizedText and is optional. Also, localization is now automatic, keys will appear in your hjson files. This TownNPCCondition Mod.Call is only needed if using LocalizedText.WithFormatArgs
[14:58:19.245] [.NET TP Worker/WARN] [tML]: Silently Caught Exception:
System.FormatException: Input string was not in a correct format. Failure to parse near offset 31. Expected an ASCII digit.
at System.Text.ValueStringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
at System.String.FormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args)
at System.String.Format(String format, Object[] args)
at Terraria.Localization.LocalizedText.Format(Object[] args)
at BossChecklist.BossChecklist.LogWarning(String key, Boolean requiresConfig, Object[] args)
at BossChecklist.BossChecklist.Call(Object[] args)
at AFKPETS.AFKPetsCrossModSupport.BossChecklistSupport()
at Terraria.ModLoader.SystemLoader.PostSetupContent(Mod mod)
at Terraria.ModLoader.ModContent.<>c.<Load>b__44_2(Mod mod)
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
at Terraria.ModLoader.ModContent.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.<>c__DisplayClass46_0.<BeginLoad>b__0()
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.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

[14:58:19.247] [.NET TP Worker/WARN] [tML]: Silently Caught Exception:
System.Exception: The localization key:
"Mods.BossChecklist.LogMessage.MustContainName"
with a value of:
"Invalid internal name passed ({internalName}). Your call must contain a string comprised of letters and/or digits without whitespace characters in order to generate an entry key."
failed to be formatted with the inputs:
[The Ancient Guardian]
at Terraria.Localization.LocalizedText.Format(Object[] args)
at BossChecklist.BossChecklist.LogWarning(String key, Boolean requiresConfig, Object[] args)
at BossChecklist.BossChecklist.Call(Object[] args)
at AFKPETS.AFKPetsCrossModSupport.BossChecklistSupport()
at Terraria.ModLoader.SystemLoader.PostSetupContent(Mod mod)
at Terraria.ModLoader.ModContent.<>c.<Load>b__44_2(Mod mod)
at Terraria.ModLoader.ModContent.LoadModContent(CancellationToken token, Action`1 loadAction)
at Terraria.ModLoader.ModContent.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.Load(CancellationToken token)
at Terraria.ModLoader.ModLoader.<>c__DisplayClass46_0.<BeginLoad>b__0()
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.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()

[14:58:19.248] [.NET TP Worker/ERROR] [BossChecklist]: Call Error: at Terraria.Localization.LocalizedText.Format(Object[] args) in tModLoader\Terraria\Localization\LocalizedText.TML.cs:line 104
at BossChecklist.BossChecklist.LogWarning(String key, Boolean requiresConfig, Object[] args) in BossChecklist.cs:line 95
at BossChecklist.BossChecklist.Call(Object[] args) in BossChecklist.cs:line 180 The localization key:
"Mods.BossChecklist.LogMessage.MustContainName"
with a value of:
"Invalid internal name passed ({internalName}). Your call must contain a string comprised of letters and/or digits without whitespace characters in order to generate an entry key."
failed to be formatted with the inputs:
[The Ancient Guardian]
Last edited by JJ's Place; Sep 2, 2024 @ 1:06pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50