Posted 27 April 2015 - 08:57 PM
Version 1.7.4pr20 SMP and SSP
Hello
Note: This was tested on both a multiplayer server, AND in singleplayer
Description:
Im working on a server and played around with a "boot computer" (computer which turns on all computers on the wired network)
After some hours, i left ( chunks unloaded ), and joined later.
When i ran the boot computer, the other computers on the network didnt respond to the
Expected "result"
All cabled computers should turn on
Reproduction:
Place 2-5 computers with startup code (print something, to clarify it started)
Connect everything up, and make a "booter" with the following code:
Reenter the chunks, and run the boot computer.
Done. The cabled computers did NOT turn on.
Thanks in advance
Hello
Note: This was tested on both a multiplayer server, AND in singleplayer
Description:
Im working on a server and played around with a "boot computer" (computer which turns on all computers on the wired network)
After some hours, i left ( chunks unloaded ), and joined later.
When i ran the boot computer, the other computers on the network didnt respond to the
peripheral.call(v, 'turnOn')
An easy fix is reconnecting the cables to the computer.Expected "result"
All cabled computers should turn on
Reproduction:
Place 2-5 computers with startup code (print something, to clarify it started)
Connect everything up, and make a "booter" with the following code:
local Cable = peripheral.wrap('SIDE')
for k, v in pairs(Cable.getNamesRemote('SIDE')) do
if Cable.getTypeRemote(v) == 'computer' then
print('Booting ' .. v)
--# For testing purposes, i tried "rebooting" the computers instead, but no difference
--#peripheral.call(v, 'shutdown')
--#sleep(.05)
peripheral.call(v, 'turnOn')
end
end
Close minecraft/unload the chunks.Reenter the chunks, and run the boot computer.
Done. The cabled computers did NOT turn on.
Thanks in advance
Edited on 27 April 2015 - 06:57 PM