- ComputerCraft | Programmable Computers for Minecraft
- → Cloud Ninja's Content
Cloud Ninja's Content
There have been 199 items by Cloud Ninja (Search limited from 10-February 22)
#257362 Custom 3D Avatar
Posted by
Cloud Ninja
on 02 August 2016 - 11:12 PM
in
Media
edit: Coming from kpsfygeqox
#257290 BLAST AntiMalware Suite - 'Yet another' string.find antivirus
Posted by
Cloud Ninja
on 02 August 2016 - 06:46 PM
in
Programs
#257276 [Relaunched] [1.12.2] SwitchCraft [Survival] [Krist] [CC:Tweaked1.80p...
Posted by
Cloud Ninja
on 02 August 2016 - 05:18 PM
in
Servers
#257124 Creating and Loading custom API's
Posted by
Cloud Ninja
on 30 July 2016 - 06:25 PM
in
Tutorials
#257115 Depman | An easy way to package/unpackage multiple files
Posted by
Cloud Ninja
on 30 July 2016 - 05:45 PM
in
APIs and Utilities
EldidiStroyrr, on 30 July 2016 - 12:47 AM, said:
...so I programmed my own file bundler program! PROGDOR!
Scratch that, i dont know why it isnt unpacking correctly :/
It should be fixed, let me know if you find any other issues.
#257097 Depman | An easy way to package/unpackage multiple files
Posted by
Cloud Ninja
on 30 July 2016 - 05:51 AM
in
APIs and Utilities
#257035 Depman | An easy way to package/unpackage multiple files
Posted by
Cloud Ninja
on 28 July 2016 - 11:34 PM
in
APIs and Utilities
I got annoyed with having to find a way to do multifile program installers, and while a file that pastebin get's multiple files works, its clunky and looks horrible.
No longer!
Depman allows you to package files into a single file, which can be passed back in to the manager to unpackage.
pastebin get 3X8hLrhF depman depman pack <dir to pack> <output file> depman unpack <depman output file> <optional -o arg to overwrite>
#257033 Krist - Minable currency that works across servers (paste updated)
Posted by
Cloud Ninja
on 28 July 2016 - 10:58 PM
in
Programs
#257022 Krist - Minable currency that works across servers (paste updated)
Posted by
Cloud Ninja
on 28 July 2016 - 06:37 PM
in
Programs
#256934 Why is there a hidden down vote button?
Posted by
Cloud Ninja
on 26 July 2016 - 04:54 PM
in
Forum Discussion
Lyqyd, on 25 July 2016 - 04:37 PM, said:
#256911 Computercraft emulator android?
Posted by
Cloud Ninja
on 26 July 2016 - 02:43 AM
in
Ask a Pro
roger109z, on 26 July 2016 - 02:33 AM, said:
Run that in
https://love2d.org/f...374e300a16c423b
#256909 Wiki Edit Privileges
Posted by
Cloud Ninja
on 26 July 2016 - 01:02 AM
in
Wiki Discussion
#256908 Creating and Loading custom API's
Posted by
Cloud Ninja
on 26 July 2016 - 12:54 AM
in
Tutorials
Seeing as the recent tutorial on the loading of custom API's and that a lot of people don't know about THIS wiki article, I'll take it upon myself to try to write a comprehensive tutorial on:
The Creation and Loading of Custom API's
Creation
function FunctionName(arguments to pass in) Code to run based on the arguments endSo, with that being said, i can create a function like such:
function add(a,c) return a+c end add(8,2) returns: 10Now, lets say you need to create a function only to be used internally, not by a user.
local function internalAdd(1,2) return 1+2 endThis would now make it so you can only use it inside of the API itself.
When creating an API, you should name it something relevant to the usage. If its an API to write to a file, you could make it, 'fileWrite'
Note: You can have more than one function in an API. You can have as many as you can think of!
Loading + Usage
function add(a,c) return a+b endLets say this API's name was "adder."
What i could do inside of my program or in the lua prompt is now run:
os.loadAPI("adder")
adder.add(8,10)
return: 18
Now, i have full access to this API and any functions inside of it.I hope this helps someone!
#256880 Wireworld
Posted by
Cloud Ninja
on 25 July 2016 - 06:09 PM
in
Programs
#256873 PixelWorld - 1.7.10 | ComputerCraft 1.73 | Plots
Posted by
Cloud Ninja
on 25 July 2016 - 05:11 PM
in
Servers
starshinefive, on 25 July 2016 - 02:35 PM, said:
Signed, starshinefive's mum.
#256821 Wireworld
Posted by
Cloud Ninja
on 25 July 2016 - 04:27 AM
in
Programs
#256818 Wireworld
Posted by
Cloud Ninja
on 25 July 2016 - 04:18 AM
in
Programs
#256793 Extend the mouse events!
Posted by
Cloud Ninja
on 24 July 2016 - 09:00 PM
in
Suggestions
#256771 [2019] [1.12.2] [Survival] LurCraft : We're back, and better than ever!
Posted by
Cloud Ninja
on 24 July 2016 - 05:49 PM
in
Servers
#256670 Krist - Minable currency that works across servers (paste updated)
Posted by
Cloud Ninja
on 22 July 2016 - 09:08 PM
in
Programs
apemanzilla, on 22 July 2016 - 08:17 PM, said:
Cloud Ninja, on 22 July 2016 - 06:59 PM, said:
apemanzilla, on 22 July 2016 - 06:55 PM, said:
#256665 Krist - Minable currency that works across servers (paste updated)
Posted by
Cloud Ninja
on 22 July 2016 - 06:59 PM
in
Programs
#256625 Krist - Minable currency that works across servers (paste updated)
Posted by
Cloud Ninja
on 21 July 2016 - 09:08 PM
in
Programs
#256563 Websockets!
Posted by
Cloud Ninja
on 20 July 2016 - 10:50 PM
in
Suggestions
SquidDev, on 20 July 2016 - 09:37 PM, said:
martmists, on 20 July 2016 - 07:59 AM, said:
You might also want to look at CCTweaks (http://www.computerc...0189-cc-tweaks/) which provides a socket API.
#256492 TechCorp 2.2: Survival of the... People who have the most money. Now with kit...
Posted by
Cloud Ninja
on 20 July 2016 - 05:28 AM
in
Servers
#256480 PixelWorld - 1.7.10 | ComputerCraft 1.73 | Plots
Posted by
Cloud Ninja
on 20 July 2016 - 12:43 AM
in
Servers
- ComputerCraft | Programmable Computers for Minecraft
- → Cloud Ninja's Content



