Barotrauma 潜渊症

Barotrauma 潜渊症

Storage Icons
 此主题已被置顶,因此可能具有重要性
Dr. Turtle  [开发者] 2023 年 1 月 19 日 下午 6:50
Bug Reports and Suggestions
Please put bug reports and suggestions on github[github.com], if you don't have a github account, you can post them here instead.

For bugs, try to be specific and include steps to reproduce, console screenshots (if relevant), and a list of all mods being used at the time of encountering the bug.
最后由 Dr. Turtle 编辑于; 2023 年 4 月 29 日 上午 7:28
< >
正在显示第 1 - 15 条,共 23 条留言
Trixlight 2023 年 3 月 3 日 下午 11:17 
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
Dr. Turtle  [开发者] 2023 年 3 月 4 日 上午 8:54 
引用自 Trixlight
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
fixed in 0.7, ty for the report
Trixlight 2023 年 3 月 4 日 下午 8:33 
引用自 Dr. Turtle
Trixlight - why would you need to turn it on every time? I didn't use ForcedAutorun because it's unintuitive for a disabled mod to load. I know there is a setting to make ForcedAutorun the same as Autorun, but I imagine many users aren't aware of this (also, for things like this, please use bug reports so I can quote reply)

Well, it's not exactly a bug report...
Wait. Oh... Okay, I'm blind, but you'd better rename this discussion "Bug Reports & Suggestions".

Anyway! Since Client-Side Lua always works after installation (unless you manually uninstall it) so does most client-side mods too (Sort Container UI, BetterFabricatorUI, Item Drop Key, Performance Fix, etc.). There are some exceptions, but I think in the case of your mod it makes sense that it should always be active too. It's just that, especially because they behave that way, your mod stands out, and it seems odd.
Dr. Turtle  [开发者] 2023 年 3 月 5 日 下午 2:22 
引用自 Trixlight
引用自 Dr. Turtle
Trixlight - why would you need to turn it on every time? I didn't use ForcedAutorun because it's unintuitive for a disabled mod to load. I know there is a setting to make ForcedAutorun the same as Autorun, but I imagine many users aren't aware of this (also, for things like this, please use bug reports so I can quote reply)

Well, it's not exactly a bug report...
Wait. Oh... Okay, I'm blind, but you'd better rename this discussion "Bug Reports & Suggestions".

Anyway! Since Client-Side Lua always works after installation (unless you manually uninstall it) so does most client-side mods too (Sort Container UI, BetterFabricatorUI, Item Drop Key, Performance Fix, etc.). There are some exceptions, but I think in the case of your mod it makes sense that it should always be active too. It's just that, especially because they behave that way, your mod stands out, and it seems odd.
I've changed it to use ForcedAutorun, thanks for the feedback

also, I changed the description of the discussion after you posted your first comment, so no, you're not blind :P
最后由 Dr. Turtle 编辑于; 2023 年 3 月 5 日 下午 2:22
Trixlight 2023 年 3 月 8 日 上午 9:40 
If you have time, maybe you could consider adding integration with the Modding Toolkit? It would be nice to have a GUI :rbrb1:
Dr. Turtle  [开发者] 2023 年 3 月 9 日 上午 10:28 
引用自 Trixlight
If you have time, maybe you could consider adding integration with the Modding Toolkit? It would be nice to have a GUI :rbrb1:
unfortunately that would be a pain to test as modding toolkit only supports Windows atm
Trixlight 2023 年 3 月 9 日 下午 7:21 
Oh, well. But that's okay, it's just something to look out for in the future.
Bartholomew III 2023 年 4 月 11 日 下午 2:05 
Suggestion: Show up to four icons (2x2 grid) when there is more than one item type (would help to find misplaced items).

Is the code open-source? This would be a fun way for me to learn lua, if you allow contributions :)
Dr. Turtle  [开发者] 2023 年 4 月 11 日 下午 6:13 
引用自 Bartholomew III
Suggestion: Show up to four icons (2x2 grid) when there is more than one item type (would help to find misplaced items).

Is the code open-source? This would be a fun way for me to learn lua, if you allow contributions :)
I was originally planning on that, but i found it was hard to see, I just published the source, I'd be happy to accept contributions if you wish to add the option. Here's the source[github.com]
Rether 2023 年 6 月 22 日 下午 9:25 
Seems like the most recent update to the mod broke it as now it stopped working and would spam the console with the same error message until it lags the whole session really badly. I've already tried reinstalling lua, storage icons and even the game itself but it still shows up the same error. I've checked if it loaded with cl_lua and it is showing up in there. The error message says "[CL LUA ERROR] C:/Users/-/AppData/Local/2920200449/Lua/storageicons.lua:(105,1-28): cannot convert clr type Barotrauma.VisualSlot".
最后由 Rether 编辑于; 2023 年 6 月 22 日 下午 9:30
С Г エ χ 2023 年 6 月 22 日 下午 9:35 
Oh, I thought it was just me. I'm getting the same error
[LE]Jumzie 2023 年 6 月 22 日 下午 11:06 
引用自 Rether
Seems like the most recent update to the mod broke it as now it stopped working and would spam the console with the same error message until it lags the whole session really badly. I've already tried reinstalling lua, storage icons and even the game itself but it still shows up the same error. I've checked if it loaded with cl_lua and it is showing up in there. The error message says "[CL LUA ERROR] C:/Users/-/AppData/Local/2920200449/Lua/storageicons.lua:(105,1-28): cannot convert clr type Barotrauma.VisualSlot".

Same issue
Nupaska 2023 年 6 月 23 日 上午 2:45 
引用自 LEJumzie
引用自 Rether
Seems like the most recent update to the mod broke it as now it stopped working and would spam the console with the same error message until it lags the whole session really badly. I've already tried reinstalling lua, storage icons and even the game itself but it still shows up the same error. I've checked if it loaded with cl_lua and it is showing up in there. The error message says "[CL LUA ERROR] C:/Users/-/AppData/Local/2920200449/Lua/storageicons.lua:(105,1-28): cannot convert clr type Barotrauma.VisualSlot".

Same issue

Same issue
OMGkawaiiAngel-chan 2023 年 6 月 23 日 上午 8:47 
The mod suddenly stopped working after I installed other mods, but it didn't work even after uninstalling and deleting them.

I already tried reinstalling Lua by deleting the mod and also deleting this mod but didn't work.
Tried a fresh install by deleting the game and all workshop items but also didn't work.

This is the error code that I got.

[CL LUA ERROR] C:/Users/[user]/AppData/Local/Daedalic blablabla/Barotrauma/WorkshopMods/Installed/2920200449/Lua/storageicons.lua:(105.1-28): cannot convert clr type Barotrauma.VisualSlot

Edit: Seems like this is the same issue as the others.
最后由 OMGkawaiiAngel-chan 编辑于; 2023 年 6 月 23 日 上午 8:48
Dr. Turtle  [开发者] 2023 年 6 月 23 日 下午 1:20 
引用自 Rether
Seems like the most recent update to the mod broke it as now it stopped working and would spam the console with the same error message until it lags the whole session really badly. I've already tried reinstalling lua, storage icons and even the game itself but it still shows up the same error. I've checked if it loaded with cl_lua and it is showing up in there. The error message says "[CL LUA ERROR] C:/Users/-/AppData/Local/2920200449/Lua/storageicons.lua:(105,1-28): cannot convert clr type Barotrauma.VisualSlot".
ty for the report, I just released an update, please let me know if this fixes it
< >
正在显示第 1 - 15 条,共 23 条留言
每页显示数: 1530 50