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

AzhfTech

Started by Azhf, 08 March 2013 - 11:28 AM
Azhf #1
Posted 08 March 2013 - 12:28 PM
Ok, so This Will Basically Just be All of my Software for CC.



This is probably not the right place to post this, but still. Later on, I will have links to all of my software! :D/> Also, the first one will probably be AzhfTechOS, which will be basic, because I am no GravityScore or SuicidalSTDz XD. Also, I might have help from SuicidalSTDz ! :D/> Anyways, that's pretty much it. Thank you for reading! :D/>

AzhfTech Simple Keycard:
SpoilerThis is a simple keycard that went kind of wrong. Read all side notes! Enjoy. pastebin get Hahm1AGK AzhfTech: Keycard or http://pastebin.com/Hahm1AGK


AzhfTech Graphical Shell(XD) AlphaTestpr1:
Spoilerstartup file: http://pastebin.com/Dhu4eRcT
Sidenote: bugfinders will be appreciated :D/> Also, please check out the credits. Thanks :D/> P.S. I was gonna make a certain thing for people to be the originial alpha testers. I am currently working on pr2, and that will be tested by certain people.

Firewolf(Featured in my OS and I have my own theme):
Spoilerhttp://www.computerc...500-lines-less/

The Crew("Employees"):
SpoilerAzhf
SuicidalSTDz
Wanna Join and help dev stuff? Message me!

I couldn't decide which slogan to use, so you guys decide :P/>
Get more, get AzhfTech.
There's a bit of AzhfTech in all of us.
If you do not care, AzhfTech does!
AzhfTech - Your opportunities at one glance.
oeed #2
Posted 08 March 2013 - 12:43 PM
Why make this now when you have nothing to post?
Azhf #3
Posted 08 March 2013 - 01:48 PM
Why make this now when you have nothing to post?
Mainly so I don't forget XD
oeed #4
Posted 08 March 2013 - 02:45 PM
Fair enough.
Sammich Lord #5
Posted 08 March 2013 - 02:58 PM
BTW, the 'programs' section is for released code only.
Azhf #6
Posted 08 March 2013 - 04:33 PM
BTW, the 'programs' section is for released code only.
Sorry, where should I repost this? XD
Sammich Lord #7
Posted 08 March 2013 - 04:34 PM
Click on the post on the bottom right, there will be a report button then have something like "Please move to general" or something.
SuicidalSTDz #8
Posted 08 March 2013 - 04:35 PM
BTW, the 'programs' section is for released code only.
Sorry, where should I repost this? XD
Report the thread (First post, which is yours) and ask for it to be moved to General. From there edit the main body header and put in brackets, [In Development] or something along those lines

EDIT: Ninja'd :P/>
Azhf #9
Posted 08 March 2013 - 04:38 PM
Thanks :)/>
Cranium #10
Posted 08 March 2013 - 04:48 PM
Moved to General.
Azhf #11
Posted 08 March 2013 - 04:56 PM
Moved to General.
Thank you. :)/>
Azhf #12
Posted 09 March 2013 - 08:47 PM
AzhfTechOS Alpha Test Pr1 is now out, and so is a simple keycard.
Tiin57 #13
Posted 09 March 2013 - 11:41 PM
Now this can go in programs. :D/>
Azhf #14
Posted 10 March 2013 - 06:10 AM
^_^/> 100 views!
SuicidalSTDz #15
Posted 10 March 2013 - 06:29 AM
5000+ :P/>

On topic: You should check to make sure the user actually has Firewolf before running the program:


is = read()
if not fs.exists(".Firewolf_Data") and string.lower(is) == "yes" then
  print("It seems Firewolf is not installed")
end
shell.run("firewolf")
--Repeat the above until string.lower(is) == "no" or fs.exists("Firewolf_Data")

Firewolf's root directory is called "Firewolf_Data" so checking for this will ensure Firewolf is installed.

string.lower() will return the string specified in lowercase letters. This ensures if they type "Yes" instead of "yes" that it will still count as a "yes"

Congrats on 100 views!
Azhf #16
Posted 10 March 2013 - 06:30 AM
Is that code perfect? ( :P/> ) Or is there something I would need to change? If so, what?

