Barotrauma

Barotrauma

Storage Icons
 Toto téma bylo přilepeno, takže je nejspíš důležité
Dr. Turtle  [vývojář] 19. led. 2023 v 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.
Naposledy upravil Dr. Turtle; 29. dub. 2023 v 7.28
< >
Zobrazuje se 115 z 23 komentářů
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
Dr. Turtle  [vývojář] 4. bře. 2023 v 8.54 
Trixlight původně napsal:
Perhaps the icons should update every time you take/place containers.
https://streamable.com/22vyg7
fixed in 0.7, ty for the report
Dr. Turtle původně napsal:
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  [vývojář] 5. bře. 2023 v 14.22 
Trixlight původně napsal:
Dr. Turtle původně napsal:
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
Naposledy upravil Dr. Turtle; 5. bře. 2023 v 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  [vývojář] 9. bře. 2023 v 10.28 
Trixlight původně napsal:
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  [vývojář] 11. dub. 2023 v 18.13 
Bartholomew III původně napsal:
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".
Naposledy upravil Rether; 22. čvn. 2023 v 21.30
Oh, I thought it was just me. I'm getting the same error
Rether původně napsal:
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
LEJumzie původně napsal:
Rether původně napsal:
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.
Naposledy upravil OMGkawaiiAngel-chan; 23. čvn. 2023 v 8.48
Dr. Turtle  [vývojář] 23. čvn. 2023 v 13.20 
Rether původně napsal:
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
< >
Zobrazuje se 115 z 23 komentářů
Na stránku: 1530 50