Sorry, didn't address your other points.  I've not tried using the header info on position/rotation . that would be of the object with the script in, so it would need to be worn as an attachment.<div><br></div><div>
Of course, the simplest way to log if you have access to the machine that the client is running on is to spit the data out in chat make sure that chat logging is turned on :-)</div><div><br></div><div>Neil<br><br><div class="gmail_quote">
On Thu, Mar 31, 2011 at 1:15 PM, Neil Canham <span dir="ltr"><<a href="mailto:neil@knowsense.co.uk">neil@knowsense.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
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.<div>

<br></div><div><font color="#888888">Neil</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 12:30 PM, Simon Slavin <span dir="ltr"><<a href="mailto:s.slavin@lancaster.ac.uk" target="_blank">s.slavin@lancaster.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br>
On 30 Mar 2011, at 2:02pm, Neil Canham wrote:<br>
<br>
> 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.<br>
<br>
</div>There's a maximum of 25 requests in 20 seconds, so I am limited to one a second, I guess.<br>
<br>
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 ?<br>


<br>
Instead, is there any way for a script to write a line to the opensim.log file ?  Perhaps by talking to a DEBUG channel ?<br>
<div><div></div><div><br>
Simon.<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>