Space Engineers

Space Engineers

Automated Inventory Sorting Munchy's Fork
51 Comments
Mainframe Oct 17 @ 9:05pm 
Any plans to read the custom data? The names look so messy, specially when displaying on LCD's. (the fork says depricated)
Caazego Sep 30 @ 9:55am 
Where do you want feature requests and bugs?
Caazego Sep 29 @ 12:54pm 
I don't see anything in the guide, mod dir, and here that lists all items and the categories. I also looked in Automatic LCD, but MMaster hasn't added a full data dictionary either. Anyone know where I can find an Apex current list? I'm specifically looking for the algae tubes, but it's best to have one place to look up anything.
MisterCadrega Sep 24 @ 1:32pm 
naming a container MyContainer_2 [P100] doesn't really do anything. Tried also with [*], [Any], [All] and so on, but nope.

Seems also like the [Ignore] tag isn't just working at all.
Tommyk Sep 13 @ 11:07pm 
@@ElPumpo
glad you made it work!
I recommend the BETA from MunchyG.
It runs pretty good for me and has the latest changes
I still need to update the guide to the latest changes but the basics are all explained
Ask away if needed! have fun! :lunar2019grinningpig:
ElPumpo Sep 13 @ 5:10pm 
@Tommyk, That would explain my problems! Had things labeled pretty correct but just didnt have it installed on the server! Thanks for the comment and the very well done guide!
Tommyk Sep 13 @ 4:09am 
@ElPumpo
This mod is NO script!

install the mod and then just name the container/machine like you want to go there...

https://steamcommunity.com/sharedfiles/filedetails/?id=2232184310
ElPumpo Sep 13 @ 2:03am 
Any idea why this script inparticular wont show up in the ingame list? It does download and exists in the workshop folder but cant seem to get it to show
Tommyk Sep 12 @ 11:31pm 
untested, I am on business trip... I would try it like this maybe?

MyContainer_1 [Ingot:P10]
MyContainer_2 [P100]
MisterCadrega Sep 12 @ 5:00am 
Welp, hats off, great work on this.

Just a question: would be possible to have tags to specify "any item" or "anything else not specified already"?

like this?

MyContainer [Ingots:P10,Ignore:AnythingElse]
MyContainer2 [Anything:P100]
Tommyk Sep 9 @ 5:02am 
Awesome! Thanks MunchyG! :p2cube:
MunchyG  [author] Sep 9 @ 4:06am 
New Updates are out
MunchyG  [author] Sep 9 @ 3:47am 
i have an update ready for the new apex survival update on both branches but the game won't let me publish them, so stay tuned
Tommyk Sep 9 @ 3:09am 
Oh, I am on beta indeed :lunar2019grinningpig:
MunchyG  [author] Sep 9 @ 1:58am 
@Tommyk are you using this version or the beta. cos i have made no changes to this version's sorting algorithm
Tommyk Sep 8 @ 10:30am 
sorting is so fast now! thx munchyG :p2cube:
MunchyG  [author] Apr 28, 2024 @ 10:01pm 
The freezing is a known issue when it attempts to sort to many items at once, i am not entirely sure how to fix this, as I am only maintaining the item filters and have little idea how the actual sorting function of the code works
MunchyG  [author] Apr 28, 2024 @ 9:59pm 
@leonix if you put [Exempt] in your assembler name or in the custom data, this mod will ignore it
lowww Feb 10, 2024 @ 10:03am 
The mod constantly freezing every few minutes... I had to remove it stop the freezing.
Leonix Oct 30, 2023 @ 11:31am 
In my base, I have 4 assemblers and 1 disassembler... to prevent the mod from taking out all items except ingots, I put a sorter after the assembler with setting to let through only ingots. But for some reason, this mod still f**k with ingame logistic and pulls out everything... :D
Krieggs Jul 5, 2023 @ 4:55pm 
mod seems to causing massive freezing on dedicated server
Emperors_Nightmare Jan 22, 2023 @ 6:01am 
@Autor will you keep it updataet?
Tommyk Jan 3, 2023 @ 2:20pm 
Thanks, NightShift :steamthumbsup:
NightShift Jan 3, 2023 @ 12:30pm 
[Autocannon:25:P2] works
Tommyk Nov 4, 2022 @ 3:47am 
Sorry Smork, I dont know... If I find out, I write it here and add it to my little guide....
Smork Alam Nov 4, 2022 @ 12:32am 
Right, I asked this is the discussion, but it wasn't answered, so I'll ask here. How do I set a container to accept certain ammo types? I know the Gatling Gun ammo (NATO_25x184mm), but what do I put for the auto cannon magazines?
Smork Alam Oct 31, 2022 @ 11:00am 
I did that and it worked. Perhaps it's just that my setup (I'm using the water mod to produce Ice) is generating too much Ice and it's bypassing the filters to store the excess?
Tommyk Oct 30, 2022 @ 10:42pm 
Heya Smork, I just tested this build with 2 containers connected by conveyer

