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

M1cr0man's Programs (Reactor Controller w/ thermal monitor support, Login & PM client & server with syncing)

Started by M1cr0man, 09 July 2012 - 01:11 PM
M1cr0man #1
Posted 09 July 2012 - 03:11 PM
M1cr0man's Programs


UPDATE 9/nov/2012: All these programs work on the newer versions of ComputerCraft, and always should. I am too busy IRL to actively develop M1cr0S or the Reactor Controller recently, although I hope to get a new version of M1cr0S out in the next few weeks - bringing message printing, colour text editor, improved synching and maybe more stuff.

Reactor Controller uses ice detection and/or temperature monitoring to determine if your reactor is overheating. It can be used to turn your reactor off after a certain amount of EUs have been generated. It also has a remote controller so that you can be up to 767 blocks away and control your reactor.

M1cr0S Server is a fully featured login and in-game-e-mail server with secure logins and ID card floppy creation and support. Other than direct syncing, M1cr0S never sends or stores passwords anywhere but on the server itself. It has a 1-9 ranking feature which can be used to allow only certain users into certain areas using the door locker.

Nuclear Reactor Controller 2.5 + Remote Controller
SpoilerThis is an ic2 nuclear reactor controller that can auto shutdown, monitor ice flow, be securely remote accessed and turn off the reactor after a defined amount of eus are generated. See the below image for an example setup. It can also control non ice cooled reactors.


Features:
-Secure Remote Controller (RAT) for accessing the reactor controller up to 128 blocks away.
-Automatic Shutdown if ice stops travelling to reactor

-Automatic Shutdown upon receiving a redstone signal from a thermal monitor
-EU generate command which generates the defined amount of EUs then shuts down the reactor. Works after you reboot the pc and after its chunk is re-loaded
-Secure Login with optional support for M1cr0s Login Server (See Below)
-Supports Bundled and Redstone wiring
-Door Control functionality


Screenshots:
Spoiler2 setups - redstone or bundled cables:


Reactor Controller Menu:


Reactor Controller History:


Remote Contoller Scanning for Reactor Controllers:



Downloads:

-This contains the documentation aswell. Copy the contents of this zip onto a floppy: [attachment=437:Reactor Controller 2.5.zip]
-Pastebin Links (NOT Required if you downloaded the zip. Names are filenames on floppy):
-Readme (not required)
-Reactor Controller (name controller)
-Remote Controller (name rat)
-Installer (name startup)
-M1cr0API 3.2 or higher (name m1)


Changelog:
2.5 (Major Changes):
-Fixed toggleing door on a bundled wire turning on/off a reactor incidentally
-"Reset Ice Detector" replaced with "Reset Detectors", which will reset ice, esu, etc. states
-Unused options are no longer shown
-Door control is now optional
-Other menu labels changed
-Removed auto-login using a floppy on both controller and Remote Controller. Will be back in 2.6
2.4:
-Fixed pastebin link for installer
-Added support for thermal monitors via redstone signal
-No more sleeps in the program, and bundled cables should be more reliable now.
2.3:
-Initial Release

Previous Versions:
-2.4: [attachment=420:Reactor Controller 2.4.zip]
-2.3: [attachment=300:Reactor Controller 2.3.zip]

Todo:
-Reporting of generation time at the bottom of the screen.
-Printing event history on a monitor.
-Nuclear Control Add-On support Added support! :)/>/>

-Auto-Shutdown when ESU is filled Added support! B)/>/>
-CCSensor Support

Installation:
-Copy the contents of the zip file onto a floppy.
-Put the floppy in a computer and reboot (hold ctrl+r)


M1cr0S Server 1.7 + Client
SpoilerThis is a collection of programs that provides a secure door locker with rank based login permissions and a PM system. The server is used in my newer software for secure login purposes, and I plan to make an API for interacting with it soon.

Features:
-Servers synchronise their user databases so that you can extend your range.
-Secure login and message storage using a custom encrypter.
-Automatic Shutdown of memail program to reduce load on servers.

