Posted 13 June 2014 - 10:43 AM
So I am designing a turtle chess game on a server. Both my client and the server run Computercraft 1.63, and there are no other mods installed on the server side.
All 32 turtles use the same program, which when a specific packet is received will restart. If I restart the turtles one-by-one, it all works fine, but when I restart them all at the same time, about 10 - 15 (never the same ones) turtles crash with the same error
peripheral:45: No such method isPresentRemote
I checked the peripheral API at line 45 and it says:
Code: http://pastebin.com/jbxfxecj
Note: I had to do turtle.equipLeft twice because I found a bug where it doesn't find the modem on my turtles.
All 32 turtles use the same program, which when a specific packet is received will restart. If I restart the turtles one-by-one, it all works fine, but when I restart them all at the same time, about 10 - 15 (never the same ones) turtles crash with the same error
peripheral:45: No such method isPresentRemote
I checked the peripheral API at line 45 and it says:
if native.call(sSide, "isPresentRemote", _sSide) then
Code: http://pastebin.com/jbxfxecj
Note: I had to do turtle.equipLeft twice because I found a bug where it doesn't find the modem on my turtles.
Edited on 13 June 2014 - 09:28 AM