[Opensim-users] Multiple concurrent logins on same user account possible?

Justin Clark-Casey jjustincc at googlemail.com
Thu May 10 01:00:07 UTC 2012


Very cool to hear about this.

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).

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).

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.

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).

[1] http://opensimulator.org/mantis/view.php?id=5969
[2] http://opensimulator.org/wiki/IRegionModule
[3] http://opensimulator.org/wiki/Category:OSSL_Functions

On 09/05/12 09:36, Stephen Howell wrote:
> Hi,
>
> This will sound like a viewer question, and I understand this is not the right place to ask viewer questions, but I am
> trying to determine if OpenSim will allow a single user account be logged in twice concurrently from two different
> clients. I think it doesn't allow this, but I might be missing something that would enable it.
>
> I'm working on a project to integrate Kinect gestures to control avatar actions in OpenSim.
>
> I have a working prototype which runs as a region module (DLL) in standalone OpenSim mode.
> We would like to expand on this by allowing the client use the Kinect and sent the commands remotely to the server.
>
> Initially I hoped to find an existing viewer that had a plugin architecture where I could integrate the Kinect code, but
> I haven't found any clients like this.
> I have two options as I see it:
> 1. Fork an existing client and add the Kinect code (overkill).
> 2. Write a minimal OpenMetaverse library based client that has no viewer but sends avatar commands to a client.
>
> I have already coded a tiny, non-viewer proof of concept OpenMetaverse/Kinect client, but I hit the problem that only
> other accounts can see the resulting actions on the avatar.
> If I log in with Hippo, say,  to the same account, it logs out the Kinect client, and vice versa.
> This is good and proper normal function for a server, but as this is a special case, I thought there might be a way to
> enable multiple concurrent login on a single account on the server?
>
> Regards,
>
> Stephen
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users


-- 
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc



More information about the Opensim-users mailing list