DartCraft - Spoils Bag Predicament

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Moonridden

New Member
Jul 29, 2019
19
0
0
So, I've recently encountered an issue while using peaceful tables and swords with looting enchanted onto them...

I have a large amount of spoils bags, and no way to use them because Unleashed doesn't have redpower (sigh), and I'm absolutely garbage when it comes to LUA using turtles, so does anyone else have an idea on how to open these suckers?

2013-08-08_13.43.19.png


I understand that a Turtle might be my only option, but like I said, I can't code to save my life.
 

Over_Code

New Member
Jul 29, 2019
3
0
0
I made a quick program for you, type "pastebin get VPpiEmdG open" into a turtle to download it. Then put a chest in front of the turtle, and a chest below the turtle. Put the Spoils bags in the front chest, and then type "open" into the turtle. All items will be put into the bottom chest.
Hope you find this useful.

Warning: Chest fills very quickly.
 
  • Like
Reactions: Staxed

loboca

New Member
Jul 29, 2019
416
0
0
Mind if I ask how you got all those bags? Was it an automatic method (soul shards, MFR spawners, etc), or just from lots of adventuring?
 

Moonridden

New Member
Jul 29, 2019
19
0
0
@loboca , Heres the setup I use. I keep this one in a nether fortress for blaze rods, coal, necrotic bones, and wither skeleton heads.

The chest setup I use, complete with baby chunk loader:
Chest Layout.png


This is the sword chest, so it keeps the sword in one chest for easy replacement. Use a filler to keep loot out of the sword chest, I used netherrack.

Chest Layout.png

And my export ender chest, which my AE system sucks up.

Export Chest.png

Total Resources Required:
Chunk/Spot Loader
2 Ender Chests / Storage Chest (ME Chests dont work, I tried.)
3 Peaceful tables
Basic Chest
Sword

Make the layout like this if using 4 tables:

[Air] [P.Table] [Ender]
[P.Table] [Chest] [P.Table] [Baby Chunk Loader]
[Ender] [P.Table] [Air]

Just repeat the setup as much as you want inside your base for insane amounts of drops... I use the spoils bags for a number of resources, it pulls directly from dungeon loot tables. Which means division sigils. ;)

@Over_Code Your program works BEAUTIFULLY. The only issue is you gotta babysit it because of those super glitched stone blocks.
Heres a screenie of that setup... AE dosent seem to wanna export the spoils bags for some reason.

Turtle Setup.png

Heres some of that glitched smooth stone...

Glitched Stone.png
 

Over_Code

New Member
Jul 29, 2019
3
0
0
@Over_Code Your program works BEAUTIFULLY. The only issue is you gotta babysit it because of those super glitched stone blocks.
Heres a screenie of that setup... AE dosent seem to wanna export the spoils bags for some reason.

View attachment 6787

Heres some of that glitched smooth stone...

View attachment 6788


Yeah, hopefully that stone bug gets fixed. Also I think the spoils bags all have different NBT data, so try using a fuzzy export bus if you aren't already.
 

Boundary

New Member
Jul 29, 2019
140
0
0
I also gave this a try & it worked really well thanks :) But as soon as I automate filling of the spoilers bag chest the turtle doesn't drop the item anymore it just keeps filling it's inventory until the script stops, the drop chest is empty with & setup to import to AE system as well? That was using an AE fuzzy export on spoliers bag (iron) chest. I thought maybe there was some weird interaction between AE -> iron chest -> turtle, so tried BC pipes to fill the chest, then I tried routers, then I tried another turtle filling the chest, couldn't get any to groove. I even tried a turtle filling the 'open' turtle. But as soon as I automate input to the spoils bag chest (whether it be a one item storage aka router or a another turtle putting items into the 'open' turtles slot 1, etc, etc) it always stops opening & just fills the 'open' turtles inventory. Any ideas?
 

Moonridden

New Member
Jul 29, 2019
19
0
0
I encountered this same thing. Actually went back and learned basic 'Turtle' to figure this out, but had no luck. Any other coders have any clues on to this?
 

natnif36

New Member
Jul 29, 2019
623
0
0
Because when spoils bags drop initially, they are "empty" and don't actually have NBT or whatever to contain items - they actually will stack if placed in a DSU, barrel Etc.
Thus only generate their contents when they enter a players inventory.
Not a turtle inventory - a player inventory.
Once the contents are generated, then a turtle can empty them.
That's why when you were setting up the program it seemed to work - by manually carrying bags to the turtle, you had them in your inv, generating their contents.
But when you piped them in, they did not enter a players inv and therefore did not Actually contain anything yet.

No-one has found a way to automatically generte these contents yet.

Right clicking can be done in a Tool Dynamism Tablet or a Turtle very easily, S you all know.
But the Players inv part?
Not so much.
 

Boundary

New Member
Jul 29, 2019
140
0
0
Thanks, thats helpul information. So 100% automation is going to be a challenge, I did wonder why some spoiler bags stacked and others not.
 

Dominance

New Member
Jul 29, 2019
1
0
0
I think it is because the script stops working after everything is done. then you have to replace the chest in front of it for it to recycle. for some reason just typing open doesnt work. unless the chest is placed everytime.
 

Feyriin

New Member
Jul 29, 2019
129
0
0
Tool Dynamism tablet generates an error when trying to use a spoils bag. But I wonder if you could use it as a mid step as a "fake player" to hold a bag, then output to another system to loot it

edit: nope, the fake player generated by the tool dynamism tablet doesn't force the bag to generate it's contents
 

namae

New Member
Jul 29, 2019
109
0
0
A bit unrelated, but since you must've opened so many bags please tell, do they have a chance to contain portal gun?
 

PhilHibbs

Forum Addict
Trusted User
Jan 15, 2013
3,174
1,128
183
Birmingham, United Kingdom
I guess I've been really unlucky with my spoil bags - I must have emptied a couple of hundred of them into my AE enderchest and never seen a portal gun. I did find a potato gun in one of the first actual chests I ever found, but since then, nothing. And I've been having the phantom stone problem, I posted it in the Unleashed pack bugs thread.
 

Omegatron

Well-Known Member
Mar 29, 2013
544
371
78
England
How about using a PIM from open peripheral to send spoils bags into your inventory to generate their contents then extract them and send them to a turtle to auto open them. Of course you would have to stay stationary on the PIM for a long time.
 

Feyriin

New Member
Jul 29, 2019
129
0
0
I just dump them to my inventory and throw them back in my AE storage, which then routes them to a tool dynamism tablet once I throw a switch. Not completely automated, but only takes a couple minutes of time with inv tweaks helping out.
 

Lgweaver

New Member
Jul 29, 2019
34
0
0
How about using a PIM from open peripheral to send spoils bags into your inventory to generate their contents then extract them and send them to a turtle to auto open them. Of course you would have to stay stationary on the PIM for a long time.
Did you try this approach? I tried this and I can not get logistics pipes to pipe spoils bags into my inventory. the supplier logistic pipe glows like it's trying to comply with the request. but the spoils bags never end up in my inventory.
 

Lgweaver

New Member
Jul 29, 2019
34
0
0
The problem with this answer is that it still used the PIM and I can't get the PIM to function that is why I asked the question I asked...