Edit: Anyways, anyone like it so far, even though it is still extremely basic? (Even though it is Alpha Test Pr1 XDDD)
SuicidalSTDz #17
Posted 10 March 2013 - 06:58 AM
term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("Thank you for using AzhfTech.")
print("Loading...")
sleep(.5)
print("Loaded.")
sleep(1)
term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("Would you like to enter Firewolf? Must have firewolf installed. (Yes/No)" )
repeat
 term.clearLine()
 term.setCursorPos(1,3) 
 local is = read()
 if string.lower(is) == "yes" and fs.exists("Firewolf_Data") then
  shell.run("firewolf")
 else
  term.clear()
  term.setCursorPos(1,1)
  print("Okay")
  sleep(.5)
 end
until string.lower(is) == "yes" and fs.exists("Firewolf_Data") or string.lower(is) == "no"

term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("If you have downloaded and installed the credits file, type 'credits' for the credits, obviously XD")

That should be it
Azhf #18
Posted 10 March 2013 - 07:11 AM
Thanks :)/>
Azhf #19
Posted 10 March 2013 - 09:38 AM
Uh oh. @SuicidalSTDz; Put that on your startup file and reboot a PC. Watch what happens. Hopefully it's not only for me, people will think I am crazy XD
SuicidalSTDz #20
Posted 10 March 2013 - 09:47 AM
Just use term.setCursorPos(1,4) instead of term.setCursorPos(1,3)

Also insert the repeat statement before this line: –After print("Loaded")


term.clear()
Azhf #21
Posted 10 March 2013 - 09:56 AM
Just use term.setCursorPos(1,4) instead of term.setCursorPos(1,3)

Also insert the repeat statement before this line: –After print("Loaded")


term.clear()
I did the first thing, however, it feels like it would be too much work to put the repeat statemnt there. Oh well, I will get to it.
Azhf #22
Posted 10 March 2013 - 10:00 AM
Just use term.setCursorPos(1,4) instead of term.setCursorPos(1,3)

Also insert the repeat statement before this line: –After print("Loaded")


term.clear()
I did the first thing, however, it feels like it would be too much work to put the repeat statemnt there. Oh well, I will get to it.
Doesn't seem to have fixed anything. I will try typing it all up again, can't take THAT long XD
GravityScore #23
Posted 10 March 2013 - 01:04 PM
Why does the user need to download Firewolf? Why not just shell.run("pastebin get code firewolf")? :P/>
Azhf #24
Posted 10 March 2013 - 02:07 PM
Why does the user need to download Firewolf? Why not just shell.run("pastebin get code firewolf")? :P/>
Very good idea, thanks! I will put that in the next update(AlphaTestPr2(You will be a tester, if you want to be ^_^/>))
Azhf #25
Posted 10 March 2013 - 04:14 PM
Made some edits to your code Suicidal read ATOS Spoiler for info.
SuicidalSTDz #26
Posted 10 March 2013 - 04:42 PM
I am out eating with my neice for her birthday, i will take a look at the code when i return to my residence.
Azhf #27
Posted 10 March 2013 - 09:20 PM
I am out eating with my neice for her birthday, i will take a look at the code when i return to my residence.
Oh sorry, if I woulda noticed I woulda told you to tell her some guy off the internet said happy birthday x3
Azhf #28
Posted 11 March 2013 - 05:08 AM
257 views ^_^/> quite proud with myself, even though it is not that much :P/>
Azhf #29
Posted 12 March 2013 - 01:06 PM
300 views :D/>
LuaEclipser #30
Posted 13 March 2013 - 10:37 AM
term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("Thank you for using AzhfTech.")
print("Loading...")
sleep(.5)
print("Loaded.")
sleep(1)
term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("Would you like to enter Firewolf? Must have firewolf installed. (Yes/No)" )
repeat
term.clearLine()
term.setCursorPos(1,3)
local is = read()
if string.lower(is) == "yes" and fs.exists("Firewolf_Data") then
  shell.run("firewolf")
else
  term.clear()
  term.setCursorPos(1,1)
  print("Okay")
  sleep(.5)
