Jump to content




Easy Bundled Cable Control Api [Discontinued]

api

  • You cannot reply to this topic
15 replies to this topic

#1 SuPeRMiNoR2

  • Members
  • 8 posts

Posted 29 November 2012 - 04:22 PM

Since I no longer use ComputerCraft, I will not be updating this program anymore.
I do not recommend using it, but if you want to, I am leaving the original post in a spoiler here.

Spoiler

Edited by SuPeRMiNoR2, 10 February 2015 - 07:16 PM.


#2 JGreen1996

  • Members
  • 17 posts

Posted 30 November 2012 - 07:53 AM

Wooooo go you! this will help me greatly :D

#3 Lithia

  • Members
  • 44 posts
  • LocationAustralia

Posted 09 December 2012 - 08:41 PM

I wrote a little Script that uses this API, Plus your API is wounderfull! Very easy to use

Here's my script http://pastebin.com/zE1fCt3D

#4 SuPeRMiNoR2

  • Members
  • 8 posts

Posted 14 December 2012 - 01:37 PM

View PostLithia, on 09 December 2012 - 08:41 PM, said:

I wrote a little Script that uses this API, Plus your API is wounderfull! Very easy to use

Here's my script http://pastebin.com/zE1fCt3D
Thanks!

#5 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 14 December 2012 - 02:09 PM

http://pastebin.com/TXbJ0B7k is much shorter (untested)

#6 SuPeRMiNoR2

  • Members
  • 8 posts

Posted 18 December 2012 - 03:26 PM

View Postimmibis, on 14 December 2012 - 02:09 PM, said:

http://pastebin.com/TXbJ0B7k is much shorter (untested)
Wow thats great! May I use it in my api?
I had originally wanted to make it smaller using something like what you did, but the api worked fine, so I decided not to.
Also, I tested it and it worked great (except at the end, where output_side was used where side should have been). Other then that, it worked great!

#7 Arimus

  • Members
  • 15 posts

Posted 12 August 2013 - 01:08 PM

Thanks for sharing this. I am using it and it works great but I am wondering, can I still use it if I have 2 bundled cables connected to the same computer? Sorry its such a n00b question but I don't quite understand how to use it like this. Still learning programming. Thanks!

#8 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 14 August 2013 - 03:05 AM

Nice :D

Never really liked the idea of using the redstone API (in-built one) to control bundled cables. This makes things so simple.

Thanks!

#9 Mitchfizz05

  • Members
  • 125 posts
  • LocationAdelaide, Australia

Posted 28 August 2013 - 07:19 AM

I do hate the default API for manipulating bundled cable, I still don't understand it to this day. I think this API is a brilliant idea.
However, I have one request: you should make the color parameters use the color API (eg. colors.red) rather than strings. The color API we all know and love.

#10 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 28 August 2013 - 10:05 AM

This is a good start to a wrapper around an API, I have some suggestions to make this wrapper a little better (read the comments).

Improvements to your code
How I would do this wrapper

#11 robotica34

  • Members
  • 28 posts
  • Locationpcapi.location

Posted 18 September 2013 - 12:34 PM

This helped me out very much :D thanks SuPeRMiNoR2!

#12 SuPeRMiNoR2

  • Members
  • 8 posts

Posted 24 October 2013 - 07:30 PM

Hey everone, thanks for the input. I have been busy and never got around to doing any of the things that were suggested.
Redpower has not updated in a while, so this program is pretty much useless.
However, if you are playing on minecraft 1.4.6 I suppose you could still use it :)
I changed the license terms to this http://creativecommo.../3.0/deed.en_US, now you can do whatever you want with it.

#13 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 24 October 2013 - 10:02 PM

View PostSuPeRMiNoR2, on 24 October 2013 - 07:30 PM, said:

Redpower has not updated in a while, so this program is pretty much useless.
ComputerCraft also works with MineFactory Reloaded's RedNet cables in the same way as RedPower2's bundled cables. So this is in no way useless.

#14 SuPeRMiNoR2

  • Members
  • 8 posts

Posted 25 October 2013 - 05:52 PM

View Posttheoriginalbit, on 24 October 2013 - 10:02 PM, said:

ComputerCraft also works with MineFactory Reloaded's RedNet cables in the same way as RedPower2's bundled cables. So this is in no way useless.

Well then, I will have to look mine at factory reloaded :D

#15 pogof

  • Members
  • 5 posts

Posted 07 December 2013 - 02:48 PM

Thanks for this simple API. I use it in my "Farm master computer" (BTW I use RedNet cables from Mine factory reloaded)

-pogof

And bundled cables are replaced with ProjectRed, but don't work with CC :(

#16 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 07 December 2013 - 02:52 PM

Use MFR's rednet cables instead. Dan won't add support for either Project Red or Red Logic until one of them "wins".





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users