Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal


  • Content Count

  • Joined

  • Last visited

About LordNocturnus

  • Rank
    Junior Member

Contact Methods

  • Minecraft
  • GitHub

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. i can not seem to find this in the config file of opencomputers. where exacly is this located?
  2. yes the database is needed because i use a exportbus from ae2 with this setExportConfiguration(side:number[, slot:number][, database:address, entry:number):boolean function
  3. I am currently working on a bigger project with open computers and have now run into as serious problem: due to the size of the project there are random tick skips of up to 500 ticks (no that is not a typing error and no it is not constantly lagging) due to these skips some of my robots and computers decide to throw the error "to long without yielding". I know that this is to prevent open computers from going through infinite loops, but in my case i can not get rid of it(and yes they are sleeping and even printing out something). What i think is happening is that open computers checks when the last command was executed (saved as the tick in which it was done or a ms timer is started) and in case this was longer ago than a specific time limit (in ticks or ms) it will through this error. In my case the tick skips seem to fill out the time limit so that it troughs the error (it even happens to OpenOS!! on robots) Is there some way to disable this "feature" or prevent the error from showing up(no lag optimizing is not an option i already am in a flatworld with only the spawn chunks being loaded)
  4. OK so i tried integrating your code into my program but very fast i noticed something: i can not download all items because the database upgrade only allows, as far as i know, 81 entries and i have way more ( i remind ~64000 items). now that i am back at my PC i can give you my original code for going through the items: local c = require("component") local s = require("sides") local event = require("event") local db = c.database local ex = c.proxy(c.me_exportbus.address) local me = c.proxy(c.me_controller.address) local r = c.redstone local m = c.modem args = {...} m.open(111) m.setStrength(64) --z=args[2] if args[4] then minz = args[4] else minz = 0 end for z=minz,args[2] do num = 0 print(z) for x=0,args[3] do db.clear(1) l = z.."-"..args[1].."-"..(args[3]-x)..".0" items = me.getItemsInNetwork({label = l}) if #items > 0 then me.store({label = l},db.address,1) print(db.get(1).label) ex.setExportConfiguration(5,1,db.address,1) ex.exportIntoSlot(5) os.sleep(0.1) num = num+1 end if num == 40 then m.broadcast(111,z) os.sleep(10) red = r.getInput(5) while red == 0 do os.sleep(0.1) red = r.getInput(5) end num = 0 end end if num > 0 then m.broadcast(111,z) os.sleep(10) red = r.getInput(5) while red == 0 do os.sleep(0.1) red = r.getInput(5) end end end
  5. ok thanks i will try it out as soon as i am back at my pc
  6. i get these labels just with for y=0,ydim do for x=0,xdim do for z=0,zdim do label = string.format("%d-%d-%d",x,y,z) -- if in ae do something -- else do nothing end end end and they are just the displayed name of the item (they are OC 3dprints made with the setLabel function)
  7. I am currently in the midst of building a larger open computers project for which i need to go through a lot of blocks with very specific labels (x-y-z, where x,y and z are integers, 0-5-99 for example), which is the only difference that can be found between the blocks without looking at them, that are stored in an ae2 Me system. The problem: I only know the maximum values for x,y and z, but not which individual block exist. My question is now if there is a way to do a "fuzzy" search (something like "-32-" to find all items containing that string in their label) within the ae2 integration(searching for all of the blocks takes way to long(64000 blocks and more)), so far i have only come across getting all items or only items with an exactly matching label. In case there is no way to do this in the current ae2 integration i would like to request this feature. MC 1.12.2 OC
  8. Maybe try connecting it to a ME-Core directly, it only worked for me in that case with in my program. The interface gave me no items at all.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.