sCargo01 ---- conveyor --- sCargo02 [Ore, Ice:Ignore]

I put some silicon and ice in sCargo01...
Silicon Ore got pulled to sCargo02, the Ice remained in sCargo01

hmm, it is strange that it not works for you.
can you try my simple setup? (2container connected by 1 conveyor)
Smork Alam Oct 30, 2022 @ 7:40pm 
How would one make a container ignore Ice? I want it to store Ore, but not Ice. And yes, I tried Ice:Ignore.
BookBurner Jul 6, 2022 @ 1:52am 
Just a hint, while it works fine it causes issues server side. Not sure if it is related to this fork or if it is a general issue. Most probably a problem with accessing the save file when it sorts multiple grids at once. When this happens during the server save, it causes a silent crash without any errors but event log shows the following. The error itself didn't directly pinpoint to sorting but after a bit of testing the error subsided when we removed the sorting alone.

Unable to open the job object \BaseNamedObjects\ChildProcessTracker59312 for query access. The calling process may not have permission to open this job. The first four bytes (DWORD) of the Data section contains the status code.

An Error 1060 - The Specified Service Does Not Exist as an Installed Service.
Toriman Jun 29, 2022 @ 4:31am 
how to disable pulling loot through a specific connector?
Toriman Jun 29, 2022 @ 4:19am 
hello! is it mod is actual now? thx
MunchyG  [author] May 19, 2022 @ 1:45am 
it should be [Welder2Item] but for all tools you can use [PhysicalGunObject]
Ginge Apr 6, 2022 @ 12:44pm 
anyone know the command to pull the enhanced welder items etc ??
MunchyG  [author] Mar 7, 2022 @ 10:30pm 
is this via a connector? cos i believe this mod has issues with it. i honestly don't know enough about the major inner working of the mod to help with that, i simply modify the sorting categories to fix new updates
Zach Mar 7, 2022 @ 3:53pm 
I've used the inventory mod on a dedicated server I've hosted before and it worked great, using this one on a new dedicated server - I can't get it to function. Not sure what i'm doing wrong. I have a large container labeled as [Component] to fetch all components from a salvaging ship I connect to the grid. I even tried naming it [SteelPlate] to get it to pull plates as a test, that doesn't work either
MunchyG  [author] Mar 3, 2022 @ 8:32pm 
Soo "Gattling ammo box" is actually still [NATO_25x184mm]. And you may now need to use [AmmoMagazine] i believe, [Ammo] may still work for some.
MunchyG  [author] Mar 3, 2022 @ 7:57pm 
they changed the definition for ammo in warfare. i am working a fix atm.
MiteeGrimm Feb 18, 2022 @ 7:27am 
Since the warfare updates, how do we separate the "Gatling Ammo Box" and the "5.56x45mm NATO magazine" as it was before, you used "Nato_5p56x45mm" before. Now when I use "Nato_5p56x45mm" it only moves the "Gatling Ammo Box". Mind you using "GatlingAmmoBox" will also move the "Gatling Ammo Box", so how do we sort the new ammo and weapons?
Tommyk Sep 29, 2021 @ 7:34am 
hmm, I actualy never looked into that.

