tModLoader

tModLoader

评价数不足
Spiky's Lib
   
奖励
收藏
已收藏
取消收藏
模组功能: 模组类库
模组端: 不同步
tModLoader版本: 1.4.4
语言: 英语
文件大小
发表于
更新日期
627.266 KB
2024 年 4 月 27 日 上午 12:09
10 月 11 日 上午 10:56
10 项改动说明 ( 查看 )

订阅以下载
Spiky's Lib

在 Spiky 的 1 个合集中
Spiky's tML Mods
3 件物品
描述
Just a small library used by most of my mods.

Content
- Custom UI elements
- Terraria constants
- Custom data structures
- Extension methods from Terraria classes
- A generic reflection wrapper
- Notification templates
- Generic Math
- Config Porting tools
引用自 tModLoader SpikysLib
Developed By Spiky
6 条留言
[KGN]Knoggi 2024 年 10 月 12 日 上午 6:33 
Oh dang, thank you a lot, i am very happy i helped you and can play with your mods again i really like the convenience they add :3
Spiky  [作者] 2024 年 10 月 10 日 上午 11:54 
Thanks for logs, it was enough to find the problem!

When I updated the SPIC to 3.1, some fields in the configs changed name and I didn't port them properly, causing a crash when loading an old config.

Deleting the configs files "SPIC_InfinitySettings.json" and "SPIC_InfinityDisplay.json" in the "ModConfigs" folder (where players and worlds are stored) should do the trick.
If you want to keep your configs, I can tell you how to edit your them but I would not recommend it.

I will update Spiky's Lib (and SPIC) soon with this fix
[KGN]Knoggi 2024 年 10 月 10 日 上午 11:16 
The lib itself loads without issue funnily enough but as soon as i load the mod with it it says both of em are outdated
[KGN]Knoggi 2024 年 10 月 10 日 上午 10:58 
Spic says v3.1.1.3 and Lib is v1.1.0.1

I have a lot of other mods, but all of them worked before the mod loader upgrade i have not added or removed any of em

[19:49:44.335] [.NET TP Worker/INFO] [tML]: Disabling Mod: SPIC
[19:49:44.390] [.NET TP Worker/WARN] [tML]: Silently Caught Exception:

[19:49:44.335] [.NET TP Worker/ERROR] [tML]: An error occurred while loading SPIC v3.1.1.3
It has been detected that this mod was built for tModLoader v2024.3.3.3
However, you are using tModLoader v2024.8.3.2
The mod(s) and any dependencies have been automatically disabled.
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SpikysLib.IO.WrapperStringConverter.get_InnerConvertor() in SpikysLib/IO/WrapperConverter.cs:line 29

The entire error is sadly too long to post here
Spiky  [作者] 2024 年 10 月 10 日 上午 6:38 
Thats strange, as it loads without issue on my end.

What versions of SPIC and Spiky's Lib are you using? (it should be v3.1.1.3 and v1.1.0.1)
What other mods do you have enabled?
What is the precise error message in your "client.log" file? (located in the "tModLoader-Logs" folder in the game's folder)

I will update the mod if needed but I thing that there's something else.
[KGN]Knoggi 2024 年 10 月 10 日 上午 3:12 
Dear Spiky
Wen Using your Infinte Ammo Mod i get a Message saying that this Library here is outdated.

Is there a chance you will Upgrade you mod to the newest Tsable Version of TML?