←  Operating Systems

ComputerCraft | Programmable Computers for Minecraft

»

SelectOS v.1.4.4 Alpha [ Colours ] [ Progr...

Poll: SelectOS - Poll (63 member(s) have cast votes)

What do you want me to add?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.

What do you think of SelectOS

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.

What programs do you want?

You cannot see the results of the poll until you have voted. Please login and cast your vote to see the results of this poll.
Vote Guests cannot vote

Skullblade's Photo Skullblade 14 Feb 2013

 AnthonyD98™, on 13 February 2013 - 07:48 PM, said:

Anyone have any idea how to secure Passwords?
If u want a single function hashing method here is one http://www.computerc...44-and-sha-256/
It's sha256
Quote

theoriginalbit's Photo theoriginalbit 14 Feb 2013

 Skullblade, on 14 February 2013 - 12:44 AM, said:

If u want a single function hashing method here is one http://www.computerc...44-and-sha-256/
It's sha256
Probably the best one to get.... ever!
Quote

Skullblade's Photo Skullblade 14 Feb 2013

 TheOriginalBIT, on 14 February 2013 - 01:03 AM, said:

 Skullblade, on 14 February 2013 - 12:44 AM, said:

If u want a single function hashing method here is one http://www.computerc...44-and-sha-256/
It's sha256
Probably the best one to get.... ever!
Yeah I love it...works very well; I think that gravity score made it...
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 TheOriginalBIT, on 13 February 2013 - 05:52 PM, said:

 SuicidalSTDz, on 13 February 2013 - 03:54 PM, said:

-snip-
[Suggestion]You should make an installer for users to decide if they want color, non-color -snip
I don't think that decision should be completely left up to the user what if they select colour on a cc1.3 or a non advanced computer?
if not term.isColor() then
--Download the non-color version
else
--Download the color version
end
Quote

GravityScore's Photo GravityScore 14 Feb 2013

 Skullblade, on 14 February 2013 - 01:09 AM, said:

 TheOriginalBIT, on 14 February 2013 - 01:03 AM, said:

 Skullblade, on 14 February 2013 - 12:44 AM, said:

If u want a single function hashing method here is one http://www.computerc...44-and-sha-256/
It's sha256
Probably the best one to get.... ever!
Yeah I love it...works very well; I think that gravity score made it...

:D Glad you like it.

Could be improved though :P
Quote

Skullblade's Photo Skullblade 14 Feb 2013

 GravityScore, on 14 February 2013 - 01:26 AM, said:

 Skullblade, on 14 February 2013 - 01:09 AM, said:

Yeah I love it...works very well; I think that gravity score made it...

:D/> Glad you like it.

Could be improved though :P/>
Well it runs and doesn't error, it's fairly secure, and it's single function, that's all it needs to be WAY better then what I can make :P
Quote

theoriginalbit's Photo theoriginalbit 14 Feb 2013

 GravityScore, on 14 February 2013 - 01:26 AM, said:

:D Glad you like it.

Could be improved though :P
Of course, its awesome.
How would you improve it? have it not error on files contents? thats pretty much the only thing i can think of. only reason it does with files contents is they are so damn long the computer doesn't yield.

 SuicidalSTDz, on 14 February 2013 - 01:14 AM, said:

if not term.isColor() then
--Download the non-color version
else
--Download the color version
end
If probably use

if not term.isColor and term.isColor() then

that way its compatible with cc1.3 as well
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 TheOriginalBIT, on 14 February 2013 - 01:35 AM, said:

 GravityScore, on 14 February 2013 - 01:26 AM, said:

:D Glad you like it.

Could be improved though :P
Of course, its awesome.
How would you improve it? have it not error on files contents? thats pretty much the only thing i can think of. only reason it does with files contents is they are so damn long the computer doesn't yield.

 SuicidalSTDz, on 14 February 2013 - 01:14 AM, said:

if not term.isColor() then
--Download the non-color version
else
--Download the color version
end
If probably use

if not term.isColor and term.isColor() then

that way its compatible with cc1.3 as well
True :)
Quote