My base containers all have lower Prio than my welder cargo
Maybe if the big base cargo has same prio?
need to check...

I mainly use this stepping in prio
Miner -> 10
Outpost -> 9 (miner drops ore here and hauler to base fetches with prio 8
Hauler -> 8
Base -> 5
Welder Ship -> 1-4

For Uranium (Reactor) and Ice (Oxygen/Hydrogen) -> P1
Mainly I use Batteries. Reactors are my emergency backup. Ice for Oxygen/Hydrogen
Hard to break with Ion-Drives when the hauler is full, hahaha
MunchyG  [author] Sep 28, 2021 @ 1:33am 
if something else it pulling steelplates it should drain it back down to limit, no?
Tommyk Sep 28, 2021 @ 1:30am 
yes, @MunchyG, I think

Ship03 mCargo01 [Component:P1:20, SteelPlate:Override:P1:200, InteriorPlate:Override:P1:100]

is indeed a very good setting!

-> The shipwelders will pull from shipcontainer as needed if you set their conveyer-option to ON

Another Thing: I dont think a ship-container will be purged
If you have 250 SteelPlate in cargo, it will not reduce to 200
but the welder having more than needed will hardly ever be the case (only if you fill it by hand) :lunar2019grinningpig:
MunchyG  [author] Sep 28, 2021 @ 1:04am 
could tweak those values till it is your max limits

and if your lazy you could also just use [Component:P1:X]
and just play with x till you are happy with the weight.
This method however will pull equal amounts of everything sooo probs not the best idea as metal plates ect, probs require more than the rest.
but you could use the override function like [SteelPlate:Overrride:P1:X] to combat this if you don't want to do everything individually like Tommyk.

also not sure if the override is even needed (my testing in game has never needed it)
[Component:P1:100, SteelPlate:P1:1000]
acts the same as
[Component:P1:100, SteelPlate:Override:P1:1000]

(@Tommyk has this been the same for you or have you needed the override function)

so cargo container could look more like

[Component:P1:20, SteelPlate:Override:P1:200, InteriorPlate:Override:P1:100]
huesaturation Sep 27, 2021 @ 6:09am 
@Tommyk

That's right! That way I wouldn't have to worry about manually selecting everything whenever a component runs out of welder stock.

Another idea would be to be able to select the amount of cargo in the large cargo container. I have ships that support well to lift 70% of the large container, but when the ship is full it doesn't leave the ground.
MunchyG  [author] Sep 27, 2021 @ 3:38am 
there is a typo in the small tube priority @Tommyk
Tommyk Sep 27, 2021 @ 3:03am 
@huesaturation

fill the cargo on your welder ship? like this?

Ship03 mCargo 01 [SteelPlate:P1:200, InteriorPlate:P1:100, Construction:P1:100, Motor:P1:25, Computer:P1:50, SmallTube:P!:100, Girder:P1:75, LargeTube:P1:10, MetalGrid:P1:25, BulletproofGlass:P1:25, Display:P1:15, SolarCell:P1:8, PowerCell:P1:5]
MunchyG  [author] Sep 26, 2021 @ 11:50pm 
wait, like production quota mod?
huesaturation Sep 26, 2021 @ 7:46am 
I wanted a mod where I could select the amount of components that could be used to restock the welder
MunchyG  [author] Sep 16, 2021 @ 4:33am 
not sure if it would very easy/modular to implement that, and plus space engineers item ID's are pretty much the exact same as display name without spaces. If you do need a list of item ID filters the original mod page has all the vanilla item ID's, in its description.
valu Sep 16, 2021 @ 3:18am 
works fine so far for the categories (component, ore, ingot...) i want to sort.

Is there a possibility to specifically sort / filter by display names in custom data?
i had to search for the subtypeId, which sometimes differs from the display name to make him filter correctly. (subtypeId: SmallTube / LargeTube instead of display name: Small Steel Tube and Large Steel Tube for example)