Posted 14 November 2015 - 02:38 AM
VERSION:
1.72
DESCRIPTION:
I have 3 command computers at spawn on our multiplayer server, and I randomly get reports from new players that the buttons to trigger the commands do nothing. If I go look at the computers myself, the screens will be be blank and not show the ">" that they are running. If i right click them, they fire up. I'm honestly not sure if they aren't starting up on reboot, or if they are shutting off due to no yield, but the code I am using as far as I know will yield properly.
The server reboots nightly at 3am as well.
EXPECTED RESULT:
Computer fires up on server start and runs the startup program
REPRODUCTION STEPS:
Here's the code running on one of the command computers. There is a block above it with a button on it for the players to trigger.
SCREENSHOT/VIDEO:
n/a
1.72
DESCRIPTION:
I have 3 command computers at spawn on our multiplayer server, and I randomly get reports from new players that the buttons to trigger the commands do nothing. If I go look at the computers myself, the screens will be be blank and not show the ">" that they are running. If i right click them, they fire up. I'm honestly not sure if they aren't starting up on reboot, or if they are shutting off due to no yield, but the code I am using as far as I know will yield properly.
The server reboots nightly at 3am as well.
EXPECTED RESULT:
Computer fires up on server start and runs the startup program
REPRODUCTION STEPS:
Here's the code running on one of the command computers. There is a block above it with a button on it for the players to trigger.
print("Watching button for long teleport.")
while true do
os.pullEvent("redstone")
if rs.getInput("top") then
commands.exec("say Player teleporting soon, expect some lag.")
commands.exec("give @p MineFactoryReloaded:straw")
commands.exec("setblock ~2 ~1 ~-4 ThermalFoundation:FluidEnder 0 replace")
else
end
end
SCREENSHOT/VIDEO:
n/a