[Opensim-users] Want to log avvie position and facing direction to a file

Neil Canham neil at knowsense.co.uk
Thu Mar 31 12:15:46 UTC 2011


No, not necessarily - it depends if this needs to be real time or not.  If
it is a log for later analysis, then you can request the object
position/rotation more regularly, and send the data in blocks via Http.
 This could be done, and is how some chat bridges work to overcome the
message sending limit.  However, as has been mentioned, a region module is
almost certainly a better bet if you have the skills and access.

Neil

On Thu, Mar 31, 2011 at 12:30 PM, Simon Slavin <s.slavin at lancaster.ac.uk>wrote:

>
> On 30 Mar 2011, at 2:02pm, Neil Canham wrote:
>
> > Using llGetObjectDetails() to get the position and rotation and sending
> them using llHttpRequest() to a simple logging PHP script seems simplest to
> me.  Set a timer to call this every second or so.
>
> There's a maximum of 25 requests in 20 seconds, so I am limited to one a
> second, I guess.
>
> I note from the documentation that requests automatically get a position
> and direction in the HTTP headers.  So if I can make my own avatar send the
> request, I should get the avvie's position and direction, right ?
>
> Instead, is there any way for a script to write a line to the opensim.log
> file ?  Perhaps by talking to a DEBUG channel ?
>
> Simon.
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20110331/6d6fcd3f/attachment.html>


More information about the Opensim-users mailing list