Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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)
Once i reinstalled client side Lua after the update it works fine for me.
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.
Yes that is possible
just wondering
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.
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 ?
How about me paying 100% royalty from all the money I earn from that free product?
You can keep it
But only if you pay me $30 per subscriber
(I mean I allready did, but I can take it down)
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.
As of right now, im spent out of option so i had to disable the lua server mod.
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.
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.
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
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
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.
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.
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.
Add the code for these attributes: MaxStackSizeCharacterInventory and MaxStackSizeHoldableOrWearableInventory
The max the game supports is 63x last i tried
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.
You have to download the mod Lua For Barotrauma too and also unpack it.
You can see the step by step process to do so on their mod page.
https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=2559634234