Jump to content


DubbelSoftware's Content

There have been 57 items by DubbelSoftware (Search limited from 29-March 23)


By content type

See this member's


Sort by                Order  

#272420 VedroidOS - Pocket (or maybe more) Computer OS | ● ^ ● |

Posted by DubbelSoftware on 02 December 2017 - 08:33 PM in Operating Systems

Best -DECE-,

First of all, it is a good and stable OS! There is one thing to know:
If i boot up with a floppy disk or just get a way to get to the shell withouth logging in i can go to System/accounts/<ACCOUNTNAME> and see the password in plain text. This is not very good if someone get in the shell and wants to hack your computer or something. You can add something like a encryption to prevent people to see this in plain text.

Also you can add some things that are easier to use. One thing is that if there is ONLY ONE account registered that it then wil automaticly select that account in the login screen. So users wil not need to click on that arrow and select them a account. Something like a API with permissions so apps cannot just write things in files is also very handy, you can add it. Like the user get a prompt to trust the app or not, in that way.

All the other things are good and fine, they are stable and you have also some programs. One thing to notice is that this Operating System also works on the computer, so it isn't only for pocket computers.

-DubbelSoftware



#272073 Tabs

Posted by DubbelSoftware on 21 November 2017 - 07:51 PM in Ask a Pro

Hello,

I tried to create a Tab API without using the multishell things. But it completely failed. I tried several things to make it, but didn't completely work well.
My question is that somebody can just explain me how to make a tab manager, that wil be able to run programs, but pause them too. And that if there are too many tabs, that it wil expand the bar or something. I hope somebody can help me with this.

-DubbelSoftware



#270372 DeveloperHelper - Helping with your OS

Posted by DubbelSoftware on 17 September 2017 - 07:08 AM in APIs and Utilities

View PostDog, on 16 September 2017 - 08:35 PM, said:

I hate to be so negative, but your code is not good to learn from - you've got mostly non-localized functions/variables, unnecessary code bits, code that appears to do essentially nothing, and no comments at all.

If someone chooses to use this code as a base for an OS, your license doesn't allow them to change it so essentially all they can do is look at and run your code.

So, I have the same question as Saldor010 - how exactly does this help someone make an OS?

There comes an update to the program and the post, and also how it works.



#270369 DeveloperHelper - Helping with your OS

Posted by DubbelSoftware on 16 September 2017 - 06:57 PM in APIs and Utilities

Hello,

This program can help you with creating your own OS. It is very usefull for beginners.

License
Copyright 2017 DubbelSoftware, all rights reserved.

When using my program and/or software you automaticly agree with this license.
Everyone is allowed to change the code, but not to post/upload the changed version. If you are creating/developing a OS or a program that needs my programs and/or software, you need to give a credit. When need to change and use a changed version you can always ask me for a answer.
Nobody is allowed to remove the AUTHORNAME of the program or license. Also we are not liable for damaging your device and/or pc physical and/or visual. This program/software is official of DubbelSoftware and wil never be from someone else.

Usage
Use f1 and f2

Download
You can download it with Flowers (pastebin get xvM1muGc flowers)
flowers DeveloperHelper install
Write it exactly as above. Not working? Check the capital letters.

-DubbelSoftware



#270360 [NEW] Flowers - A new generation

Posted by DubbelSoftware on 15 September 2017 - 06:35 PM in APIs and Utilities

View PostInDieTasten, on 15 September 2017 - 04:00 PM, said:

Cool, so now we have open source computercraft and we start getting proprietary programs now...

To be honest with you, it really is quite silly how you phrase you warranty information, disclaimers and modification permits, talking as the entity 'DubbelSoftware' which I can't find anywhere else registered. (Maybe you can help me out)
If you have a cool program, sure share it. You still provide us with a service for free. I give you that. Something still makes it feel off.

It is really hard to tell, what your intentions are with your modification restrictions? What is it for?

I don't want to be toxic, but I can't be the only one finding this a bit of a fishy move. Maybe if you explain your concerns with the approach 99% of other submissions take going mostly OSS license, it could help clearing that up for me.

