Barotrauma

Barotrauma

Storage Icons
 Denne tråd er blevet fastgjort, så den er sikkert vigtig
Dr. Turtle  [udvikler] 19. jan. 2023 kl. 18: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.
Sidst redigeret af Dr. Turtle; 29. apr. 2023 kl. 7:28
< >
Viser 1-15 af 23 kommentarer
Trixlight 3. mar. 2023 kl. 23:17 
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
Dr. Turtle  [udvikler] 4. mar. 2023 kl. 8:54 
Oprindeligt skrevet af 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 kl. 20:33 
Oprindeligt skrevet af 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  [udvikler] 5. mar. 2023 kl. 14:22 
Oprindeligt skrevet af Trixlight:
Oprindeligt skrevet af 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
Sidst redigeret af Dr. Turtle; 5. mar. 2023 kl. 14:22
Trixlight 8. mar. 2023 kl. 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  [udvikler] 9. mar. 2023 kl. 10:28 
Oprindeligt skrevet af 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 kl. 19:21 
Oh, well. But that's okay, it's just something to look out for in the future.
Bartholomew III 11. apr. 2023 kl. 14: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  [udvikler] 11. apr. 2023 kl. 18:13 
Oprindeligt skrevet af 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. juni 2023 kl. 21: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".
Sidst redigeret af Rether; 22. juni 2023 kl. 21:30
С Г エ χ 22. juni 2023 kl. 21:35 
Oh, I thought it was just me. I'm getting the same error
[LE]Jumzie 22. juni 2023 kl. 23:06 
Oprindeligt skrevet af 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. juni 2023 kl. 2:45 
Oprindeligt skrevet af LEJumzie:
Oprindeligt skrevet af 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 23. juni 2023 kl. 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.
Sidst redigeret af OMGkawaiiAngel-chan; 23. juni 2023 kl. 8:48
Dr. Turtle  [udvikler] 23. juni 2023 kl. 13:20 
Oprindeligt skrevet af 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
< >
Viser 1-15 af 23 kommentarer
Per side: 1530 50