Spoiler
Spoiler
Spoiler
Spoiler
Spoiler
Helpers
nutcase84 - Head Developer
[right]Press the green button![/right]
Helpers
nutcase84 - Head Developer
if not term.isColor then
print("FireOS requires a advanced computer.")
error()
end
if not term.isColor then print("FireOS requires a advanced computer.") error() end
You are checking to see if term.isColor is equal to false. It is true, so the program carries on. And crashes.
[/left][left]Will post some screenshots soon.[/left]
[left]
Well actually he is checking if term.isColor is nil, not equal to false, this is a good way to check if it's being run on pre-CC1.4 computers, but yes, if its a normal computer this line will allow it to continue, and crash.You are checking to see if term.isColor is equal to false. It is true, so the program carries on. And crashes.if not term.isColor then print("FireOS requires a advanced computer.") error() end
Actuallyterm.isColor() – parantheses
if not (term.isColor and term.isColor()) then
error("FireOS requires an advanced computer.", 0)
end
Would be the better way to do it.Well actually he is checking if term.isColor is nil, not equal to false, this is a good way to check if it's being run on pre-CC1.4 computers, but yes, if its a normal computer this line will allow it to continue, and crash.You are checking to see if term.isColor is equal to false. It is true, so the program carries on. And crashes.if not term.isColor then print("FireOS requires a advanced computer.") error() end
Actuallyterm.isColor() – paranthesesWould be the better way to do it.if not (term.isColor and term.isColor()) then error("FireOS requires an advanced computer.", 0) end
[/left][left]Will post some screenshots soon.[/left]
[left]
[left]What is it you say to everyone that does this?………… oh thats right……….. No pics no clicks.[/left]
[sarcasm]
Man I'm so excited to see yet another incomplete nutcase OS……. what is that now, 3 OSes? ….. wooooooooo…. can you just feel my excitement….
[/sarcasm]
:)/> Nice. But I thought it was released at cc-con?
I like. I download. I use. I love. Using this as my os forever. ( just cuz mehOs is not getting supported anymore)
Please add some more information about your OS. Is it multitasking or windowed? And add more screens!
What icon size do you use?
hahaha that happened to me once, but with my os updater error instead of a hard drive error.…
One day, a noob by the name of nutcase, started development of a OS. He lost the code from a hard drive error, so he started again…
hahaha that happened to me once, but with my os updater error instead of a hard drive error.…
One day, a noob by the name of nutcase, started development of a OS. He lost the code from a hard drive error, so he started again…
Please add some more information about your OS. Is it multitasking or windowed? And add more screens!
What icon size do you use?
Added a little more info, I will add more screenshots with the next update.
The icons are currently 5x5, but I think I'm going to upgrade them to 5x7, I don't really know. What do you think?
Please add some more information about your OS. Is it multitasking or windowed? And add more screens!
What icon size do you use?
Added a little more info, I will add more screenshots with the next update.
The icons are currently 5x5, but I think I'm going to upgrade them to 5x7, I don't really know. What do you think?
Thanks for fast reply! I think that 5x7 icons can be too large for standard resolution. Did your OS support custom resolutions?
This looks exactly the same as a few other OS' I've looked at.
I don't know, but maybe you should list out the features that are unique to your OS specifically.
maybe something with development.Just a curious bit here, but… what does the "Dp" stand for in your Version?
Honestly I think the FireW icon would look better if it were made similar to how the main logo was made (3D kinda / Shadows)Spoiler
And as a personal preference that worm, I like colors.lime better xD (you can ignore my preference though, it's just fine)
If I do edit it, will the auto-updater (if there is one) come by and sweep out my changes?
You should make it to where you can whitelist certain files from update overwriting.
:)/> I haven't seen that done yet.
I do like the design of it, but you really need to work on functionality!
Also black font isn't good over blue background ^^ Just saying because the [close] button etc is hard to read.
Large monitors, anyone?Please add some more information about your OS. Is it multitasking or windowed? And add more screens!
What icon size do you use?
Added a little more info, I will add more screenshots with the next update.
The icons are currently 5x5, but I think I'm going to upgrade them to 5x7, I don't really know. What do you think?
Thanks for fast reply! I think that 5x7 icons can be too large for standard resolution. Did your OS support custom resolutions?
Large monitors, anyone?Please add some more information about your OS. Is it multitasking or windowed? And add more screens!
What icon size do you use?
Added a little more info, I will add more screenshots with the next update.
The icons are currently 5x5, but I think I'm going to upgrade them to 5x7, I don't really know. What do you think?
Thanks for fast reply! I think that 5x7 icons can be too large for standard resolution. Did your OS support custom resolutions?
Not large monitors but at least large resolutions. Some people set computercraft computer interface resolution larger than default 51x19. For example I like to use 60x30. But only a few OSes support such custom resolutions. For example my OS does =)
-snip-
I don't really see why I need to support custom resolutions, it seems that barely anyone changes it.
-snip-
I don't really see why I need to support custom resolutions, it seems that barely anyone changes it.
But if someone wants to run it on a monitor… :D/>
It is not very complicated to make custom resolution support. And I think that this feature is required often enought to be implemented.I don't really see why I need to support custom resolutions, it seems that barely anyone changes it.
This is because monitor_touch doesn't have the first argument, the left or right click one.
EDIT: probably.
It is not very complicated to make custom resolution support. And I think that this feature is required often enought to be implemented.I don't really see why I need to support custom resolutions, it seems that barely anyone changes it.
And for monitors: to use OS on them you should create some application like the virtual keyboard and find some solution for moving windows (because dragging event doesn't work), left clicking and other stuff. Mybe I will implement this things in my OS some day.
Because you wonder why people want the Tile UI: it's nice to use in ComputerCraft, because it's not a huge mess and you have a bigger place to write things on the tiles :P/>
Also would be cool if you added some kind of Api people can implement to their programs for example a notification Api.
No clock? I think that should be implemented!
No clock? I think that should be implemented!
But make the clock changeable from reallife time or ingame time ^^
--Desktop
slc = 0 -- sets the colours
tBarC = 2048
tBartC = 1
backColor = 1
term.setBackgroundColor(backColor)
term.clear()
contextX = 0
contextY = 0
function drawPrograms()
term.setTextColor(1)
term.setBackgroundColor(8)
term.setCursorPos(16,2)
print(" ")
term.setCursorPos(16,3)
print(" -Help ")
term.setCursorPos(16,4)
print(" -Games ")
term.setCursorPos(16,5)
print(" ")
end
function drawPrograms2()
term.setTextColor(1)
term.setBackgroundColor(8)
term.setCursorPos(16,2)
print(" ")
term.setCursorPos(16,3)
print(" -Help ")
term.setCursorPos(16,4)
print(" >Games ")
term.setCursorPos(16,5)
print(" ")
end
function drawGames()
term.setTextColor(1)
term.setBackgroundColor(8)
term.setCursorPos(26,3)
print(" ")
term.setCursorPos(26,4)
print(" -GoldRunner ")
term.setCursorPos(26,5)
print(" -3D Maze ")
term.setCursorPos(26,6)
print(" ")
end
function titleBar() -- Draws the task bar at the top of the page
term.setCursorPos(1,1)
local w = term.getSize()
term.setBackgroundColor(tBarC)
term.setTextColor(tBartC)
term.clearLine()
term.setCursorPos(3, 1)
print("[Main Menu]")
term.setCursorPos(16, 1)
print("[Programs]")
term.setCursorPos(28, 1)
print("[BlueTooth]")
clock()
end
function drawBluetoothDropDown() --Draws the bluetooth dropdown
term.setTextColor(1)
term.setBackgroundColor(8)
term.setCursorPos(28,2)
print(" ")
term.setCursorPos(28,3)
print(" -Send ")
term.setCursorPos(28,4)
print(" -Recieve ")
term.setCursorPos(28,5)
print(" ")
end
function clock() -- sets the time to top left corner
term.setTextColor(1)
term.setBackgroundColor(tBarC)
local time = textutils.formatTime(os.time(), true)
local w = term.getSize()
term.setCursorPos(w - #time + 1, 1)
print(time)
end
function drawDesktop() -- Draws background image
term.setBackgroundColor(backColor)
term.clear()
bground = paintutils.loadImage("background_1")
paintutils.drawImage(bground,1, 1)
titleBar()
end
function drawMenu1() --Draws the main menu drop down.
term.setTextColor(1)
term.setBackgroundColor(8)
term.setCursorPos(3,2)
print(" ")
term.setCursorPos(3,3)
print(" -Shutdown ")
term.setCursorPos(3,4)
print(" -Restart ")
term.setCursorPos(3,5)
print(" -Exit ")
term.setCursorPos(3,6)
print(" ")
end
function drawMenu2() -- Draws the left click edi menu
term.setBackgroundColor(8)
term.setTextColor(1)
term.setCursorPos(contextX, contextY)
print(" ")
term.setCursorPos(contextX, contextY+1)
print(" -Edit GUI ")
term.setCursorPos(contextX, contextY+2)
print(" -Background ")
term.setCursorPos(contextX, contextY+3)
print(" ")
end
drawDesktop() -- buttons and there functions
while true do
local event, button, X, Y = os.pullEventRaw()
local w = term.getSize()
if slc == 0 then
if event == "mouse_click" then
if X >=3 and X <=13 and Y==1 and button ==1 then
drawMenu1()
slc = 1
elseif X >=16 and X <=26 and Y >=1 and Y <=1 and button == 1 then slc = 4
drawPrograms()
elseif X >=24 and X <=34 and Y >=1 and Y <=1 and button == 1 then slc = 3
drawBluetoothDropDown()
elseif X >=w - 2 and X <=w and Y==1 and button ==1 then slc = 0
clock()
slc = 0
elseif X >= 1 and Y >=2 and button == 2 then slc = 2
if X >=38 then
contextX = 38
end
if Y >=14 then
contextY = 14
end
if X <= 38 then
contextX = X
end
if Y <= 14 then
contextY = Y
end
drawMenu2()
else
drawDesktop()
end
end
elseif slc == 4 then
if X >=16 and X <=26 and button == 1 and Y== 3 then slc = 0
shell.run("help")
elseif X >=16 and X <=26 and button == 1 and Y== 4 then slc = 0
drawGames()
drawPrograms2() slc = 5
else
slc = 0
drawDesktop()
end
elseif slc == 3 then
if X >=1 and X <=11 and button == 1 and Y== 3 then slc = 0
else
slc = 0
drawDesktop()
end
elseif slc == 1 then
if X >=1 and X <=11 and button == 1 and Y== 3 then slc = 0
os.shutdown()
elseif X>=1 and X<=11 and Y==4 and button ==1 then slc = 0
os.reboot()
elseif X>=1 and X<=11 and Y==5 and button ==1 then slc = 0
so.run({},"")
else
slc = 0
drawDesktop()
end
elseif slc == 5 then
if X >=26 and X <=39 and button == 1 and Y== 4 then slc = 0
shell.run("cd", "goldrunner")
shell.run("GoldRunner")
elseif X >=26 and X <=39 and button == 1 and Y== 5 then slc = 0
shell.run("maze3d")
else
slc = 0
drawDesktop()
end
elseif slc == 2 then
if X >= contextX and X <= contextX+13 and Y==contextY+1 and button == 1 then slc = 0
sleep(0.1)
shell.run("cd","OS","cd","Core","edit","gui")
drawDesktop()
elseif X>= contextX and X <=contextX+13 and Y==contextY+2 and button == 1 then slc = 0
shell.run("paint","background_1")
drawDesktop()
else slc = 0
drawDesktop()
end
end
end
timeout = os.startTimer(0.8)
event, p1 = os.pullEvent()
if event == "timer" and p1 == timeout then
displayTime()
end
0.8 is one Minecraft second.It's 0,86666666666 or 1200/1440.0.8
I think it should be like rainmeter, but block(ish) for minecraft
I don't really see why I need to support custom resolutions, it seems that barely anyone changes it.
Everybody here is using 15 inch monitors, so why would I make it compatible with 19 inch monitors?
Imagine, what if Microsoft said that? Then I wont be able to run windows, which means that I cannot run my preferred OS.I didn't know that turtles had a different resolution. What is it? I will work on making my OS somewhat compatible with higher resolutions.
I didn't know that turtles had a different resolution. What is it? I will work on making my OS somewhat compatible with higher resolutions.
39x13
Good job, you dropped a pretty big chunk of your userbase.
Good job, you dropped a pretty big chunk of your userbase.
How did I? I went with the poll…
I said I'm working on higher resolutions… but lower resolutions won't work because of the way I designed the tiles. Sorry.
In your opinion, yes.Best OS yet! Windows 8 UI would make it the best computercraft creation EVER
Best OS yet! Windows 8 UI would make it the best computercraft creation EVER
Your welcome!Best OS yet! Windows 8 UI would make it the best computercraft creation EVER
Thanks!
:D/>
Nice OS, making my own actually, I could learn a thing or two from this.
Overall, pretty sweet except for these lists of flaws… (I hate to be "that" guy, but, I just had to. No offence intended.)
-Shell just doesn't feel like it's part of the OS. You should give it a UI.
-Should come with file browser. Again, I just don't like the shell with no UI.
-Add more shtuff! :D/>
Also, it would be nice if this was open source, to help out people like me! :D/>
Nice job though. Looking forward to updates. :)/>
NUTOS!!
What's the best you've seen? :D/>I like the interface of your OS. Not the best i've seen but it looks quite nice. Well done!
Try and guess what "fos" means in Hungarian…
Yup. But I'm gonna edit that post above so it'll be something more fitting for an OS topic…-snip-
Yup. But I'm gonna edit that post above so it'll be something more fitting for an OS topic…-snip-
Yup. But I'm gonna edit that post above so it'll be something more fitting for an OS topic…-snip-
What?
Yup. But I'm gonna edit that post above so it'll be something more fitting for an OS topic…-snip-
What?
I used this OS on my advanced computercraft monitors and the touch worked great but the server got reset a month later and now it doesn't work anymore :(/> is there any API i need to install to make it work?