This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
minizbot2012's profile picture

Minizbot's old programs

Started by minizbot2012, 23 January 2014 - 06:00 PM
minizbot2012 #1
Posted 23 January 2014 - 07:00 PM
I was rummaging old files, and turns out back in 2012 i made a few things for CC so i have decided to post them here.
The first of the files i found was an old packager program i made which is now public here: http://pastebin.com/5X6zpzb6
The misc library that i found (contains string.split and random ideas) can be found here: http://pastebin.com/bea8JJNk
The last one and probably the most advanced api/jacker can be found here: http://pastebin.com/M16sUTQi
The packager program can turn a folder and many loose files (via searchpaths) into a single run-able file that can restore the directories and files inside the searchpaths
The misc contains just a few ideas that i had randomly, one of them of which is a Data-system for strings, which builds into the roll string func, that was developed as a basic cryptography piece (wasn't going to ever be secure) then the installAPI function (part of this code was stolen from os.loadApi) which allows (if http api is set to true) to install an api without even downloading it to the disk. The misc api also has a split function built-in that is externally callable.
The last one, built after seeing many people hijacking the peripheral api, is a peripheral hijacker. this was originally planned as an internal project to connect a rednet modem over the internet and could also probably still be used as such if you had a top-level coroutine override. the inject function is just a general usage loader to install a peripheral, and calls a setup function allowing you to setup variables and the such. The loadPerip function uses code similar to the bios to load a peripheral into the inject-able db.

do as you so wish with these as these are just random things I have developed, use them, change them redistribute them, I don't care, don't even bother with credit if you so desire.
biggest yikes #2
Posted 26 January 2014 - 02:46 PM
These look interesting!