OpenMods/OpenPeripheral-Addons

Wired Network connection Dont work

Closed this issue · 1 comments

Hello,
When i connect all of the blocks / peripherals in the mod with networki cables and modems i dont recive a responce,
but when i connect the peripherals directly conected to a computer it works without errors.
2016-03-30_03 45 52
2016-03-30_03 46 12
2016-03-30_03 46 17
The methods the i used:

local p = peripheral.wrap("openperipheral_sensor_0")
local players = {}


p = peripheral.wrap("openperipheral_sensor_0")
p.getplayers


p = peripheral.find("openperipheral_sensor")
p.getplayers

ps. test it with all peripheral it didnt work autocomplete and all peripheral

You're using the wrong name for the function. getPlayers() is the correct name. Capital P.
There is an openp directory with a documentation program in it. "openp/docs <side/peripheral-name>" to list the functions.
You can do stuff like:
openp/docs openperipheral_sensor_1
openp/docs openperipheral_sensor_1 getPlayers

Should list the docs for you.