92 posts
Posted 16 October 2013 - 04: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 :)/>
8543 posts
Posted 16 October 2013 - 02:59 PM
Split into new topic.
To my knowledge, this is not currently possible. I have heard whispers that it is planned though.
7508 posts
Location
Australia
Posted 16 October 2013 - 03:21 PM
Which version of OpenPeripheral are you running?
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.
8543 posts
Posted 16 October 2013 - 05: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!
7508 posts
Location
Australia
Posted 16 October 2013 - 05:19 PM
If the "which version" question was directed my way
Nah it was directed at OP
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.
92 posts
Posted 19 October 2013 - 06:43 AM
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/>
7508 posts
Location
Australia
Posted 19 October 2013 - 06:54 AM
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.
92 posts
Posted 19 October 2013 - 07:27 AM
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
7508 posts
Location
Australia
Posted 19 October 2013 - 07:50 AM
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.