[Opensim-dev] NewUserConnection - When is Agent requesting an incomming root or just a child?
Justin Clark-Casey
jjustincc at googlemail.com
Mon Jul 4 23:53:49 UTC 2011
On 02/07/11 10:35, Argus wrote:
> Hi
>
> I am using the AuthorizationService Module for a common bannlaist on my Regions. In addition i could use this for many
> other function, eg. Visitorstats. I now ran into the problem, that all neighbouring Regions also send a Request which as
> a result make a visitorcounter impossible.
>
> I now have narrowed down this issue to NewUserConnection in scene.cs which always gets called when incomming agents go
> through the access process and would like to know how i can recognize if the agent is asking for access as a new root or
> just as a child agent by the neighbouring region. Should agent.child not already be root when the agent is Teleporting
> to a Specific Region during the access permission check? Alternative TeleportFlags could help if they were diffrent when
> a Region gets informed of a new child agent by the neighbour with the root agent.
Perhaps you could listen for the EventManager.OnMakeRootAgent event instead?
--
Justin Clark-Casey (justincc)
http://justincc.org/blog
http://twitter.com/justincc
More information about the Opensim-dev
mailing list