52 posts
Location
Earth
Posted 28 September 2015 - 04:42 AM
Well guys, I coded some more…I'm working on an OS called Codename Hybrid which runs on one file and relies on only 1 extra file that is always created at every startup (when it is required)I coded a File Manager for it, as you would suspect from an OS. I tried to get it to work yet it just didn't… No errors, no nothing…All I can say is, it's really, REALLY buggy.When looking through the code, look for when I create the function fileMan(), the File Manager's function. That's where the bug is.I replaced the File Manager button with a WIP thing telling you that the program is WIP. Just go to shell, run the command "lua" and execute fileMan() to see the problem.Pastebin for latest code: pastebin get qdAtqcZL startup(click the pastebin ID to go to the pastebin page!)
1847 posts
Location
/home/dannysmc95
Posted 28 September 2015 - 11:22 AM
Yeah it is VERY buggy. (Being I can't even load the OS, it errors straight away, because you forgot to make the .version file)
I would suggest:
Functions so for your init do: function init() – code end
so here you can check for the config files, if they do not exist then you can do the install process.
I would suggest adding multitasking, and even a UI framework or an API for drawing, I can help you here if you want, it has multitasking AND some nice drawing functions to make writing easier. Plus a multitude of cryptography, table control, popup management, event management etc, just PM me.
If you need I can help you out a little bit? if you want
Edited on 28 September 2015 - 09:23 AM
52 posts
Location
Earth
Posted 28 September 2015 - 01:51 PM
Yeah it is VERY buggy. (Being I can't even load the OS, it errors straight away, because you forgot to make the .version file)
I would suggest:
Functions so for your init do: function init() – code end
so here you can check for the config files, if they do not exist then you can do the install process.
I would suggest adding multitasking, and even a UI framework or an API for drawing, I can help you here if you want, it has multitasking AND some nice drawing functions to make writing easier. Plus a multitude of cryptography, table control, popup management, event management etc, just PM me.
If you need I can help you out a little bit? if you want
Yea, I may need help…
Off-Topic:
WILL SOMEONE PLEASE FIX THE EDITOR? IT KEEPS ON JUMPING LINES WHEN I BACKSPACE!!!
1847 posts
Location
/home/dannysmc95
Posted 28 September 2015 - 02:26 PM
Yeah it is VERY buggy. (Being I can't even load the OS, it errors straight away, because you forgot to make the .version file)
I would suggest:
Functions so for your init do: function init() – code end
so here you can check for the config files, if they do not exist then you can do the install process.
I would suggest adding multitasking, and even a UI framework or an API for drawing, I can help you here if you want, it has multitasking AND some nice drawing functions to make writing easier. Plus a multitude of cryptography, table control, popup management, event management etc, just PM me.
If you need I can help you out a little bit? if you want
Yea, I may need help…
Off-Topic:
WILL SOMEONE PLEASE FIX THE EDITOR? IT KEEPS ON JUMPING LINES WHEN I BACKSPACE!!!
Awesome, just send me a personal message, and yeah this is a bug with the forums, although if you toggle the editing mode, you can just do
and instead for bold and stuff like that, as it is just easier.