CrafterOfWorlds 1 Posted December 9, 2016 Share Posted December 9, 2016 Running the 'Tape' program from Computronics in multiplayers cause errors ('peripheral' is a null value') where on singleplayer it's fine. Any help? Offending line - local tape = peripheral.find("tape_drive") full program here Quote Link to post Share on other sites
0 Fingercomp 37 Posted December 9, 2016 Share Posted December 9, 2016 You're trying to run a program written for ComputerCraft, not OpenComputers. There's a floppy disk that contains the tape program for OpenComputers. Craft any program disk (e.g., OpenOS floppy) and cycle through floppies by crafting the disk with a scrench until you get the right one. Then put it into a disk drive and run install. Quote Link to post Share on other sites
0 CrafterOfWorlds 1 Posted December 9, 2016 Author Share Posted December 9, 2016 7 hours ago, Fingercomp said: You're trying to run a program written for ComputerCraft, not OpenComputers. There's a floppy disk that contains the tape program for OpenComputers. Craft any program disk (e.g., OpenOS floppy) and cycle through floppies by crafting the disk with a scrench until you get the right one. Then put it into a disk drive and run install. Not working. Same errors. ran 'install' with the tape program and it worked, but the program errored. Quote Link to post Share on other sites
0 Fingercomp 37 Posted December 10, 2016 Share Posted December 10, 2016 22 hours ago, CrafterOfWorlds said: but the program errored And what is the error? Quote Link to post Share on other sites
0 CrafterOfWorlds 1 Posted December 11, 2016 Author Share Posted December 11, 2016 12 hours ago, Fingercomp said: And what is the error? It errors at line 4 because peripheral is null. However 'component' is null too, so IDK whats happening Quote Link to post Share on other sites
0 Fingercomp 37 Posted December 11, 2016 Share Posted December 11, 2016 OpenComputers version of the program doesn't have peripheral.find. If you're still getting an error related to peripheral.find, you're running the ComputerCraft version. You can try to download the program: $ wget https://raw.githubusercontent.com/asiekierka/Computronics/master/main/resources/assets/computronics/loot/tape/usr/bin/tape.lua /usr/bin/tape.lua Quote Link to post Share on other sites
0 CrafterOfWorlds 1 Posted December 11, 2016 Author Share Posted December 11, 2016 9 hours ago, Fingercomp said: OpenComputers version of the program doesn't have peripheral.find. If you're still getting an error related to peripheral.find, you're running the ComputerCraft version. You can try to download the program: $ wget https://raw.githubusercontent.com/asiekierka/Computronics/master/main/resources/assets/computronics/loot/tape/usr/bin/tape.lua /usr/bin/tape.lua Well it works in creative, so why doesnt it work on the server? The wget program works in creative, like I said, and on the server, nada. Quote Link to post Share on other sites
Running the 'Tape' program from Computronics in multiplayers cause errors ('peripheral' is a null value') where on singleplayer it's fine. Any help?
Offending line -
local tape = peripheral.find("tape_drive")
full program here
Link to post
Share on other sites