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

Cloud's Massive API

Started by CLNinja, 05 December 2017 - 12:29 AM
CLNinja #1
Posted 05 December 2017 - 01:29 AM
So I've made various different API's and such in the past over my few years of ComputerCraft, and I decided to just put them all into one massive file.

Includes:
Networking:
Libspoofer/Libpcap: rednet spoofer/rednet packet capture
Misc:
explode/unexplode: Splits strings on characters (returns table of all split points) and then allows for recombining with specified character(s)
klua: lua frontend API to allow communicating with krist servers (built in sha256 API)


If I find anything else that i forgot to include, i will update this post

all tables have been created inside of the API file, so calling the individual API's would be done as such once loaded
For libspoofer for example:

os.loadAPI("CloudAPI")
libspoofer.send("Hello",15,29)

To download the API
pastebin get 2ieAZcEA <API Name>
CLNinja #2
Posted 06 December 2017 - 12:17 AM
FIxed a few bugs.