Barotrauma 潜渊症

Barotrauma 潜渊症

Stack Size 62x Lua
125 条留言
SydWad  [作者] 10 月 10 日 下午 8:19 
@biris
Shouldnt be.
biris 10 月 10 日 上午 7:05 
Is it broken?
NothingSuS 4 月 28 日 上午 11:37 
I figured it out, I was stupid that was the problem.
SydWad  [作者] 4 月 27 日 下午 6:06 
@NothingSuS
Im not seeing any problems. The game did update so make sure you reinstall Lua. Even if it says its installed make sure you do the unpacking step again (load lua in session and type Install_cl_lua in console)
NothingSuS 4 月 25 日 上午 1:30 
This doesn't seem to work
PuzzyDiztroier 3 月 2 日 下午 8:20 
Mod works, but items in container (toolbox) and main inventory stacking only by 32
SydWad  [作者] 2024 年 12 月 21 日 下午 9:03 
@不着急救我 @Bubbles
Once i reinstalled client side Lua after the update it works fine for me.
Bubbles 2024 年 12 月 19 日 下午 11:13 
is this mod gonna be fixed?
不着急救我 2024 年 12 月 14 日 下午 5:21 
doesn't work after LUA update in 12.14
󠁳HeLL RomanoV 2024 年 11 月 20 日 上午 7:35 
nice!
Coonie_Dew 2024 年 11 月 5 日 上午 9:10 
@Sydwad thank you and your right it really wasn't hard but thank you for the help
SydWad  [作者] 2024 年 10 月 31 日 下午 9:43 
@Coonie_Dew
It needs to be a custom version that only modifies MaxStackSize, and not MaxStackSizeInCHaracterInventory.
I dont have much time to make it but it should be a relatively easy modification even if you have no knowledge of Lua.
Coonie_Dew 2024 年 10 月 31 日 上午 10:56 
@Sydwad how can we do it i wanna add it to my campane and being able to carry 62 ap mags is a bit broken lol
SydWad  [作者] 2024 年 10 月 23 日 下午 7:44 
@Coonie_Dew
Yes that is possible
Coonie_Dew 2024 年 10 月 22 日 下午 4:14 
are you able to make it so player inventory it cant stack so high or no?
just wondering
romeomike 2024 年 6 月 27 日 上午 3:16 
:boomer:
romeomike 2024 年 6 月 26 日 上午 5:37 
mod sucks and smells and is shit
SydWad  [作者] 2024 年 5 月 6 日 下午 9:35 
@Kriosiss
Still works for me
Make sure every time the game updates that you reinstall Lua. It might still have the purple text on the main screen but it still needs to be unpacked again.
Kriosiss 2024 年 5 月 4 日 下午 4:01 
please patch
GOLEM 2024 年 4 月 15 日 上午 8:18 
Hello, I recently downloaded this mod, neurotrauma and a bunch of other mod.
Here is what's strange :
Some items like plastiseal do stack up to the correct amount (62) but a son as I drag and drop them from the container to my pockets the stack break and only drop 8 of them. Not the all stack. Mind you the rest do stay in the container. Another thing, some items refuse to stack higher, like opium for exemple. They only stack up to 8. I tried putting this mod beneath neurotrauma but to no avail. Any tips ?
土 GalTeXx (Не сосал) 2024 年 1 月 6 日 上午 2:27 
D:
How about me paying 100% royalty from all the money I earn from that free product?
SydWad  [作者] 2024 年 1 月 6 日 上午 12:53 
@GalTeXx (Клювless)
You can keep it
But only if you pay me $30 per subscriber
土 GalTeXx (Не сосал) 2024 年 1 月 4 日 上午 5:20 
Mind if I rebalance(steal) ur code and drop it as standalone mod?
(I mean I allready did, but I can take it down)
Cyber Ortek 2023 年 12 月 17 日 上午 8:54 
okay thanks
SydWad  [作者] 2023 年 12 月 17 日 上午 8:50 
@Cyber Ortek
Every time the game updates you have to unpack Lua again because the game validates some core files that the mod changes. Make sure Lua is functioning properly.
Cyber Ortek 2023 年 12 月 17 日 上午 4:18 
The newest update somehow voided your mod. Now my ammo and materials are all over my ship, ejected from their cabinet. Please update the mod if you have time, much appreciated
HuskyStrylight 2023 年 11 月 15 日 下午 1:53 
Thx for the help though!
HuskyStrylight 2023 年 11 月 15 日 下午 1:53 
Im the host of the server, the bug seems to stem from the lua itself, tried restarting, reloading, and redownloading, error still persist, theres a bug where you have to switch server type from vanilla to lua for other players to sync the menu in the multiplayer.

