Jump to content




wired to wireless rednet, rednet repeater (wired and wireless)


9 replies to this topic

#1 !!!!!!!!!!ExclaimationMark

  • Members
  • 30 posts

Posted 13 August 2014 - 08:48 AM

Why not?

Recipes in mind:
WIRED TO WIRELESS:
SNS
SRS
SWS
REDNET REPEATER:
S(N/W)S
S R S
S(N/W)S
S: stone
R: redstone
N: Wired Modem
W: Wireless Modem


#2 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 August 2014 - 08:51 AM

In ComputerCraft 1.6 and above there is a rednet repeater program.

#3 !!!!!!!!!!ExclaimationMark

  • Members
  • 30 posts

Posted 13 August 2014 - 08:55 AM

It's cheaper k? Xd

#4 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 August 2014 - 09:09 AM

A new rednet repeater block is not cheaper than running a program on existing blocks.

#5 !!!!!!!!!!ExclaimationMark

  • Members
  • 30 posts

Posted 13 August 2014 - 09:53 AM

 theoriginalbit, on 13 August 2014 - 09:09 AM, said:

A new rednet repeater block is not cheaper than running a program on existing blocks.
But why so much?

#6 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 August 2014 - 09:56 AM

What?

#7 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 13 August 2014 - 12:59 PM

Rednet is a simple API written in plain Lua, the Modem is what does the magic. I don't think any of plain Lua APIs should get an official CC block for them, especially when you can code it yourself, and especially when there is a program already made for that.

#8 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 13 August 2014 - 01:12 PM

I wouldn't call it a "simple" API. I'd call it a fair bit of overhead, even for systems that don't have modems. Setting up dedicated repeater systems always seemed like more unneeded overhead, even before 1.6; that update doubles the amount of events generated by the system.

In terms of MineCraft server resources I feel a dedicated repeater block would be a lot cheaper. But I suppose if it were really enough to matter then Dan would've implemented them.

#9 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 13 August 2014 - 01:31 PM

 Bomb Bloke, on 13 August 2014 - 01:12 PM, said:

In terms of MineCraft server resources I feel a dedicated repeater block would be a lot cheaper. But I suppose if it were really enough to matter then Dan would've implemented them.
After having recently implemented a repeat feature to my BitNet Communications Towers in MoarPeripherals, I can definitely say, the difference between a Java-side and Lua-side implementation is negligible. The main difference is that Java-side does mean less events, but when it does come down to it, events generated by the system doesn't matter anyway, unless you have a program listening to the rednet repeat channel and acting upon all of them. Basically you're just extracting logic that fires based on an event, into logic that fires when a message is received; which conceptually could be interpreted as an event.
In terms of coding wise, the major advantage that a Java-side implementation provided was that it meant with my setup I could use UUIDs for message propagation prevention, something that the repeat program has to use a timer to clear old message IDs for reuse. Another minor advantage introduced was that I could have the distance the message travelled returned accurately as each hop it would just add the new distance travelled to the old distance, which wouldn't be something available Lua-side.

Edited by theoriginalbit, 13 August 2014 - 01:35 PM.


#10 wilcomega

  • Members
  • 466 posts
  • LocationHolland

Posted 18 August 2014 - 09:50 PM

7 stone, 1 sand and one redstone for a pc
8 stone and a redstone for a modem i believe

thats it.

the only expensive part is the ender pearl, but that would be in the new block IF it got implemented.

these are all fairly easy to get, an iron sword and a few blocks a cover could get you a ender pearl
i just dont get the need for a whole new block.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users