Jump to content




Rednet Addons


2 replies to this topic

#1 Twijn

  • Members
  • 119 posts

Posted 12 September 2015 - 08:12 PM

What is Rednet Addons?
Rednet Addons is an "api" that runs on the computer startup. It does NOT use os.loadAPI(). It currently adds some very simple functions that could be helpful.

Why is there so little?
It's currently meant to be a little "project," just so I can see how the community likes it. I will be adding many more things in the near future.

How do you get it?
You can install it by running this in your computer:

*new version* Installer will now install the latest version.
Fixed a bug that made the code basically useless.
pastebin run ptWtcz1m

This will add the initialization to the startup as well as download the API.

Please post bugs and suggestions down below. =)

Added functions & how to use it
This adds functions to the "rednet" api, meaning that you would use rednet.getModem() in your code (anywhere in the computer)

Functions:
-autoFind(p) "p" is if you want it to choose wireless or wired first, use rednet.modemType.(WIRELESS/WIRED)
--Returns side, type
-getModem()
--Returns side, type

Overwrites rednet.open slightly to work better with the API and it will also close all other modems.

Edited by Twijn, 14 September 2015 - 02:09 AM.


#2 Twijn

  • Members
  • 119 posts

Posted 21 September 2015 - 01:48 AM

Why hasn't anyone replied to this... I asked for suggestions..?

#3 Konlab

  • Members
  • 595 posts
  • LocationKerbin

Posted 03 October 2015 - 11:44 AM

View PostTwijn, on 21 September 2015 - 01:48 AM, said:

Why hasn't anyone replied to this... I asked for suggestions..?
It means, that nobody found bugs. And about the suggestions: this has a great potencial. Rewriting rednet for better security would be awesome.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users