As of right now, im spent out of option so i had to disable the lua server mod.
SydWad  [作者] 2023 年 11 月 14 日 下午 10:41 
@HuskyStrylight
Are you playing on a server that also has the mod enabled?
There is a bug i cant really fix where if you have had the mod enabled it will stay on until the game is restarted. But what happens is you over stack the items then they drop to the ground.
So make sure the mod is still enabled, and is enabled on the server.
HuskyStrylight 2023 年 11 月 14 日 下午 2:21 
I found the issue, it seems Lua is really not compatible with most non lua mods, not sure why it causes stack issue as well as other code issue (dynamiceruopa) but after disabling the lua, the desync issue seems to be gone.
SydWad  [作者] 2023 年 11 月 13 日 下午 9:16 
Only increases stacks larger than 1, if he changed some items to no longer stack then it wot pick them up
SydWad  [作者] 2023 年 11 月 11 日 下午 7:02 
Load order should have no effect, i dont think Lua takes that into account. But in terms of the game's logic it would be best to keep it at the bottom.
HuskyStrylight 2023 年 11 月 11 日 下午 6:42 
where would you recommend loading the mod? The way top or bottom?
SydWad  [作者] 2023 年 11 月 11 日 下午 6:12 
@HuskyStrylight
That is really odd, the game is supposed to automatically dump things on the ground if the inventory is too full. Ive even seen it still work when someone bugged and running the mod client side while the server is not.
All i can think of is if ya there is a mod conflict. But there arent really any other mods i know of that change the stack size with Lua other than my 4 i uploaded.
HuskyStrylight 2023 年 11 月 11 日 下午 5:15 
Coroutine Barotrauma.Inventory+<SyncItemsAfterDelay>d__89 threw an exception: Tried to add an item to a full inventory slot (stack already full, x12 revolverround).
at Barotrauma.Inventory.ItemSlot.Add(Item item) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Items\Inventory.cs:line 149
at Barotrauma.Inventory.ForceToSlot(Item item, Int32 index) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Items\Inventory.cs:line 1034
at Barotrauma.Inventory.ApplyReceivedState() in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Items\Inventory.cs:line 1927
at Barotrauma.Inventory.SyncItemsAfterDelay(UInt16 lastEventID)+MoveNext() in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Items\Inventory.cs:line 1898
at Barotrauma.CoroutineManager.PerformCoroutineStep(CoroutineHandle handle) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\CoroutineManager.cs:line 214
HuskyStrylight 2023 年 11 月 11 日 下午 5:14 
Its a long message, not sure if i can paste it here,
Coroutine Barotrauma.Inventory+<SyncItemsAfterDelay>d__89 threw an exception: Tried to add an item to a full inventory slot (stack already full, x4 smgmagazine).
at Barotrauma.Inventory.ItemSlot.Add(Item item) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Items\Inventory.cs:line 149
at Barotrauma.Inventory.ForceToSlot(Item item, Int32 index) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Items\Inventory.cs:line 1034
at Barotrauma.Inventory.ApplyReceivedState() in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Items\Inventory.cs:line 1927
at Barotrauma.Inventory.SyncItemsAfterDelay(UInt16 lastEventID)+MoveNext() in <DEV>\Barotrauma\BarotraumaClient\ClientSource\Items\Inventory.cs:line 1898
at Barotrauma.CoroutineManager.PerformCoroutineStep(CoroutineHandle handle) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\CoroutineManager.cs:line 214
SydWad  [作者] 2023 年 11 月 11 日 下午 4:33 
@HuskyStrylight
Im not seeing any problems on my end, can you send me exactly what the error says?
And if the problem persists i recommend unpacking Lua again then restarting the game.
HuskyStrylight 2023 年 11 月 11 日 下午 4:26 
Getting issues with revolver rounds, max stack is 12 and because of this it crashes or sends red message
SydWad  [作者] 2023 年 10 月 24 日 下午 9:37 
@Random Turing Machine
As far as i can tell for the toolbelts and bags its also prefab.MaxStackSize but in a different context of the ItemContainer and i have no idea how to do it properly.
Both of the new max sizes you listed there relate to the character.
Random Turing Machine 2023 年 10 月 24 日 下午 5:04 
If memory serves me correctly

MaxStackSizeCharacterInventory is for size in inventory slot
MaxStackSizeHoldableOrWearableInventory is for size in things like toolbelts

Meaning they should already be fixed.

If you're curious about increasing the toolbelt size itself I linked this to a buddy of mine (Darth Imperius) who can comment on exactly what would need done to make that work. He did similar work on a containers mod; his mod is on the workshop here.
SydWad  [作者] 2023 年 10 月 24 日 上午 2:39 
Ok i did update it but im not smart enough to figure out how to modify backpacks and tool belts to hold more.
Random Turing Machine 2023 年 10 月 22 日 下午 7:45 
My crew and I were having some issues after the update so we wrote something to make it work. It would appear that they split this into multiple attributes.

Add the code for these attributes: MaxStackSizeCharacterInventory and MaxStackSizeHoldableOrWearableInventory
SydWad  [作者] 2023 年 10 月 22 日 上午 11:55 
Might take some figuring out because it's a change to all items and characters.
scbbltey[萌萌哒の菜鸟] 2023 年 10 月 22 日 上午 10:46 
need update:lunar2019piginablanket:
Cat 2023 年 10 月 21 日 上午 11:49 
Pleas update the mod, it doesn't work outside of cabinets now
Xeno 2023 年 9 月 18 日 下午 4:58 
damn
SydWad  [作者] 2023 年 9 月 18 日 下午 12:22 
@Xeno
The max the game supports is 63x last i tried
Xeno 2023 年 9 月 18 日 下午 12:08 
is there a chance you will make one that's 128x ?
Xavier 2023 年 6 月 18 日 下午 9:34 
Ah, that makes sense then, thanks, I'll let you know if it's still broken
SydWad  [作者] 2023 年 6 月 18 日 下午 5:56 
@Xavier
When the game updates you need to re-unpack Lua to make everything work as intended.
Im not seeing a problem on my end once i have done that. Please tell me if the problem persists.