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

Molinko

Members
  • Content Count

    451
  • Joined

  • Last visited

  • Days Won

    35

Everything posted by Molinko

  1. I just saw the video MightyPirates (?Sangar) put out about the mod and a nice Q&A afterward. I was wondering about 2 things in particular if someone could help. 1.) What is 'Selene'? I saw some functional stuff going on and even some lambdas that weren't strings... What voodoo is this and may I have some master???? 2.) Where can I hear about any future talks like this so I may attend Thanks for lookin'
  2. This is REALLY awesome! Thanks for this Cheers
  3. I believe you might have to change an option in the config for it to work. Sorry I'm unsure atm, on the phone..
  4. What you need is the inventory_controller upgrade. This will allow robots, drones, and an equipped adapter block to manipulate and read external inventories.
  5. Molinko

    Corrupt a wish

    but your fish bowl is prone to a dense fog... I wish i could shoot laser beams from my eyes..
  6. Any chance of an update for the newer versions of OC?? 1.5.9 maybe?
  7. This is actually the opposite. Computers neglect the side of a network message and server racks can be configured to output messages or broadcasts to just one side of the server rack. [Edit] I was trying to address op from the context of his last sentence.
  8. All of or the majority of libraries in openOS are removed from _G after its done booting. You must store the return from require to introduce libraries into a programs environment. Ie local term = require("term")
  9. When checking for the idle state be sure to compare the proper type! idle must be changed to "idle". idle is not defined as a var and us nil and thus the check will always be false.
  10. I should mention I'm working on a basic navigation library now. I'll post here and in APIs when its ready
  11. function move( --// you're using incorrect syntax here. curX = debug.getX()-- curY = debug.getY() curZ = debug.getZ()-- You're setting values in the parameters field of a function call... if curX = x and curY = y and curZ = z then return elseif curX < x then robot.forward() elseif curX > x then robot back() elseif curY < y then robot.down() elseif curY > y then robot.up() elseif curZ < z then robot.left()
  12. That's great man. Sounds like fun. Lemme know if I can be of service
  13. When the network connects check the abbreviated address against a list of known reachable host addresses.
  14. I thinks its possible to have wake functions for the robot. Either through the redstone card or with the modem card. Pretty sure you can do it with modem. Something like modem.setWakeMessage(string) Also redstone.setWakeThreshold(numberStrength)
  15. Molinko

    skex-BIOS

    The reason this happening is actually In the client. The client calls event.listen to register a handler and when you quit the program like that then the program doesn't finish executing and thus can't unregister the handler.
  16. Sorry man I posted for help on the same topic and no one really clarified it to me either. Good luck :/
  17. Should be the first method on the component wiki page. http://ocdoc.cil.li/component:inventory_controller component.inventory_controller.getInventorySize(#side)-- inv side number. This is sides.back for a robots own internal inventory I think
  18. im pretty sure the main input events have a player name parameter ie. print( table.unpack{ event.pull() } ) -- touch, key, click and walk I think all push the player name. or print( event.pull()[5] ) -- i think its index [5] not sure though..
  19. I have a solution that may require you to test personally but so far it will catch any wire change i throw at it regardless of pulse length.. local event = require "event" local computer = require "computer" local colors = require "colors" local sides = require "sides" local rs = require('component').redstone local e local bundle = (function() -- init bundle with states local bundle = {} for side = 0, 5 do bundle[side] = {} for color = 0, 15 do bundle[side][color] = rs.getBundledInput(side, color) end end return bundle end)() local handler = { redstone_changed =
  20. I see your point. And your solution is simlilar to what i would have proposed which would be something like a coroutine constantly scanning the state of each colored wire along with an event listener. When the redstone_changed event fires the coroutine could queue its own redstone event with the parameters you desire. just a thought.
  21. Are you using a teir 2 Redstone card? Only the teir2 card or the redstone io block can set and get the value of a color cable. Plz test for yourself in case just plain wrong.. Hope that helps
×
×
  • Create New...

Important Information

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