-Clients lock themselves if there is no connection to the server, eg. During storms.
-Rank based user permissions allows you to set ranks on users and ban or allow them logging into certain things.
-The server can create login floppies which can be used to login quickly to m1cr0S secured programs.
-Door Locker can trigger another door locker pc, whos id can be defined during setup. eg. Hidden doors where there is a different computer controlling the door.
-Memail PM System is feature packed to cover all your CC PM needs.


Screenshots:
SpoilerServer options menu and history:


Door Locker setup:


Main Menu of Memail:


A Sample message, from m1cr0man to 0*10^c:

Downloads:
-This contains the documentation aswell. Copy the contents of this zip onto a floppy:
[attachment=394:M1cr0S Software 1.7.zip]
-Pastebin Links (NOT Required if you downloaded the zip. Names are filenames on floppy):
-Readme & Documentation (not required)
-Installer (name startup)
-Server (name server)
-Door Locker (name door)
-Memail (name memail)
-M1cr0API (name m1)

Changelog:
1.7:
+Servers now sync with each other and keep emails and passwords the same across servers.
-Fixed stalling of Memail when password/username is entered wrong.
-Fixed crashing of memail and server when no disk drive was attached.
1.6:
-Initial release

Previous Versions:
1.6: [attachment=301:M1cr0S Software 1.6.zip]

Todo:
-Make an API for the server
A112 #2
Posted 09 July 2012 - 06:51 PM
Pfew, how long did it take you to make this? I'm sure I'm going to use this in my private server, it looks cool! :)/>/> Thanks!
M1cr0man #3
Posted 09 July 2012 - 06:56 PM
Pfew, how long did it take you to make this? I'm sure I'm going to use this in my private server, it looks cool! :)/>/> Thanks!
Heh, its took me 4 months or so. But it was 4 months during school and exams and what not, so really a month probs. I did a LOT of testing before releasing, so that people aren't disappointed when it crashes. B)/>/>
A112 #4
Posted 09 July 2012 - 06:58 PM
Heh, its took me 4 months or so. But it was 4 months during school and exams and what not, so really a month probs. I did a LOT of testing before releasing, so that people aren't disappointed when it crashes. B)/>/>

Nice idea, I'm going to download and try it right now :)/>/>
M1cr0man #5
Posted 09 July 2012 - 07:01 PM
Heh, its took me 4 months or so. But it was 4 months during school and exams and what not, so really a month probs. I did a LOT of testing before releasing, so that people aren't disappointed when it crashes. B)/>/>

Nice idea, I'm going to download and try it right now :)/>/>
Nice to hear B)/>/> I'm going to assume you are the first one to do so, judging by the hit counts on pastebin, so congrats B)/>/>
craigcon #6
Posted 10 July 2012 - 07:02 PM
Any chance of making the servers connect to each other so you can make it long range?
M1cr0man #7
Posted 10 July 2012 - 11:19 PM
Hm yeah I'll work on that after I fix the memail login problem. It shouldn't be too hard, all I need to do is sync the databases. Thanks for the suggestion :)/>/>
ElStan #8
Posted 12 July 2012 - 07:00 AM
It crashes during installation, any ideas why ?
M1cr0man #9
Posted 12 July 2012 - 01:05 PM
It crashes during installation, any ideas why ?
Make sure you have a wireless modem attached to the pc, and also if you used the pastebin links instead of the zip files make sure there are no file extensions on the files, that they are named exactly as described above. (eg. memail should be called memail, not memail.txt). If you still can't get it to work I should be on the IRC in an hour or 2.
Giuseppe #10
Posted 25 July 2012 - 06:43 AM
if I have a password on the number block entry
I can not enter it on the other numeric keypad
that that password is incorrect bask

and you could be incorporate a user overview
M1cr0man #11
Posted 26 July 2012 - 12:36 AM
if I have a password on the number block entry
I can not enter it on the other numeric keypad
that that password is incorrect bask

and you could be incorporate a user overview
Oh, the way I encrypt passwords is using the "key" event, which assigns a different number for each key. I will add support ASAP for the numpad although, on second thought it should work anyway. Ill look into it ASAP. (I know I was asked for syncing servers, that is WIP. The memail incorrect login stall will be fixed along with this problem)

