1
0
mirror of https://github.com/AR2000AR/openComputers_codes.git synced 2025-09-08 06:31:14 +02:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2023-02-01 21:16:58 +01:00
2021-03-13 16:00:59 +01:00
2023-01-18 16:46:48 +01:00
2023-02-01 15:36:26 +01:00
2023-01-26 22:13:05 +01:00

OpenComputers codes

My lua programs for openComputers.

Installation with oppm

  • install oppm
  • run oppm register AR2000AR/openComputers_codes
  • run oppm install <package>

OPPM bug

Because of a bug in oppm (Issue : https://github.com/OpenPrograms/Vexatos-Programs/issues/30) (PR : https://github.com/OpenPrograms/Vexatos-Programs/pull/31), please use repo-installer to install any of programs until the bug get fixed.

Install repo-installer manually

mkdir /usr/bin/ /usr/misc/repo-installer/
wget https://raw.githubusercontent.com/AR2000AR/openComputers_codes/master/repo-installer/bin/instgen.lua /usr/bin/instgen.lua
wget https://raw.githubusercontent.com/AR2000AR/openComputers_codes/master/repo-installer/misc/repo-installer/repoinstaller.lua /usr/misc/repo-installer/repoinstaller.lua

Create the installation floppy

Get a empty floppy disk and run :

$ instgen AR2000AR/openComputers_codes <floppy path>

Install a package

With the floppy in the machine run install. No internet card is required.


Banking system

The bank is made of 2 main part : the server and a client. The client can be an ATM or a app to manage accounts.

Main apps

bank_server

The main server hosting every files needed for the system to work. The opp package provide tools to help setting up clients who need the secret

bank_dev_tools

Add a simple command line program to edit the encrypted accounts info. Don't install it if you don't need it.

bank_atm

Let account holders withdraw or deposit coins. Coins used are defined by libCoin

bank_account_maker

Let users create a bank account and create a new debit card.

vending

A automatic vending machine. Install it on a normal computer with a transposer. Accept coins (libCoin) items and debit card (libCB/bank_api).

Library and API

bank_api

Enable the programs to make requests to the server.

libCB

Read and write debit card on an unmanaged floppy. new Debit card can be a magnetic card from open security

libCoin

Move coins with a transposer. Use coins from the ordinary coins mod.


Lua Network File System

lnfsc

lnfs client. Provide the lib (filesystem proxy) and mount.lnfs command example usage : mount.lnfs address -p=21 -r

lnfss

lnfs server. Configuration handled by /etc/rc.cfg. See man lnfsd or lnfsd for more info


Other programs

stargate

Graphical interface to control and monitor gates from Stargate Network. Whitelist, blacklist, gate list, iris management and password. Fully configurable from the GUI

doorCtrl

Control a number of redstone IO blocs with a single touchscreen. Easy to configure with doorCtrl -c

itemIdCatcher

Write the item id of every items in the chest on top of the transposer in a file. Item are moved on the chest on the bottom once it's id is saved. The program stop after 3 loop without items in the chest.

autocrafter

Experimental. Use a PC, a Robot, linked card and a transposer to craft items.

crypttool

Ful disk encryption utility.
Let you mount a "decrypted" version of the disk for easy file manipulation.


Additional library

libClass

add object oriented programing to lua.

libGUI

draw graphical element on screen. Use a widget system based on libClass.

libGUI_extra

Non essential widgets for libGUI.

Description
collection of code for opencomputers, a minecraft mode. This repo is compatible with oppm
Readme 1.2 MiB
Languages
Lua 87.2%
Python 11.2%
HTML 1.2%
CSS 0.4%