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

How to get player pos with CC OP sensor

Started by CreeperGoBoom, 15 December 2018 - 06:45 PM
CreeperGoBoom #1
Posted 15 December 2018 - 07:45 PM
sensor.getPlayerData doesnt seem to exist anymore…

How to proceed?

this is for a server ready bank system so some jackass can't come along and hijack any transaction someone is doing.

Edit: sorry about misspells, my W key has been getting stuck lately.

(Noo I don't eat in front of it :(/>)
Edited on 15 December 2018 - 06:52 PM
Lyqyd #2
Posted 15 December 2018 - 08:03 PM
sensor.getPlayerData sounds like an OpenCCSensors peripheral call. Who even knows what OpenPeripheral uses these days. You also won't find a lot of documentation on OpenPeripheral online, apparently by design. There should be a program that OpenPeripheral adds to see methods in-game, or you could always use the peripheral API's getMethods function to see what the peripheral provides.
CreeperGoBoom #3
Posted 15 December 2018 - 08:09 PM
Heh…Classic Mikeymoo… I heard he had a huge purge of documentation online.

That's the problem, i can see the methods but cannot figure out how to even accomplish what i wanted…
maybe its time to look into pdas or maybe I can do some implementation with the terminal glasses

Bit of a workaraound but hey, there's always a way around (or over) a dead end :)/>