Grim, I can see your point, but I think my system
might outclass wiretapping. My system uses MFFS and ComputerCraft in unison, the entire connection between the client and server systems is a wired modem that feeds through the air on the
inside of the bedrock box that the system is cased in. The wires themselves are also cased in a bedrock tube. The client computer can only be accessed via a wireless remote (from MFFS), unless you know of an easy way to destroy bedrock on survival mode lol.
The server cannot actually be used by other computers anyway, because the first thing the intertwined programs do is to verify the ID number of the client system, which also gets encoded
On the matter of having the server decode the message: I was actually PLANNING on the server accepting the encrypted password. For example: let's say my algorithm changed the string "potato" to the number 12. My client system would send the number 12 to the server, and the server would receive and process the number 12 as the password, not even aware that the original input was potato. Anyone that does somehow manage to wiretap, would see the number 12 as the password, and may attempt to access the client system and put in the number 12 as the password, which would then be changed by the client into a completely different number, such as 4. The server would receive the number 4, and would process it as the password. Since it did not match the password as the server knows it, the server would reject that password.
On the matter of maintaining a constant in a file outside of the server/client programs: I have no idea how to do this (but would like to learn, for future projects)
Also, if you wouldn't mind, last night I tested a code that, to me, seemed to be a rather simple test form, but is having a few bugs, and I can't manage to fix them.
x = 0
while true do
local event, scancode = os.pullEvent("key")
if scancode >=54 then
if scancode==15 or scancode==29 or scancode==12 or scancode==13 or scancode==26 or scancode==27 or scancode==43 or scancode==39 or scancode==40 or scancode==51 or scancode==52 or scancode==53 then
end
elseif scancode==28 then
break
else
x - (x*100)+scancode
end
end
print(x)
What the code is supposed to do: convert letters and numbers (but ignoring non-alphanumeric characters) directly to their keycodes, and, upon pressing enter, stop reading input, and print x (the number that's going to get changed by an equation)
What my skills in programming have failed to bring about: ignoring non-alphanumeric characters.
And again, any helpful input would be appreciated.