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


  • Content Count

  • Joined

  • Last visited

  • Days Won


tpzker last won the day on June 30

tpzker had the most liked content!

About tpzker

  • Rank
    Junior Member

Contact Methods

  • Minecraft
  • GitHub

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This is a draft. The library, and an example of compatible software will be coded later. OIPCL or OIPC Any OIPCL-compatible software MUST use the core OIPCL library and MAY use auxiliary IPC libraries. Concepts Open Inter-Process Communication Library (OIPCL): The library which provides a wrapper for the IPC sockets. Socket: A file on the system which links two programs' communications. OC: Abbreviation for "OpenComputers" OS: Abbreviation for "Operating System" OpenOS: The stock OS for OC computers. Host: The program which is being linked to by a client. Client: The program linking to a host. Rationale Due to the limitations of OpenOS, modifications would have to be made to many parts of the code to allow IPC within the core of OpenOS. To standardize any possible IPC libraries, a specification has been made. Background programs (or daemons) can be started with a simple wrapper, such as this example code: thread.create(function() shell.execute(ENV, "/bin/daemon.lua") end) Host programs will be notified by an event, "oipcl_link_attempt", when a process is attempting to link to it. Host programs can use the OIPCL's function to link to the process attempting to link to it. Client programs can use the OIPCL's function to link to a background process which will automatically handle opening a socket and notifying the host. Socket Format A socket file is a Lua file which is processed by the host and the client through the OIPCL. It is a table containing a list of tables. The internal tables contain a string, "from", being either the host's specified name, or the client's specified name. They also contain a table, "messages", containing a list of strings. This allows a program to serialize any object into a message. For example: { { from = "client name", messages = {"EXEC", "/bin/script.lua"} }, { from = "host name", messages = {"EXIT", "0"} } } Socket Naming The socket files are be stored in /lib/oipcl along with the library file. They are named in this format: oipcl-socket.[client name].[host name].lua Socket Library The OIPCL has 2 functions. function linkToHost(clientName: string, hostName: string) -- will return a buffer that is a wrapper to the socket file function linkToClient(clientName: string) -- will return a buffer that is a wrapper to the socket file Signals oipcl_link_attempt(clientName: string, hostName: string)
  2. Hello there people! I created a BIOS-level bootloader that is based on the original Lua BIOS that implements a bootloader function. You simply press the number of the OS you would like to boot to from the list of recognized filesystems. Here is the link: https://pastebin.com/BryQadAi To install, insert the EEPROM you'd like to flash it to, and run: pastebin get BryQadAi bios.lua flash bios.lua rm bios.lua If you have any problems, just reply and I'll attempt to fix it.
  3. I'm currently working on a new version, so when that comes out, I will make a more detailed tutorial (maybe even a small video tutorial) EDIT: OpenNet 2.0 will be much more secure, and more versatile. P.S. Along with a complete change, OpenNet 2.0 will come with Lua scripting on pages (will ask for user permission first, for security) or possibly a whole different scripting language.
  4. This can be run on servers, as long as they have a network card. To set up webpages, add your code to a file in the same directory named index.onml, as this is the default page. Sorry for the late reply, I forgot about this post a little bit
  5. This project is no longer being maintained, and has not been for a while. I may eventually make a new version, but I would first like to make an addon for OpenComputers to allow long-range wireless signals so that you can connect globally to a server. The OpenNet: Internet like simulation in Minecraft REQUIRES WIRELESS NETWORK CARD Not tested with wired network card This is very WIP, but it still works well for what it does. The OpenNet requires one computer to be running at all times as DNS. This allows for DNS lookup and not having to type things like "af4c71b5-c3be-4da1-b595-4d0afd40359d" to go to a page. It also requires a computer to be running all the time for each web server. The client and web server need to know the DNS server's address, so if this is implemented on a server, it is best to have one central DNS server. Downloads: DNS Server pastebin get 1pp05ryR opennet-dns.lua OpenNet Web Server (configure dns network card address inside file) pastebin get PRTmhN1a opennet-server.lua OpenNet Web Browser (configure dns network card address inside file) pastebin get jMNz5Bej OpenNet.lua Screenshots: OpenNet DNS OpenNet Server: OpenNet Client: ONML: ONML (OpenNet Markup Language) is a simple web page language (not many features yet) that allows you to change the background and foreground color of the site. The colors are cleared after displaying them. To change the color of text, prefix the color with one of these colors (use three letter name): "RED", "ORA"(orange), "YEL"(yellow),"GRE"(green),"BLU"(blue),"PUR"(purple),"WHI"(white),"BLA"(black) To change the color of the background, type "BACK <COLOR NAME>". <COLOR NAME> is one of the colors shown above (use three letter name) Example ONML file: BACK RED WHI The OpenNet: Internet for OpenComputers YEL The OpenNet is an open source wireless communication system made with Lua for OpenComputers. WHI It includes a 8 color (red "RED", orange "ORA", yellow "YEL", green "GRE", blue "BLU", purple "PUR", white "WHI". black "BLA") foreground and background system, along with things similar to DNS Demonstration of the shown ONML file: Roadmap (in no order): Real Internet ONML ONML links/interaction More pages than just the main page
  • Create New...

Important Information

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