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

[OS]ROS - Problem CraftOS? (With Monitor Support! :D)

Started by ryan0788, 15 March 2012 - 01:03 AM
ryan0788 #1
Posted 15 March 2012 - 02:03 AM
ROS

Version 1.23


This is just a playaround thing I started working on and it actually seemed pretty good! It's an OS that doesn't replace CraftOS but runs over it so you don't have to do too much to install!


Default account is:

Username: admin

Password: admin


[left]Current content:[/left]
  • File Navigator (Open, Edit, Copy, Paste, etc..)
  • Monitor Support (More to be added later :D/>/> )
  • User Accounts (admin and default)
  • Auto-installer so you don't have to have a disk in all the time
[left]Planned Content:[/left]
  • Password Encryption
  • Games?
  • Suggestions?
[left]Tell me what you think and ideas on what I can add! :)/>/>[/left]
[left]I GUARANTEE that this won't break your computer. ;P[/left]

[left](File is attached to this post)[/left]

[left]Updates for 1.23:[/left]
[left]-Monitor support[/left]
[left]-World time (On monitor)[/left]
[left]Updates for 1.2:[/left]
[left]-Different user permission levels (admin and user)[/left]
[left]-Restricted some ROS files so they can't be edited[/left]
ryan0788 #2
Posted 15 March 2012 - 04:07 AM
File Protection System - Prevents the User from just mindlessly deleting the entire computer, useful.

Aha, I was thinking about doing that but I kinda-sorta got sidetracked.. ;P But yea!

Guest Account - An account that can run programs but cannot edit/delete programs.

Shouldn't be too hard.. But kinda pointless unless this was on a MP server :)/>/>

Password Encryption - One of the flaws of RedWorks OS is that it did NOT have an encryption system for the user account / user password. So I suggest using some sort of encryption for saving the passwords and have a decrypt read the password back to the computer so that when it is input it can still work.

I'm not too good with algorithms and such but I'll look into it! Definitely needed like guest accounts if you have other people accessing the computer like a terminal.

Resolution Compatibility - As you should know, in the Version 1.2.3 update there was a new item called Monitor Peripheral that can expand the resolution of the screen, it would be nice to make the screen expand itself depending on the term.getSize() event that you can use to find out the resolution.

It should be fairly flexible when it comes to changing the screen size… I tried to use term.getSize() as much as I could when I saw the monitor peripheral but no guarantees :)/>/>

Tutorials - Nice easy tutorials that explains how YOU yourself do your scripting, I'm learning LUA and I'm interested in how others learned the language and how they use it. Not just some default text-book that comes from a website.

Ughhhh… Documentation… Maybe.. ;)/>/>

COMPUTER TO COMPUTER FILE TRANSFER! - This should be simple, you know how to read a text-file right? Just implement that using rednet and bring line one-by-one through the rednet and the other computer standing-by waiting for the code and copying it down into a file. Should be easy enough.

There's code for that already written, I could just port that over and fit it in.

Custom Language Implementation - If you can figure this out (I certainly can't) is to figure out a way to use a language OTHER than lua and besides C++ in the computers, like for example, Batch? :D/>/>

Ummm.. Not really sure if that would work unless you make modifications to Computer Craft itself… Although that would be awesome because Lua isn't necessarily the most efficient language :P/>/>

Thanks for the suggestions! Definitely going to implement some of those! :)/>/>
Razer #3
Posted 15 March 2012 - 05:20 AM
Ummm.. Not really sure if that would work unless you make modifications to Computer Craft itself… Although that would be awesome because Lua isn't necessarily the most efficient language :D/>/>
You could just create a new program (called "batch") that opens up text files (You could have them suffixed with .bat just for looks) and runs each line via "loadString()".

…Just thought about that and realized that's what normally happens xD
Leonardoas111 #4
Posted 05 April 2012 - 07:24 PM
My computer freezes after the login screen
Mads #5
Posted 06 April 2012 - 09:31 AM
I am currently working on a Batch interpreter for CC. I think it will be pretty cool
Albee12 #6
Posted 17 April 2012 - 12:09 AM
How to install?
CodeMachine #7
Posted 25 December 2012 - 07:14 PM
Wow ryan… I found ur thread!!! Nice OS. Only suggestion would be to allow usere to use pastebin to download the os ingame… VERY NICE!!!
Sammich Lord #8
Posted 25 December 2012 - 09:32 PM
Wow ryan… I found ur thread!!! Nice OS. Only suggestion would be to allow usere to use pastebin to download the os ingame… VERY NICE!!!
Achievement get! Bump a 8 month old thread! -9001G