[CC1.5]ComputerCraft Emulator V0.57 (February 19th)
#161
Posted 07 November 2012 - 05:27 PM
#162
Posted 07 November 2012 - 07:24 PM
before, thar you go
#163
Posted 09 November 2012 - 10:50 PM
if ccEMU-update == "AWESOME" then postRep = postRep + ( number = 1 while true do number = number + 1) end
#164
Posted 13 November 2012 - 09:15 AM
Otherwise, I would use this program alot.
#165
Posted 13 November 2012 - 10:20 AM
mitchfizz05, on 13 November 2012 - 09:15 AM, said:
Otherwise, I would use this program alot.
Edited by Espen, 13 November 2012 - 10:20 AM.
#166
Posted 14 November 2012 - 07:21 AM
#167
Posted 18 November 2012 - 01:08 AM
#168
Posted 19 November 2012 - 06:00 AM
in order to attach some peripharal you'd need peripheral.mount(side, name/id) and to deattach peripheral.unmount(side) or so. would that be possible?
#169
Posted 20 November 2012 - 07:10 AM
Windows 7 x86
Java 1.7.0.01-b08
#171
#172
Posted 21 November 2012 - 05:57 AM
This code on terminal with ID 0...
rednet.open("right")
rednet.send(1, "hello") -- or rednet.broadcast("hello")
... doesn't send the message to the terminal with ID 1.rednet.open returns true, but the message never arrives.
Edit:
To be complete about it, this was the code for the waiting terminal with ID 1:
rednet.open("left")
a, b = rednet.receive()
Edit #2:
Ok, wow, it just worked when I chose the same rednet-side for both computers.
I assumed it was like with the wireless modems, so that it doesn't matter if the sides match or not.
But I guess with CCEmu you have to choose the same side?
Anyway, it works when choosing the same side, so that's good to know.
Final Edit:
*Mega-Derp*
It helps to read the OP:
Quote
Edited by Espen, 21 November 2012 - 06:04 AM.
#173
Posted 21 November 2012 - 07:31 AM
my networking api automatically opens the first available modem :3
Leo Verto, on 21 November 2012 - 05:33 AM, said:
i dont keep up with jdk updates much
especially because the installers refused to open at all
#174
Posted 21 November 2012 - 09:12 AM
PixelToast, on 21 November 2012 - 07:31 AM, said:
my networking api automatically opens the first available modem :3
The only thing that would be a lucky coincidence is if the first side your API tries to open on CCEmu would happen to be the right side.
Because any other side and it wouldn't work either.
#175
Posted 21 November 2012 - 10:16 AM
Espen, on 21 November 2012 - 09:12 AM, said:
PixelToast, on 21 November 2012 - 07:31 AM, said:
my networking api automatically opens the first available modem :3
The only thing that would be a lucky coincidence is if the first side your API tries to open on CCEmu would happen to be the right side.
Because any other side and it wouldn't work either.
you don't have to use right first. you just say
local function open()
for num,side in pairs(rs.getSides()) do
if peripheral.getType(side)=='modem' then
rednet.open(side)
return true
end
return false
end
end
it works fine on CCemu for me
#176
Posted 21 November 2012 - 10:24 AM
KaoS, on 21 November 2012 - 10:16 AM, said:
local function open()
for num,side in pairs(rs.getSides()) do
if peripheral.getType(side)=='modem' then
rednet.open(side)
return true
end
return false
end
end
it works fine on CCemu for me
And on CCEmu that will always be the right side.
My point was not that you have to open the right side first, it was that the right side is the only one that works in CCEmu.
No hard feelings though, just trying to clear up the confusion.
#177
Posted 21 November 2012 - 11:12 AM
#178
Posted 24 November 2012 - 11:02 AM
#179
Posted 24 November 2012 - 05:04 PM
Lyqyd, on 24 November 2012 - 11:02 AM, said:
It seems to be working for me, I'm able to connect to https://www.google.com as well as https://www.youtube.com,
Can you give me an example where it fails?
#180
Posted 24 November 2012 - 07:24 PM
https://raw.github.com/lyqyd/LyqydNet-Programs/master/apis/location
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users


This topic is locked









