Post the status of your WIP project!
#121
Posted 15 September 2016 - 01:17 PM
So far I have a map system with a basic tile connection algorithm working, and a WIP Pac Man you can control.
The collision is screwed up, though.
#122
Posted 16 September 2016 - 12:52 AM
So far i have:
Learned a lot about ComputerCraft, Lua and programming. (I have hacked out some scripting but nothing like this)
Learned about path-finding
Coded an alpha version at just under 4K lines of code.
The version I'm testing now:
1) Takes the reactor dimensions as a command line argument or defaults to a 3X3X3 build.
2) Calculates the materials needed for the whole build and breaks down the counts for each level
3) Locates the materials needed in chests placed in certain locations or using openCCSensor with an inventory card
4) Implemented A* pathfinding to seek specific coordinates without breaking blocks along the way.
5) implemented the inward spiral build process that places the base first middle and tops layers.
6) Turtle automatically refills and continues for large builds.
7) Ability to resume a build at the last completed level.
8) Cleans up files when build is sucessful.
ToDo:
1) Setup function to place chests with one of each material required (So you know where to put stuff)
2) Set limits to max catch bigger than max reactor size.
3) Add step to load fuel into the reactor when complete.
3) Find a bug in the path routine that cause the turtle to run off when dumping waste.
4) Test, Test and more test.
4) Find some kind soul(s) that will give me pointers on optimizing this.
Here is a 5 X 5 X 48 build testing max height:
Here it just placed the last block and recognized the multi-block structure.:
Here is a complete 32 X 32 testing Max Widths:
#123
Posted 16 September 2016 - 04:31 AM
I have a GitHub for those interested
It is still a work in progress, however I am already using it for small personal projects - so it is usable. Feel free to join the Gitter room.
I am currently working on optimizing buffer clearing while animating, and also refining TML (Titanium Markup Language, essentially HTML for UIs). See here for an example project written using Titanium, here is a GIF of that example program in action: http://puu.sh/rcS20/bba2398cec.gif
Once I have optimized buffer clears, I will likely add a few more nodes
Woot: http://puu.sh/rd2ty/c8cc92aa93.gif
Edited by Hbomb_79, 16 September 2016 - 09:18 AM.
#124
Posted 16 September 2016 - 02:37 PM
H4X0RZ, on 13 September 2016 - 12:52 PM, said:
Mumbai, on 13 September 2016 - 12:23 PM, said:
shes a good friend. <3
But isn't this against the idea of "hacking"? XD
The best way to learn is the hard way. Try stuff until it works. If you get spoon-fed with the "correct" ways, you won't learn as much as you could IMO.
Nope teaching is against nothing but thats my opinion.
#125
Posted 16 September 2016 - 03:59 PM
#126
Posted 16 September 2016 - 09:53 PM
#127
Posted 18 September 2016 - 05:20 PM
#128
Posted 18 September 2016 - 09:50 PM
It will basically have the freedom of Shell (btw shell isn't even loaded, so my OS is the top-coroutine of all),
It will have a user system, meaning that the normal user is only allowed to edit stuff in their home directory and only root can edit under home...
It will use packman as some kind of apt-get
While being logged in as a normal user and starting a program, the FS API is actually limited so that programs cannot actually do something under your home directory, I will probably think of redirecting "/" to the home directory if the user is not root..
As you will have the freedom of Shell, people will be able to make their own Desktop-Enviroment ontop of the "kernel", while still having the basic functions like in the terminal and the limited functions of the FS API
I already have a topic about it in the OS section but noone seems to be interested
#129
Posted 18 September 2016 - 10:20 PM
Piorjade, on 18 September 2016 - 09:50 PM, said:
=)
I correct you: i am interested, because I do something similar:
SOSP - Sewbacca Technologies Operating System Package
Fetaures:
- Full compatibility with Lua 5.1 - 5.3 and CC 1.76 - 1.79+
- BIOS
-> Environment (SOSP, Lua and CC environments)
-> managing drives
- kernal
-> registry
-> managing frames
-> managing applications (concatenated with a frame) multitasked
-> managing compiled programs
-> managing operating systems
-> SOSP updater
-> Easy API for installations
- All in all, I am programming a Framework for Operating Systems
- Editing all features in future
Idea:
Make programming an OS easy and clean, without worrying about performance.
SOSP will be programmer friendly.
I will add an (example) OS to show how it works.
You don't have to handle the little shit, SOSP handles it.
It is full object oriented.
Fun fact:
Most of my questions in ask a pro are about SOSP. There can you see my progress.
Edited by Sewbacca, 18 September 2016 - 10:23 PM.
#130
Posted 19 September 2016 - 07:21 AM
Sewbacca said:
Piorjade said:
I already have a topic about it in the OS section but noone seems to be interested
=)
I correct you: i am interested, because I do something similar:
SOSP - Sewbacca Technologies Operating System Package
Fetaures:
- Full compatibility with Lua 5.1 - 5.3 and CC 1.76 - 1.79+
- BIOS
-> Environment (SOSP, Lua and CC environments)
-> managing drives
- kernal
-> registry
-> managing frames
-> managing applications (concatenated with a frame) multitasked
-> managing compiled programs
-> managing operating systems
-> SOSP updater
-> Easy API for installations
- All in all, I am programming a Framework for Operating Systems
- Editing all features in future
Idea:
Make programming an OS easy and clean, without worrying about performance.
SOSP will be programmer friendly.
I will add an (example) OS to show how it works.
You don't have to handle the little shit, SOSP handles it.
It is full object oriented.
Fun fact:
Most of my questions in ask a pro are about SOSP. There can you see my progress.
Nice idea dude, I'm totally interested in porting my doorOS to it
cLinux will probably also end up handling disks (I didn't write this in "planned features" lmao), right now I have to look what even happens if I insert a disk LOL, because I have to do the important things first
OFFTOPIC: does anyone know if the mounting disks to /disk in CraftOS is handled by the Shell or by the bios.lua ?
Edited by Piorjade, 19 September 2016 - 07:24 AM.
#131
Posted 19 September 2016 - 09:26 AM
Piorjade, on 18 September 2016 - 09:50 PM, said:
It will basically have the freedom of Shell (btw shell isn't even loaded, so my OS is the top-coroutine of all),
It will have a user system, meaning that the normal user is only allowed to edit stuff in their home directory and only root can edit under home...
It will use packman as some kind of apt-get
While being logged in as a normal user and starting a program, the FS API is actually limited so that programs cannot actually do something under your home directory, I will probably think of redirecting "/" to the home directory if the user is not root..
As you will have the freedom of Shell, people will be able to make their own Desktop-Enviroment ontop of the "kernel", while still having the basic functions like in the terminal and the limited functions of the FS API
I already have a topic about it in the OS section but noone seems to be interested
Is TLCO easy? I was thinking of adding it to AdmiOS.
#132
Posted 19 September 2016 - 10:07 AM
Admicos said:
Piorjade said:
Working on a linux-like OS too (and partially on my RPG game with multiplayer).
It will basically have the freedom of Shell (btw shell isn't even loaded, so my OS is the top-coroutine of all),
It will have a user system, meaning that the normal user is only allowed to edit stuff in their home directory and only root can edit under home...
It will use packman as some kind of apt-get
While being logged in as a normal user and starting a program, the FS API is actually limited so that programs cannot actually do something under your home directory, I will probably think of redirecting "/" to the home directory if the user is not root..
As you will have the freedom of Shell, people will be able to make their own Desktop-Enviroment ontop of the "kernel", while still having the basic functions like in the terminal and the limited functions of the FS API
I already have a topic about it in the OS section but noone seems to be interested
Is TLCO easy? I was thinking of adding it to AdmiOS.
Well I added in a 'tutorial' in the fixed TLCO I made , it is written as a comment, you could also look into the cLinux startup file to see how I start my OS. It is easy, yes.
If you want to understand TLCO you could also look through the whole code or if you still dont understand it try rewriting it by hand, that's what I did and it worked for me.
EDIT: Into AdmiOS, which looks inspired by linux too like cLinux? Dude we got the same idea, nice
Edited by Piorjade, 19 September 2016 - 10:09 AM.
#134
#135
Posted 19 September 2016 - 01:24 PM
#137
Posted 14 October 2016 - 09:27 PM
#138
Posted 15 October 2016 - 11:13 AM
Edited by LeDark Lua, 31 July 2017 - 08:28 PM.
#139
Posted 15 October 2016 - 10:47 PM
I'm developing an API/program called GraphKit!
GraphKit is a work in progress utility designed to be a graphing calculator emulator of sorts.
Features include:
- easy to use graphing
- x10 zoom
- detailed information about a specific point on the graph when clicked
- 2-dimensional movement, using arrows, or WASD
- graph functions (on functions (on functions))
Have a look!
Edited by hugeblank, 15 October 2016 - 10:53 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users