View PostLupus590, on 15 September 2017 - 04:52 PM, said:

View PostDubbelSoftware, on 14 September 2017 - 07:18 PM, said:

License
Copyright 2017 DubbelSoftware, all rights reserved.

So legally, I'm not even allowed to download it.

I think you need to read this: http://www.computerc...sing-your-code/

Changed.



#270336 [NEW] Flowers - A new generation

Posted by DubbelSoftware on 14 September 2017 - 07:18 PM in APIs and Utilities

Hello,

I have created in the past few weeks a new program called "Flowers". With Flowers users can install programs easily.

Features:
-Github
-Dependencies
-Logging everything

How can i add my own program?
You can add your own program easily, just send a PM to me (DubbelSoftware) with the following example:
Title: Flowers: <YOURPROGRAM>
Message:
-Author name
-Program name
-Program version
-Program repository / pastebin links
-Optional: dependencies with author names
If you have you need to remove the part out of your program when it wil install the apis self. Flowers has an in-build dependency downloader. All the things that are not from you needs to be sended as an dependency and needs to be installed and/or downloaded by Flowers.

Repository / Pastebin
We need the right to clone your repository/pastebins to the Flowers repository with all the other programs. This is to prevent that users that sended us a program not delete ther account in the future.

Update
If you have a new update for your program, send it to us and we wil replace it soon as possible.

License
Copyright 2017 DubbelSoftware, all rights reserved.

When using my program and/or software you automaticly agree with this license.
Everyone is allowed to change the code, but not to post/upload the changed version. If you are creating/developing a OS or a program that needs my programs and/or software, you need to give a credit. When need to change and use a changed version you can always ask me for a answer.
Nobody is allowed to remove the AUTHORNAME of the program or license. Also we are not liable for damaging your device and/or pc physical and/or visual. This program/software is official of DubbelSoftware and wil never be from someone else.

Download
pastebin get xvM1muGc flowers


-DubbelSoftware



#270316 Daanos de eerste os van daantech! NEW PAGE

Posted by DubbelSoftware on 13 September 2017 - 07:32 PM in Operating Systems

View Postdaantechcomputercraft, on 30 August 2017 - 05:30 PM, said:

  • daanos 2.0!
I'm not going to keep on making threads, because I read the rules
screenshots
http://daantje1.gith...reenshotsdaanos

download: pastebin run 8is6RFet
you must type startup by startup for daanos! (soms wel soms niet!)

Ik heb je Operating System (OS) gezien, maar er zijn meer minpunten dan goede punten. Een van die minpunten was dat er sleep commando's (commands) in zaten die compleet onnodig zijn. Dit laat de gebruiker die jouw systeem uit probeert alleen maar langer wachten. Ook is DaanOS niet echt een systeem. Meer een interpreter is het. Als je toch LUA wilt leren, adviseer ik je om naar andere Operating Systems te kijken. En ook de basics te leren voordat je begint met een OS. Begin eerst met kleine programma's. Als je dan LUA onder de knie hebt moet je pas beginnen met een Operating System. Ook adviseer ik je Engels te leren. Je Engels is namelijk niet al te goed.
Ook heb ik mijn eigen systemen. Daar kan je altijd ook een kijkje nemen.

-DubbelSoftware



#270312 [NEW] Flowers Info

Posted by DubbelSoftware on 13 September 2017 - 05:37 PM in General

View PostWilma456, on 13 September 2017 - 05:15 PM, said:

You can rewrite my Packman Repository for your Program

Sorry, but it is to advanced for my. Also i am creating my own system and all. So i hope it wil work.

-DubbelSoftware



#270309 [NEW] Flowers Info

Posted by DubbelSoftware on 13 September 2017 - 04:40 PM in General

View PostJummit, on 13 September 2017 - 12:34 PM, said:

And will Flowers have an UI, or will it be on the command line?
Examples:
flowers install myprogram
flowers uninstall myprogram
flowers info myprogramm
.
.
.
EDIT: maybe a included a help page for every program, which gets installed with it!

For now it is in commandline, but there wil come a update with a UI. And if then the user do not give any arguments. It wil open the UI.



#270256 [NEW] Flowers Info

Posted by DubbelSoftware on 12 September 2017 - 06:58 PM in General

Best programmers,

Flowers is a new program by DubbelSoftware, with this program users can easily install programs with just a name of the program.
It is very easy to use, and wil not take to much to install a program anymore.

How to add my own program?
To add your own program, you wil need to send a PM to me (DubbelSoftware) with this example:
Title: Flowers: <YOUR PROGRAM>
Message:
-Your name
-Program name
-Program version
-Repository of your program with all the code
-Dependencies of your program with author names
-Little description of your program.

Repository
Your program's repository needs to have all the code and/or data. We need also the right to publish/upload your program to our own repository with all the other programs. This is because we want to prevent that users wil delete ther account in the future on Github.

Dependencies
All your dependencies needs to be in the message with author names. You need also to cut or remove the the part in your program that install and/or download the apis self. Flowers has an in-build dependencies installer.

Updating
Flowers do not have any updating feature. The programmer needs implements his own updating feature. Also the programmer is able to send my (DubbelSoftware) a PM with the new updates and the example above.

-DubbelSoftware



#270228 Desktop Icons and detection

Posted by DubbelSoftware on 11 September 2017 - 03:13 PM in Ask a Pro

View PostLupus590, on 10 September 2017 - 01:54 PM, said:

View PostDubbelSoftware, on 10 September 2017 - 07:02 AM, said:

UPDATE:
I have found out why it was not working.

Please share so that others who find this post with simular issues have the solution.

I wil release the code soon in this topic when my OS is finished and released.

View PostDave-ee Jones, on 11 September 2017 - 12:03 AM, said:

View PostLupus590, on 10 September 2017 - 01:54 PM, said:

View PostDubbelSoftware, on 10 September 2017 - 07:02 AM, said:

UPDATE:
I have found out why it was not working.

Please share so that others who find this post with simular issues have the solution.

IF anyone does ["1_y"] instead of [1]["y"]..

I am not that good at creating tables, i also dont know much about tables. I only know how to use them like that.
Also, this wil be changed when the OS is stable.

-DubbelSoftware



#270187 Desktop Icons and detection

Posted by DubbelSoftware on 10 September 2017 - 07:02 AM in Ask a Pro

UPDATE:
I have found out why it was not working.



#270179 Desktop Icons and detection

Posted by DubbelSoftware on 09 September 2017 - 07:23 PM in Ask a Pro

View PostExerro, on 09 September 2017 - 07:20 PM, said:

Sorry, I don't know what you mean. Do you mean loading something from a file? An icon, or the list of shortcuts?

If you mean the icon, it depends on the file format you're using. If you're using paint to draw the icon, it'll be paintutils.loadImage(). Otherwise, use a loading function for the file format you use.

If you mean the list of shortcuts, you can use textutils.[un]serialize() to load and save the list.

I am storing a path (in string) to the table. But when i want to load if from the table with:
paintutils.drawImage(paintutils.loadImage(iconData[i]), tonumber(iconData["1_x"]), tonumber(iconData["1_y"]))
it doesnt load, and says unexpected path. By the way the 1_x and 1_y are correctly. These are loaded with a function.



#270177 Desktop Icons and detection

Posted by DubbelSoftware on 09 September 2017 - 07:08 PM in Ask a Pro

View PostExerro, on 08 September 2017 - 08:15 PM, said:

The API you're after is native Lua tables. Just keep a list of objects like {x, y, file [, icon]}. You can iterate through it for click detection and drawing.

I am currently making this, and trying this. But when loading the logo and store it in the table. It wil not loadable. Is this normal?



#270133 Desktop Icons and detection

Posted by DubbelSoftware on 08 September 2017 - 08:03 PM in Ask a Pro

The next few weeks, i am working on a new Operating System. I need a desktop where you can add a icon, with a startfile. So you can start the file when you click on. Is there a sort of API that i can use for this? So i can know:
Where the icon is
What program it is


-DubbelSoftware



#268790 Windows

Posted by DubbelSoftware on 04 August 2017 - 07:17 PM in Ask a Pro

View PostKingofGamesYami, on 18 July 2017 - 07:20 PM, said:

Well, you have to redirect to said window... but yes.

Example:
term.setBackgroundColor( colors.red )
term.clear()
local maxx, maxy = term.getSize()
local win = window.create( term.current(), 1, 2, maxx, maxy - 1 )
term.redirect( win )
shell.run( "shell" )

How do i then know do that if i type edit in the shell, that it wil resize to that size that the window have?
I have searched, and i cannot find it.

-DubbelSoftware



#268376 Desktop

Posted by DubbelSoftware on 19 July 2017 - 03:07 PM in Ask a Pro

View PostLupus590, on 19 July 2017 - 03:03 PM, said:

[code] tags please

close with [./code] (remove the .)

I try that, but there is something with my keyboard or computer. That it wil not do that. I have set code tags, but it dont work.



#268374 Desktop

Posted by DubbelSoftware on 19 July 2017 - 01:09 PM in Ask a Pro

View PostKingofGamesYami, on 19 July 2017 - 11:07 AM, said:

-- Snip
-- IconPlaces
local currentRow = 3
local row1 = 3
local row2 = 9
local row3 = 15

local icon1, icon2, icon3, icon4, icon5, icon6, icon7, icon8 = false

local firstIconX = 4


-- Loading
function drawIcons()
list = fs.list("programs")
for i,file in pairs(list) do
sleep(0.5)
drawIcon("programs/"..file.."/icon")
end
end

-- Drawing
function drawIcon(path)
if icon1 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX, currentRow) -- 4
icon1 = true
elseif icon2 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 6, currentRow) -- 10
icon2 = true
elseif icon3 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 12, currentRow) -- 16
icon3 = true
elseif icon4 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 18, currentRow) -- 22
icon4 = true
elseif icon5 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 24, currentRow) -- 28
icon5 = true
elseif icon6 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 30, currentRow) -- 34
icon6 = true
elseif icon7 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 36, currentRow) -- 40
icon7 = true
elseif icon8 == false then
paintutils.drawImage(paintutils.loadImage(path), firstIconX + 42, currentRow) -- 46
currentRow = currentRow + 6
icon1, icon2, icon3, icon4, icon5, icon6, icon7, icon8 = false
end
end


-- Shell / Terminal


-- Settings


-- Config


-- Main
drawIcons()

It isnt working very well.



#268372 Desktop

Posted by DubbelSoftware on 19 July 2017 - 12:47 PM in Ask a Pro

View PostKingofGamesYami, on 19 July 2017 - 11:07 AM, said:

Let's break this down into two categories: graphical and non-graphical.

Graphical:

For this part, you'll need to figure out the width and height of each icon, as well as the spacing you want. Then you're going to need to iterate through a table of all the things you want an icon of. While doing this, you'll be tracking where each icon should be placed, and checking if it should be in the next row. This is rather important information, so store it somewhere!

non-graphical:

For this part, you'll need to figure out where the user clicked, then figure out which icon is there (if any). You can do this by a mathematical formula, if you know the width, height, and spacing. This is rather difficult, however. The easy way would be to record the positions of each icon, then compare those positions to the clicked position.

