- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
All Activity
- Today
-
lobakkang joined the community
- Yesterday
-
Log started following OpenPrograms
-
Hey, I would also like to have a repository in the Open Programs organization. My nickname: zgyr
- Last week
-
rafalsitar started following OCDevices (FlatPanel, Cases and external CardDock)
-
rafalsitar joined the community
-
Extinguisher joined the community
-
CptMercury started following Geolyzer and 4 tables.
-
Hey, here is a function that can glue multiple tables together. It will work for your 2x2 setup, but is more flexible. --# x: number of tables on (horizontal) x-axis (2 in your case) --# y: number of tables on (vertical) y-axis (2 in your case) --# step: number of continuing elements from 1 table (8 in your case) --# ... : the tables you want to merge local function merge(x, y, step, ...) local res = {} for i, tbl in ipairs{...} do local hy = (i - 1) // x local hx = (i - 1) % x for j = 1, #tbl, step do table.move(tbl, j, j+step-1, hy * x * #tbl + hx * step + 1,
-
TrooperN joined the community
-
Molinko started following How would I save a variable, that would change, between computers?
-
How would I save a variable, that would change, between computers?
Molinko replied to Zonespace's question in Programming
Well if you want that functionality to be automated you'll need to use a network. Either all the computers that read/write that var broadcast a change to that var over the network while the others listen and update or you have a "server" (single source of truth) that can be signaled to update and publish changes to said var. Does that get your gears moving or should i elaborate? -
karlou2008 joined the community
-
Lizzian started following Computer halted and Hologram Editor
-
You'll need to take the CPU out of your computer, shift-right click with it in hand to switch it to Lua 5.2 mode and then try again. The bit32 library isn't present in the (now default) Lua 5.3 Archetecture
-
Hi DGaming, If you use an analyzer on the computer case, it should give you back the reason it failed.
-
FiFaCZ07 joined the community
-
Данияр joined the community
- Earlier
-
alexthebro265 started following The Guard - security system
-
any chance support could be added for security doors?
- 18 replies
-
alexthebro265 joined the community
-
ThatKid joined the community
-
I'm wondering if there are any successful Discord Webhook programs that work for OpenOS. I can't find anything using google or this forum except a Computercraft program which works successfully, but requires Computercraft's textutils and http APIs. I'm new to programming and have no idea what I'm doing or what I should be doing, but I've tried debunking what CraftOS commands are incompatible with OpenOS and looked at what I can use to replace them, writing CraftOS's bios to an EEPROM (it's too big), booting into CraftOS from OpenOS, and running a CraftOS emulator in OpenOS. The latter few
-
Zaprit started following AArch64 Native library
-
I have a raspberry pi 4 running a Minecraft server with opencomputers installed and I want the native library to function, however I can't figure out how to compile the library for arm, the version of the gradle wrapper doesn't support arm in any way shape or form, it seems and I am running out of ideas, I tried to compile the libraries manually but that didn't work. So if anyone can point me in the right direction that would be appreciated
-
tShaw changed their profile photo
-
tShaw joined the community
-
I'm a newbie in OpenComputers mod. I have 4 tables with data. How do I glue the tables into one so that they go in this order, how can I do this? Make it look like they are superimposed on each other. And is it possible to translate the resulting table into a two-dimensional array?
-
How would I save a variable, that would change, between computers?
Zonespace posted a question in Programming
I'm trying to figure out how to get a variable shared between multiple computers, but haven't figured it out yet. (This is not a duplicate of the other post I made) -
I'm trying to figure out how I could save a variable between reboots, to prevent it being reset when someone restarts the computer.
-
Everytime i try to start a computer regardless of the tier it says computer halted. Im on minecraft version 1.7.10 and mod version 1.1.5 on a server.
-
you can get the repository here; https://github.com/asiekierka/lunatic86 doesn't seem theres a way to install it using oppm as a package tho which kinda sucks. feel free to share if you figure out how
-
Should be easy: iterate through components in table and do something with them
Molinko replied to taeratrin's question in Programming
What you seem to be collecting in your 'rst' table is component proxies not addresses.. which is ok but not really necessary. Try this.. local component = require("component") local sides = require("sides") local rst = {} for address in component.list('redstone') do table.insert(rst, address) end for i, address in ipairs(rst) do -- same as calling from a proxy but you dont have to store a table.. -- i.e redstone.setOutput(sides.up, 15) component.invoke(address, 'setOutput', sides.up, 15) end -
The load function (assuming lua 5.2) will take and environment argument as a table. Try like so.. local com = require 'component' -- local var 'com' in this env -- expose 'com' from this env as 'component' in the loaded 'fn' env local fn = load('return component.list(...)', '=fn', 't', { component = com }) print(fn('gpu')) -- should basically be `component.list('gpu')` See lua 5.2 'load' function
-
You need to capture the args into variables in your script like so.. local args = {...} -- like so. dont forget to use tonumber(args[x]) as all args are passed as type 'string' from the shell print(args[1], args[2], args[3])
-
operating system MineOS: powerful desktop environment for OpenOS
NUC replied to EliteClubSessions's topic in Programs
It actually can fully work without OpenOS. Just insert an OpenOS diskette, run the pastebin command and reboot after installation -
I have been trying to change RAM values in the config file, but no matter what i did, it just wouldn't work, Can someone help me?
-
I'm still learning Lua, only have a little experience with MatLab and C. I'm creating a "world threat" for my server in the form of a Grey Goo Machine, which infinitly expands and destroys terrain. Todo this, I need to figure out how to make a robot in OC build a small "outpost" to charge/collect the robots. If anyone has any programs/tutorials on how to have a robot copy/build from a template, please point me in that direction. The "outpost" in question should be able to fit in one minecraft chunk (16x16) and include a charger and some machines to feed power/tools and take resources back
-
im vary late but when i try i get this https://ibb.co/3WQyHKT
-
DEMONITIZED BOI changed their profile photo
-
Hi, I've noticed a bug where it doesn't update the server list automatically. My solution was to use a floppy disk and copy the data between computers, which is what I am still doing. You may also want to check if the computers are on the same network, as if they are not, it may cause some problems
-
@CodeEnder It is more efficient to set up robots seperately because the larger the mined area gets, the further they have to travel to recharge. I suggest you set up 4 robot mining in different directions from a single outpost somewhere on a sea bed.
-
Izaya reacted to a post in a topic: secure boot BIOS for OpenComputers
-
Config file reverts back after restarting game
Lizzian replied to taeratrin's question in Miscellaneous
You need to close your game before adjusting the config, otherwise the running configuration will overwrite what's changed on shutdown -
component.modem.broadcast(123, "Hello") returns True
Lizzian replied to Kay Cee's question in Programming
Hi Kay, The event name for modem messages is modem_message
Announcements
-
Newsletter