Don't Starve Together

Don't Starve Together

DJPaul's Sort Inventory (repost, fix)
70 kommentarer
Eslorex 12. apr. kl. 10:31 
Fix for Wortox pls.
Radic's crazy in the coconuts 5. feb. kl. 3:08 
exactly what i was looking for, thank you
Coisini 6. jan. kl. 1:40 
又开始崩溃了,求求更新
AAA家用心想事成许愿机 26. sep. 2024 kl. 9:21 
CAN IT WORK?
MEXAH 18. aug. 2024 kl. 14:31 
Can you add "Ham Bat" to "food" list? For sort it to the insulated backpack
OctaPuise 12. jan. 2024 kl. 12:39 
anybody could fix this?
Reimu 5. jan. 2024 kl. 10:05 
Does it still work?
Puriren 26. nov. 2023 kl. 1:29 
:meepstarry::meepstarry::meepstarry::meephappy::meephappy::meephappy:
skillslave 2. maj 2023 kl. 0:35 
가방을 제외한 정렬 버튼이 있으면 좋겠는데 shift + g 라던지
Lunatic 26. mar. 2023 kl. 4:23 
if an item stack is at the end of a backpack, and i have another stack of the same item, when sorting, the extra stack will be dropped on the floor

it is very annoying
Knuckles5577 8. jan. 2023 kl. 18:02 
[00:19:28]: [workshop-2189004162 (Insight)]: A crash has occured.
[00:19:28]: [workshop-2189004162 (Insight)]: Title: WARNING!
[00:19:28]: [workshop-2189004162 (Insight)]: Text: [string "../mods/workshop-2815192618/modmain.lua"]:157: attempt to index local 'item' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2815192618/modmain.lua:157 in (method) RemoveItem (Lua) <144-182>
../mods/workshop-1462979419/modmain.lua:313 in (upvalue) sortInventory (Lua) <221-375>
../mods/workshop-1462979419/modmain.lua:398 in (field) fn (Lua) <384-408>
scripts/events.lua:46 in (method) HandleEvent (Lua) <42-49>
scripts/input.lua:187 in (method) OnRawKey (Lua) <184-191>
scripts/input.lua:434 in () ? (Lua) <433-435>
Knuckles5577 8. jan. 2023 kl. 18:01 
causes a crash with insight
Vision丶紫枫灬 13. dec. 2022 kl. 10:07 
I don't know English. This is a mechanical translation. There is a problem. The gears will appear between two foods. Obsessive compulsive disorder means that it is very difficult. I hope there is a solution.
superdh 30. maj 2022 kl. 8:14 
With the recent addition of the crafting menu search field; when typing in the text field mods key binds will fire. Is it possible to add additional key binds outside of a-z?
xingmot 30. jan. 2022 kl. 2:14 
崩溃了,我使用了错误追踪mod,就像另一个人说的,错误追踪mod提示该模组与游戏本体代码冲突。这是错误报告: https://codeshare.io/0gp9rL
Jägermeister 18. jan. 2022 kl. 7:13 
Did you update the mod to use Kleis latest API which can dynamic calculate weapon damage?
Because the original mod uses outdated api, which cause crashes in some cases when sorting.
Leinad 5. jan. 2022 kl. 10:04 
So, when I put the torch count to the max (10), the mod will put up to 10 torches in the first slots of the inventory, but the other light items, like the Lantern, Miner hat and Moggles(that are much more useful outside of the early game), still go to the end of the inventory. Maybe they are being classified as misc and going to the end slots because of this, but I'm not sure. Do you think it would be possible to make these light items have more priority in the sorting process?

(Btw, thanks for keeping this really wonderfull mod alive! )
myxal  [ophavsmand] 5. jan. 2022 kl. 1:22 
@Leinad - IIRC DJPaul's intention with the light bag was to pick a specific number of light sources to main inventory, this is what the "Preferred torch count" option does. You should be able to achieve what you want by setting this to high value. Does this work for you?
Leinad 4. jan. 2022 kl. 21:39 
Hey, myxal! So, I have been using this mod for a while now and something I have noticed is that light items like the Lantern, Miner Hat and Moggles are usually sorted to the backpack when there's a full inventory. I belive it would make more sense for them to be in the main inventory (I normally put light items after weapons and before armor). I even noticed that, in the codes, the light Bag has the most priority, but these items are not going to the expected place. Do you think this is something that could be changed?
33852904 25. dec. 2021 kl. 18:48 
Can set a Controller key?
黑网吧枪神 5. aug. 2021 kl. 9:10 
关闭冰背包然后按排序键会崩
Coisini 28. feb. 2021 kl. 22:52 
Used very long time very good use, but recently always collapse, excuse me is how to return a responsibility:steamsad:
DeathBurst 19. feb. 2021 kl. 15:59 
@myxal: "To those asking for sorting chests - how exactly do you expect that to work?"

I'm not the original asker, but I also felt the need for that feature today, and here's how I see things.

1) Just sorting the chest content itself is already more valuable than you might think. Having a sensible order between items (instead of the random order in which you stored them), and ensuring that duplicate stacks of the same item are next to each other, that's cool.

2) If we can have interactions between the chest and the player inventory, when an item has a stack in both the chest and the inventory, both stacks should be merged in the same container. I think from inventory to chest is a sensible default, but ideally it could be a toggle option (to chest/to inventory/to smaller stack/to bigger stack).