Lyqyd's Photo Lyqyd 14 Feb 2013

 TheOriginalBIT, on 14 February 2013 - 01:35 AM, said:

if not term.isColor and term.isColor() then

that way its compatible with cc1.3 as well

You would want this instead, actually:

if term.isColor and term.isColor() then
  --up to date, adv. computer
elseif term.isColor and not term.isColor() then
  --up to date, regular computer (can still use black and white colors)
else
  --not up to date, cannot use any colors.
end
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 Lyqyd, on 14 February 2013 - 10:30 AM, said:

 TheOriginalBIT, on 14 February 2013 - 01:35 AM, said:

if not term.isColor and term.isColor() then

that way its compatible with cc1.3 as well

You would want this instead, actually:

if term.isColor and term.isColor() then
  --up to date, adv. computer
elseif term.isColor and not term.isColor() then
  --up to date, regular computer (can still use black and white colors)
else
  --not up to date, cannot use any colors.
end
Lol, nice. Go big or go home ;)
Quote

AnthonyD98™'s Photo AnthonyD98™ 14 Feb 2013

Just got on and I have just discovered a ton of post :D
Quote

AnthonyD98™'s Photo AnthonyD98™ 14 Feb 2013

Wow, I looked at the SHA-256, so I have to put all that code at the top of SelectOS?
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 AnthonyD98™, on 14 February 2013 - 02:08 PM, said:

Wow, I looked at the SHA-256, so I have to put all that code at the top of SelectOS?
More likely so. Or you could run it as a program and hash their information there.
Quote

AnthonyD98™'s Photo AnthonyD98™ 14 Feb 2013

Hmm, right now I'm not sure what to work on.

What do you guys think I should work on now?
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 AnthonyD98™, on 14 February 2013 - 02:22 PM, said:

Hmm, right now I'm not sure what to work on.

What do you guys think I should work on now?
Hashing :) or look for games to put in your OS or... MAKE A GAME! :D
Quote

theoriginalbit's Photo theoriginalbit 14 Feb 2013

 Lyqyd, on 14 February 2013 - 10:30 AM, said:

regular computer (can still use black and white colors)
I always forget about that.
Quote

AnthonyD98™'s Photo AnthonyD98™ 14 Feb 2013

 SuicidalSTDz, on 14 February 2013 - 02:26 PM, said:

 AnthonyD98™, on 14 February 2013 - 02:22 PM, said:

Hmm, right now I'm not sure what to work on.

What do you guys think I should work on now?
Hashing :) or look for games to put in your OS or... MAKE A GAME! :D

I would like to make a game but I have no idea how to make one :P
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 AnthonyD98™, on 14 February 2013 - 02:31 PM, said:

 SuicidalSTDz, on 14 February 2013 - 02:26 PM, said:

 AnthonyD98™, on 14 February 2013 - 02:22 PM, said:

Hmm, right now I'm not sure what to work on.

What do you guys think I should work on now?
Hashing :) or look for games to put in your OS or... MAKE A GAME! :D

I would like to make a game but I have no idea how to make one :P
I tried my luck at a color game. You guess what color the Endermen are thinking of and if you are correct, you get 20 coins(Start out with 100) and go from there. The colors are randomly generated using color = math.random(1,16) Still needs some improvement though...
Quote

AnthonyD98™'s Photo AnthonyD98™ 14 Feb 2013

At least you tried.

On another note I've improved the space() function :D

-- Code
local function space(times)
for rep = 1,times do
  print("")
 end
end

-- Usage:
space()
--Put the number of times you want it to miss a line
-- Example:
space(5)
-- Prints 5 blank lines
Quote

SuicidalSTDz's Photo SuicidalSTDz 14 Feb 2013

 AnthonyD98™, on 14 February 2013 - 02:39 PM, said:

At least you tried.

On another note I've improved the space() function :D

-- Code
local function space(times)
for rep = 1,times do
  print("")
end
end

-- Usage:
space()
--Put the number of times you want it to miss a line
-- Example:
space(5)
-- Prints 5 blank lines
Very nice. This is actually pretty useful, sure I could think of... HUNDREDS of things to use this for :D
Quote