Posted 23 February 2015 - 06:06 AM
I recently got back into ComputerCraft, and rediscovered my favorite add-on, OpenPeripheral's sensors. However, since I last used it, about a year ago, it seems like a lot has changed. All of the information I can find is outdated, and I can't find any documentation. I was trying to make a really simple program that found all the nearby players, and printed their info, but I can't even seem to do that. This is the closest I've gotten.
And that gives me the not so helpful output
And even then, that number at the end changed ever time and I have no clue what that number is.
I'm very frustrated at this point, and would like a bit of help. A working program you've made, some update to date tutorial or wiki page, anything that tells points me in the right direction would very much appreciated.
s = peripheral.wrap("right")
for k, v in pairs(s.getPlayers()) do
print(k .. " " .. v)
end
And that gives me the not so helpful output
1 table: 69573933
And even then, that number at the end changed ever time and I have no clue what that number is.
I'm very frustrated at this point, and would like a bit of help. A working program you've made, some update to date tutorial or wiki page, anything that tells points me in the right direction would very much appreciated.