Barotrauma

Barotrauma

Storage Icons
 Dit topic is vastgepind, dus het is waarschijnlijk belangrijk
Dr. Turtle  [ontwikkelaar] 19 jan 2023 om 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.
Laatst bewerkt door Dr. Turtle; 29 apr 2023 om 7:28
< >
1-15 van 23 reacties weergegeven
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
Dr. Turtle  [ontwikkelaar] 4 mrt 2023 om 8:54 
Origineel geplaatst door Trixlight:
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
fixed in 0.7, ty for the report
Origineel geplaatst door 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  [ontwikkelaar] 5 mrt 2023 om 14:22 
Origineel geplaatst door Trixlight:
Origineel geplaatst door 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
Laatst bewerkt door Dr. Turtle; 5 mrt 2023 om 14:22
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  [ontwikkelaar] 9 mrt 2023 om 10:28 
Origineel geplaatst door 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
Oh, well. But that's okay, it's just something to look out for in the future.
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  [ontwikkelaar] 11 apr 2023 om 18:13 
Origineel geplaatst door 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]
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".
Laatst bewerkt door Rether; 22 jun 2023 om 21:30
Oh, I thought it was just me. I'm getting the same error
Origineel geplaatst door 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
Origineel geplaatst door LEJumzie:
Origineel geplaatst door 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.
Laatst bewerkt door OMGkawaiiAngel-chan; 23 jun 2023 om 8:48
Dr. Turtle  [ontwikkelaar] 23 jun 2023 om 13:20 
Origineel geplaatst door 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 van 23 reacties weergegeven
Per pagina: 1530 50