Space Engineers

Space Engineers

Automated Inventory Sorting Munchy's Fork
35 Comments
MunchyG  [author] 28 Apr, 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] 28 Apr, 2024 @ 9:59pm 
@leonix if you put [Exempt] in your assembler name or in the custom data, this mod will ignore it
lowww 10 Feb, 2024 @ 10:03am 
The mod constantly freezing every few minutes... I had to remove it stop the freezing.
Leonix 30 Oct, 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 5 Jul, 2023 @ 4:55pm 
mod seems to causing massive freezing on dedicated server
Emperors_Nightmare 22 Jan, 2023 @ 6:01am 
@Autor will you keep it updataet?
Tommyk 3 Jan, 2023 @ 2:20pm 
Thanks, NightShift :steamthumbsup:
NightShift 3 Jan, 2023 @ 12:30pm 
[Autocannon:25:P2] works
Tommyk 4 Nov, 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 4 Nov, 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 31 Oct, 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 30 Oct, 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 30 Oct, 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 6 Jul, 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 29 Jun, 2022 @ 4:31am 
how to disable pulling loot through a specific connector?
Toriman 29 Jun, 2022 @ 4:19am 
hello! is it mod is actual now? thx
MunchyG  [author] 19 May, 2022 @ 1:45am 
it should be [Welder2Item] but for all tools you can use [PhysicalGunObject]
Ginge 6 Apr, 2022 @ 12:44pm 
anyone know the command to pull the enhanced welder items etc ??
MunchyG  [author] 7 Mar, 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 7 Mar, 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] 3 Mar, 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] 3 Mar, 2022 @ 7:57pm 
they changed the definition for ammo in warfare. i am working a fix atm.
MiteeGrimm 18 Feb, 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 29 Sep, 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] 28 Sep, 2021 @ 1:33am 
if something else it pulling steelplates it should drain it back down to limit, no?
Tommyk 28 Sep, 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] 28 Sep, 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 27 Sep, 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] 27 Sep, 2021 @ 3:38am 
there is a typo in the small tube priority @Tommyk
Tommyk 27 Sep, 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] 26 Sep, 2021 @ 11:50pm 
wait, like production quota mod?
huesaturation 26 Sep, 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] 16 Sep, 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 16 Sep, 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)
Tommyk 10 Sep, 2021 @ 3:15am 
Nice fix. will try your version this weekend. awesome! :selike: