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

Dustpuppy

Members
  • Content Count

    75
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Dustpuppy

  1. And the next update :-) Insert a vertical progress bar, that can display value from top to bottom or bottom to top.
  2. Made some changes :-) Internal display handling changed to prevent the flickering. Now only the changed element is refreshed, not the whole gui anymore. Added the checkbox. Still the same download link on pastebin
  3. Hi lads and lassies, i'm coding on my galacticraft moon base and have made a library for exporting items from an ae2 network. The handling is very easy. Just connect an adapter to an ae2 interface block and any kind of container (chest, machine) to one side of the interface. Set the direction the interface is connected to the chest. Items to export will be selected by display name, not with fingerprint. To export dirt use Dirt as item, not minecraft:dirt. Example code: local component = require("component") local meinterface = require("interface_lib") io.write("Set direction to SO
  4. I've setup everything and allways get "Connection failure" from the gui. Tried the addresses of the components and the addresses of the adapters in lower and upper cases. Allways the same.
  5. Hi again, here a short code that explains, how to craft an item from an ae2 system. Simply connect an adapter to the me-controller and have the pattern in the system setup. local component = require("component") local me_controller = component.me_controller local amount = 1 local selection = "minecraft:stick" local craftables = me_controller.getCraftables({name = selection}) if craftables.n >= 1 then -- at least one entry found craftables = craftables[1] -- set craftables to first entry in list local retVal = craftables.request(amount) -- request to craft item(s) end
  6. Hi, here is an easy way to export items from the applied energistics 2 network into a chest or other inventory. First you need to connect an adapter to an ae2 interface block and the inventory where to you want to export on the same interface block. (see picture) Then it's easy to handle the export over the interface. local component = require("component") local meInterface = component.me_interface local ser = require("serialization") local selection = "minecraft:dirt" -- The item to export local amount = 10 -- Max 64 (1 stack) local directionChest = "UP" -- Where the c
  7. Try this. It works :-) local accessCode = "12345" local component = require("component") local gpu = component.gpu local event = require("event") local ser = require("serialization") local term = require("term") local computer = component.computer local door = component.os_door keypad = component.os_keypad customButtons = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "<", "0", "ok"} customButtonColor = {"1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1"} keypad.setKey(customButtons, customButtonColor) term.clear() print("Security door") print("----------------------------------
  8. What's the problem? Made 2 the same pattern and put them on 2 different molecular assemblers. If i start a crafting job, both will do it.
  9. I don't understand, what exacly you want to do. Do you want the computer start the craftig job in the me system?
  10. If you craft only one recipe in a molecular assembler, you don't need interfaces. The assembler has an internal slot for a pattern.
  11. If you have Forestry installed, use the worktable. You can scroll over double recipes with it. :-)
  12. Then make ur self happy and show me :-)
  13. Here's a script for a door access with keypad. Don't need the server or the user database. local accessCode = "12345" local component = require("component") local gpu = component.gpu local event = require("event") local ser = require("serialization") local term = require("term") local computer = component.computer local door = component.os_door keypad = component.os_keypad customButtons = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "<", "0", "ok"} customButtonColor = {"1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1"} keypad.setKey(customButtons, customButtonColor) term.clea
  14. Computer gives a beep now, if access is granted.
  15. BIG UPDATE! I've worked out some updates and a new visual editor for the gui system. To use the gui just download http://pastebin.com/Dfgc6z0T to a computer as /lib/gui.lua and try your best. If you don't want to fight with the placing of elements on the screen, then you want to use the visual editor. It's alpha state, but i hope it will make no errors. The editor will create a full lua code as frame work for your own program in resolution 80x25 like for a tier 2 screen. But you need a tier 3 screen to use the editor it self. The program you can run then on a ti
  16. It's allready a seperated lib. Just download the gui.lua. It's full documented in the source.
  17. Hi, now i'am getting complicated :-) Here's my security system. It's based on opensecurity and oc. ------------------------------------------------------------------------------------------------------------------------------- What's needed? The server Start it before starting any door computer or the card writer system. The server will handle all user accesses. The card writer This is the main system. It's with gui to setup all users. It needs an opensecurity card writer connected. You can setup new user, edit user or delete user. A user can be blocked to stop him usi
  18. Funny. Have just made a security system based on opensecurity. Will possible see, if i upload it, after i've checked it for bugs.
  19. Fixed a little problem with empty lists :-)
  20. Hi all, i've made for my self a program to control stargates of lanteacraft. Easy to use with gui. If someone want to have it, can be get over pastebin. http://pastebin.com/YyfgpLCH and you need the gui lib, also from pastebin. http://pastebin.com/Dfgc6z0T To use it, simply connect an adapter to the stargate base and run the program. Best is to use a tier 2 screen. On tier 3 it looks a bit funny ;-) If you find a bug, let me know, or keep it :-) If i get enough feedback, i will update the paste with new versions. Want to insert an auto dialer to search for gates.
  21. The navigation upgrade is to handle the waypoints and all positions are relative, not absolute. What i mean is an upgrade, that can be used to get the real coordinates of the world.
  22. Hi, as in the topic, i want to know, if it's not possible to make a card or an upgrade for the robots, that can be used to get the world coordinates. Would make the robot movement much more easy.
  23. And again i did something usefull (i hope). With this lib you can send a robot to a waypoint with just one call. local component = require("component") local wp = require("wp") wp.enableAutoCharge(true) -- set this true for automatic charging wp.goTo("test1", "north") -- robot goes to waypoint with label "test1" and faces then to the north Functions : The robot will go up from 5 to 7 blocks of his starting position. Every direction (north, south, east, west) has another height robots will move to prevent collisions. You can get the lib at pastebin with pastebin get PhLMDta
  24. Hi all! I've made a working print server for OS with installed network disk and openprinter. How it works: It will be started in /etc/rc.d as deamon and opens a TCP port (standard=9100 like in real life) for listening. A client can use "nprint" to send a file to the server. The server will format the file and stores it in a queue. With a timer event the server prints line by line for each file in the queue. Each paper will be labelt with the address of the sender and a page number is printed on bottom of page. Every computer with a network card and a printer can run the server, as long as
×
×
  • Create New...

Important Information

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