#Open Computers Infusion and Blood Altar Output Retrieval Script

136 messages · Page 1 of 1 (latest)

ripe axle
#

If you can't be asked to build a 2nd infusion setup to automate infusion recipes, but can be asked to make some OC components this script is for you!

This script is used to automatically remove items after an infusion has been completed, It doesn't automate the placement of items or the start of the ritual. If you want a guide on automatic infusion, i posted the breakdown of my infusion setup on the wiki: https://gtnh.miraheze.org/wiki/Infusion_Automation

What you need

  • 1 Computer case (tier doesn't matter)
  • 1 Disk drive (not needed if using a tier 3 case)
  • 1 Screen (tier doesn't matter)
  • 1 cpu + 1 gpu or 1 apu (tier doesn't matter)
  • 1 Memory stick (tier doesn't matter but if you use 1 tier 1 stick, there are separate install instructions)
  • 1 Hard disk (tier doesn't matter)
  • 1 Keyboard
  • 1 OpenOS (Operating System) floppy
  • 1 EEPROM (Lua Bios)
  • 1 Transposer
  • 1 ME Interface Block (small plane interface won't work)

How to build the setup

  1. Put the transposer next to the middle pedestal or the altar
  2. Put a full block interface on the transposer
  3. Put the computer case next to the transposer
  4. Make sure you have a way to power the computer (an ae cable can do that)
  5. Insert the hard drive, memory stick, cpu and gpu or apu, EEPROM (Lua Bios), and the Open OS floppy into the case
  6. Put the screen next to the computer case
  7. Put the keyboard on the screen like in the picture
  8. Boot up the computer
  9. Run install
  10. Reboot
  11. Remove the open os floppy you don't need it anymore

How to install the script

  1. Type touch infusion.lua and press enter
  2. Type edit infusion.lua and press enter
  3. Open the text file attached to this post and copy the entire contents of it
  4. Use Middle-Click to paste the text into the open os terminal
  5. Do Ctrl+S
  6. Do Ctrl+W
  7. Type infusion.lua to start the script
  8. Profit

How to install with 1 stick of tier 1 memory

  1. Copy the text from #1222007275246456902 message
  2. Middle-Click to paste it in the terminal
  3. Press Enter
  4. Type infusion.lua
  5. Profit
    https://cdn.discordapp.com/attachments/1222007275246456902/1326608322614263878/javaw_AeapUWDEK3.mp4?ex=67800bc7&is=677eba47&hm=970e61852bf82304463a6bd87712345c72821350615170af3e3047847d3eff86&
ripe axle
#

If you don't have automated infusion setup yet, i wrote a guide on the wiki about how to set it up https://gtnh.miraheze.org/wiki/Infusion_Automation

repalce the Collecting the outputs section with the setup described in this post

here's a world download with the setup: https://cdn.discordapp.com/attachments/1222007275246456902/1442145162615586866/Automated_Infusion_Script.zip?ex=69245dd8&is=69230c58&hm=1a1e21babd4d7e57c71c727eaad3b537736b31e11349eafc2435fc72bf8c2b8c&

GT New Horizons

When automating the Infusion Altar from Thaumcraft, you might run into some issues. The altar has somewhat special item handling, that won't let you slap AE right onto it. Getting the items into the right spots, with AE support, and then starting the infusion all have their own hurdles. Even returning the finished item can be a little difficult ...

granite abyss
#

does it have feature to check if ae system have enough essentia to complete the infusion?

ripe axle
tranquil forge
#

the essentia for requesting using thaumic energistics is different than the essentia that gets automatically supplied when you shift click a craft into a pattern is different than the essentia that you look up in NEI

#

best ive been able to do is before you have a bunch of 64k cards just manually requesting the appropriate essentia you need and then once you have 64k cards just shoving a bunch of any necessary essentia into the system

knotty wyvern
tranquil forge
#

oh shit

knotty wyvern
#

37 mins ago kekw

tranquil forge
#

so then if it works for the level emitter it should work for autocrafting?

knotty wyvern
#

most likely

tranquil forge
#

lfg

knotty wyvern
#

or at the veri least, level emitter going into that thing

#

redstone control

#

that can disconnect an interface

tranquil forge
#

yea would be a bit annoying to level emitter everything but

knotty wyvern
#

so the patterns in it wont be visiable

sweet crow
#

Btw, essentia doesn't want to be level maintained. It works at first then breaks.

#

It looks like it's possible to make an OC essentia maintainer. I'm going to work on it, but I don't know how long it'll take to finish. I'm probably going to make a tips-and-tricks post for it.

ripe axle
#

ngl i just used a metric ton of essentia level emitters on me export busses with level maintainers to auto-craft the items

#

it was 💀

#

but hey, it worked™

pulsar anchor
#

In case anyone wants to hide/place the transposer not directly next to the pedestal. A transvector interface will work with the tile id for the transposer of:
tile.interface

woven adder
#

@ripe axle

#

you still offer support?

ripe axle
#

just gonna remind that

teal shore
#

ty

keen elm
ripe axle
#

oh i forgot about that

#

you can just make one i guess kekw

keen elm
#

so need at least tier 2 case or is there another way to use the floppy?

ripe axle
#

there is a disk drive block

#

you just slap it next to the case and it will hold the floppy

keen elm
#

hmm nice

#

ha it's funny, sticks out like that

#

also computer crashes with 1 tier1 ram

ripe axle
#

that's odd because i did test that

#

and it worked fine

earnest silo
#

I can't seem to get the interface to retrieve the item after the infusion completes. Script says it's started , transposer is above computer case, interface is above transposer, the computer is correctly reading the transposer as a component. Interface is connected to mainnet and items placed in it are going to storage. Anything obvious I'm missing?

earnest silo
#

For anyone else with a similar issue, the problem was I placed the transposer between two pedestals. It was pulling from the wrong one. You can either change the script slightly to hardcode the side, or just not place the transposer between the pedastels and put it in the front or back of the central pedastel

ripe axle
#

oh yeah if it touches more than one it will have some issues

#

you only want it to touch a single pedestal and a single interface, there is no way for me to identify which one you want so it just picks the first one it detects

ripe axle
# keen elm also computer crashes with 1 tier1 ram

it was indeed a bit of a challenge to get the script installed but running it with tier 1 everything is indeed possible. The reason why I didn't have issues is becasuse I manually went into the save folder to drop the lua file when I tested the tier 1 everything install back then. here is the command you can paste into the terminal to install it on an all tier 1, single memory stick computer:

#
echo "local sides = require('sides') local event = require('event') local transposer = require('component').transposer function isDifferentItem(oldItem, newItem) return newItem.name ~= oldItem.name or newItem.damage ~= oldItem.damage or newItem.tag ~= oldItem.tag end function main() local oldItem = nil local altarSide = findInventory('tile.blockStoneDevice') or findInventory('tile.bloodAltar') or error('failed to find pedestal or blood altar') local interfaceSide = findInventory('tile.appliedenergistics2.BlockInterface') or error('me interface not found') while true do local newItem = transposer.getStackInSlot(altarSide, 1) if newItem ~= nil and oldItem ~= nil and isDifferentItem(oldItem, newItem) then local remaining = newItem.size while remaining > 0 do remaining = remaining - transposer.transferItem(altarSide, interfaceSide, remaining) end newItem = transposer.getStackInSlot(altarSide, 1) end oldItem = newItem coroutine.yield() end end function shouldShutdown(timeout) return event.pull(timeout, 'interrupted') ~= nil end local sidesToTest = { sides.up, sides.down, sides.west, sides.east, sides.north, sides.south } function findInventory(invName) for _,side in ipairs(sidesToTest) do if transposer.getInventoryName(side) == invName then return side end end return nil end print('infusion script started') local t = coroutine.create(function(...) main() end) local success = true while success and not shouldShutdown(0.05) do local err; success, err = coroutine.resume(t, ...) if not success then print(err) break end if coroutine.status(t) == 'dead' then print('infusion script completed succesfully') break end end" > infusion.lua
worldly geyser
#

I was thinking, could this just be completely circumvented by just renaming the problematic infusion inputs?

#

works the same for slates in blood altar, just rename any slate used as input, and extract slates with conduit or translocator.

keen elm
#

Sure but there is already enough renaming with assline fail also would need to add to extract filter every time you add a recipe

worldly geyser
#

only need to rename the problematic things which are outputs of infusion and center inputs. adding an item to a storage bus for each infusion craft seems like not a big deal

#

way less effort than setting up an oc

ripe axle
#

renaming the middle item would technically work, and since you'd be using a micro-net with an import bus on the middle pedestal linked to a filtered storage bus(es) it shouldn't require any additional setup if you are already using priority based item positioning.

#

the only difference is that my thing can 1 tick remove while the import bus would have a ramp up period as it starts sucking the items

fresh coral
#

Blood altar Arcane slates -> T1 slates seem to be turning into t2 slates before the transposer extracts them, using a luv world accelerator, no speed runes on altar, does the transposer/computer also need to be accelerated(idk if this is even possible)

My crafts constantly get stuck on waiting for t1 slates, I noticed today I had an excess of nearly 400 t2 slates so oc failing to extract quick enough is the only explanation I can think of

#

Computer has t3 hard disk, t2 apu(I think, I’m not on right now but it’s the one before the purple apu), 2x 3.5 ram, and the eeprom ofc

ripe axle
#

you can WA the computers

#

might be good to do so if you can fully craft something in the inter-ticks caused by the WA

#

though becuase of the built in latency to the transposer i'm not sure it would work too well

#

i've never had issues with it before though which is weird

#

i used like 2 luv WAs on my altars

#

don't think i had the computer WAd tho

fresh coral
#

odd, ill try wa the computer next time

keen elm
#

I have had kind of an opposite problem, it pulled the item too fast kekw

#

Item inside gets pulled out and interface instantly inserts another and the computer detects it as a change and pulls it

ripe axle
#

that's ood because that was something i tested for

#

more things for me to look into

#

are yall using the green runes?

#

i can't remember what i called them

#

because if you aren't even WA ing shouldn't do much

#

since it has a world tick time delay between crafts that can't be bypassed by WAs

#

the green runes reduce that delay

fresh coral
#

rune of quickness? no im not

worldly geyser
ripe axle
#

odd because that shouldn't trigger that logic

worldly geyser
#

yeah its probably a bug

ripe axle
#

the only way to hard reset the counter is to have the player manually interact with the altar

worldly geyser
#

the adding of the fluid somehow trips the condition

#

should be trivialy easy to reproduce

keen elm
ripe axle
#

huh it does start cycles on fluid insertion

fresh coral
#

well, from tank -> p2p -> altar

ripe axle
#

lmao

#

not on drain tho

#

kinda funny i didn't catch that before when i made the rune

fresh coral
#

oh i might be misunderstanding the context, are you guys saying a new cycle starts on fluid insert ONLY with the green rune?

#

or just in general

ripe axle
#

so if my understanding is correct, you could just pump blood in and out non stop and have it do recipe checks every tick kekw

ripe axle
fresh coral
#

damn

#

i thought i was big brain having 2 altars but im just fucking myself over kekw

ripe axle
#

i had one for my orb and one for crafting so eh

fresh coral
#

yeah thats what i have, but my orb altar is also my wos altar, i send blood from orb altar into a tank then send blood from the tank to my crafting altar

ripe axle
#

ah, i just had a WoS for both altars

#

though by the end of it i just kept the avarice orb on me 24/7 because it would just stop filling up after a certain point for no reason and refuse to send more, and since the crafting WoS was consuming lp, it would end up trying to kill me after a couple hours kekw

fresh coral
#

i can try 2 wos when i move my bm setup to a new area, but i think im pretty much done with bm progression other than t6 altar so atp idk how important it is

ripe axle
#

i thought i was because of int overflow, but even with making sure that wasn't the reason it still tried to murder me so idk

#

avarice orb is very nice

#

it's just making the transparent orb that will make you commit sudoku

#

not if you automate the crafting process tho

#

also, if you want to ensure your recipe take longer, craft things in batches

#

the altar can take up to 64 items at the same time when they stack

fresh coral
#

yeah ive set my craft size to 64

#

i can try it again to see if it happens

ripe axle
#

the issue you are getting is more likely to be caused by some weird delay thing with the OC transposer

#

but yeah, unless you WA the computer i'm not sure you can actually get around tha tissue

#

sidenote, using a WA to OC a computer will always be some of the funniest thing there is to me

#

does make em pretty responsive tho

fresh coral
ripe axle
#

you can WA the WoS if you want a stupid amount of blood per sec out of it

#

i was crafting stacks of t5 slates with it

fresh coral
#

yeah i wa everything, i was struggling with bm progression kekw having 2 altars at the start isnt very smart since both need to be upgraded, but runes are slow and expensive at the start

ripe axle
#

i think i had 2 LUV wa on both the altar and the WoS

#

yeah the runes are very rough at the start

#

makes setting up the automation for them very nice

daring trout
#

y

bronze elbow
#

hmm having troubles getting the script to move stuff off the middle pedestal after the infusion is done. transposer is not between 2 pedestals but it doesnt seem to want to move the item to the interface

heres a screen shot. didnt do the sideways pedestals cause im using a group member's altar and trying to automate it. but that shouldnt affect how it retrieves items from the middle one

ripe axle
#

if your computer's screen is black and nothing is happening when you type it's a good indicator that it happened

#

and iirc it's one of the few ways to actually power those computers properly

#

the energy cell should be directly connected to a powered ae network, it won't just buffer into it, it only pulls from the energy cell

#

to the best of my knowledge this is everything you should need to getthe process going

ripe axle
bronze elbow
#

or shoot you sent me a test world. hold on

bronze elbow
#

probably a newb question but how do I load up the world?

#

sorry tried to figure it out myself XD

#

got it unzipped just unsure of where to put the files/load them up

ripe axle
#

same place you'd find your usual save files

bronze elbow
#

yeah just figured it out right before haha and yeah test world works fine

#

yeah the only differences are we didnt do the 1 tier 1 memory chip way and we have a circle of pedestals instead of a line. also missing the pulse former. but i dont think its that important?

ripe axle
#

what ever tier of items you used shouldn't matter, i've ran it before on tier 1,2 and 3 everything so i don't think that's the issue

#

so i'm tempted to believe that the computer simply ran out of power or something