Skip to content

collection of code for opencomputers, a minecraft mode. This repo is compatible with oppm

License

Notifications You must be signed in to change notification settings

AR2000AR/openComputers_codes

Repository files navigation

OpenComputers codes

My lua programs for openComputers.

Installation with oppm

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

Install with pm-get

  • run pm-get install <package>

Install with pm

  • download the tar file from packages with get (get the raw file url)
  • run pm install <archiveName.tar>

Network

Yes, yes, I know. Yet a other network stack. Why use it when minitel or network are a thing. No reason really, except that my version called osinetwork is close the the reals RFCs. It implement Ethernet, ARP, ICMP, IPV4, and UDP.

The main package. It provide the network stack and surrounding utilities. Provide a socket library using the same interface as luasocket

Common files for dns resolution

DNS server as a rc daemon.

Command line tool for dns resolution


PM Package manager

oppm is good. No denying it. But it has it's limitations. The main one for me : requiring a github repository (ironic I know).
To fix this issue, I created a package format using tar as container.\

You can find instructions to make a installation floppy here

The package manager. Install, uninstall and keep track of installed packages.

Download and install pm packages from a repo on internet. Customs repos can be added


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

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

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

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

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

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

Enable the programs to make requests to the server.

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

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


Lua Network File System

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

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


Other programs

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

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

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.

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

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


Additional library

add object oriented programming to lua.

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

Non essential widgets for libGUI.

About

collection of code for opencomputers, a minecraft mode. This repo is compatible with oppm

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •