Jump to content


xcrafter_40's Content

There have been 47 items by xcrafter_40 (Search limited from 10-February 22)


By content type

See this member's


Sort by                Order  

#269022 FurnaceOS

Posted by xcrafter_40 on 15 August 2017 - 04:09 PM in Operating Systems

Posted Image

If you were ever looking for a good expandable, *nix-like OS,

then this is the page for YOU!

Pastebin code:
pastebin run AvYWVsSA
OLD installer: sL6Yq9be

Screenshots

Pros:
  • Instsant boot time
  • Modular commands
  • Make your own commands
  • Nice, clean UI
  • If you know *nix commands, you're already a pro (no pun intended)
Expand the commands:
  • Create a file with code for the command (Tip: use resolvelocal() to get local file, resolvebuiltin() to get path of builtin file and resolveaddon() to get path of addon file)
  • Put the file into /furnace/addon
  • Run the file like a command!

Coming soon:
  • Package manager
  • API (Sorta already have that :P )
  • Multi-user support
  • Permissions support
  • MORE COMMANDS!!!



#269021 Quartz OS. True sandboxed users.

Posted by xcrafter_40 on 15 August 2017 - 03:25 PM in Operating Systems

Nice job, Sxw! This looks promising to me!



#267604 Micropaint: Experimental painting program for tiny pixels

Posted by xcrafter_40 on 15 June 2017 - 05:58 PM in Programs

For any of you wanting to render micropaint images without the app:

pastebin get Nz5qK3sP limg

Usage: limg <file> <x offset> <y offset>



#265708 CarbonOS - A Fast, Simple, and Secure OS

Posted by xcrafter_40 on 20 March 2017 - 11:31 PM in Operating Systems

View PostAnavrins, on 20 March 2017 - 03:27 AM, said:

View Postxcrafter_40, on 20 March 2017 - 02:43 AM, said:

Hi,
I need your permission to do a complete rewrite of the code.
Can I do that?
Errrrr what?
Might as well make your own OS, unrelated to CarbonOS if your going for a "complete rewrite".

Yeah. In the beginning, I wanted to make a different OS called CarbonOS. Is it ok if I take the name?



#265684 CarbonOS - A Fast, Simple, and Secure OS

Posted by xcrafter_40 on 20 March 2017 - 02:43 AM in Operating Systems

Hi,
I need your permission to do a complete rewrite of the code.
Can I do that?



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

Posted by xcrafter_40 on 20 March 2017 - 12:56 AM in Operating Systems

Nice OS! :D/>
Im going to try infecting it with my virus :P/>
I'll tell you your score of how robust it is! (~/10)

View Postxcrafter_40, on 20 March 2017 - 12:56 AM, said:

Nice OS! :D/>
Im going to try infecting it with my virus :P/>
I'll tell you your score of how robust it is! (~/10)
...
It didn't survive the boot...
2/10
Otherwise, Nice OS! :D/>



#265638 Random graphical error

Posted by xcrafter_40 on 18 March 2017 - 06:23 PM in Media

 Admicos, on 28 August 2016 - 04:18 AM, said:

Sell it as a screensaver. 10/10
I agree!



#265636 Complete Directory Listing

Posted by xcrafter_40 on 18 March 2017 - 05:32 PM in Ask a Pro

Thanks :lol: This is exactly what I was looking for!



#265364 Complete Directory Listing

Posted by xcrafter_40 on 04 March 2017 - 09:23 PM in Ask a Pro

Hi.

If I have a directory like:

Disk
|
+---abc
+---def
+---folder1
\\\\\\+---ghi
\\\\\\+---jkl

How would I turn it into a table like so:
x = {"/abc","/def","/folder1/ghi","/folder1/jkl"}

I tried something like:
>>> x = find("*")
>>> x

{"abc","def","ghi","jkl"}

But as you can see, it doesn't return the directory.

How would I go about doing this?
Any help would be appreciated!

PS: Sorry about the \\\ for the directory listing! I couldn't make it display repeated spaces!



#265363 Red Text code "230"

Posted by xcrafter_40 on 04 March 2017 - 09:06 PM in Ask a Pro

Me too. But I get numbers like: 104 103 119



#265362 CPOS (ComPact OS)

Posted by xcrafter_40 on 04 March 2017 - 08:09 PM in Operating Systems

View PostObloxCC, on 25 February 2017 - 08:42 PM, said:

The UI looks good, but you can really only do one thing, and that doesn't even seem to be working.

Posted Image
Posted Image
Posted Image
Sorry! It crashes if you put in a non-existent file.



#265112 CPOS (ComPact OS)

Posted by xcrafter_40 on 25 February 2017 - 08:13 PM in Operating Systems

Ok. After quite a bit of work, I present:
CPOS
This OS is just a test of is it possible to have an OS that dynamically unpacks files. (And it's possible!)
Thats right! The entire OS is just one jam-packed file!
(BTW: I kinda put this os together in a rush :lol: )

PASTEBIN CODE:
pastebin get PJWdLBEz cpos

Now all you have to do is run it... and there you go!


---
This is all powered by the Steel Framework (Also created by me!)



#265111 RamKick

Posted by xcrafter_40 on 25 February 2017 - 08:04 PM in Programs

View PostDog, on 24 February 2017 - 11:12 PM, said:

One possible source of the crashes - your parallel call is working with the output of the f1 and f2 functions instead of working with the functions themselves...which I don't think is what you intended. You should remove the brackets after f1 and f2 within the parallel call. Also, unless I'm misunderstanding the code, this will run rk_tmp (f1) and then immediately delete rk_tmp (f2) since you're using parallel - the delete call won't wait until the shell.run call has completed to do its thing. That, too, could be part of why the computer crashes.
Actually, the entire point of the program is to put the file into ram without a trace.



#265110 Porty: The Portable Shell

Posted by xcrafter_40 on 25 February 2017 - 07:46 PM in Operating Systems

View PostRedall, on 29 January 2017 - 06:48 PM, said:

Posted Image
Wait... How did you get the actual shell?



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

Posted by xcrafter_40 on 24 February 2017 - 11:10 PM in Operating Systems

Found a exploit:
1. Goto Login Screen
2. Press Ctrl+T (Terminate)
3. Voila! You cracked the code!



#265081 RamKick

Posted by xcrafter_40 on 24 February 2017 - 10:52 PM in Programs

Hi!
So I thought I would take a break and make a very simple program:
RamKick
It's simple
Usage: ramkick <file>
It takes a program and shoves it into ram.
Source Code:
pastebin:
pastebin get 1mAL6VXN ramkick

BUGS:
After launching a program, your computer
will crash and you will need to restart it.

Enjoy!
(I don't know why I made this but, ok! :P )



#263616 HTML and XML parser

Posted by xcrafter_40 on 12 January 2017 - 04:03 AM in Programs

How exactly do I use this?
I put in:
<html>
  <body>
    <p>hi!</p>
  </body>
</html>
And I got:
{1.0={1.0=
  , 2.0={1.0=
    , 2.0={1.0=hi!, _tag=p, _attr={}}, _tag=body, 3.0=
  , _attr={}}, _tag=html, 3.0=
, _attr={}}, _tag=#document, _attr={}}
Now how would I index this data? In python it would be like:
>>> print(htmlvar["html"]["body"]["p"])
"hi!"



#263615 Defective Program

Posted by xcrafter_40 on 12 January 2017 - 03:18 AM in Ask a Pro

Hi,

I was recently working on a OS called CPOS, and the menu wasn't working.
Here is my code:
Source Code
Pastebin code:
pastebin get 9rfeG3em cpos
Now when I click the # to open the run menu, it does nothing
I need help quick!



#263562 1XX When terminating.

Posted by xcrafter_40 on 09 January 2017 - 01:47 AM in Ask a Pro

View Postsupernicejohn, on 08 January 2017 - 10:45 PM, said:

local function unpack(str,file)
unpack() is a default function, nothing specifically breaks since it's local, but it seems weird to use the same name.

The actual problem is that screen is set to "menu":
while run do
  if os.pullEventRaw == "terminate" then
	steel.clear()
	run = false
  elseif screen == "desktop" then
	if steel.clickedAt(1,1,1,1) then
	  menu()		 --- here!
	end
  end
end
Thus that will loop forever, and " os.pullEventRaw == "terminate" " will never be true since it compares a function with a string.
You would probably want to add a condition in the loop for what to do "if screen == "menu" then"
Other than that you would probably want to localize some variables.
Thanks! Now I can actually use that!



#263560 1XX When terminating.

Posted by xcrafter_40 on 09 January 2017 - 01:41 AM in Ask a Pro

View PostKingofGamesYami, on 08 January 2017 - 10:41 PM, said:

The so called "error codes" are just line numbers.
Then why is it always random?



#263551 1XX When terminating.

Posted by xcrafter_40 on 08 January 2017 - 07:57 PM in Ask a Pro

Hi,
I had problems with my code. (Called CPOS (Compact OS) )
pastebin get CUAnzstR
Whenever I terminate, it prints something like:
104
And whenever I terminate it in LuaIDE it prints:
LuaIDE Has Crashed D:
113
Please report this error to Gravityscore!
Click to exit...

The known error codes are:
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115

What does this mean! I need help!



#260904 Terminal ComputerCraft Emulator

Posted by xcrafter_40 on 22 October 2016 - 03:43 AM in Ask a Pro

ComputerCraft Basic Emulator

(Plz Answer Dan200)

Hi. So I saw CCEmuRedux and I got an idea. Running ComputerCraft in your OS's command line.

Questions:
  • Is this allowed?
  • How to convert ComputerCraft libraries from half-java, half-lua, to complete lua.
  • How to make lua 5.1 run a file on startup.
Thanks,
xcrafter_40



#258712 Craftoid - Android Themed Os

Posted by xcrafter_40 on 30 August 2016 - 10:41 PM in Operating Systems

Plz make a uninstaller! :(



#258572 Spark Anti Virus! (Most Advanced!)

Posted by xcrafter_40 on 28 August 2016 - 04:02 PM in Programs

View PostKingofGamesYami, on 28 August 2016 - 03:20 PM, said:

Ummm... viruses cannot modify rom/programs/shell. So according to your definition, every computer has an emergency shell built in.

View PostTheRockettek, on 28 August 2016 - 03:09 PM, said:

View Postxcrafter_40, on 28 August 2016 - 03:03 PM, said:

The emergency shell is a shell untouched from the virus!
Sidenote: AV Tools are either too simple or too complicated!

Your "Emergency shell" is litteraly just it running shell... which autostarts startupfiles (which could also be the virus) so ya...

So that means it runs a unaffected shell!
(Programs can't modify /rom/programs/shell!)
So if you had a virus, it bypasses /rom/programs/shell. So if you relaunch it, You get a shell!
(For some reason running shell.run("shell") Avoids startup files!)

View PostTheRockettek, on 28 August 2016 - 05:56 AM, said:

Not useful for computercraft visuses in 1.8+ as they most have used the settings api to disable disk. Also its not an antivirus....

Yeah... More of a Emergency Boot Disk...
The point is it's not automatic so it's up to you to delete the virus.
Because I don't want it just deleting the startup file! (It might be custom or uninfected!)



#258571 Spark Anti Virus! (Most Advanced!)

Posted by xcrafter_40 on 28 August 2016 - 03:53 PM in Programs

View PostTheRockettek, on 28 August 2016 - 03:09 PM, said:

View Postxcrafter_40, on 28 August 2016 - 03:03 PM, said:

The emergency shell is a shell untouched from the virus!
Sidenote: AV Tools are either too simple or too complicated!

Your "Emergency shell" is litteraly just it running shell... which autostarts startupfiles (which could also be the virus) so ya...

Tested it and... It doesn't run startup files! (I Made a custom startup file that says hi and it didn't say hi in emergency shell)