
Mods / Xandus Inventory Tweaks
Author: Xandu
Side: Both
Created: Mar 25th 2021 at 3:02 PM
Last modified: Aug 3rd at 11:36 AM
Downloads: 10104
Follow Unfollow 214
Latest file for v1.18.6:
xinvtweaks_v1.5.7.zip
1-click install
The mod provides a collection of small tweaks to improve the inventory handling. You can configure in a generated file which parts of the mod you want to use. To use the bulk operations configurations the mod must be installed on the server, too.
All other features should work if the mod is installed on the client only.
Auto-Sorting: The mod adds a configurable key (default: Z/Y), that can be used to fast sort items in inventories or to automatically sort items into open chests.
Shortkeys:
Z: Sorts items from your inventory into chests that already contain these item types. Works with multiple chests at once.
Z+Shift: Sorts items in open containers by their id.
Z+Ctrl: Pulls items out of open chests into your inventory.
Z+ALT: Sort your own backpack.
Ctrl+left mouse: Allows you to transfer all items up to a specific slot of the same item type to an open container.
Shift+Wheel: Allows you to push single items into open containers and to pull single items from open containers.
Item-Switching: A lot of items can be automatically be swapped into your hotbar after you used the last item of a stack. This even works for broken tools. Additionally, used tools in your crafting grid will be switched as well.
Configureable bulk operations: Allows you to configure how many items you want to use in bulk storage operations, such as placing down or taking from item piles, at once.
Let me know if I missed anything important that you would like to be added.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.5.7 | 1704 | Aug 3rd at 11:36 AM | Show | xinvtweaks_v1.5.7.zip | Install now | |
v1.5.6 | 678 | Jul 7th at 9:07 AM | Show | xinvtweaks_v1.5.6.zip | Install now | |
v1.5.5 | 103 | Jul 6th at 5:16 PM | Show | xinvtweaks_v1.5.5.zip | Install now | |
v1.5.4 | 509 | Jun 15th at 2:42 PM | Show | xinvtweaks_v1.5.4.zip | Install now | |
v1.5.3 | 577 | May 13th at 8:26 AM | Show | xinvtweaks_v1.5.3.zip | Install now | |
v1.5.2 | 187 | May 8th at 2:41 PM | Show | xinvtweaks_v1.5.2.zip | Install now | |
v1.5.1 | 499 | Mar 15th at 6:59 PM | Show | xinvtweaks_v1.5.1.zip | Install now | |
v1.5.0 | 112 | Mar 14th at 2:49 PM | Show | xinvtweaks_v1.5.0.zip | Install now | |
v1.4.3 | 923 | Nov 28th 2022 at 3:02 PM | Show | xinvtweaks_v1.4.3.zip | Install now | |
v1.4.2 | 642 | Aug 23rd 2022 at 11:31 AM | Show | xinvtweaks_v1.4.2.zip | Install now | |
v1.4.1 | 1955 | Jan 22nd 2022 at 2:55 PM | Show | xinvtweaks_v1.4.1.zip | Install now | |
v1.4.0 | 251 | Jan 21st 2022 at 11:58 PM | Show | xinvtweaks_v1.4.0.zip | Install now | |
v1.3.0 | 546 | May 26th 2021 at 2:54 PM | Show | xinvtweaks_v1.3.0.zip | Install now | |
v1.2.3 | 568 | Apr 24th 2021 at 12:46 PM | Show | xinvtweaks_v1.2.3.zip | Install now | |
v1.2.2 | 443 | Apr 6th 2021 at 7:53 PM | Show | xinvtweaks_v1.2.2.zip | Install now | |
v1.2.0 | 407 | Mar 25th 2021 at 3:04 PM | Show | xinvtweaks_v1.2.0.zip | Install now |
Hey Mod Author Love your Work. Having an issue where using the sort feature with a culinary artilery's Bottle item will cause an infinite loop.
Is this an issue with your mod or a culinary Artilery?
The setup
1.Put 1 bottle item Birch Syrup of .4L. and 1 bottle Item Birch Syrup 1L in a chest
2.Take the 1 bottle of .4L Birch Syrup and place into player inventory.
3.Activate Z: Sorts items from your inventory into chests command. with the intention of sorting it into the chest.
The Error
1.12.2023 20:58:42.762 [VerboseDebug] KonaCoffeeDrgn moved 0xBottle from hotbar-qaUY0bcvoysc2if1ga3FUX1c to chest-511855/139/512031
will be spammed in to the chat Ad Nauesum. The client will be locked up and will have to kill the client and restart. Posted the Server-debug.txt in the discord as well under your mod.
its not working on 1.18.15
Anyone noticed and issue with barrels where is would swap Lime/ Tannin in the prepared liquid slot withe th item slot ?
Does this mod still work in version 1.18.15?
hi xandu! would it be possible to make it so the inventory panel automatically opens when you open a chest (an option enabled/disabled through config)? inventory tweaks is great, thank you for making this!
If you have "strgClick": true, set in the config go into creative mode and control click the creative menu you get this crash.
Running on 64 bit Windows with 16316 MB RAM
Game Version: v1.18.13 (Stable)
24/09/2023 20:02:06: Critical error occurred
Loaded Mods: game@1.18.13, creative@1.18.13, survival@1.18.13, workbenchexpansion@1.7.0, xlib@0.7.4, em@2.4.0, xinvtweaks@1.5.7, xskills@0.7.5, yeet@4.0.1, xskillscatchablepatch@1.0.0
System.NullReferenceException: Object reference not set to an instance of an object.
at Vintagestory.Common.InventoryPlayerCreative.ActivateSlot(Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryLib\Common\GameContent\Inventory\InventoryPlayerCreative.cs:line 96
at Vintagestory.API.Client.GuiElementItemSlotGridBase.SlotClick(ICoreClientAPI api, Int32 slotId, EnumMouseButton mouseButton, Boolean shiftPressed, Boolean ctrlPressed, Boolean altPressed) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 979
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 772
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDown(ICoreClientAPI api, MouseEvent mouse) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 740
at Vintagestory.API.Client.GuiComposer.OnMouseDown(MouseEvent mouseArgs) in VintagestoryApi\Client\UI\GuiComposer.cs:line 460
at Vintagestory.Client.NoObf.GuiDialogInventory.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\Dialogs\GuiDialogInventory.cs:line 547
at Vintagestory.Client.NoObf.GuiManager.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 393
at Vintagestory.Client.NoObf.ClientMain.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1821
at Vintagestory.Client.GuiScreenRunningGame.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:line 329
at Vintagestory.Client.ScreenManager.OnMouseDown(MouseEvent e) in VintagestoryLib\Client\ScreenManager.cs:line 875
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonDown(MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 202
at OpenTK.Windowing.Desktop.NativeWindow.OnMouseDown(MouseButtonEventArgs e)
at OpenTK.Windowing.Desktop.NativeWindow.MouseButtonCallback(Window* window, MouseButton button, InputAction action, KeyModifiers mods)
--- End of stack trace from previous location ---
at OpenTK.Windowing.Desktop.NativeWindow.RethrowCallbackExceptionsIfNeeded()
at OpenTK.Windowing.Desktop.NativeWindow.ProcessWindowEvents(Boolean waitForEvents)
at OpenTK.Windowing.Desktop.GameWindow.Run()
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in VintagestoryLib\Client\ClientProgram.cs:line 313
at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in VintagestoryLib\Client\ClientProgram.cs:line 129
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
gg
Any way to turn off the button "Sort" from showing via a config option and only have the push/pull arrows available? I ask because when playing some multiplayer servers, it causes everyone to crash but the user who performed the action. the push/pull arrows do not cause it but it occurs whenever an individual presses the button "Sort". If it is a specific chest causing this I do not know, I just know I was able to confirm that it was the button itself within the mod causing it while everything else was working fine. The individuals were using single and double chests placed down on the ground & on the wall. One of the big servers that had this occuring was Rogue House.
Does the latest version no longer work with Net7? 1.5.4 was working fine for me and then I upgraded. It shows in the mod list but when you look at the console output it's not even being picked up. There are no key binding options in the menu to show it's even being detected.
******** EDIT ********
Turns out the server was on version 1.5.5 and the local client was 1.5.6. Not sure why the server didn't try to make the versions match.
Wow, I didn't even know I was using immersive mouse mode. Hell, I didn't even know it was a thing. I must have turned it on at some point without realizing. Thanks for all the mods, I think I use most of yours. Hell, I use most of everyone's.
Mendall Ok. I don't use immersive mouse mode and I always forget to test it. So I haven't noticed this. But you can still open chests if you press alt key. The gui just locks the camera. That is the part that confused me. I had the same issue in a previous version and now I remember why I made things the way I did. Should be fixed now.
Ok sorry @Xandu but it is confirmed. I reinstalled 1.5.5 and went back into the game and the thing is back, you can open the first chest but as soon as you open it your reticle turns to an arrow, and you can't interact with anything else in the world until you close that chest again. But I did a little more experimenting and found that if while you have that first chest open you then hold down the left alt key (like you do to free up your camera to move) then you can open more chests. But only while that key in held down when you release it you can't open any more but what you have open stay open, you can however move things in the chests around just not anywhere else in the world. I'm not sure if I explained that well. If you have any questions, let me know. I'm going to go back to 1.5.4 for now. If you need, ill give you a list of all my mods (long list).
The sort GUI is working again, though. No more problems there, and it is movable.
Mendall Im having the same problem
Seems you just cant interact with the world in the inventory screen like you used to. Cant mine a block or right click a stack of sticks etc
Mendall Are you sure about this? This sounds kind of wrong for me. The mod shouldn't have such an affect in any way. It does not interfere in the way you open chests. And I don't have this issue at all with the mod installed.
I am aware of the vanishing GUI issue. Its just the way the base game handels these windows and the way the window assigns itself to other windows. This does not work well together. But if you manage to make the window moveable it should work form this point on.
With this new update, (1.5.5) installed I can only open one chest at a time, it just ignores second chest attempt. So I reinstalled 1.5.4 and the problem was fixed.
I run a lot of mods, so perhaps the new update is conflicting with something else. Also, when I made the sort GUI movable the first time it vanished altogether, and I had to reload the world to get it to return. It didn't do it the second time, however.
Clockmaker There was an issue when you tried to sort the firepit inventory.
Xandu
May be this additional info can help
-There is no difference, is there InventoryTweak installed on server, or not. It crash client in both cases.
-It seems, crash occured, when additional inventory slots (from xskills strong back ability) are involved in sorting.
-If crucible inventory is open, while sorting, client crashes with random item inserted into firepit inventory
UPD: suggestion - add configurable delay between slot switching operations. A bit longer sorting, definitely less time consuming, compared to whole client relaunch and reconnecting (imho)
Awesome, looking forward to seeing the update!
IAmJade I will fix the issue with the config file. I had the same problem with my other mod. And it seems to happen only on linux systems. But I am a little bit confused because it should not have such an impact. But I am happy that it seems to work now for you.
QuakingDoom I want to keep this dialog as simple as possible. But I made it moveable. People can tell me if they like this version more or the previous one.
QuakingDoom Seems to be more on "Culinary Artillerys" side. I would wait until they release an official version and see if the error still persists.
Just_a_cat If you sort an inventory the client can produce quite some slot switching operations. It sends these operations to the server to tell it which operations it should make to sort the inventory. I would assume that sometimes the server becomes confused about these packages and messes things up and then sends weird things to the other player? I think this a communication/syncronization issue between server and clients. So I think there isn't anything I can do about it.
Have semi-random crashes.
Pre-requisites: two, or more players on server.
Player A have inventory open;
Player B click [Sort] button;
Player A have (low chance) crash to desktop;
25.06.2023 19:04:52: Critical error occurred
Loaded Mods: aculinaryartillery@1.0.12, backpackpackplus@1.0.3, bettercrates@1.6.0, betterruins@0.2.1, chiseltools@1.8.4, hqzlights@1.1.1, drdecor@1.2.0, fasterladderclimbing@1.0.0, capreolinae@1.0.2, foundrymod@1.0.0, immersivecorpsedrop@1.0.1, moreclasses@1.2.5, morenails@1.1.0, primitivesurvival@3.2.0, soulshards@1.0.4, ssppvv@1.0.5, translocatorengineeringredux@1.4.1, game@1.18.5, weaponpackalphaunoff@1.4.0, wildcrafttrees@1.2.3, wildcraft@1.6.6, alchemy@1.6.12, beehivekiln@1.2.1, betterfirepit@1.1.0, carryon@1.2.0, commonlib@2.1.1, expandedfoods@1.6.6, hudclock@3.2.1, kreaturesandkritters@1.0.3, simplestep@1.0.4, stepup@1.2.0, stonebakeoven@1.0.2, stonerailings@1.1.0, temporalstormtimer@1.0.1, creative@1.18.5, survival@1.18.5, way@0.1.2, wildfarmingrevival@1.0.6, xlib@0.7.4, captureanimals@2.5.3, em@2.2.1, playercorpse@1.7.1, stonequarry@3.0.1, tpnet@1.11.0-rc.1, biggerwindmill@0.3.0, xinvtweaks@1.5.4, xskills@0.7.4, bricklayers@2.2.0, wildcraftxskillspatch@0.1.0
System.NullReferenceException: Ссылка на объект не указывает на экземпляр объекта.
в Vintagestory.Common.InventoryNetworkUtil.UpdateSlotStack(ItemSlot slot, ItemStack newStack) в VintagestoryLib\Common\GameContent\Inventory\InventoryNetworkUtil.cs:строка 443
в Vintagestory.Common.InventoryNetworkUtil.UpdateFromPacket(IWorldAccessor resolver, Packet_InventoryDoubleUpdate packet) в VintagestoryLib\Common\GameContent\Inventory\InventoryNetworkUtil.cs:строка 416
в Vintagestory.Client.NoObf.GeneralPacketHandler.HandleInventoryDoubleUpdate(Packet_Server packet) в VintagestoryLib\Client\Systems\GeneralPacketHandler.cs:строка 403
в Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) в VintagestoryLib\Client\ClientMain.cs:строка 746
в Vintagestory.Client.GuiScreenRunningGame.RenderToPrimary(Single dt) в VintagestoryLib\Client\MainMenu\Screens\GuiScreenRunningGame.cs:строка 163
в Vintagestory.Client.ScreenManager.Render(Single dt) в VintagestoryLib\Client\ScreenManager.cs:строка 681
в Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) в VintagestoryLib\Client\ScreenManager.cs:строка 625
в Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(Object sender, FrameEventArgs e) в VintagestoryLib\Client\ClientPlatform\GameWindow.cs:строка 119
в System.EventHandler`1.Invoke(Object sender, TEventArgs e)
в OpenTK.GameWindow.RaiseRenderFrame(Double elapsed, Double& timestamp) в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 476
в OpenTK.GameWindow.DispatchRenderFrame() в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 452
в OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) в C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:строка 375
в Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
в Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) в VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:строка 93
Seems to be some kind of incompatibility between this mod and Culinary Artillery (built from it's latest github)?
Game Version: v1.18.5 (Stable)
6/18/2023 6:10:38 PM: Critical error occurred in the following mod: aculinaryartillery@1.0.12
Involved Harmony IDs: com.jakecool19.efrecipes.cookingoverhaul, XInvTweakPatch
System.EntryPointNotFoundException: Entry point was not found.
at System.Collections.Generic.IEnumerable`1.GetEnumerator()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at HarmonyLib.CodeMatcher..ctor(IEnumerable`1 instructions, ILGenerator generator)
at ACulinaryArtillery.SmeltingInvPatches.AddSaucePanToPreferredSmeltingInputs(IEnumerable`1 instructions)
at Vintagestory.GameContent.InventorySmelting.GetSuitability_Patch2(InventorySmelting this, ItemSlot sourceSlot, ItemSlot targetSlot, Boolean isMerge)
at Vintagestory.API.Common.InventoryBase.GetBestSuitedSlot(ItemSlot sourceSlot, List`1 skipSlots) in VintagestoryApi\Common\Inventory\InventoryBase.cs:line 345
at Vintagestory.Common.PlayerInventoryManager.GetBestSuitedSlot(ItemSlot sourceSlot, Boolean onlyPlayerInventory, List`1 skipSlots) in VintagestoryLib\Common\GameContent\Inventory\PlayerInventoryManager.cs:line 186
at Vintagestory.Common.PlayerInventoryManager.TryTransferAway(ItemSlot sourceSlot, ItemStackMoveOperation& op, Boolean onlyPlayerInventory, StringBuilder shiftClickDebugText, Boolean slotNotifyEffect) in VintagestoryLib\Common\GameContent\Inventory\PlayerInventoryManager.cs:line 234
at Vintagestory.API.Common.InventoryBase.ActivateSlot_Patch1(InventoryBase this, Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op)
at Vintagestory.Common.InventoryCraftingGrid.ActivateSlot(Int32 slotId, ItemSlot sourceSlot, ItemStackMoveOperation& op) in VintagestoryLib\Common\GameContent\Inventory\InventoryCraftingGrid.cs:line 112
at Vintagestory.API.Client.GuiElementItemSlotGridBase.SlotClick(ICoreClientAPI api, Int32 slotId, EnumMouseButton mouseButton, Boolean shiftPressed, Boolean ctrlPressed, Boolean altPressed) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 975
at Vintagestory.API.Client.GuiElementItemSlotGridBase.OnMouseDownOnElement(ICoreClientAPI api, MouseEvent args) in VintagestoryApi\Client\UI\Elements\Impl\Interactive\Inventory\GuiElementItemSlotGridBase.cs:line 782
at Vintagestory.API.Client.GuiElement.OnMouseDown(ICoreClientAPI api, MouseEvent mouse) in VintagestoryApi\Client\UI\Elements\Impl\GuiElement.cs:line 647
at Vintagestory.API.Client.GuiComposer.OnMouseDown(MouseEvent mouseArgs) in VintagestoryApi\Client\UI\GuiComposer.cs:line 460
at Vintagestory.Client.NoObf.GuiDialogInventory.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\Dialogs\GuiDialogInventory.cs:line 551
at Vintagestory.Client.NoObf.GuiManager.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\Systems\Gui\GuiManager.cs:line 394
at Vintagestory.Client.NoObf.ClientMain.OnMouseDown(MouseEvent args) in VintagestoryLib\Client\ClientMain.cs:line 1834
at Vintagestory.Client.NoObf.ClientPlatformWindows.Mouse_ButtonDown(Object sender, MouseButtonEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 219
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 792
at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 1551
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 369
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Xandu
Perhaps an option to allow it to be dragged around like other windows, with the abiility to set it to fixed or locked like others?
This mod is a very nice QoL for storage and works very well for sorting chests. Thank you very much! We are not able to get the mod to sort our backpacks, however (multiplayer server). We're using a mod that changes the size of the backpacks (Medieval Fashion).
** UPDATE ** : I may have found a part of the problem. The mod places its config file in the wrong directory. When installed on a server, this Xandus mod installs its config file here /data/modconfig/data/modconfig/* ... when I move the Xandus config file up 2 directories to the proper directory, then the mod works for sorting inventory and storage.
Mendall I wouldn't call it cheating. It's more like creating your own experience. Thats the whole reason mods exist in the first place.
QuakingDoom It's hard to satisfy everyone here since everyone wants it to work differently. I could make an option to lock the window at one place. But where should this be?
Any chance for the ability to anchor the sorting window when using immersive mouse mode or something like that? When only opening the inventory, the sorting widget appears wherever it was on the screen when you last closed a chest that the widget was "connected" to. This means that the widget moves all around the screen randomly when trying to use it for the inventory. On top of that, when opening multiple chests, the widget can get covered up by or lost in the other chest windows, making it difficult to use the widget unless you open the bottommost chest and go upwards. Working around the problem gets tedious fast. One of the more annoying issues is if the last chest that the widget was attached to closes while the hud is offscreen. That makes the widget completely inaccessible until you reopen and close a chest onscreen.
Overall, while I do love the mod, the gui situation is a bit frustrating. I see a lot of promise if it can be well integrated into the current systems - perhaps making the sorting widget a static, independent window, or integrating the controls into window title bars? Minecraft was simple by only being able to open one thing at a time, so sorting mods just had to add buttons without worrying about shit moving everywhere. Hopefully an elegant solution can be found here, too.
Xandu
See what did I say you are a god. Thanks again for the help. I already made the xskills change, but I'll need to get another skill point before I find out how it worked. I didn't want to cheat too much.
Mendall You could disable it for all "ground storage" stuff here: "VintagestoryData\ModConfig\xinvtweaks.json". Just change the value for "groundStorage" from true to false.
Is there a way in the config files anywhere to remove some items from the list that will be replaced in your hot bar once empty. For me, the main one is the food containers.
Every time I set a container down on the round to eat from it, that spot in my hot bar gets filled by another container either empty or full from my inventory, forcing me to put it back in my inventory and free that hot bar slot, so I can pick my container back up. Seems small, but as many times a day as you go through this motion in VS it adds up to a lot of time. I would bet all the time I have saved having a mod that auto closes my doors for me, I now loose back constantly returning that food container to my inventory. lol
Inventory sorting, hooray!
Tolas Weird. Most things the mod does only affect the clients and the destruction of the items should be done by the server. You can try to turn off the tool switching in the config file of the mod. This helps maybe. I would assume the it is some kind of conflict with another mod.
Saoshi I made some tests and ended up implementing it. So it will be released some time in the future.
Yes I'm sure, when you turn off the mod the problem disappears but maybe it interferes with the other mod I do not know I have a lot of mods
Is it possible to add functionality to the mouse wheel as in the creative. So that items from the inventory are automatically added to the hand. (I'm using a translator, maybe I wrote something wrong :D)
Tolas Are you sure that this is caused by this mod? For me tools broke totally fine when used with one durability left.
The mod makes sorting very easy but adds a serious error, namely, when any metal tool remains the last point of endurance is etedy endlessly you can copy items in crafting. For example, when we have a hammer made of any metal and it has one point left and we use it to crush ore, I pull out metal nuggets endlessly. Some may like it, but I consider it OP.
DasPrinzip This is on purpose. The mod is optional on servers and clients.
Will there be an update soon for 1.18.5? If installed on server it will be loaded from server, but clients dont download it at joining automatically :/
Unfortunately, I don't have a crash log because one didn't appear in the folder. The game was freezing and the last time I waited about 5 minutes before terminating the process, but the crash log never appeared. I threw out the "bugged" meat and everything now is normal, including the bushmeat stacking.
malemamale Do you have a crash report? I wasn't able to reproduce it from your description.
Found a crash the game bug - when stacking bushmeat in Storage Vessel. Only bushmeat, all other stacking without problem.
I haven't tried it in another container. Manually also does not allow. The problem appeared after installing the mod. When disabled, everything is normal.
Game version 1.18.3-1.18.5
JimmyMac Thank you for the report. It should be fixed now.
Found a crash the game bug - I'll try to explain it - If you put a recipe in your crafting table that makes more than 1 of anything then take 1 of the output out of the table and try to place it in world the whole game crashes out to the crash report screen. I think its because another one is in the crafting table.
Example - take a full stack of cat tails and place them in the crafting table to make some reed chests. Grab one chest out of output and put it on the hotbar.(a chest is still showing in the output of the crafting table) when you try to place that chest in the world without closing the inventory crafting table box the game will crash out.
This happens no matter what the recipe is. My guess is Inventory tweaks is trying to repopulate the hotbar slot from the crafting table output slot but I guess that is a no no
BTW I use imerssive mouse mode so its common to keep inv/crafting open while doing other things for me.
Also I like the update to the sort bar. It now attaches to whatever box I open first. That works for me
Works perfectly now. Much appreciated!
Telemachus I made a small update. I hope it works better now.
This little Sort bar that appears when a chest is open disappears if I have the interface scaling set higher than default. I need to player with higher interface scale because of poor eyesight.
Thank you X. I will look into that.
Well at least this mod should use the key. So it should be mentioned somewhere. You can change it in the normal key settings. But you have to join a world because mods are only loaded when you have joined a world. The mod has no dependency other than the base game. You can look at the logs file to see whether the mod loads at all.
Checked controls. There is none using Z. Is there a way to change the key in the mod?
Also, am I missing some dependency?
You can look whether the keys are used by another mod in the games settings. You need to be in a world to see mod key settings. Maybe multiple mods are using this key.
It doesn't look like the mod is adding code. So it is not caused by the backpack mod.
Hi X, I tried other keys as suggested, but still no Luck. Im,from Brasil, so standard american keyboard here. Its interesting becouse none of the comand works. Im playing heavely moded, including someother mods from your own. Maybe is a mod conflict? I dont see how that could be since I dont use other mods of the sort.
(Edit) Maybe its the backpack mods?
MIghtyGooga Do other key combinations work? Note that for some keyboard layouts (E.G. the german one) the default key could be Y instead of Z.
Z+ALT Not working at the moment. Im in version 1.18
Xandu I see, tank you for the clarification. =)
SalieriC At the moment it sorts just by id.
As s/o coming from MC, I know (and loved) the Mod Inventory tweaks there for its ability to automatically sort the players inventory, especially the hotbar, depending on a mapping file in which the player can set which item (type) goes into which hotbar/inventory slot. Does this mod have a similar feature? The description states that a hotkey exists for sorting "your own backpack" but it doesn't explain based on which rules the backpack will be sorted. Thank you in advance.
"You have do load a world before you can change this key"
That makes total sense. :D Thanks!
Maestro You can configure it under Settings-->Controls-->User Interface-->Sort into inventory (I probably should rename this.) You have do load a world before you can change this key, because mods only load when you join a world.
How would one go about changing the key used for this?
I've looked in the xinvtweaks.json file in modconfig and there isn't a key option, and nothing in the 'controls' tab of the game, yet the description above does say it's "configurable" and that Z is only the 'default'.
OpPointBaker Ok. I was expecting this. I haven't made a version for 1.18 yet.
I was under the impression that XLib was needed for this to work. My bad.
That said, the main thing I use it for is the CTRL+Click to bulk transfer items.
I'm in 1.18 pre3 and it crashes on world load when I have the mod activated.
OpPointBaker This mod has nothing to do with xlib except that it has the same author. What does not work?
I assume that even with the new XLib, this is still not working?
LeonaLens I try to fix this for the 1.18 game version. But at the moment I do not understand why it does not work.
Xandu nope for some reason.
If u can check and update mod it would be awesome.
LeonaLens Didn't even the sorting functions work when the mod was only installed on the clients?
We tried to add this mod on server v1.17.11 and had troubles - it didn't work. So we changed modinfo file.
"side": "universal",
"RequiredOnClient": true,
"RequiredOnServer": true,
And now it works!
But you will need to install this mod on clients manually.
Mb that will help someone with same issues. 😘
I've been only using SortableStorage with Carry On More and CarryOn since then and the problem didnt re-occur. I do plan to try it again before I get a bunch of chests built because the sorting feature with many chests opened is really something that I dont want to pass on! Thanks Xandu
TRex1983 I see no significant lag on my testings. But if you sort a lot of chests (something around a hundred) at once it could cause a small lag. Do you have any other mods that do things with storage or inventories?
Just wanted to report a large lag when im using this mod. Its when I sort items from reed baskets. After moving stuff around with multiple baskets opened, the mouse become unresponsive for about 10-20 seconds. Doesnt seem to create a memory leak either or a spike in CPU usage. After that lag, it comes back to normal. I just want to know if I'm the only one seeing this issue. I can list the mods I have and any other client logs if I'm not the only one. In the meantime I'll use SortableStorage with Carry On More patch for CarryOn.
Thanks!
It took some time because of private stuff but I found the issue and it should be fixed now.
I am also having crashing with this mod. It crashes when Sorting my own inventory but not when sorting a chest/basket. It Crashes while on a server with mods and Single Player. though it is inconsistant. some times it wont have a crashing issue for an hour other it will crash no matter who many times i restart.
Ok now suddenly this crash is inconsistent. Haven't had it happen in several hours of play now. Maybe it only happens when there's some sort of container in inventory? Even then, not consistent.
I've encountered this bug as well. Happens damn near everytime after playing a world for a while, it seems. It really puts a damper on playing, being able to autosort inventory with a button or key combo should honestly be a basic functionality of any inventory based game.
Really hope this mod gets fixed in the meantime. I posted my crash log on the forum post.
Hi, were you able to figure this out?
Sorry to be insistent.
Hi, thanks for replying, I hope this is report you mean
Running on 64 bit Windows with 16 GB RAM
Game Version: v1.17.9 (Stable)
23-Oct-22 5:37:12 PM: Critical error occurred in the following mod: xinvtweaks@1.4.2
Loaded Mods: animalcages@2.0.6, fancysky@1.0.5, sticksfromfirewood@1.16.4, game@1.17.9, vshud@2.1.0, zyrails0break0down0tools@1.17.8, carrycapacity@0.6.5, hudclock@2.8.0, prospectorinfo@4.1.2, creative@1.17.9, survival@1.17.9, vsvillage@0.3.0, xrowboat@0.0.5, metalrecovery@0.1.18-rc.2, xinvtweaks@1.4.2
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at XInvTweaks.InventoryUtil.SortInventory(ICoreClientAPI capi, IInventory inventory)
at XInvTweaks.InventoryUtil.SortIntoInventory(ICoreClientAPI capi)
at Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack) in VintagestoryLib\Client\HotkeyManager.cs:line 365
at Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) in VintagestoryLib\Client\ClientMain.cs:line 2167
at Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(Object sender, KeyboardKeyEventArgs e) in VintagestoryLib\Client\ClientPlatform\Input.cs:line 251
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at OpenTK.Platform.NativeWindowBase.OnKeyDown(Key key, Boolean repeat) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\NativeWindowBase.cs:line 130
at OpenTK.Platform.Windows.WinGLNative.HandleKeyboard(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 646
at OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 828
at OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
at OpenTK.Platform.Windows.WinGLNative.ProcessEvents() in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:line 1551
at OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) in C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:line 369
at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93
Event Log entries containing Vintagestory.exe, the latest 3
==================================
{ TimeGenerated = 13-Oct-22 6:23:34 AM, Site = , Source = Windows Error Reporting, Message = Fault bucket 1893642899559129348, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Vintagestory.exe
P2: 1.17.6.0
P3: 633bf838
P4: KERNELBASE.dll
P5: 10.0.19041.1949
P6: cb12e58e
P7: c000041d
P8: 0000000000034fd9
P9:
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2036.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER247C.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER249D.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER24AC.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER24DC.tmp.txt
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_8186de27c023c029d05a9db4523b7b4a15c684d9_9614c485_77bc9053-01cf-43d7-91fe-b1d9a20c2149
Analysis symbol:
Rechecking for solution: 0
Report Id: b563a409-9cc3-4cc5-9a51-d6f4872c5eb6
Report Status: 268435456
Hashed bucket: bd7cd59c460a2094da47922f27a9a104
Cab Guid: 0 }
--------------
{ TimeGenerated = 13-Oct-22 6:23:31 AM, Site = , Source = Application Error, Message = Faulting application name: Vintagestory.exe, version: 1.17.6.0, time stamp: 0x633bf838
Faulting module name: KERNELBASE.dll, version: 10.0.19041.1949, time stamp: 0xcb12e58e
Exception code: 0xc000041d
Fault offset: 0x0000000000034fd9
Faulting process id: 0x3110
Faulting application start time: 0x01d8deba552dd1af
Faulting application path: D:\Cracked Games D\VintageStory v1.7.6\Vintagestory.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: b563a409-9cc3-4cc5-9a51-d6f4872c5eb6
Faulting package full name:
Faulting package-relative application ID: }
--------------
{ TimeGenerated = 13-Oct-22 6:23:30 AM, Site = , Source = Windows Error Reporting, Message = Fault bucket 2083621836285526217, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: Vintagestory.exe
P2: 1.17.6.0
P3: 633bf838
P4: KERNELBASE.dll
P5: 10.0.19041.1949
P6: cb12e58e
P7: c0020001
P8: 0000000000034fd9
P9:
P10:
Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERD69.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER126B.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER127C.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER128A.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER12B9.tmp.txt
These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_Vintagestory.exe_dda7727133b37ef53e6f5cf4e29a26408aa73_9614c485_ecaaf5f5-eda2-46cf-87e4-48a6a5fc3a11
Analysis symbol:
Rechecking for solution: 0
Report Id: 1bc897aa-e1cf-436d-9c23-3c2856f23829
Report Status: 268435456
Hashed bucket: b162320adec717deacea8305460bc0c9
Cab Guid: 0 }
Hello,
I can confirm Jimzawy observation. My game is crashing as well with alt+z. As soon as I get around to it i can send the report.
Ty
Jimzawy Thank you for your report. Can you post a crash report?
Hey Xandu great mod, I am very new to the game, I am experiencing a game crash whenever I press ALT+Z to sort my backpack, other shortkeys are working fine, this does not happen when I start a new singleplayer game on new world. with my other mods on,but as I progress in the game ans craft more items, it starts crashing, and keeps on crashing, I think it might be a mod conflict ? I am using the latest version 1.17.9, what do u think
AtticusPierce The server decides in which inventory picked up items should go. And I want to keep this mod mostly client side only.
Any chance you could easily figure out a way to have picked up items prioritize inventory over the hotbar? I get annoyed having to re-empty my 0 slot so I can empty hand interact with things... If it'll be complex it's no problem skipping this request. <3
gndrneutralnoun That is a huge list. I don't have the time to look through all of this. But if you figure out which mod is causing this I would be interested.
It does seem to be caused by another mod; I just tested it out on an instance with only this mod installed and the issue didn't happen. The problem has been happening for me ever since I started using this mod, so I assumed it was something in the mod... Here's my modlist. https://pastebin.com/ZY6UBcAf I'm pretty sure all of them are on the latest version except Alchemy, which is on the version before all the hanging rack variants were removed.
gndrneutralnoun
The naming is related to internal implementation of the items. The mod hooks in to the according base methods to enable the item swapping. Piles are things you can pile up like Plates, Ingots and Firewood. Groundstorage are things where multiple different items can be stored on the ground like pots, crocks and bowls.
I can't really reproduce this. I don't even know what could cause this. The mod shouldn't do anything if you just scroll through your items. And it also should not put items in your hotbar slot when you move items. Are you sure that it is caused by these actions and that is not caused by any other mod? The mod should only trigger if you use up a stack like placing a block or breaking a tool.
gndrneutralnoun
Firewood pile is hardcoded and thus don't fall into groundStorage category
Heya, I commented on the forum topic for this mod a while back, but for some reason I can't comment on it anymore. Anyway, I wanted to ask: you said about how the config for this mod lets you disable item switching for certain categories, but I'm a little confused by which categories mean which things. Specifically the "piles" and "groundStorage" fields. The others seem self explanatory, but I don't know whether, for example, firewood goes in the piles or groundStorage category. My guess is piles, but I'm not sure.
Also, it'd be really great if you could fix the thing that happens with this mod's item switching where just scrolling through the hotbar via the mousewheel or trying to move something out of your hotbar and into your backpack inventory "restocks" the thing. It's really annoying, which is why I'm using The3Restock for now, but that mod doesn't support tools or items like this one does.
Xandu it only happened once, sadly. But it was from my cuttings-only chest.
@Zaldaryon, Is the repeatable or is it something that just happened once? Would be important to know if this is something that can happen regular or if this is some weird edge case.
Latest version, trying to shift+ z a better chest (I couldn't trace which block caused it, maybe a cutting?):
Running on 64 bit Windows with 24 GB RAM
Game Version: v1.17.3 (Stable)
18/09/2022 11:15:08: Critical error occurred in the following mod: xinvtweaks@1.4.2
Loaded Mods: angelbelt@1.3.0, Autorotor@1.1.2, backpackpackplus@1.0.3, betterbloomeries@1.0.1, bettercrates@1.5.1, betterruins@0.0.3, extrachests@1.6.0, FlexibleTools@2.0.0, foundrymod@1.0.0, harptech@0.2.1, necessaries@1.1.3, nooffhandhunger@1.0.0, notradermoneylimit@1.0.0, pieontheshelf@1.0.0, potontheshelf@1.0.0, primitivesurvival@3.0.5, ReducedDrifterGroupsandLightLevelSpawn@1.0.0, SustainableForestry@1.0.0, translocatorengineeringredux@1.2.0, visibleore@1.0.1, vtpp@1.0.0, game@1.17.3, WoodenPathFix@1.0.0, zoombuttonreborn@1.3.0, autosifter@1.0.1, betterdoors@1.0.0, captureanimals@2.1.1, carrycapacity@0.6.5, deathwaypoints@1.0.3, farmlanddropssoil@1.4.0, fromgoldencombs@1.3.14-pre.1, hudclock@2.8.0, medievalexpansion@3.8.1, prospectorinfo@4.1.1, resinlightsbymad@1.0.1, singlepause@1.0.3, smeltableingots@1.0.0, stepup@1.2.0, stickscrafting@1.0.16, toggly@3.0, translocatorlocator@1.0.2, useplanksinpitkiln@1.0.0, creative@1.17.3, survival@1.17.3, workbenchexpansion@1.5.1, xlib@0.6.10, campaigncartographer@3.0.2, knapster@1.0.1, em@1.0.0, ferrospear@1.0.1, moremolds@1.2.0, onestick@1.0.1, xinvtweaks@1.4.2, xskills@0.6.11, bricklayers@1.0.1
System.InvalidOperationException: Coleção foi modificada; talvez a operação de enumeração não seja executada.
em System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
em System.Collections.Generic.List`1.Enumerator.MoveNextRare()
em XInvTweaks.InventoryUtil.SortInventory(ICoreClientAPI capi, IInventory inventory)
em XInvTweaks.InventoryUtil.SortOpenInventories(ICoreClientAPI capi)
em XInvTweaks.InventoryUtil.SortIntoInventory(ICoreClientAPI capi)
em Vintagestory.Client.HotkeyManager.TriggerHotKey(KeyEvent keyEventargs, IWorldAccessor world, IPlayer player, Boolean allowCharacterControls, Boolean isGlobal, Boolean fallBack) na VintagestoryLib\Client\HotkeyManager.cs:linha 365
em Vintagestory.Client.NoObf.ClientMain.OnKeyDown(KeyEvent args) na VintagestoryLib\Client\ClientMain.cs:linha 2167
em Vintagestory.Client.NoObf.ClientPlatformWindows.game_KeyDown(Object sender, KeyboardKeyEventArgs e) na VintagestoryLib\Client\ClientPlatform\Input.cs:linha 251
em System.EventHandler`1.Invoke(Object sender, TEventArgs e)
em System.EventHandler`1.Invoke(Object sender, TEventArgs e)
em OpenTK.Platform.NativeWindowBase.OnKeyDown(Key key, Boolean repeat) na C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\NativeWindowBase.cs:linha 130
em OpenTK.Platform.Windows.WinGLNative.HandleKeyboard(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) na C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:linha 646
em OpenTK.Platform.Windows.WinGLNative.WindowProcedure(IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam) na C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:linha 828
em OpenTK.Platform.Windows.Functions.DispatchMessage(MSG& msg)
em OpenTK.Platform.Windows.WinGLNative.ProcessEvents() na C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\Platform\Windows\WinGLNative.cs:linha 1551
em OpenTK.GameWindow.Run(Double updates_per_second, Double frames_per_second) na C:\Users\Nexrem\Desktop\transfer\opentk\src\OpenTK\GameWindow.cs:linha 369
em Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs)
em Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) na VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:linha 93
I agree with Gepard down below about swapping almost-broken stuff out, but I actually came here to say something similar to what AVeryDandyLad did - the autofill is definitely overactive, including most recently pulling my crucible out of my firepit in the middle of a bronze-making operation because I put a second crucible from my hand onto the ground. I would love the option for it to specifically ONLY pull from my inventory, and not from open containers/whatever.
In single player it seems to work fine, but in multiplayer (Client Only) It doesn't seem to sort the items into the chest. Shift+Wheel appears to work though but none of the Z commands.
Game version: 1.16.5
Mod version: 1.4.1
Hi there!
For starters, I love this mod. It goes on my clientside essentials list- However, there are several instances where this mod can mildly inconvenience me at best and downright annoy me at worst.
Most problems stem from the autofill being overactive; when using the scrollwheel to select items in your hotbar, the autofill will drag items to whatever open slots there are and in creative mode, autofill makes it very tedious to rid of items in your hotbar.
As Agroku said below, I really love this mod!
I do have one issue, I cannot sort my character inventory. The chest sorting (by ID), push/pull, item switching, etc. seem to work fine. This is single player and I changed the key to Y since I am already using Z.
You could add the option to swap the tool just before being destroyed for another one that is more durability. There are mods that allow you to fix the tool, sharpen it. Replacing a broken tool with a new one is here.
This could be an option to be turned on and off in the menu.
You Sir are a Genius, exactly what I was looking for!!