Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008356opensim[REGION] Script Functionspublic2018-08-22 07:162018-10-07 06:01
ReporterLotek 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Statuspatch includedResolutionopen 
PlatformLinuxOSOS Version
Product Version0.9.0.1 
Target VersionFixed in Version 
Summary0008356: llMoveToTarget throws exception when avi is seated
DescriptionWhen an avi is used with llMoveToTarget and that avi is seated, OpenSim throws an exception:

[07:11] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at OpenSim.Region.Framework.Scenes.ScenePresence.set_Flying (System.Boolean value) [0x00008] in /home/osgrid/PLAZA/sandbox_plaza3/OpenSim/Region/Framework/Scenes/ScenePresence.cs:304
  at OpenSim.Region.Framework.Scenes.ScenePresence.MoveToTarget (OpenMetaverse.Vector3 pos, System.Boolean noFly, System.Boolean landAtTarget, System.Single tau) [0x001ef] in /home/osgrid/PLAZA/sandbox_plaza3/OpenSim/Region/Framework/Scenes/ScenePresence.cs:3124
  at OpenSim.Region.Framework.Scenes.SceneObjectGroup.MoveToTarget (OpenMetaverse.Vector3 target, System.Single tau) [0x0002a] in /home/osgrid/PLAZA/sandbox_plaza3/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs:2794
  at OpenSim.Region.Framework.Scenes.SceneObjectPart.MoveToTarget (OpenMetaverse.Vector3 target, System.Single tau) [0x00015] in /home/o
Steps To ReproduceSit on a chair and wear a prim with this script in it (and click it)

default
{
    state_entry()
    {
    }
    
    touch_end(integer i)
    {
        if (llGetAttached()==0) {
            llOwnerSay("Attach this before touching");
            return;
        }
        vector v = llGetPos();
        llMoveToTarget(<v.x+4,v.y,v.z>, 0.5);
    }
}
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineubODE
EnvironmentMono / Linux64
Mono VersionNone
ViewerFirestorm
Attached Filespatch file icon 0001-Don-t-execute-llMoveToTarget-when-avi-is-seated.patch [^] (979 bytes) 2018-08-22 07:16 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-08-22 07:16 Lotek New Issue
2018-08-22 07:16 Lotek File Added: 0001-Don-t-execute-llMoveToTarget-when-avi-is-seated.patch
2018-10-07 06:01 Lotek Status new => patch included


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker