<br><div class="gmail_quote">On Thu, May 10, 2012 at 2:00 AM, Justin Clark-Casey <span dir="ltr"><<a href="mailto:jjustincc@googlemail.com" target="_blank">jjustincc@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Very cool to hear about this.<br></blockquote><div><br></div><div>Thanks Justin, I am only developing the Kinect plugin, the project is for the very cool folks in <a href="http://missionv.ie/">http://missionv.ie/</a> who have an OpenSim project with primary schools in Ireland.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
To my constant surprise, it is possible to log in the same avatar multiple times on the same grid [1]. However, it's certainly not currently possible to log two agents for the same user into the same region or neighbouring regions (since child/root agents would interfere with each other).<br>
</blockquote><div><br></div><div>Thanks for that link. The fact that I connected twice and saw myself logged out of the first connection could be down to the server configuration or the way I connected perhaps?</div><div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I would say your best bet would be to do this with a region module [2] that detected the logged in root ScenePresences (the OpenSimulator class that handles your avatar in sim) and added http handlers that could receive external HTTP requests to manipulate a certain avatar (by caling through to animations code).<br>
</blockquote><div><br></div><div>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. </div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
</blockquote><div><br></div><div>Thanks, I found the region module wiki documentation could have had more examples, but it was great to have what was there. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I think you could also do this by placing an LSL script in the simulator that registered lslhttp handlers to receive the commands and then invoking OSSL functions [3] such as osAvatarPlayAnimation and osAvatarStopAnimation to manipulate the appropriate avatar. However, this would rely on having that script in every region I think (though conversely the region module approach requires that you have that region module in every simulator).<br>
</blockquote><div><br></div><div>Interesting, I'll investigate that too.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[1] <a href="http://opensimulator.org/mantis/view.php?id=5969" target="_blank">http://opensimulator.org/<u></u>mantis/view.php?id=5969</a><br>
[2] <a href="http://opensimulator.org/wiki/IRegionModule" target="_blank">http://opensimulator.org/wiki/<u></u>IRegionModule</a><br>
[3] <a href="http://opensimulator.org/wiki/Category:OSSL_Functions" target="_blank">http://opensimulator.org/wiki/<u></u>Category:OSSL_Functions</a></blockquote><div><br></div><div>Thanks for the reply and the links.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Stephen </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote></div>