Posted 28 February 2013 - 03:04 AM
So while I was playing today on a MindCrack server (v8.1.1) I noticed a really weird bug while coding my turtle.
I was sending rednet messages between a main computer and a turtle, but I noticed a clear difference between them.
On the computer I got basically this setup:
First off, I noticed that pullEvent wasn't returning "rednet_message", but "modem_message".
OBS: This only applied to one of my turtle programs.
Os.pullEvent returned this:
This (for me) is very strange, I understand if they added a update on this, but I don't understand why it only happens on 1 program.
EDIT: Forgot to say it; we are running ComputerCraft v1.5 (rev 887) at the server.
I was sending rednet messages between a main computer and a turtle, but I noticed a clear difference between them.
On the computer I got basically this setup:
while running do
local ev,p1,p2,p3 = os.pullEvent()
if ev == "rednet_message" then
-- do something
end
end
This worked great, as expected. But when I did this on my turtle I noticed some huge differences.First off, I noticed that pullEvent wasn't returning "rednet_message", but "modem_message".
OBS: This only applied to one of my turtle programs.
Os.pullEvent returned this:
Should be
rednet_message [id] [message] [distance]
But it returned
modem_message [side of the modem] [some random integer] [id] [message] [distance]
This (for me) is very strange, I understand if they added a update on this, but I don't understand why it only happens on 1 program.
EDIT: Forgot to say it; we are running ComputerCraft v1.5 (rev 887) at the server.