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

Cable Network Routering System

Started by esteves25565, 23 August 2014 - 10:13 PM
esteves25565 #1
Posted 24 August 2014 - 12:13 AM
Hello!
For Facing my problem of cable length, i create a simple routering system for computers.

If you want to test, you need to load the API and the run the follow commands:


To computer -
newnetwork.register() - to regist your computer to a router
newnetwork.send(id, "message") - to send a message
newnetwork.receive() - to receive a message ( the same as rednet.receive() )
newnetwork. disconnect() - to disconnect from the router
-
To Router
Don't have commands
just run router
-
Image of installation


I have to remind you that this is a BETA TEST!!!!!!

Only support 2 router and 10 PCs on the same network.

I will post the lastest updates



Computer API - NEW VERSION
Router program - NEW VERSION

POST 4
|
|
V
Edited on 25 August 2014 - 03:42 PM
flaghacker #2
Posted 24 August 2014 - 07:59 AM
Your screenshots don't work, those links refer to a location on your computer, which ofcource doesn't work on ours. Try uploading them to imgur.

Also, what is the advantage over the normal rednet API?
Edited on 24 August 2014 - 06:02 AM
esteves25565 #3
Posted 25 August 2014 - 01:37 PM
Hello flaghacker,
I'm new to computercraft and i need a system like that because i don't like wireless modems so i create a system that run over a rednet API using commands to talk to each other.

Thanks for the help on image.

PS. I have an update for this system to work with more than 2 routers!
Edited on 25 August 2014 - 11:49 AM
esteves25565 #4
Posted 25 August 2014 - 05:10 PM
Hello Again!!!
I'm glad to present you a new system v2.0 that you can put the x numbers of routers!!!

Update: Router system
ADD: Firewall (to connect to others networks without enter in LOOP )

Commands
To computer -
newnetwork.register() - to regist your computer to a router
newnetwork.send(id, "message") - to send a message
newnetwork.receive() - to receive a message ( the same as rednet.receive() )
newnetwork. disconnect() - to disconnect from the router
-
To Router
Don't have commands
just run router
-

Image of installation




It doesn't have any special configuration.

YOU NEED TO OPEN THE MODEMS MANUAL (rednet.open("side") )


Links to installation

router - pastebin get UiWq0Dam router

firewall - pastebin get zYsZhiU0 firewall

NewNetwork API - pastebin get H4pgNyUn newnetwork
Edited on 25 August 2014 - 03:12 PM