Spoiler
Installation:Download Zip put files in saves/(yourworldname)/computer
open computer id folder
drop Cake
and CakeOS
in folder
and your finished
.zip or Pastebin please :(/>
Also, I would like some screenshots.
There is a .zpi
i will add screenshots
function cre()
shell.run("cd" ,"/")
term.clear()
term.setBackgroundColor(colors.lightBlue)
term.clear()
term.setBackgroundColor(colors.blue)
term.setCursorPos(1,1)
term.clearLine()
term.setCursorPos(1,1)
print "CakeOS v1,6 By Kcraft -> Create"
term.setCursorPos(51,1)
term.setBackgroundColor(colors.red)
print "X"
ce = paintutils.loadImage("cake")
paintutils.drawImage(ce,1,1)
term.setBackgroundColor(colors.blue)
term.setCursorPos(8,5)
print " "
term.setCursorPos(8,6)
print " Create:/ "
term.setCursorPos(8,7)
print " "
term.setCursorPos(18,6)
input = read()
if input == "back" then
base()
else
term.setCursorPos(10,10)
term.setBackgroundColor(colors.green)
print " " -- 24
term.setCursorPos(10,11)
print " -> Ok "
term.setCursorPos(10,12)
print " "
term.setCursorPos(30,10)
term.setBackgroundColor(colors.red)
term.setCursorPos(29,10)
print " "
term.setCursorPos(29,11)
print " -> Cancel "
term.setCursorPos(29,12)
print " "
m = "0"
while m == "0" do
local event, button, X, Y = os.pullEventRaw()
if event == "mouse_click" then
if X >=10 and X <=24 and Y >=10 and Y <=12 and button == 1 then
term.setCursorPos(10,3)
file = fs.open(input,"w")
file.write("--]] File: "..input.." [[--")
file.close()
sleep(2)
print "File Created!"
event = os.pullEvent()
m = "1"
cre()
elseif X >=30 and X <=42 and Y >=10 and Y <=12 and button == 1 then
term.setCursorPos(10,3)
print "File Creation Canceled"
event = os.pullEvent()
m = "1"
cre()
end
end
end
end
end
.zip or Pastebin please :(/>
Also, I would like some screenshots.
There is a .zpi
i will add screenshots
That quite clearly says .rar
EDIT:
Hold on, look at this crappy codefunction cre() shell.run("cd" ,"/") term.clear() term.setBackgroundColor(colors.lightBlue) term.clear() term.setBackgroundColor(colors.blue) term.setCursorPos(1,1) term.clearLine() term.setCursorPos(1,1) print "CakeOS v1,6 By Kcraft -> Create" term.setCursorPos(51,1) term.setBackgroundColor(colors.red) print "X" ce = paintutils.loadImage("cake") paintutils.drawImage(ce,1,1) term.setBackgroundColor(colors.blue) term.setCursorPos(8,5) print " " term.setCursorPos(8,6) print " Create:/ " term.setCursorPos(8,7) print " " term.setCursorPos(18,6) input = read() if input == "back" then base() else term.setCursorPos(10,10) term.setBackgroundColor(colors.green) print " " -- 24 term.setCursorPos(10,11) print " -> Ok " term.setCursorPos(10,12) print " " term.setCursorPos(30,10) term.setBackgroundColor(colors.red) term.setCursorPos(29,10) print " " term.setCursorPos(29,11) print " -> Cancel " term.setCursorPos(29,12) print " " m = "0" while m == "0" do local event, button, X, Y = os.pullEventRaw() if event == "mouse_click" then if X >=10 and X <=24 and Y >=10 and Y <=12 and button == 1 then term.setCursorPos(10,3) file = fs.open(input,"w") file.write("--]] File: "..input.." [[--") file.close() sleep(2) print "File Created!" event = os.pullEvent() m = "1" cre() elseif X >=30 and X <=42 and Y >=10 and Y <=12 and button == 1 then term.setCursorPos(10,3) print "File Creation Canceled" event = os.pullEvent() m = "1" cre() end end end end end
- Mad snip skills -
term.setCursorPos(8,7)
print " "
term.setCursorPos(18,6)
i would like to see u script over 300 lines of code once you've done that i will let u complain about my code but until u do so STOP being so picky!- Mad snip skills -
- You don't indent.
- You recursively call cre(). This causes the program to keep making the ce variable, and recursive looping is bad anyway.
- Ever heard of string.rep() ? See below.
- There is a number type. Look at m = "1"
term.setCursorPos(8,7) print " " term.setCursorPos(18,6)
EDIT: Fixed screwed up BBCode.
Bragging about having more lines is never a good thing to do. You're basically bragging that your code is more bloated than others. Lines don't even matter anyway, since you can put as much code as you want into one line.i would like to see u script over 300 lines of code once you've done that i will let u complain about my code but until u do so STOP being so picky!
Bragging about having more lines is never a good thing to do. You're basically bragging that your code is more bloated than others. Lines don't even matter anyway, since you can put as much code as you want into one line.i would like to see u script over 300 lines of code once you've done that i will let u complain about my code but until u do so STOP being so picky!
why does it matter what the code looks like it works right?
thats what matters :P/>i would like to see u script over 300 lines of code once you've done that i will let u complain about my code but until u do so STOP being so picky!- Mad snip skills -
- You don't indent.
- You recursively call cre(). This causes the program to keep making the ce variable, and recursive looping is bad anyway.
- Ever heard of string.rep() ? See below.
- There is a number type. Look at m = "1"
term.setCursorPos(8,7) print " " term.setCursorPos(18,6)
EDIT: Fixed screwed up BBCode.
i fixed the code
People might get upset if you humiliate them directly on a forum; don't do that. You know, this is not the forum of Awesome Operating Systems.-snip-
It matters because people will like your programs more if they don't crash. (Talking about recursively calling cre.)why does it matter what the code looks like it works right?
If I were you, I wouldn't mention that I have - holy crap - 300 lines of code. People here make awesome programs with several thousands of lines of code. Zudo is a good guy anyways; he might have had a bad day. If you don't like his opinion, shout his head off - I don't care - in PM or whereever you want, but not here. People don't like if a thread is full of shouting anyways.i would like to see u script over 300 lines of code once you've done that i will let u complain about my code but until u do so STOP being so picky
I think there should be a rule that the file can't be a rar or zip file, just because of the virus possibilities.
I think there should be a rule that the file can't be a rar or zip file, just because of the virus possibilities.
i have no idea how to make a virus and i would never want to hurt anyones pc
That doesn't mean that you might have a virus you don't know about.
That doesn't mean that you might have a virus you don't know about.
that .zip file comes directly from my wedsite
If you are talking about a virus being a .zip file, I don't think that is possible. If you think the program you downloaded to put in to CC, I agree.I think there should be a rule that the file can't be a rar or zip file, just because of the virus possibilities.
If you are talking about a virus being a .zip file, I don't think that is possible. If you think the program you downloaded to put in to CC, I agree.I think there should be a rule that the file can't be a rar or zip file, just because of the virus possibilities.