On 10/05/12 12:24, Stephen Howell wrote:
I have developed a working Kinect controller region module. My understanding
from your comment is that I could place the
dll on the server and it act as a mini-server (inside the OpenSim server)
taking HTTP requests and running them directly
against a specified avatar. The OpenSim server wouldn't kick the first logged
in avatar because no actual 'logging in'
would take place a second time. I would presumably have to build in
authentication as otherwise it would be a potential
security hole.
That's correct. You could authenticate using the circuit code for the client's UDP connection if you're able to
retrieve that from the viewer (I appreciate that might be a little tricky). You could also pass in the same password
details used by your client to the module and call IAuthenticationService.Authenticate() (this is the approach taken by
the 'load iar' command in the InventoryArchiverModule).
Unfortunately, the internals of OpenSimulator are very hairy since they've
evolved from a place where only external
clients needed to be able to perform these operations. However, if you
want any help exploring the codebase we're
very happy to provide it via this list or the in-world IRC channels, though
that does depend on whether the right
people are around at the time.
Thanks, I found the region module wiki documentation could have had more
examples, but it was great to have what was there.
Yes, it's not ideal but to be honest we're lucky there's any doc at all ;). A good source of information, I find, are
also the modules already included with OpenSimulator.
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users