Posted 10 August 2015 - 05:37 PM
Hello.
I encountered a trivial phenomenon when call computer.getID.
VERSION:
1.73/1.74
DESCRIPTION:
computer.getID is return wrong computer id, and increment lastid when call to moved turtle. returned id is incremented lastid.
EXPECTED RESULT:
real turtle id. (if placed turtle id is 1, return id is 1)
REPRODUCTION STEPS:
1. place two turtle.
2. move and back one side turtle.
3. execute
SCREENSHOT/VIDEO:
https://vid.me/1BAK
sorry verry bad english.
I encountered a trivial phenomenon when call computer.getID.
VERSION:
1.73/1.74
DESCRIPTION:
computer.getID is return wrong computer id, and increment lastid when call to moved turtle. returned id is incremented lastid.
EXPECTED RESULT:
real turtle id. (if placed turtle id is 1, return id is 1)
REPRODUCTION STEPS:
1. place two turtle.
2. move and back one side turtle.
3. execute
peripheral.call("front", "getID")
into other turtle.SCREENSHOT/VIDEO:
https://vid.me/1BAK
sorry verry bad english.