MantisBT - opensim
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008704||opensim||[REGION] Script Functions||public||2020-05-19 15:00||2020-05-19 16:36|
|Platform||Intel CPU in Dell T1400 tower||Operating System||Ubuntu 16.04||Operating System Version||0.9.2 Yeti|
|Target Version||Fixed in Version|
|Git Revision or version number||51bc19f1abd63d4a9d3d463a2c1f9d1fa0dc366a|
|Run Mode||Grid (1 Region per Sim)|
|Environment||Mono / Linux64|
|Summary||0008704: llGetTime() resets to zero on a region crossing|
|Description||When a script crosses a region border, the llGetTime timer is reset back to 0.0|
I tried crossing borders in XEngine and YEngine and saw the same problem.
The SL Wiki says the time will be reset on 1) Script reset, 2) llResetTime and 3) llGetAndResetTime. They don't say anything about region crossings, so I went to SL and verified that the llGetTime IS NOT RESET on region crossings there.
In the process, I learned some other interesting things:
In OpenSim, resetting the script does not reset llGetTime to 0.0, when it should
In OpenSim, rezzing a prim with a running script does reset llGetTime to 0.0 when it should not
I'm not concerned about these last two problems, I can easily work around those but loosing the time on a crossing is a bigger issue.
|Steps To Reproduce||I put this little script in an object, wore it as an attachment, took it on and off, reset it, re-compiled the script (does reset llGetTime to 0.0), flew back and forth across borders, stuck it in vehicles and drove back and forth across borders. I watched the floating text counting and noted when it started over.|
|Tags||No tags attached.|
|2020-05-19 15:00||Kayaker Magic||New Issue|
|2020-05-19 16:36||UbitUmarov||Note Added: 0036484|