Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008704opensim[REGION] Script Functionspublic2020-05-19 15:002020-05-19 16:36
ReporterKayaker Magic 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformIntel CPU in Dell T1400 towerOSUbuntu 16.04OS Version0.9.2 Yeti
Product Version 
Target VersionFixed in Version 
Summary0008704: llGetTime() resets to zero on a region crossing
DescriptionWhen 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 ReproduceI 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.
Additional Informationdefault
{
    state_entry()
    {
        llSetTimerEvent(0.1);
    }
    timer()
    {
        llSetText((string)llGetTime(),<0,1,0>,1.0);
    }
}
TagsNo tags attached.
Git Revision or version number51bc19f1abd63d4a9d3d463a2c1f9d1fa0dc366a
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
Script EngineXEngine
EnvironmentMono / Linux64
Mono Version6.x
ViewerFireStorm
Attached Files

- Relationships

-  Notes
(0036484)
UbitUmarov (administrator)
2020-05-19 16:36

this should be better on YEngine now
no imediate plans to fix on XEngine

- Issue History
Date Modified Username Field Change
2020-05-19 15:00 Kayaker Magic New Issue
2020-05-19 16:36 UbitUmarov Note Added: 0036484


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker