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

Railcraft's Tanks and Modem's problem

Started by Crooker, 01 June 2014 - 06:49 PM
Crooker #1
Posted 01 June 2014 - 08:49 PM
I'm trying to get info of Railcraft's Tanks with

local tank = peripheral.wrap("rcsteeltankvalvetile_0")
local tableInfo = tank.getTanks("unknown")
It gives me error

test:2: attempt to call nil
Its connected via modems. All modems are connected. I found this code, but only with "sides" variant.
Thanks for your help
Crooker #2
Posted 01 June 2014 - 09:24 PM
Already solved it, the "unknown" should be replaced with name of modem too