Jump to content




How To Send A Stream Using Terminal Bridge To Only One Players Glasses?


  • You cannot reply to this topic
8 replies to this topic

#1 CreeperGoBoom

  • Members
  • 91 posts

Posted 16 October 2013 - 03:01 AM

hey guys i am coding something for an owner of a server im playing on, only thing is how would i make a stream exclusive to only one player?

thanks guys and i am kinda new to this, still figuring out the glasses potential :)

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 16 October 2013 - 01:59 PM

Split into new topic.

To my knowledge, this is not currently possible. I have heard whispers that it is planned though.

#3 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 16 October 2013 - 02:21 PM

Which version of OpenPeripheral are you running?

View PostLyqyd, on 16 October 2013 - 01:59 PM, said:

To my knowledge, this is not currently possible. I have heard whispers that it is planned though.
Its done, its been in for >2 weeks now, the day I decided to jump in and add it NeverCast decided he would finally be motivated enough to do it himself, there is now a global space (for backward compatibility and a global UI) and there is a user space, for localised rendering, I also went and added a "registered_player_join" event so that you know when someone joins... The only thing we haven't been able to setup yet is getting the user's screen size, as we need to send a packet to the client and then get a response before the command can return.

#4 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 16 October 2013 - 04:03 PM

If the "which version" question was directed my way: I'm not. I'd imagine that the server in question is running on one or another major pack, so wouldn't have a recent enough version anyhow. Thanks for the correction!

#5 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 16 October 2013 - 04:19 PM

View PostLyqyd, on 16 October 2013 - 04:03 PM, said:

If the "which version" question was directed my way
Nah it was directed at OP

View PostLyqyd, on 16 October 2013 - 04:03 PM, said:

Thanks for the correction!
np, its a big addition that hasn't been documented yet as its not in an official release yet. Also noteworthy is NeverCast added the ability to use Minecraft's block renderer to render blocks and items on the screen too.

#6 CreeperGoBoom

  • Members
  • 91 posts

Posted 19 October 2013 - 05:43 AM

View Posttheoriginalbit, on 16 October 2013 - 02:21 PM, said:

Which version of OpenPeripheral are you running?

sorry i didnt mention this, my bad

its the one that comes with tekkit space

(looks at mod list)
v0.1.9

thanks for the replies guys :D

#7 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 19 October 2013 - 05:54 AM

View PostCreeperGoBoom, on 19 October 2013 - 05:43 AM, said:

its the one that comes with tekkit space
v0.1.9
Then no, definitely not. It is only in the latest builds that are working towards a 1.6.x release that has this support.

I would suggest that you use the getUsernames method on the glasses though to get a list of everyone connected to the bridge and if anyone else is connected other than the server owner, have it come up (maybe flashing) saying that there has been a security breech and the following users are connected to the terminal bridge. Then maybe add the option to send a remote command to reset the bridge and then the owner can come along and register himself again.

#8 CreeperGoBoom

  • Members
  • 91 posts

Posted 19 October 2013 - 06:27 AM

View Posttheoriginalbit, on 19 October 2013 - 05:54 AM, said:

View PostCreeperGoBoom, on 19 October 2013 - 05:43 AM, said:

its the one that comes with tekkit space
v0.1.9
Then no, definitely not. It is only in the latest builds that are working towards a 1.6.x release that has this support.

I would suggest that you use the getUsernames method on the glasses though to get a list of everyone connected to the bridge and if anyone else is connected other than the server owner, have it come up (maybe flashing) saying that there has been a security breech and the following users are connected to the terminal bridge. Then maybe add the option to send a remote command to reset the bridge and then the owner can come along and register himself again.

fairly good option, but in my case ill just have to stick with something everyone can use (i need the glasses too)

edit: oh wait, separate computer connected to separate bridge, locked away somewhere

thanks for the answer, the replies are much appreciated :D, ill keep an eye out on the update logs for OpenPeripherals, thanks again

#9 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 19 October 2013 - 06:50 AM

View PostCreeperGoBoom, on 19 October 2013 - 06:27 AM, said:

fairly good option, but in my case ill just have to stick with something everyone can use (i need the glasses too)
Well you can make a whitelist, and when a person comes up that isn't on the whitelist then it flashes with the errors.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users