Also, what do you mean by a "user overview"? If you are looking for a documentation/readme it is the first pastebin link. I do plan on making a video too, as soon as I can make my recordings small enough (bad internet connection :)/>/>)
Giuseppe #12
Posted 26 July 2012 - 04:56 AM
and you could be incorporate a user overview
Also, what do you mean by a "user overview"? If you are looking for a documentation/readme it is the first pastebin link. I do plan on making a video too, as soon as I can make my recordings small enough (bad internet connection :)/>/>)

a Overview of all Created User in the DB

and i can´t set Rank 12 or 10 or 20

i have an Error
i have 1 Server and ~8 doors client
when I make a door crashed my Server and i must kill this


[left]

05:40:46
PLAYER_COMMAND:
Giuseppe1990: /item 208:0 1[/left]

[left]

05:42:34
CONSOLE:
[INFO] ComputerCraft: Warning! Failed to abort a Computer. Dangling lua thread could cause errors.
[/left]


whats my Problem?
M1cr0man #13
Posted 26 July 2012 - 09:13 PM
and you could be incorporate a user overview
Also, what do you mean by a "user overview"? If you are looking for a documentation/readme it is the first pastebin link. I do plan on making a video too, as soon as I can make my recordings small enough (bad internet connection :)/>/>)

a Overview of all Created User in the DB

and i can´t set Rank 12 or 10 or 20

i have an Error
i have 1 Server and ~8 doors client
when I make a door crashed my Server and i must kill this


[left]

05:40:46
PLAYER_COMMAND:
Giuseppe1990: /item 208:0 1[/left]

[left]

05:42:34
CONSOLE:
[INFO] ComputerCraft: Warning! Failed to abort a Computer. Dangling lua thread could cause errors.
[/left]


whats my Problem?
Well, thats odd. I will look into the rank problem but as for the crashing that is quite weird. You could try deleting the user database…

Make a floppy with a startup program on it, put it in the floppy drive, reboot the pc (ctrl+r) and from there delete/move files/userdb. Remove the floppy and reboot the pc. It will be back to factory default so put in the root password again and create a test user. If it still crashes I'll have a more thourough testing, but I tested it all this morning and it worked fine.

If you can give me the name, password and rank of the user you tried to use to login to the door controller I may be able to narrow down the bug

EDIT: Just noticed something.
Giuseppe1990: /item 208:0 1
Are you giving yourself the same computer 8 times? That would certainly kill computercraft and the software so you should use fresh computers each time.
Giuseppe #14
Posted 27 July 2012 - 11:09 AM
equal Problem i have destroyed ALL PC and delete all folder from pc on the root i created new PC and after 7 or 8 crashed my Server with equal error
M1cr0man #15
Posted 28 July 2012 - 01:24 PM
equal Problem i have destroyed ALL PC and delete all folder from pc on the root i created new PC and after 7 or 8 crashed my Server with equal error
According to the CC 1.4 changelog:
"Several stability and security fixes: LuaJ can now no longer leave dangling threads when a computer is unloaded"
That is what is happening to you, so with any luck after updating to 1.4 it should work. I use 6 memail clients and 5-6 door controllers on my bukkit server and never got this error before, so yeah try updating to 1.4 :)/>/>
Giuseppe #16
Posted 30 July 2012 - 06:02 AM
ok thx
i will wait for a update
http://mcportcentral.co.za/wiki/index.php?title=Ports_for_1.2.5
M1cr0man #17
Posted 16 August 2012 - 02:45 PM
Any chance of making the servers connect to each other so you can make it long range?
I finally got the syncronisation code finished. A bit more testing and I'll be uploading the next version of M1cr0S
M1cr0man #18
Posted 18 August 2012 - 05:57 PM
M1cr0S Has been updated. Servers now synchronise their databases with each other so you can extend the range of your system.
Other than syncing, Changelog:
-Fixed stalling of Memail when password/username is entered wrong.
-Fixed crashing of memail and server when no disk drive was attached.
arikc15 #19
Posted 27 August 2012 - 08:19 AM
Fantastic program! Just note though the .zip doesn't work, it just opens to a .zip.cpgz. (could be my mac though XD)
George #20
Posted 27 August 2012 - 06:46 PM
I'm having issues installing this as I'm slightly new to CC. Could a step by step tutorial be put up?
Speedster159 #21
Posted 28 August 2012 - 11:34 AM
Is it possible to have multiple servers that have different databases at the general area, and have clients connect to a specific server?

