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

[DEAD] OpenNet - Webpages inside Minecraft

Recommended Posts

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

2017-02-21_09.22.20.png

OpenNet Server:

2017-02-21_09.24.05.png

OpenNet Client:

2017-02-21_09.22.47.png

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:

 2017-02-21_09.23.41.png

Roadmap (in no order):

Real Internet ONML

ONML links/interaction

More pages than just the main page

Link to post
Share on other sites

This has given me some ideas for a project I have been working on here lately. I wonder how well our code would run on the same network... chances are there'd be many... many... routing issues. Lol.

I'm very curious as to how this might turn out, it looks promising so far; I wish you the best of luck! I'll check back in on update!

Link to post
Share on other sites
On 3/10/2017 at 1:43 PM, cindayra said:

Does this need to be run on a computer, or can you run it on servers?

And how do you set up webpages?

 

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 ;)

Link to post
Share on other sites
5 hours ago, _block_master187 said:

This is confusing to me. Can you explain it in a bit more detail? Like what EXACTLY you have to do step by step? Thanks!

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.

Edited by tpzker
Add some data
Link to post
Share on other sites
13 hours ago, tpzker said:

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.

Simplified html, or something of that nature would likely be best, but the idea of hosted lua scripts is nice too.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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