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

[Rednet] CCServer pre-release 0.3 Host your own rednet server !

Started by bjornir90, 13 November 2012 - 08:28 AM
bjornir90 #1
Posted 13 November 2012 - 09:28 AM
I'm totally rewriting it, from the interface to the protocol !! It will be based on plug-ins and it's gonna be awesome ! Ok so the code is done, but I have got some problem with pastebin so I can't test it for the moment and the file is broken :-(

Ancient post :
SpoilerWARNING : this program is stopped until I finish to fix bug in my GUI API : http://www.computercraft.info/forums2/index.php?/topic/6355-api-mouse-and-graphic-api-v-11/page__pid__53093#entry53093 because i'm gonna use it. (I fixed all know bug, but I want to be sure it will work before I use it) I am working on implementing a GUI :)/>/>

I want to present you a simple program I made a long time ago for my little server with a few of my friends. So I know this is simple but I made this post to know if anyone is interested by this program.

What this do ?

It's very simple : it receive and forward anything you send to it with rednet. Yes it's a remote for your turtle or a computer you can't access. The server can be remotely controled from your computer.

If I come with this program it's also to have some suggestions (I have a few of them in planned project :P/>)

I will finish by saying thanks for your time. :)/>

Here is the links :
Spoilerhttp://pastebin.com/X6u557He for the server
http://pastebin.com/VxhLd5JW for the client

Changelog :
SpoilerPre-release 0.1
First release

Pre-release 0.2
Combine the two programs client side in only one and translate in english (sorry for that :/)
A bug fix

Pre-release 0.3
Make a config file to set the modem side and the server id for the client and the server
Add the possibilitie to save the file
The server send the message until it is received

To-Do list :
SpoilerIn next release :
More security to prevent people to execute programs on your computer
A GUI

Will probably be added in priority :
The server will try to send the message until the computer receive it
Multiples servers system
More options for things sent, e.g save it

Will maybe added in a long time :
Auto-updater for both sides (making it)
Make the program capable to wait for a message as well as the user type something

Any idea ? Post it below ! :)/>
Tiin57 #2
Posted 13 November 2012 - 01:54 PM
Hello all !
I want to present you a very little and simple program I made a long time ago for my little server with a few of my friends. So I know this is just very simple but I made this post to know if anyone is interested by this program.
So if no one is interested (wich is probably the reality to see the actual program) I will just ask to delete this thread.

What this do ?

It's very simple : it receive and forward anything you send to it with rednet. Yes actually it's just a rednet upgrade for your server for example.

If I come with this tiny thing it's also to have some suggestions (I have a few of them in planned project :P/>/> )

I will finish by saying thanks for your time and please don't shoot down this topic because it's only a pre release and almost only an idea. :)/>/>

Here is the links :
Spoilerhttp://pastebin.com/3E925cs4 for receiving
http://pastebin.com/cwd5wibK for the server
http://pastebin.com/PsPGNEuB for sending
Yes I know I will make a one file client program for next release, should be next friday.
What language is that? French? Come on, at least try to use Google Translate.
Other than that, good, solid beginning work.
bjornir90 #3
Posted 14 November 2012 - 04:23 AM
Hello all !
I want to present you a very little and simple program I made a long time ago for my little server with a few of my friends. So I know this is just very simple but I made this post to know if anyone is interested by this program.
So if no one is interested (wich is probably the reality to see the actual program) I will just ask to delete this thread.

What this do ?

It's very simple : it receive and forward anything you send to it with rednet. Yes actually it's just a rednet upgrade for your server for example.

If I come with this tiny thing it's also to have some suggestions (I have a few of them in planned project :P/>/> )

I will finish by saying thanks for your time and please don't shoot down this topic because it's only a pre release and almost only an idea. :)/>/>

Here is the links :
Spoilerhttp://pastebin.com/3E925cs4 for receiving
http://pastebin.com/cwd5wibK for the server
http://pastebin.com/PsPGNEuB for sending
Yes I know I will make a one file client program for next release, should be next friday.
What language is that? French? Come on, at least try to use Google Translate.
Other than that, good, solid beginning work.
Thanks you for reply :o/>/>
I misst the link, now there are the english version sorry for that…
bjornir90 #4
Posted 14 November 2012 - 05:45 AM
Added a changelog and a To - Do list :P/>/>
bjornir90 #5
Posted 19 November 2012 - 08:31 AM
O.3 is now out ! Add the save option, the server try send the message until it is received and a config file for the program !
bjornir90 #6
Posted 25 November 2012 - 09:10 AM
Important : updated OP !