#21
Posted 25 May 2012 - 07:13 PM
Well i hope that you are done soon with your exams,
because i want to start as soon as possible again working on WolfOS again with you ^^.
And i have got new ideas again for later on stuff but first focus on the WolfOS Core.
After that we can focus about control and programs.
Greetz KingTamotsu
#22
Posted 27 May 2012 - 09:14 PM
KingTamotsu, on 25 May 2012 - 07:13 PM, said:
Well i hope that you are done soon with your exams,
because i want to start as soon as possible again working on WolfOS again with you ^^.
And i have got new ideas again for later on stuff but first focus on the WolfOS Core.
After that we can focus about control and programs.
Greetz KingTamotsu
In other news, I've just released WolfOS 1.3.2, which mainly consists of all the UI changes and menu system improvements I've made since last release. Go check out the changelog and grab the download in the OP!
I have finished up the monitor support (also supports Espen's Synchronized Terminal Redirection POC [http://www.computerc...edirection-poc/] if it is installed, doesn't matter if it isn't).
I also added new controls to the menus: Home and Page Up jump to the first option of the menu, while End and Page Down jump to the last option on the menu. Finally, Backspace simulates a press of the Return option, provided it is available.
#23
Posted 30 May 2012 - 01:07 AM
#24
Posted 30 May 2012 - 01:32 AM
#25
Posted 30 May 2012 - 01:48 AM
pass = apple write "Password: " input = read() if input == pass then print "Password Correct" redstone.setOutput(left, true) sleep(5) redstone.setOutput(left, false) else print "Password Incorrect" endbut apple would show up when I type it, not the *** like in his login. I want *** to show instead of apple.
#26
Posted 30 May 2012 - 02:02 AM
pilot59, on 30 May 2012 - 01:48 AM, said:
pass = apple write "Password: " input = read() if input == pass then print "Password Correct" redstone.setOutput(left, true) sleep(5) redstone.setOutput(left, false) else print "Password Incorrect" endbut apple would show up when I type it, not the *** like in his login. I want *** to show instead of apple.
2) Like Lyqyd said, you have to use read("*") instead of read().
3) You should make a post for this on the Ask a Pro forum.
#27
Posted 30 May 2012 - 03:11 PM
MysticT, on 30 May 2012 - 02:02 AM, said:
pilot59, on 30 May 2012 - 01:48 AM, said:
pass = apple write "Password: " input = read() if input == pass then print "Password Correct" redstone.setOutput(left, true) sleep(5) redstone.setOutput(left, false) else print "Password Incorrect" endbut apple would show up when I type it, not the *** like in his login. I want *** to show instead of apple.
2) Like Lyqyd said, you have to use read("*") instead of read().
3) You should make a post for this on the Ask a Pro forum.
I'd really like some feedback on the actual OS though guys, I have lots of downloads and no comments...
EDIT: Oh, and you missed the () around some of the function arguments such as on the write and print commands.
Edited by toxicwolf, 30 May 2012 - 03:12 PM.
#28
Posted 30 May 2012 - 09:03 PM
MysticT, on 30 May 2012 - 02:02 AM, said:
pilot59, on 30 May 2012 - 01:48 AM, said:
pass = apple write "Password: " input = read() if input == pass then print "Password Correct" redstone.setOutput(left, true) sleep(5) redstone.setOutput(left, false) else print "Password Incorrect" endbut apple would show up when I type it, not the *** like in his login. I want *** to show instead of apple.
2) Like Lyqyd said, you have to use read("*") instead of read().
3) You should make a post for this on the Ask a Pro forum.
1) Yeah, that was just a stupid miskate on my end />
2) That's what I needed, but had no idea that was it since I'm still new to coding here.
3) Like I said, I'm still new.
Thanks guys, that's what I needed!
toxicwolf, on 30 May 2012 - 03:11 PM, said:
EDIT: Oh, and you missed the () around some of the function arguments such as on the write and print commands.
Also, I found the () around the write + print arguments aren't needed. It works fine with just quotes.
EDIT: Although now that I look back on this code I realise that I didn't put in the quotes around the redstone output side. I typed this in a rush, but didn't realise how I left out so many things.
#29
Posted 31 May 2012 - 01:10 PM
pilot59, on 30 May 2012 - 09:03 PM, said:
toxicwolf, on 30 May 2012 - 03:11 PM, said:
EDIT: Oh, and you missed the () around some of the function arguments such as on the write and print commands.
Also, I found the () around the write + print arguments aren't needed. It works fine with just quotes.
EDIT: Although now that I look back on this code I realise that I didn't put in the quotes around the redstone output side. I typed this in a rush, but didn't realise how I left out so many things.
And I tried skipping the () on a print command and you appear to be right. Well I never knew.. />
#30
Posted 02 June 2012 - 09:02 PM
#32
Posted 03 June 2012 - 01:24 PM
Edit:
I tried modifying the music player to be an API loader and unloader.
I don't know if you are interested in something like this and it's still unfinished because I wasn´t able to code the load und unload menus.
Please take a look at it, thanks in advance.
--[[Copyright (C) 2012 James Chapman (aka: Toxic Wolf / toxicwolf) WolfOS, and all of its variations (WolfNB, WolfDB, WolfTC) are produced by toxicwolf ([email protected]). Please ask for permission before attempting to redistribute any code relating to WolfOS or any of its variations, IN ANY FORM. Special thanks to Wesley van Loon (aka: King Tamotsu / KingTamotsu) for all his ideas and help with designing the Operating System. ]]-- sProgram = "Api Settings" WAPI.clear(sProgram, true) function os.pullEvent() local sEvent, p1, p2, p3, p4, p5 = os.pullEventRaw() if sEvent == "terminate" then os.run({}, "/WOLF/utilityMenu") end return sEvent, p1, p2, p3, p4, p5 end function menu() repeat if nMenuNum == 0 then tChoices = {} tActions = {} tChoices[1] = "Add Api" tChoices[2] = "Remove Api" tActions[1] = function() addApi() end tActions[2] = function() removeApi() end tActions[0] = function() bMenuLoop = false os.run({}, "/WOLF/utilityMenu") end local nSelection = WAPI.runMenu(tChoices, "Custom loaded Apis: " .. nCustomApis, sProgram, true) tActions[nSelection]() end until bMenuLoop == false end function addApi() -- list of unloaded apis in rom/apis and WOLF/APIS (select and press enter to load) end function removeApi() -- list of loaded apis in rom/apis and WOLF/APIS except for default and wolf apis (select and press enter to unload) end bMenuLoop = true nMenuNum = 0 tChoices = {} tActions = {} nCustomApis = "0" menu()
#33
Posted 03 June 2012 - 08:12 PM
max96at, on 03 June 2012 - 01:24 PM, said:
Edit:
I tried modifying the music player to be an API loader and unloader.
I don't know if you are interested in something like this and it's still unfinished because I wasn´t able to code the load und unload menus.
Please take a look at it, thanks in advance.
snip
Also, the WAPI is undocumented at the moment, but soon I'm adding a Program Creating program which will also include help files on all the WolfOS, ComputerCraft and standard Lua APIs.
The API (un)loader is a interesting idea, but slightly redundant as custom APIs will be automatically loaded (provided they are saved in the right directory) once I add script writing support inside the OS.
#34
Posted 06 June 2012 - 01:35 AM
#36
Posted 06 June 2012 - 04:59 PM
Programs are folders with the suffix .prog. Inside them there is a file called "main" or "core". The programMenu only shows those folders, hides their suffix and when you select a programm the main or core file is run.
This would open lots of possibilities for bigger programs and program or game collections.
#37
Posted 06 June 2012 - 05:36 PM
max96at, on 06 June 2012 - 04:59 PM, said:
Programs are folders with the suffix .prog. Inside them there is a file called "main" or "core". The programMenu only shows those folders, hides their suffix and when you select a programm the main or core file is run.
This would open lots of possibilities for bigger programs and program or game collections.
#38
Posted 11 June 2012 - 09:46 PM
I can change the color if it is too hard to read btw.
#39
Posted 11 June 2012 - 10:49 PM
max96at, on 11 June 2012 - 09:46 PM, said:
In other news: Upgrading to an adaptable online/offline mode system is requiring lots of little re-writes in many places across the OS, and has introduced many new bugs to squish... Yep, you heard correct, networking is coming to WolfOS! Named HyperPaw.
#40
Posted 12 June 2012 - 03:27 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users