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

LordNocturnus

Members
  • Content Count

    23
  • Joined

  • Last visited

Everything posted by LordNocturnus

  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 wh
  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.set
  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
  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.
  9. Hello i am still working on my 3dprinting programm but found a problem: I can not print colored glass!! In the attached image you can see different kinds of glass(right) and their result when i use the texture in an 3dprint(left full block): they turn untinted. they also can not be tinted again using the tint feature of the 3dprinter: They are just a solid block with the assigned color.
  10. then i would like to change my question into how the tint setting works
  11. now i only have to wait for a solution of my other problem
  12. thanks again the code now works and you probably tried to use the files with the included printer program but they are not designed for it (wrote a custom simplifying algorithm to print them)
  13. thanks for the fast answer and no they are not corrupted but work in progress
  14. Hello i am trying to download a file use it and delete it again to make space on the hard drive for the next file but i does not delete the file somehow: local c = require("component") local computer = require("computer") local internet = require("internet") local fs = require("filesystem") local p = c.printer3d args = {...} link = "https://raw.githubusercontent.com/LordNocturnus/sf-" folder = "/master/" imax = 0 local TIMEOUT = 4 -- in seconds for i = 0, imax do local url = link .. i .. folder .. "list.txt" local status, connection = pcall(interne
  15. Hello i am currently trying to use the textures of flat colored blocks in my 3d print but with the texture picker i always get "flatcoloredblocks:blocks/flatcoloredblock_drywall" which is just a white block. is there a way to get the colored texture on to the print or is it just not compatible (oc-version:MC1.12.2-1.7.2.67 and flatcoloredblocks-version:mc1.12-6.6)?
  16. ok i changed the programm a bit: local c = require("component") local computer = require("computer") local internet = require("internet") local f = io.open("test.txt", "wb") local imax = 0 local xmax = 0 local ymax = 41 local zmax = 1 local TIMEOUT = 5 -- in seconds local link = "https://raw.githubusercontent.com/LordNocturnus/sf-" local folder = "/master/" local pos = 0 for i = 0, imax do for xb = pos, xmax do for yb = 0, ymax do for zb = 0, zmax do print(xb, yb, zb) local file = xb .. "-" .. yb .. "-" .. zb ..
  17. now i get a "attempt to call method 'close' (a table value)" error
  18. Thanks agian for the fast answer. it successfully downloads a file and times out if there is no file but i get a indexing global value (nil) for this line: socket:close()
  19. thanks for the quick answer. i tried your code but got a compare number with nil in the line and i newer had a 404 error before even with wget it just wrote a empty file if not status or not response or response.response() >= 400 then
  20. Hello i am currently trying to download files from github (and yes i know about wget) and i need to know if they exist or not (making a list of all existing files is not feasible, because there is not enough space on the disk for the list). I tried multiple things: 1. wget and filesystem.size always gave a length of 0 even for existing files 2. copying wget in my own program and setting a flag if there is a chunk works ... but not with every file (all files that exist have the same structure and length) and i need all of the existing ones them Now i tried to do it myse
×
×
  • Create New...

Important Information

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