http://pastebin.com/zJGJH4Ai
Above is the code.
Both computers connect and they can move around and stuff but it doesn't show on the other's computer?
I use vars for the send and connecting.
It sends a msg rednet.send(player2, "up") and when the other computer receives it should do
currentY = currentY - 1
drawSprite() -- redraws the screen.
But it doesnt seem to do that?
Can't Update Coords?
Started by Noodle, Apr 25 2012 01:44 AM
7 replies to this topic
#1
Posted 25 April 2012 - 01:44 AM
#2
Posted 25 April 2012 - 02:26 AM
http://pastebin.com/f0QB7bxD
This should fix it.
It never worked because it never received
The second while true do will never happen until the first is canceled
I changed it to elseif event == "rednet_message" then
P.S. wanna be in nexus again?
This should fix it.
It never worked because it never received
The second while true do will never happen until the first is canceled
I changed it to elseif event == "rednet_message" then
P.S. wanna be in nexus again?
#3
Posted 25 April 2012 - 02:38 AM
It didn't work?
But I get: "the second while true do will never happen until the first is canceled"
So attach all them together?
I GET IT!
And no.. Not nexus again. Head of OS Dev I was... Now im gone.
But I get: "the second while true do will never happen until the first is canceled"
So attach all them together?
I GET IT!
And no.. Not nexus again. Head of OS Dev I was... Now im gone.
#4
Posted 25 April 2012 - 03:45 AM
#5
Posted 25 April 2012 - 04:23 AM
First off the edit feature is a nice thing to use on the forums..
Second try this, I just slightly changed the if logic and added in breaks to stop the loops prior to moving to the next function. Everything else looks correct.
Second try this, I just slightly changed the if logic and added in breaks to stop the loops prior to moving to the next function. Everything else looks correct.
Spoiler
#6
Posted 25 April 2012 - 12:13 PM
I see what you did there.. I'ma try.
#7
Posted 25 April 2012 - 12:18 PM
Ahh.. no it didn't work.
#8
Posted 25 April 2012 - 12:41 PM
Edit: never mind
3 user(s) are reading this topic
0 members, 3 guests, 0 anonymous users











