Downloading a Program to OC??
Xfel replied to SyberSmoke's topic in LoungeYou need an internet card in your computer for this. It should also provide a pastebin command alike the one in CC.
Functions returning nil value
Xfel replied to Amund211's question in Programmingrequire needs the api name as String, so try this: local component = require 'component'
Code Snipper for Modem MessagesIncoming modem messages are processed as events, so you'll probably just want to use event.listen: event.listen("modem_message", function(localAddress, remoteAddress, port, message) -- Incoming message handler end A separate Processor and Sender is unnecessairy if you ask me, as there is no real parallelism in lua anyway
Autorun binding specific graphics cards to specific screens
Xfel replied to FredMSloniker's question in ProgrammingI don't think it's possible to detect graphics card/screen types, so you will need the UUIDs to do this.
Xfel replied to Molinko's topic in OpenComputersThe event hooks and timers will only get called when event.pull() is called. So you need to add something like while true do event.pull() end
Not enough slots!
Xfel replied to FredMSloniker's question in MiscellaneousTake a look into the tier 3 server. It should have more T3 card slots.
Should robot position / motion persist when quit game vs quit to title?
Xfel replied to michthom's question in MiscellaneousAvoiding this actually prevents weird behaviour/corruption in the whole minecraft^^
A Collection of Maybe-Bugs (with Pictures!)
Xfel replied to Eunomiac's question in ProgrammingSry for beeing offtopic, but your build looks just awesome. Just had to say this even though it's not helping. Sorry for that. I specially like the combination of the floor screen and hologram.
[OC 1.3] Inconsistent autorun.lua
Xfel replied to Eunomiac's question in ProgrammingYou're using OC 1.3, right? so that autorun file is probably on your os disk, right? or is it on a separate hard drive?
Ah thanks, modifying the OS is indeed a powerful solution.
That's true, but the event.pull function is used in a lot of apis, eg. the term api or the internet api. And the term api is then used by central stuff like the IO library. During a term.read() call, any other incoming signals will be lost.
Emulator Discussion (NOT one of those stupid "I can't search" topics)
Xfel replied to awsmazinggenius's topic in LoungeAn emulator would definetely be helpful. Actually, the modular nature of OC would make writing one rather easy. If CC was supported too, it would be nice, but I'm not sure if it's really feasible to add both to one system in regards of the different architectures. As OC is open source, it would be best if we could use as much of the regular OC code as possible. I did that with computercraft a while ago and it worked quite well; the core logic from computercraft is strongly separated from minecraft specific classes. Unfortunately, this is not the case for opencomputers: The Architecture imp
Xfel posted a question in ProgrammingHi, In computercraft, there is a library parallel which can run two or more functions interleaved using the coroutine system. It also distributes incoming events to all coroutines. Now I tried to build something similar with OpenComputers. However, if one of my coroutines calls computer.pullSignal(), it does not return to the resume call I made; the call get's handled internally. The coroutine.resume call will only return if I explicitly use coroutine.yield. So, I can't to proper parallelity. I know I can have multiple separate event handlers with the event.listen system, but I can't u
Editor for UTF-8 graphics
Xfel posted a question in MiscellaneousHi, I'm currently trying to create a graphic UI for my fusion reactor control system. Now I want to use those additional UTF8 chars OC provides. However, those don't appear on my usual keyboard, so at the moment I copy the chars I need from the font.txt file. But this is a bit unnerving, so I'd like to know if there is a better editor that saves me work?
Copy Address of card components
Xfel posted a question in MiscellaneousI currently have a setup with two screens and two graphic cards - one pair for control and one pair for status display. Now, I would like to ensure that the right screen and graphics card are bound and primary. To do that, I need to have their exact component adresses. I know trhat I can copy a block's address using the analyzer tool. Is there something similar for item components like graphics cards?