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

Turtle inital start does not open wireless.

Started by Flyin_Spaghetti, 30 December 2012 - 09:03 AM
Flyin_Spaghetti #1
Posted 30 December 2012 - 10:03 AM
I wrote a startup program that starts with rednet.open("right") to a turtle of mine. But when I exit and enter the game. even though rest of the program seems to be functioning, modem does not open. It again does not open when I close the startup program, and use Lua program to manually enter the command. Only thing that seems to work is a manual reboot, In that case the program starts as it should. I suppose this is a bug but is there a way I can work around this?
remiX #2
Posted 30 December 2012 - 10:16 AM
Before exiting the game, close the wireless modem. Maybe that'll work
Flyin_Spaghetti #3
Posted 30 December 2012 - 10:23 AM
I cant automate that. It will be same as manually rebooting.

hmm I tried having it automatically reboot itself the first time it open but os.reboot() also did not work inside the program.
Flyin_Spaghetti #4
Posted 30 December 2012 - 10:32 AM
I managed to make it work. I forgot to close the file so I was not able to delete it. though it is an annoying bug