For now, focus on getting the graphical part to work. Once that is done, get the click stuff to work (just print something when it's clicked). After both of those are done, you can change the code to be dynamic (ei updating the table automatically) and figure out how to make a right-click menu.

But how do i know that the place where a icon place is. already is a icon there?



#268371 Desktop

Posted by DubbelSoftware on 19 July 2017 - 12:10 PM in Ask a Pro

View PostLupus590, on 19 July 2017 - 11:08 AM, said:

so something like this?
for each file in icon folder do
	read file
	draw icon --#may want to add checks that the icon is not broken or something
end

have a look at the API section of the computercraft wiki and see what will do what you need: http://www.computerc...i/Category:APIs

Yes i know that, but what if it is not possible to draw at that place? And what if i rightclick on the icon? How do it know that it is that icon??
Thats what i ask.

View PostKingofGamesYami, on 19 July 2017 - 11:07 AM, said:

Let's break this down into two categories: graphical and non-graphical.

Graphical:

For this part, you'll need to figure out the width and height of each icon, as well as the spacing you want. Then you're going to need to iterate through a table of all the things you want an icon of. While doing this, you'll be tracking where each icon should be placed, and checking if it should be in the next row. This is rather important information, so store it somewhere!

non-graphical:

For this part, you'll need to figure out where the user clicked, then figure out which icon is there (if any). You can do this by a mathematical formula, if you know the width, height, and spacing. This is rather difficult, however. The easy way would be to record the positions of each icon, then compare those positions to the clicked position.

For now, focus on getting the graphical part to work. Once that is done, get the click stuff to work (just print something when it's clicked). After both of those are done, you can change the code to be dynamic (ei updating the table automatically) and figure out how to make a right-click menu.

Thank you very much! This is what i searched for! With this i can make it! Thank you!

-DubbelSoftware



#268365 Desktop

Posted by DubbelSoftware on 19 July 2017 - 08:46 AM in Ask a Pro

View PostKingofGamesYami, on 18 July 2017 - 08:10 PM, said:

I really hate to bring it up, since we have WAY TOO MANY NDF-Jay clones already, but he does cover pretty much exactly what you're asking.

Start here.

It's not precisely what you want, as your thing is going to be dynamic and probably not just a drop-down menu, but it's a bunch of stuff I won't have to explain myself.

Its something where i can start with, but it is not what i looking for. I want that it wil draw al desktop icons from a folder where the icons are stored to the desktop. And that in one function. So if i add a icon, and dont change the code. That it wil draw that icon too. Not that i need to change the code for that.
And that if i click on that icon, that it wil run that program. And that if i do rightclick on that icon. That it wil give a little menu.

-DubbelSoftware



#268351 Desktop

Posted by DubbelSoftware on 18 July 2017 - 07:58 PM in Ask a Pro

Hello,

I need to know somethings about programs on the desktop. I want to make a folder called "Programs". And in that folder wil be more folders with a program name. With in each folder a icon and a main file that wil run. I want to draw each program, and that if i rightclick. That it wil know what program i rightclicked. I dont know how to do that. I have seen so much Operating Systems. And checked there files. But i cannot learn from it. Because that it is too advanced. Can somebody give me a example or explain how to do this.

-DubbelSoftware



#268346 Windows

Posted by DubbelSoftware on 18 July 2017 - 06:47 PM in Ask a Pro

View PostKingofGamesYami, on 18 July 2017 - 05:15 PM, said:

Make a window 1 pixel lower with 1 pixel less height than the term.

And that works? So if i spam enter then the top bar wil not away?
I have seen that if i create a window with window.create, then it just overwrite the bar.



#268342 Windows

Posted by DubbelSoftware on 18 July 2017 - 04:42 PM in Ask a Pro

I have seen so much Operating Systems, that have a bar on the top or or on the bottom.
But i dont know how to run a shell, program, or something else, without having the bar away.
I dont know how to do this. So can someone give me a example or something. Or explain it.

-DubbelGaming



#268327 FileViewer v1.0 - With Installer

Posted by DubbelSoftware on 18 July 2017 - 07:53 AM in APIs and Utilities

View PostXelostar, on 03 June 2017 - 10:07 PM, said:

View PostDubbelSoftware, on 13 March 2017 - 02:25 PM, said:

May i edit the fully program for my OS???? Like the name or something. Can i change the name to FileExplorer?

First of all: Sorry for the late reaction. I didn't get a notification.
You can edit it for your OS, but the code is a little messy since this is one of the first things I made with lua. If you're putting your OS in a forum or Youtube, I would like to get some credit. You can link them to this post or my Youtube channel. :)

Okay, thats good. Since i amworking on a great project.
-DubbelSoftware