This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Goof's profile picture

[1.7.4pr20][SMP&SSP] Wired modems not working properly

Started by Goof, 27 April 2015 - 06:57 PM
Goof #1
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

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
Lyqyd #2
Posted 27 April 2015 - 09:39 PM
Please also report this in the Beta Bugs thread if you have not done so already.
Goof #3
Posted 27 April 2015 - 10:12 PM
Please also report this in the Beta Bugs thread if you have not done so already.
Oh… Wooops… Thought this was the one.. hmm Should i just duplicate in there, and make you lock this one?
Edited on 27 April 2015 - 08:13 PM
Lyqyd #4
Posted 27 April 2015 - 10:19 PM
Reported in Beta Bugs thread, closing.