Posted 04 September 2012 - 01:36 AM
For an SMP server, I'm trying to create a proximity sensor-based system to track specific players and display their names and locations on a monitor, however I'm having trouble drawing any useful information from the sensors. I've looked over several tutorials on the matter, each with different methodologies, but to no avail. I have at one time managed to retrieve a number of targets which even then only retreived my own username on rare occasion, seemingly dependent on my momentary position.
Previously, my experience has revolved largely around timers, bundled wires, and especially turtles, but I'm rather baffled by the API usage for this peripheral addon. I surmise that I'll need to loop through the available targets from all the sensors on the network for the different players to retrieve their details, and I'm fairly capable of doing the framework for that but for knowing how to actually work with the sensors themselves.
So basically, I need to know the following:
How do I retrieve specific information from sensors?
What information is available to Proximity sensors (and how do I retrieve detail X from the sensor data)
Is there any particular method I should be advised to use for this implementation?
Previously, my experience has revolved largely around timers, bundled wires, and especially turtles, but I'm rather baffled by the API usage for this peripheral addon. I surmise that I'll need to loop through the available targets from all the sensors on the network for the different players to retrieve their details, and I'm fairly capable of doing the framework for that but for knowing how to actually work with the sensors themselves.
So basically, I need to know the following:
How do I retrieve specific information from sensors?
What information is available to Proximity sensors (and how do I retrieve detail X from the sensor data)
Is there any particular method I should be advised to use for this implementation?