This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
shadowjonathan's profile picture

The Cubenet project - a internet-like connection method

Started by shadowjonathan, 11 August 2015 - 01:43 PM
shadowjonathan #1
Posted 11 August 2015 - 03:43 PM
current version: 1.2

This is my first project/program submitted on this site, so here we go.

I downloaded computercraft and installed it in minecraft just before we got on vacation in 2015,
right now, I have a big plan to re-create a real internet system in minecraft, with core servers, personal servers, wifi servers and cPhones which you can connect to the last one.

My ultimate goal is to have players all around a world/server and have them being connected to each other with a internet-like connection.

I know, i know, maybe its already been done before on this forum and maybe i'm just too blind or dumb to see that utility somewhere here, but i'm here to make my own shot.

Installation/tutorial:

First, make sure the api http is enabled in your server/world and pastebin is whitelisted.
then, install the latest wifi host by running this code in the shell:

pastebin run 4mPNJZMy wifi_host latest
it automatically installs the wifi host for you.

you run the host by running
wifi_host <side of the wireless modem> <host name cPhone users will recognize your access point by> [(optional) Owner's name]

It'll automatically grab any available GPS coordinates and saves them.

On the cPhone, I made a graphic design for easier user interaction, here you have a fast explanation of it:




You enter the info screen by clicking on the blue I next to the name, you connect to the host by simply clicking on it.

That's all for now, stay tuned for more!
Edited on 19 August 2015 - 05:48 PM
Gumball #2
Posted 13 August 2015 - 09:55 PM
Looks cool, i'll take a look at it.

EDIT: Tried it, GUI works nice, I like the switch idea :)/>, I just don't know what this is doing. It asked me for a host name (server side), owner, that stuff. It failed to grab GPS coordinates, I don't know why, but it didn't crash. On the client, I flipped the switch, and, in the output, it said 5. Could you shed some light on this please? Oh, and iv'e tried a server and browser server like deal, it worked, all I did was use rednet.find, then rednet.send, then read and output a table it sent (included buttons, text (color, x,y), things like that). You also had to enter a url, which is nice. So like I said, could you shed some light on what it was doing for me please?
Edited on 13 August 2015 - 08:07 PM
powerboat9 #3
Posted 14 August 2015 - 01:41 AM
I just had an idea related to inter-server data transfer… I'll set up a server…
wilcomega #4
Posted 14 August 2015 - 04:21 PM
what is a wifi server? do you mean a router?
powerboat9 #5
Posted 18 August 2015 - 02:49 AM
No, If you play on a server it means that you could use the internet to send rednet messages between servers.
shadowjonathan #6
Posted 18 August 2015 - 09:05 PM
Looks cool, i'll take a look at it.

EDIT: Tried it, GUI works nice, I like the switch idea :)/>, I just don't know what this is doing. It asked me for a host name (server side), owner, that stuff. It failed to grab GPS coordinates, I don't know why, but it didn't crash. On the client, I flipped the switch, and, in the output, it said 5. Could you shed some light on this please? Oh, and iv'e tried a server and browser server like deal, it worked, all I did was use rednet.find, then rednet.send, then read and output a table it sent (included buttons, text (color, x,y), things like that). You also had to enter a url, which is nice. So like I said, could you shed some light on what it was doing for me please?

That was version 1.1, i already made 1.2, which is much more cooler ;)/>