Hope it helps, and thanks for the super useful mod in any case.

See ya o/
悦下檀莹空人心 6. feb. 2021 kl. 22:05 
good
Abyss 3. jan. 2021 kl. 18:45 
Awesome mod, has it been updated after the 16 Dec issues :/?
myxal  [ophavsmand] 16. dec. 2020 kl. 2:28 
I'll have a look over the weekend (sorry, not using the mod myself anymore).

To those asking for sorting chests - how exactly do you expect that to work?

Sorting only the chest contents (ie not touching the player's inventory) when a chest is opened might be doable, but I don't see how this is worth the effort, unless you're using really huge, modded chests like the Storm Cellar, on a large scale. (I use storm cellar, but rarely have more then 2 per base, and even then it's only used for low-traffic, mostly non-stacked items (clothing, hats, staffs, goodies...).
gosari 16. dec. 2020 kl. 0:03 
There is an error in this mode after the update. I'm using a translator, so language delivery may not be smooth.
EL REY DE LAS CANTINAS 14. dec. 2020 kl. 7:02 
Love this mod. But this should work with chests as well
CABBAGE SELLER 94 10. dec. 2020 kl. 11:44 
Sometimes when sorting inventory , items just drop out , more prominent with full inventory
Eslorex 21. nov. 2020 kl. 5:54 
make it for chest pls
Zoe 27k 7. nov. 2020 kl. 12:03 
can you make it work with chest?
myxal  [ophavsmand] 25. sep. 2020 kl. 4:17 
Thanks @󰀃Leonn, merged and publihed.
ICEBERGLOVER 23. sep. 2020 kl. 16:27 
As @Love&Peace said, the "resource" recognizer doesn't work when server language is non-English. I put a pull request on your GitHub and fixed the problem. :D
뾰족머리 삼돌이 30. juni 2020 kl. 13:12 
can you make it work with chest?
God Poing 11. apr. 2020 kl. 8:29 
can you make abigail flower be placed on 1s slot?
Love&Peace 11. mar. 2020 kl. 23:27 
Another idea: Could this trouble be caused by Language?
Love&Peace 11. mar. 2020 kl. 23:22 
Hi~, I find a question about this mod. I am used to setting the 'store these in backpack' as 'resource'. However, SOMETIMES it does not work: all the resources are still in my item bar while my backpack is empty. Everytime I meet this trouble, I change the setting to 'tools'. Then my ax is move to backpack automatical. So I think the trouble may be only about 'resource'. Do you have any idea? Thank you!
Puriren 16. feb. 2020 kl. 1:04 
Danke~!!!:steamhappy:
silver lining 10. feb. 2020 kl. 21:46 
delete = 127
up = 273
down = 274
right = 275
left = 276
insert = 277
home = 278
end = 279
page_up = 280
page_down = 281
silver lining 10. feb. 2020 kl. 21:44 
想要自定义成f1-f12的话, 可以打开workshop-1462979419文件夹, 编辑其中的modinfo.lua文件. 把22行的103改为282(这样就是按F1整理, 283是F2以此类推). 并把第26行改为276(282-6=276).

希望可以使用更多的自定义按键而不只是字母键.
Daxt 22. sep. 2019 kl. 15:10 
If my backpack (regular one) is full of items, when I press sort, the additional items of the same class that do not fit in the backpack are dropped. Is this intentional?
Ahimaaz 20. sep. 2019 kl. 23:25 
thank you and one thing is that i think the function ItemIsLight, line 60, might has a bug in the return statement in " int.HasTag = "light" " i think it should be "inst:HasTag("light")" and so lantern will get sort :D
klarth 18. aug. 2019 kl. 17:32 
Vim pelo magnum of spades hehe xD
Serp 30. juli 2019 kl. 19:56 
ok, thank you, changed the line now to:
local e = TheSim:FindEntities(x, y, z, 20, {"_container"}, {"player", "DECOR", "FX", "NOCLICK" , "INLIMBO", "outofreach"}) or {}
(just found out all containers have this tag, so we can directly look for them)

But I think the FindEntities function will find everything within 20 radius and then checks for the Tags. So the difference is only in what it returns... so in the end it might be faster to have no search tags at all and only do our own checks... hm... But since I'm not sure how it internally works, I will leave it the way above.
myxal  [ophavsmand] 30. juli 2019 kl. 11:17 
Hi Serp. No, no issue observed with FinderMod after removing NOBLOCK tag from exclusions (used with both client-hosted and dedicated). Should be safe.
Serp 29. juli 2019 kl. 20:44 
hi myxal, just wanted to know if you found out sth about the Finder mod and the NOBLOCK Tag you wanted to remove. Is it save to do so? Or did you find another solution / more fixes?
God Poing 28. juli 2019 kl. 13:40 
Im trying to change the key to sort but game wont save the change
myxal  [ophavsmand] 16. juli 2019 kl. 1:32 
@Quintex: Not within the mod/game, sorry. You could probably use one of those tools that maps controller buttons to keyboard keys?
Quintex33 15. juli 2019 kl. 20:08 
Is there any way to configure this mod to work with a controller?
myxal  [ophavsmand] 26. maj 2019 kl. 4:06 
@kiko, does this happen immediately after starting the game? Also, which backpack are you using? (The candybag is ignored when sorting, you have to put the items in manually)