wireless to wired rednet and wired to wireless needed
as i'm making a project that this will help with alot of things
wireless to wired rednet
Started by NoLongerUsed, Mar 01 2013 06:14 AM
9 replies to this topic
#1
Posted 01 March 2013 - 06:14 AM
#2
Posted 01 March 2013 - 06:24 AM
And your question is...?
Btw rednet through RP bundled cables was possible until 1.5 update. Now you have to wait for ComputerCraft's own internet cables (next update I assume).
Btw rednet through RP bundled cables was possible until 1.5 update. Now you have to wait for ComputerCraft's own internet cables (next update I assume).
#3
Posted 01 March 2013 - 06:38 AM
hares what i mean:
#4
Posted 01 March 2013 - 06:52 AM
Oh... What the?!... Is that some kind of modem or what? Because I've never seen anything like that before. What mod is that? I would help if I knew what that cable-thingie is...
#5
Posted 01 March 2013 - 06:59 AM
LBPHacker, on 01 March 2013 - 06:52 AM, said:
Oh... What the?!... Is that some kind of modem or what? Because I've never seen anything like that before. What mod is that? I would help if I knew what that cable-thingie is...
The cables in the new pre-releases
In this case you'd wrap the wired modem as a peripheral on the right and the wireless as peripheral on top
then you'd listen on both and just call transmit on the other when you receive something?
#6
Posted 01 March 2013 - 07:48 AM
i'm thinking the code a bitlike a rednet relay to relays from wireless to wired
or the other way as well.
or the other way as well.
#7
Posted 01 March 2013 - 08:27 AM
Yeah, as i told you 
open both modems on the channels you want to listen from wired/wireless
then just relay the message to the wired if you receive on wireless and vice versa?
something like
(didn't test)
open both modems on the channels you want to listen from wired/wireless
then just relay the message to the wired if you receive on wireless and vice versa?
something like
local modemWireless = peripheral.wrap("top")
local modemWired = peripheral.wrap("right")
modemWireless.open(rednet.CHANNEL_BROADCAST)
modemWired.open(rednet.CHANNEL_BROADCAST)
while true do
local ev,side,chan,replyChan,msg,dist = os.pullEvent("modem_message")
local otherModem = modemWired
if side == "right" then otherModem = modemWireless end
otherModem.transmit(chan,replyChan,msg)
end
(didn't test)
#8
Posted 01 March 2013 - 10:07 AM
i tried it with firewolf and it does not work
#9
Posted 02 March 2013 - 05:45 AM
anyone?
#10
Posted 02 March 2013 - 11:24 AM
This would be a question for the Firewolf developers.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











