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

Lua Script System (Alpha 0.3.5)

Started by Tag365, 07 April 2015 - 06:07 PM
Tag365 #1
Posted 07 April 2015 - 08:07 PM
Lua Script System, sometimes shortened to LuaSS, is an operating system by me. Currently it is in development, so expect some updates to be released from time to time.

To install type in pastebin run Qhh19YTq in the command line.

These are the features of LuaSS.
*Simply run pastebin run Qhh19YTq in your shell and LuaSS will install to your hard drive.
*A nice home menu with a desktop, search tab, and settings tab.
*An Automatic Update feature which asks you to update if any updates are found.
*Shell Multitasking.
*More features coming soon.

It also includes these APIs.
*A Lua Script System API.
*The Surface API by CrazedProgrammer.
*A Graphical User Interface control API.
*An index search API which allows programmers to search inside files.

Here are four screenshots of Lua Script System:
[attachment=2217:Lua Script System.png][attachment=2218:Lua Script System.png][attachment=2219:Lua Script System.png][attachment=2220:Lua Script System.png]
Edited on 14 April 2015 - 01:42 PM
Creator #2
Posted 07 April 2015 - 08:20 PM
Interesting, but the GUI is kind of messy. I really like the loading animation ;)/> Get a +1 for the effort
Tag365 #3
Posted 07 April 2015 - 08:25 PM
I'll upgrade the GUI appearance to make it look nice. If you have any bugs please tell me so I can fix it.
Edited on 07 April 2015 - 06:26 PM
Creator #4
Posted 07 April 2015 - 08:56 PM
I'll upgrade the GUI appearance to make it look nice. If you have any bugs please tell me so I can fix it.

Of course. Just a tip, be sure to learn a lot about Lua before diving into such demanding project. And Ask a Pro is at your disposition. ;)/>
Tag365 #5
Posted 08 April 2015 - 02:58 PM
Thank you. I first discovered Lua from Roblox in 2009 so I should know much about Lua 5.1.

Also, the installer installs Lua Script System automatically without any intervention if you have the HTTP API enabled. Nice feature right there.

Now about the Graphical User Interface. In what ways it could be improved? I use an API I built to make the GUI, so I can easily change the appearance of the GUI.
Edited on 08 April 2015 - 01:12 PM
Creator #6
Posted 08 April 2015 - 04:33 PM
What is this API called? Would be interesting to see the code.
Tag365 #7
Posted 08 April 2015 - 04:53 PM
What is this API called? Would be interesting to see the code.
The Graphical User Interface control API is simply called "gui". The script is located in the APIs folder of Lua Script System and is also named "gui".

I accidently "updated" my development version of Lua Script System. Thankfully I had just copied my current version over to the other computer, so I simply copied my development version over the updater's version.
Tag365 #8
Posted 14 April 2015 - 03:49 PM
I updated Lua Script System to version 0.3.5. It fixes some bugs with the operation system and introduces a help system to LuaSS.
*The visuals have been improved somewhat and I have fixed bugs where the GUI colors did not change properly.
*Fixed a bug where the restart function in the LuaSS API did not restart Lua Script System.
*I split up the theme settings to another tab as we ran out of room.

The next version will have an in-progress web browser.
Edited on 14 April 2015 - 01:53 PM
Creator #9
Posted 14 April 2015 - 03:50 PM
Nice
ebernerd #10
Posted 25 April 2015 - 09:32 PM
You did a fantastic job with this! Thank you!
CrazedProgrammer #11
Posted 25 April 2015 - 11:19 PM
What a great OS.
It crashes a bit too much though.
It's an honor to have my API on this OS :D/>
Tag365 #12
Posted 29 April 2015 - 04:10 PM
What does it say when it throws an error? If you post the error message I can fix the bug with the script that causes the crash.
CrazedProgrammer #13
Posted 29 April 2015 - 06:40 PM
The OS crashes when I run it from the LuaSS directory. It says: No such program
The only way to run it is in the root directory with the command LuaSS/start, and that is a little user-unfriendly.
When I click on settings, it says: window:126: bad argument: string expected, got nil
Tag365 #14
Posted 04 May 2015 - 02:38 PM
Currently, the correct way to start Lua Script System is to run LuaSS/start. I may change that in a later release.
For the error, I don't know what is happening. Add a line of text to LuaSS/start that says "term.redirect(term.native())", and then run the script again.
Creator #15
Posted 04 May 2015 - 09:45 PM
Too long without yielding. In the loading screen. Add some sleep(0)
Tag365 #16
Posted 05 May 2015 - 02:51 PM
I fixed Lua Script System so that it works correctly when starting up. Try reinstalling it.
Creator #17
Posted 05 May 2015 - 03:14 PM
Ok, thanks.