end
until string.lower(is) == "yes" and fs.exists("Firewolf_Data") or string.lower(is) == "no"

term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("If you have downloaded and installed the credits file, type 'credits' for the credits, obviously XD")

That should be it

*shiver* fake loading bar uggh *neverinstallsos*
SuicidalSTDz #31
Posted 13 March 2013 - 02:53 PM
*shiver* fake loading bar uggh *neverinstallsos*
That is not very nice, in the future his loading bar may have a purpose but he hasn't implemented it yet. Stating that a user should 'neverinstallos' is very rude.
oeed #32
Posted 13 March 2013 - 03:18 PM
*shiver* fake loading bar uggh *neverinstallsos*
That is not very nice, in the future his loading bar may have a purpose but hasn't implemented it yet. Stating that a user should 'neverinstallos' is very rude.

Yes, I second this. Rather than saying "never install" just suggest that this is something that you think needs changing.
SuicidalSTDz #33
Posted 13 March 2013 - 03:37 PM
Since I am a dev for AzhfTechOS, I can safely say the loading bar (Bar? It's not even a bar :P/>) will soon have a purpose. Let's not get too hasty, this OS is still in early BETA.
Azhf #34
Posted 14 March 2013 - 03:01 PM
Since I am a dev for AzhfTechOS, I can safely say the loading bar (Bar? It's not even a bar :P/>) will soon have a purpose. Let's not get too hasty, this OS is still in early BETA.
I was thinking early or mid alpha, but ok XD
Azhf #35
Posted 14 March 2013 - 03:03 PM
term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("Thank you for using AzhfTech.")
print("Loading...")
sleep(.5)
print("Loaded.")
sleep(1)
term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("Would you like to enter Firewolf? Must have firewolf installed. (Yes/No)" )
repeat
term.clearLine()
term.setCursorPos(1,3)
local is = read()
if string.lower(is) == "yes" and fs.exists("Firewolf_Data") then
  shell.run("firewolf")
else
  term.clear()
  term.setCursorPos(1,1)
  print("Okay")
  sleep(.5)
end
until string.lower(is) == "yes" and fs.exists("Firewolf_Data") or string.lower(is) == "no"

term.clear()
term.setCursorPos(1,1)
print("AzhfTechOS AlphaTest")
print("If you have downloaded and installed the credits file, type 'credits' for the credits, obviously XD")

That should be it

*shiver* fake loading bar uggh *neverinstallsos*
It sleeps for half a second then "loads".
SuicidalSTDz #36
Posted 14 March 2013 - 05:01 PM
Since I am a dev for AzhfTechOS, I can safely say the loading bar (Bar? It's not even a bar :P/>) will soon have a purpose. Let's not get too hasty, this OS is still in early BETA.
I was thinking early or mid alpha, but ok XD
Hehe, I just needed something to say. Early/Mid Alpha it is! ^_^/>
Engineer #37
Posted 15 March 2013 - 08:49 AM
For the time of posting this post, I should say your OS is not an OS (yet?) , it is now just a boot-up for FireWolf.

Since I am a dev for AzhfTechOS, I can safely say the loading bar (Bar? It's not even a bar :P/>) will soon have a purpose. Let's not get too hasty, this OS is still in early BETA.

I am sure if you look at the current post it is not not really an OS. And off-topic, I want to finish your own OS! :P/>
SuicidalSTDz #38
Posted 15 March 2013 - 08:54 AM
For the time of posting this post, I should say your OS is not an OS (yet?) , it is now just a boot-up for FireWolf.

Since I am a dev for AzhfTechOS, I can safely say the loading bar (Bar? It's not even a bar :P/>) will soon have a purpose. Let's not get too hasty, this OS is still in early BETA.

I am sure if you look at the current post it is not not really an OS. And off-topic, I want to finish your own OS! :P/>
Hehe, my OS is nearing release for 3.0. There are definately some new features that I have been working on for quite some time now. ^_^/>
Azhf #39
Posted 11 April 2013 - 04:46 PM
Finally updated this topic, also, in the next version, the loading bar will actually install stuff. Also added some slogans and stuff to main post :P/>