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

Player Detection for Pocket Computers

Started by willwac, 25 November 2014 - 05:12 PM
willwac #1
Posted 25 November 2014 - 06:12 PM
It would be nice to be able to detech who is holding a pocket computer or, in some fashion, connect peripherials.
Thinking abou the last one, you could have a host computer sending out peripheral responces through rednet, but I'm not sure how well that would work. I'm going to try this.
KingofGamesYami #2
Posted 25 November 2014 - 06:36 PM
I've actually 'connected' peripherals via modem_message events (rednet is based off them), and it worked quite well.

Also, I believe you meant "detect", not detach. I'm not sure how you'd detach a player…
acepilot1122 #3
Posted 25 November 2014 - 07:24 PM
sounds pretty cool… I could see this being a thing
theoriginalbit #4
Posted 25 November 2014 - 11:25 PM
Personally I'd prefer if the ComputerCraft API opened up and allowed peripherals on the pocket computers, then people could just develop things with their mods.
willwac #5
Posted 27 November 2014 - 06:49 PM
Personally I'd prefer if the ComputerCraft API opened up and allowed peripherals on the pocket computers, then people could just develop things with their mods.
Then it would be similar to Turtles, right?
Why can we craft an advanced player detecting wireless pocket computer?
theoriginalbit #6
Posted 28 November 2014 - 02:31 AM
Then it would be similar to Turtles, right?
Why can we craft an advanced player detecting wireless pocket computer?
Okay, if CC were to make a player detecting peripheral for the pocket computers, that is potentially all we'd get. However if the CC API were to open up and allow 3rd-party peripherals to be attached to the pocket computers, just like it does with Turtles, then the peripherals we could get are endless as it falls down to whatever the mod developer adds themselves. therefore opening up the API should be a higher priority than just adding one specific peripheral.
Bomb Bloke #7
Posted 28 November 2014 - 06:23 AM
Makes a lot of sense, actually. Stick a peripheral in your hotbar to the left of the pocket computer, and the device can then be wrapped as "left" - etc.
theoriginalbit #8
Posted 28 November 2014 - 01:41 PM
Or crafting with it just like the Turtle, or perhaps a slot in the bottom corner that you insert the peripheral into.