Posted 13 January 2013 - 05:58 PM
Before you rant: Yes, Yes. I know there is a peripheral called ccMySQL by Espen (His profile here, ccMySQL here). But what about something more nub friendly? I know nothing about setting up a MySQL Database, nor do I want feel entitled to learning MySQL and getting one setup for the minor task I request.
What are you asking of?
I am asking of a simple addition to computercraft (not implemented in the actual modification itself) where I can connect computers to this small server, all in-game, and have a main terminal connect to the servers.
Example: Here I have a picture of a mock database center that does absolutely nothing but give the room appeal. I would like to have a new block, as some may call it, and have it connect to a computer using rednet or using Xfel's Peripheral Cables to send and receive data or lines of code/text.
Lets say that Advanced computer in the picture is the main terminal and it would use rednet to add text to the servers. Servers can be setup in a line and connected via cable and given an ID such as computers. The main terminal (advanced computer) runs a program and connects to one which may(not) be connected to another server. The main Terminal (ComputerA) can be used to setup new "Profiles/accounts" for users. I would then use a command to receive/send the rednet message via rednet.send(ServerID,message).
Here's a video of the idea behind this suggestion.
As you can see in the video this is pretty much what I want to use these "servers" for. Also to create accounts via main terminal with a friendly UI such as this and this2 with this2 image UI option 1 Create Username & Pass account, Option 2 Create Password/phrase (each creates new file inbedded into the servers. In which you can receive via computer via rednet)
At 3:40 of the video you can see the code. This will be what it looks like, it would just insert the data of what you'd like without the typing of the code. These can be considered presets which is what the options are, presets.
Other things to add/suggestions:
rednet.serverconnect(etc, etc) | idk something like that.
rednet.servergetpass(filename) | Gets the pass allowing the program to match the users os.read() with the pass made from the file created.
Turn servers on and off using main terminal if connected via Xfel's Peripheral Cables. Ex: Server.power(ServerID,On/Off)
if >1 Computers connect to main terminal then < 1 must use Cables to connect to main terminal or other servers.
Servers can connect to other servers via cable.
Servers can interact with other servers via cable.
Feel free to question and comment with additional suggestions about this suggestion below.
What are you asking of?
I am asking of a simple addition to computercraft (not implemented in the actual modification itself) where I can connect computers to this small server, all in-game, and have a main terminal connect to the servers.
Example: Here I have a picture of a mock database center that does absolutely nothing but give the room appeal. I would like to have a new block, as some may call it, and have it connect to a computer using rednet or using Xfel's Peripheral Cables to send and receive data or lines of code/text.
Lets say that Advanced computer in the picture is the main terminal and it would use rednet to add text to the servers. Servers can be setup in a line and connected via cable and given an ID such as computers. The main terminal (advanced computer) runs a program and connects to one which may(not) be connected to another server. The main Terminal (ComputerA) can be used to setup new "Profiles/accounts" for users. I would then use a command to receive/send the rednet message via rednet.send(ServerID,message).
Here's a video of the idea behind this suggestion.
As you can see in the video this is pretty much what I want to use these "servers" for. Also to create accounts via main terminal with a friendly UI such as this and this2 with this2 image UI option 1 Create Username & Pass account, Option 2 Create Password/phrase (each creates new file inbedded into the servers. In which you can receive via computer via rednet)
At 3:40 of the video you can see the code. This will be what it looks like, it would just insert the data of what you'd like without the typing of the code. These can be considered presets which is what the options are, presets.
Other things to add/suggestions:
rednet.serverconnect(etc, etc) | idk something like that.
rednet.servergetpass(filename) | Gets the pass allowing the program to match the users os.read() with the pass made from the file created.
Turn servers on and off using main terminal if connected via Xfel's Peripheral Cables. Ex: Server.power(ServerID,On/Off)
if >1 Computers connect to main terminal then < 1 must use Cables to connect to main terminal or other servers.
Servers can connect to other servers via cable.
Servers can interact with other servers via cable.
Feel free to question and comment with additional suggestions about this suggestion below.