Barotrauma

Barotrauma

Storage Icons
 This topic has been pinned, so it's probably important
Dr. Turtle  [developer] 19 Jan, 2023 @ 6:50pm
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.
Last edited by Dr. Turtle; 29 Apr, 2023 @ 7:28am
< >
Showing 1-15 of 23 comments
Trixlight 3 Mar, 2023 @ 11:17pm 
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
Dr. Turtle  [developer] 4 Mar, 2023 @ 8:54am 
Originally posted by 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 4 Mar, 2023 @ 8:33pm 
Originally posted by 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  [developer] 5 Mar, 2023 @ 2:22pm 
Originally posted by Trixlight:
Originally posted by 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
Last edited by Dr. Turtle; 5 Mar, 2023 @ 2:22pm
Trixlight 8 Mar, 2023 @ 9:40am 
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  [developer] 9 Mar, 2023 @ 10:28am 
Originally posted by 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 9 Mar, 2023 @ 7:21pm 
Oh, well. But that's okay, it's just something to look out for in the future.
Bartholomew III 11 Apr, 2023 @ 2:05pm 
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  [developer] 11 Apr, 2023 @ 6:13pm 
Originally posted by 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 22 Jun, 2023 @ 9:25pm 
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".
Last edited by Rether; 22 Jun, 2023 @ 9:30pm
С Г エ χ 22 Jun, 2023 @ 9:35pm 
Oh, I thought it was just me. I'm getting the same error
[LE]Jumzie 22 Jun, 2023 @ 11:06pm 
Originally posted by 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 23 Jun, 2023 @ 2:45am 
Originally posted by LEJumzie:
Originally posted by 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
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.
Last edited by OMGkawaiiAngel-chan; 23 Jun, 2023 @ 8:48am
Dr. Turtle  [developer] 23 Jun, 2023 @ 1:20pm 
Originally posted by 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
< >
Showing 1-15 of 23 comments
Per page: 1530 50