Jump to content




[solved(except not really...)]cc[1.5] redpower bundle cable not working for rednet?


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

#1 KingMachine

  • Members
  • 122 posts

Posted 12 February 2013 - 01:22 PM

So does redpower bundled cable not work for rednet communication anymore?
Am I out of the loop here or something? I remember it working on 1.3, but now I try "rednet.open(side)"
and it tells me "No modem on left side"
Dafuq?
There is so a "modem" on the left side!

and before you ask me if I'm dyslexic or something...
Posted Image

As you can see in the background, bundled cable

#2 Shnupbups

  • Members
  • 596 posts
  • LocationThat place over there. Y'know. The one where I am.

Posted 12 February 2013 - 01:24 PM

Yes. They removed that function because it was obsolete and unneeded.

#3 KingMachine

  • Members
  • 122 posts

Posted 12 February 2013 - 01:32 PM

I don't consider it obsolete...why..Why did they get rid of it? Why no just stop updating it? Wouldn't that take MORE effort? ARGH... Should have just considered it deprecated...jerks...

#4 Sammich Lord

    IRC Addict

  • Members
  • 1,212 posts
  • LocationThe Sammich Kingdom

Posted 12 February 2013 - 02:00 PM

They are adding their own cables, bro. You shouldn't call the devs of the mod you are playing jerks for removing a feature.

#5 KingMachine

  • Members
  • 122 posts

Posted 12 February 2013 - 02:09 PM

View PostSammich Lord, on 12 February 2013 - 02:00 PM, said:

They are adding their own cables, bro. You shouldn't call the devs of the mod you are playing jerks for removing a feature.
Quite obviously I wasn't being serious..unless you actually take "jerk" as some form of viable insult...lol...

However, I gotta say, I can't wait for the cables they bring us. Hope they're just as useful as the bundled cables though...

#6 immibis

    Lua God

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

Posted 12 February 2013 - 06:30 PM

Copy the rednet API from 1.481 onto your computer, load it, and run it. Then you'll have bundled cable support.

#7 Cruor

  • Members
  • 413 posts
  • LocationNorway

Posted 20 February 2013 - 04:10 PM

It was removed due to upcomming cables and the fact that it used an extra corutine on every computer. And LuaJ for some random reason makes a new thread for every coruitine.

#8 immibis

    Lua God

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

Posted 20 February 2013 - 04:41 PM

View PostCruor, on 20 February 2013 - 04:10 PM, said:

It was removed due to upcomming cables and the fact that it used an extra corutine on every computer. And LuaJ for some random reason makes a new thread for every coruitine.
Doesn't 1.5 use an extra coroutine just to translate modem_message events into rednet_message events?

#9 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 20 February 2013 - 04:50 PM

yea, its the new replacement for rednet.run

#10 Cruor

  • Members
  • 413 posts
  • LocationNorway

Posted 20 February 2013 - 06:44 PM

View Postimmibis, on 20 February 2013 - 04:41 PM, said:

View PostCruor, on 20 February 2013 - 04:10 PM, said:

It was removed due to upcomming cables and the fact that it used an extra corutine on every computer. And LuaJ for some random reason makes a new thread for every coruitine.
Doesn't 1.5 use an extra coroutine just to translate modem_message events into rednet_message events?
I have no idea :P might aswell be in the same corutine that rednet runs in? :P

#11 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 21 February 2013 - 12:28 AM

View Postimmibis, on 20 February 2013 - 04:41 PM, said:

View PostCruor, on 20 February 2013 - 04:10 PM, said:

It was removed due to upcomming cables and the fact that it used an extra corutine on every computer. And LuaJ for some random reason makes a new thread for every coruitine.
Doesn't 1.5 use an extra coroutine just to translate modem_message events into rednet_message events?

Yeah, although to be honest I'd rather change that so we throw two events from the modem - and I'll speak to dan about that.

#12 Cruor

  • Members
  • 413 posts
  • LocationNorway

Posted 21 February 2013 - 02:30 AM

View PostCloudy, on 21 February 2013 - 12:28 AM, said:

View Postimmibis, on 20 February 2013 - 04:41 PM, said:

View PostCruor, on 20 February 2013 - 04:10 PM, said:

It was removed due to upcomming cables and the fact that it used an extra corutine on every computer. And LuaJ for some random reason makes a new thread for every coruitine.
Doesn't 1.5 use an extra coroutine just to translate modem_message events into rednet_message events?

Yeah, although to be honest I'd rather change that so we throw two events from the modem - and I'll speak to dan about that.
I personaly think that you should only get rednet_message events if you have a modem opened via rednet api, but that might just be me :P that sounds logical to me atleast XD

#13 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 21 February 2013 - 02:54 AM

You only get modem_messages when you have a modem opened anyway... rednet_message is only there for backwards compatibility.

#14 dan200

  • Administrators
  • 542 posts
  • LocationCambridge, England

Posted 21 February 2013 - 04:06 AM

You only get modem_message if you receive a message on a channel you've previously opened. You only get rednet_message if you've called rednet.open().

#15 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 21 February 2013 - 04:07 AM

Makes sense! So basically, exactly what Cruor said it'd make sense if it happened :P





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users