E.g Server 1 will serve the guest area, and Server 2 will serve the factory area..
M1cr0man #22
Posted 31 August 2012 - 09:00 PM
I'm having issues installing this as I'm slightly new to CC. Could a step by step tutorial be put up?
There is step-by-step instructions included in the Readmes for both programs B)/>/> Hope that's enough
Is it possible to have multiple servers that have different databases at the general area, and have clients connect to a specific server?

E.g Server 1 will serve the guest area, and Server 2 will serve the factory area..
Yes. In order to synchronise both servers must authorise each other in their menus. If a server is not authorised on both ends or any ends it will not sync. This way you can achieve what you are trying to do :)/>/> It also makes the synchronisation very secure (no intercepting the database during sync).

Sorry about the late reply. I've been quite busy in IRL. Hopefully thermal support for the reactor controller will pay it off :)/>/>

Reactor Controller 2.4 Changelog:
-Added support for thermal monitors via redstone (or bundled) signal
-No more sleeps in the program, and bundled cables should be more reliable now.
M1cr0man #23
Posted 06 September 2012 - 05:40 PM
Major, and vital fixes and additions in 2.5. I suggest you update (especially if you used 2.4, there was a problem with bundled wires)
2.5:
-Fixed toggleing door on a bundled wire turning on/off a reactor incidentally
-"Reset Ice Detector" replaced with "Reset Detectors", which will reset ice, esu, etc. states
-Unused options are no longer shown
-Door control is now optional
-Other menu labels changed
-Removed auto-login using a floppy on both controller and RAT. Will be back in 2.6
LGC_McLovin #24
Posted 07 November 2012 - 05:26 AM
probably a dumb question. but how do you get the files from the .zip onto a floppy in game…
LGC_McLovin #25
Posted 07 November 2012 - 07:24 AM
nevermind
LGC_McLovin #26
Posted 07 November 2012 - 08:38 AM
would it be possible to get some quick instruction on synching servers, the process to do so, and obtaining server ID
M1cr0man #27
Posted 09 November 2012 - 06:51 AM
would it be possible to get some quick instruction on synching servers, the process to do so, and obtaining server ID
Sure. First of all place down a computer/turtle with a modem and type this in the lua console:

rednet.open("top");rednet.broadcast("srvidreq");os.startTImer(1);repeat local evt, p1 = os.pullEvent(); print("Server ID found: "..select(2, os.pullEvent())) until evt == "timer"
That will get the ID of all the servers in range of the computer/turtle.
Backup the User Database on ALL your servers (incase anything should happen)
Ensure all the servers you are going to add are in range with at least 1 other.
Then all you have to do is login to the servers and go into "+ sync server", and enter the other's ID (It is safe to add all of them, if you dont know the current server's ID)
They should instantly synchronise. However my system is kind of fraud and designed to be setup on at least 1 server's first run. I am in the process of making it more reliable but in the mean time just watch incase users disappear.

