Starbound

Starbound

[oSB] Wardrobe Cumulative Patch
58 条留言
☯ James ☪  [作者] 11 月 10 日 下午 11:17 
All clothes work no matter where they come from (hopefully). This is supposed to make all armor/clothes from any mod show up in wardrobe without needing to make a patch for it.
cat 11 月 10 日 下午 4:40 
do avali clothes work?
☯ James ☪  [作者] 7 月 26 日 上午 3:53 
I pushed an update to hopefully fix that. However the chestpiece with a string instead of a table might be broken anyways when you try to spawn it because it's not supposed to be a string.
Fafnir 7 月 26 日 上午 2:15 
Hey, I noticed for some reason this isn't working and I keep getting this error in my log:

[04:13:03.115] [Error] Exception while running postLoad scripts from asset source 'C:\Program Files (x86)\Steam\steamapps\workshop\content\211820\3433498458\contents.pak': (LuaException) Error code 2, [string "/wardrobe_postload.lua"]:145: bad argument #1 to 'for iterator' (table expected, got string)
stack traceback:
[C]: in ?
[C]: in function '_ENV.next'
[string "/wardrobe_postload.lua"]:145: in main chunk
Humm-Bird 6 月 20 日 上午 3:52 
Okay!
☯ James ☪  [作者] 6 月 19 日 下午 7:34 
Those extra cosmetic slots are completely separate from what Wardrobe does. Wardrobe just lets you spawn cosmetic items and you equip them to your character or whatever, so the extra slots on Open Starbound's side has nothing to do with Wardrobe. Also if you mean for Wardrobe to actually account for this in the UI so you can preview all of them at once, that's up to the creator of Wardrobe or someone else that's willing to make a patch for it. Other than that, Wardrobe has no issues or incompatibilities with the extra cosmetic slots.
Humm-Bird 6 月 19 日 下午 2:32 
Hey, so OSB just added 12 new cosmetic slots or something along those lines, will this support that?
󠀡󠀡 3 月 4 日 下午 8:45 
haven't tried SIP for years now as i was sick of having to make patches for every single mod i use that is good to hear it works in oSB
peter.pedersen 3 月 2 日 下午 3:58 
Spawnable Item Pack already works like this if you have oSB
󠀡󠀡 3 月 2 日 下午 3:27 
this would sound crazy but is it possible to make something like this for Spawnable Item Pack?
it would be awesome to have a patch that support all mods for SIP
AgentKirin 2 月 28 日 下午 6:06 
Updated OSB and it's showing it all now. Thanks!
☯ James ☪  [作者] 2 月 28 日 下午 5:43 
I'm in the official Starbound server @IAmKnotMax
AgentKirin 2 月 28 日 下午 5:42 
Sure. Better yet, are you in any of the modding Discord servers? I can send it there
☯ James ☪  [作者] 2 月 28 日 下午 5:38 
If only a few things are showing up, it must mean that it hit an error somewhere and stopped adding more. Can you upload your log and link it here?
AgentKirin 2 月 28 日 下午 5:37 
Absolutely positive. Neither showed up when I searched.
☯ James ☪  [作者] 2 月 28 日 下午 5:20 
They show up for me, are you looking in the Mod tab? I searched by avali and peglaci and see armors for both of them.
AgentKirin 2 月 28 日 下午 5:09 
Way too many to list. But I have over 60 modded species subbed, and quite a few don't show up. Didn't see any Avali stuff, for example. Or Peglaci. Or Limako (the Limako armors are still WIPs, but I can't think of any reason they wouldn't show up anyway). And probably a bunch more I'm forgetting.
☯ James ☪  [作者] 2 月 28 日 下午 4:38 
what mods in particular do you notice are missing? I can look into it
AgentKirin 2 月 28 日 下午 4:22 
Doesn't seem to be working for all mods. I'm seeing a lot of Felin and a bit of Alta stuff, but not all the other species mods I have installed. What could be the problem?
FezzedOne 2 月 26 日 下午 11:09 
Can confirm this mod works now after the rewrite.
legokody 2 月 26 日 下午 8:26 
no i don't have the button, do i have to be signed in?
Aryterst 2 月 26 日 下午 3:44 
Mod's working now after the update. Thanks. :)
☯ James ☪  [作者] 2 月 26 日 下午 2:28 
Do you see a button on the right with an arrow pointing down? That should let you download it. https://imgur.com/a/qAYid8j
legokody 2 月 26 日 下午 2:21 
I also can't click on anything in the artifacts tab
☯ James ☪  [作者] 2 月 26 日 下午 12:20 
I pushed another update, trying to fix more weird or broken things in items.
Aryterst 2 月 26 日 上午 9:36 
Okay the wardrobe finally works now but I can't see the armors and pressing the mod tab while on chest slot breaks the wardrobe window until I exit it.
And getting this error now.
[Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/scripts/wardrobe/wardrobe_util.lua"]:51: attempt to index a nil value (local 'image')
stack traceback:
[C]: in metamethod '__index'
[string "/scripts/wardrobe/wardrobe_util.lua"]:51: in field 'fixImagePath'
[string "/scripts/wardrobe/wardrobe.lua"]:907: in field 'getDefaultImageForItem'
[string "/scripts/wardrobe/wardrobe.lua"]:399: in function <[string "/scripts/wardrobe/wardrobe.lua"]:395>
(...tail calls...)
[string "/scripts/wardrobe/itemList.lua"]:68: in method 'update'
[string "/scripts/wardrobe/wardrobe.lua"]:263: in local 'k'
[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:12: in function <[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:8>
(...tail calls...)
☯ James ☪  [作者] 2 月 26 日 上午 9:07 
You should be able to click on the name (it's a hyperlink) or there's also a button all the way to the right with the arrow that downloads it.
Pakari 2 月 26 日 上午 9:05 
It has a green checkmark, but I still can't click on anything in the "artifacts" tab. Like I said, the only things I can click on are the annotations and the "Build OpenStarbound" entries at the top. "OpenStarbound-Windows-Client" near the bottom is unclickable on every page. In fact, the only thing named "Client" that I can actually click on is on the main Github page under Installations.
☯ James ☪  [作者] 2 月 26 日 上午 9:00 
@Pakari it still works for me. Although I should mention that the builds in Actions can go out of date and no longer be downloadable. You should also get one that has a green check mark next to the name.
☯ James ☪  [作者] 2 月 26 日 上午 8:58 
Updated to use a Lua table instead of doing a lot of string concatenation.
Pakari 2 月 26 日 上午 8:58 
So, I TRIED to click on "OpenStarbound-Windows-Client", but it's in a list called "Artifacts" and isn't actually clickable. The only thing on the entry you've mentioned that is clickable are the "Build OpenStarbound" entries near the top, and the list of annotations.
So, what do I actually click?
☯ James ☪  [作者] 2 月 26 日 上午 5:21 
No I don't know. I barely know enough lua to make this but it works and isn't too lag inducing for the one time it runs so I didn't think much of it.
FezzedOne 2 月 25 日 下午 11:33 
Here's a thought, James. Did you know that assets.add on both OpenStarbound and xStarbound accepts a Lua table that is convertible to JSON as the second argument? You can avoid all the messy string concatenation this way.
☯ James ☪  [作者] 2 月 25 日 下午 3:47 
Can you try another run? I pushed an update a while ago since I found some other mods doing weird things and fixed those. A last resort is that I could make it print out the entire config at once, which would be gigantic with that many mods and you could send that to me so I can see what's not getting closed correctly.
Aryterst 2 月 25 日 下午 3:01 
[Error] Exception caught loading asset: /wardrobe/wardrobe_postload.json, (AssetException) Could not read JSON asset /wardrobe/wardrobe_postload.json
Caused by: (JsonParsingException) Error parsing json: bad object, should be '}' or ',' at 1:55157
MrGasmask 2 月 25 日 上午 1:47 
alright
☯ James ☪  [作者] 2 月 25 日 上午 1:47 
For now it requires that you get a build from the Actions tab as it's not in the Releases yet. It will be in the next release however. Read the description to see what you can do to get that.
MrGasmask 2 月 25 日 上午 1:44 
i have openstarbound and this just does not work, was a new version released or something?
☯ James ☪  [作者] 2 月 25 日 上午 1:07 
Can you search for "Error parsing json". It should look something like "Error parsing json: error, at 1:number" but the "error" is different depending on what the error is.
☯ James ☪  [作者] 2 月 25 日 上午 12:55 
I'm not sure how that could still be having issues. I tested to make sure it worked before pushing the update and it all worked fine.
Aryterst 2 月 24 日 下午 5:57 
still broken but I got this error

[Error] Exception caught loading asset: /wardrobe/wardrobe_postload.json, (AssetException) Could not read JSON asset /wardrobe/wardrobe_postload.json
Caused by: (JsonParsingException) Cannot parse json file: /wardrobe/wardrobe_postload.json
☯ James ☪  [作者] 2 月 24 日 下午 4:46 
I pushed another update, hopefully it works now?
Aryterst 2 月 24 日 下午 1:47 
No don't have that mod installed anymore.
☯ James ☪  [作者] 2 月 24 日 下午 1:47 
I should have checked that mod but I didn't think anything would happen as I had other mods like Arcana and Elithian Races.
☯ James ☪  [作者] 2 月 24 日 下午 1:45 
I installed Frackin Universe and it broke. I assume you have this mod? I wouldn't be surprised if they did something weird lmao.
Aryterst 2 月 24 日 下午 1:35 
Somehow that broke wardrobe entirely.
I'm getting this error now.
[Error] Exception while calling script init: (LuaException) Error code 2, [string "/scripts/wardrobe/wardrobe.lua"]:222: (AssetException) Error loading asset /wardrobe/wardrobe_postload.json
stack traceback:
[C]: in ?
[C]: in field 'assetJson'
[string "/scripts/wardrobe/wardrobe.lua"]:222: in local 'loadFiles'
[string "/scripts/wardrobe/wardrobe.lua"]:252: in field 'loadItems'
[string "/scripts/wardrobe/wardrobe.lua"]:97: in local 'k'
[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:12: in function <[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:8>
(...tail calls...)
Caused by: (JsonParsingException) Cannot parse json file: /wardrobe/wardrobe_postload.json
☯ James ☪  [作者] 2 月 24 日 下午 1:26 
Now it should actually be fixed, it wasn't fixed before because I put the check in the wrong place.
Aryterst 2 月 24 日 下午 1:20 
Root: Detected asset source named '[oSB] Wardrobe Cumulative Patch' version '1.1'
☯ James ☪  [作者] 2 月 24 日 下午 1:10 
Nevermind I messed up lol
☯ James ☪  [作者] 2 月 24 日 下午 1:09 
It shouldn't be the same error. Can you check the version of the mod? It should say in the log when you search 'Detected asset source named '[oSB] Enhanced Storage Cumulative Patch'. Either way I'm going to submit another update to just check if the type of that isn't a string instead of if it's a table.