I will add all that to the manual in the next release, however I have nearly stopped programming for ComputerCraft recently due to the amount of stuff I am doing IRL, so it may be a while before it is finished.
aura #28
Posted 09 November 2012 - 05:58 PM
If you read the topics title you would be able to infer that the RAT has a login system built into it. You should quit disguising your noobie hack/exploit attempts with trying to convince others youre trying to help others out by finding such hacks/exploits.
aura #29
Posted 09 November 2012 - 06:00 PM
I was simply trying to alert you that there was an answer to your previous question. I was also trying to get you to quit lying to everyone you speak to. Its annoying and can lead to people liking you for who you really arent.
aura #30
Posted 09 November 2012 - 06:05 PM
You admit to lying to others? Being annoying? And believing that others like you for what you are not?
You try to criticize me when you know you should be critizing yourself for what youve done.
Get over it and grow up.
M1cr0man #31
Posted 10 November 2012 - 08:00 AM
When I first saw RAT I thought "DANGER! VIRUS ALERT!" XD
Well, is the R.A.T. password protected? Later I'll review it for exploitation' and I'll tell you ALL ABOUT 'EM >:3
Wish I checked the forums sooner. When I was programming M1cr0S/Reactor Controller I tried to think of every way that one could gain unauthorised acces by doing something other than startup floppy the server and make a fake user somehow (although feel free to try).
In other words, I have left next to no exploits in M1cr0S and the Reactor Controller. Its is near impossible to check a user's e-mail without knowing their password, and equally as hard to gain access to areas which you are not a high enough rank to access. Please, prove me wrong and tell me how. I've always wanted someone to do so :unsure:/>/>
Cruor #32
Posted 10 November 2012 - 09:17 AM
You admit to lying to others? Being annoying? And believing that others like you for what you are not?
You try to criticize me when you know you should be critizing yourself for what youve done.
Get over it and grow up.
Now you're accusing me of lying? xD
You're saying that I'm annoying? :unsure:/>/>
You say that people like me for who I am not? :3

You just SUDDENLY appear on the forums and you're able to say that? ^_^/>/> You must be on irc or something gossiping with others.

Please take this stuff to a private place, more wars and i will kill posts :(/>/>
minecraftlog21 #33
Posted 18 November 2012 - 10:39 AM
MEMAIL WONT LET ME SELECT ANY THING
anwoke8204 #34
Posted 01 February 2013 - 01:05 AM
hi im fairly new to tekkit, im trying to install this on my tekkit server, but when I run the M1croOS server installer my server crashes, and I have to restart the server to be able to get back in. it gives the following error (this is after it says disk will eject mommentarialy)

[INFO] ComputerCraft: Warning! Failed to abort a Computer. Dangling lua thread could cause errors.

any idea how i can resolve this so I can get this installed? im running the server on server 2008 with 2 gigs of ram dedicated to tekkit and McMyAdmin for the server admin interface
anwoke8204 #35
Posted 01 February 2013 - 01:13 AM
ok, now it kicks the disk out, doesn't ask me to input anything like faces or sides or anythign, and just says:

rednet:313: string expected
anwoke8204 #36
Posted 01 February 2013 - 01:18 AM
ok, now back to the origional issue, if I replace both the computer and the disk drive it gives me the first error, if I replace just the disk drive I get the second error?
Skullblade #37
Posted 01 February 2013 - 01:37 AM
Triple post and necromancy of a discontinued project…
M1cr0man #38
Posted 18 February 2013 - 01:02 AM
ok, now back to the origional issue, if I replace both the computer and the disk drive it gives me the first error, if I replace just the disk drive I get the second error?
When you got the rednet error, did you have a Wireless peripheral attached to the computer? Make sure you did, it should work then :)/>
Triple post and necromancy of a discontinued project…
NOPE. Soon I will be getting back to work on this hopefully. School and other stuff IRL completely consuming all my time. Just to keep yous all interested:
-Colour support coming to ME-Mail.
-Better, expandable version of M1cr0S Server
-Sensor support for Reactor Controller, and maybe some colour coding.
-A tool builder…:D/>
Skullblade #39
Posted 18 February 2013 - 05:24 AM
ok, now back to the origional issue, if I replace both the computer and the disk drive it gives me the first error, if I replace just the disk drive I get the second error?
When you got the rednet error, did you have a Wireless peripheral attached to the computer? Make sure you did, it should work then :)/>
Triple post and necromancy of a discontinued project…
NOPE. Soon I will be getting back to work on this hopefully. School and other stuff IRL completely consuming all my time. Just to keep yous all interested:
-Colour support coming to ME-Mail.
-Better, expandable version of M1cr0S Server
-Sensor support for Reactor Controller, and maybe some colour coding.
-A tool builder… :D/>
no bump…