Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008027opensim[REGION] Script Functionspublic2016-09-20 17:382016-09-22 09:11
ReporterUraquitan Matova 
Assigned To 
PlatformOSLinuxOS Versionubuntu
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008027: llRegionSayTo issue about attachment object
DescriptionllRegionSayTo when the object is attached on the Avatar just works to channel 0.

At Second Life works to any channel.
try to do same example and will see.

use llGetKey() to get the object key when is attached on the avatar.
To object UUID works fine to all channels
but, case try to send to UUID of the avatar, just channel 0 works.
Steps To ReproduceExample:
"0919f444-b26e-4998-86e3-c3fbde5dd255" was the result of llGetKey() of the object attached
  llRegionSayTo("0919f444-b26e-4998-86e3-c3fbde5dd255",5298,"Seding to llGetKey() attachment object"); // OK
        llRegionSayTo(llGetOwner(),5298,"Do not work to attachment object"); // PROBLEM
        llRegionSayTo(llGetOwner(),0,"working to attachment object to channel 0 only"); // OK
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineODE
Script Engine
EnvironmentMono / Linux64
Mono VersionOther
Attached Files

- Relationships

-  Notes
Uraquitan Matova (reporter)
2016-09-21 06:15

File: opensim/OpenSim/Region/CoreModules/Scripting/WorldComm/WorldCommModule.cs
Function: public void DeliverMessageTo(...

if (sp != null) ...

this code gets only ROOT UUID. So to work the script need to be added at root prim.
Theare a a method to add child object UUID ?

                foreach (SceneObjectGroup sog in attachments)
                    if (!sog.IsDeleted)
UbitUmarov (administrator)
2016-09-21 15:25

By current spec messages are only sent to root prims.
with that in consideration, code does seem to work...
additional keep in mind that messages to channel 0 only go to avatar not attachments and a prim can't hear itself.
UbitUmarov (administrator)
2016-09-21 18:07

I changed that code
Attachment child prims should now receive those messages.
Uraquitan Matova (reporter)
2016-09-21 20:49

great :) i will do some tests
Mata Hari (reporter)
2016-09-22 04:35

Could a similar change also be applied to osMessageAttachments to raise dataserver events in child prims? Currently it only raises them in root.
UbitUmarov (administrator)
2016-09-22 09:11

osMessageAttachments should now also send to child prims.
I did change most of its options processing code bc it was unnecessary heavy, and could not test
Please test and let us know

- Issue History
Date Modified Username Field Change
2016-09-20 17:38 Uraquitan Matova New Issue
2016-09-21 06:15 Uraquitan Matova Note Added: 0031143
2016-09-21 15:25 UbitUmarov Note Added: 0031150
2016-09-21 18:07 UbitUmarov Note Added: 0031153
2016-09-21 20:49 Uraquitan Matova Note Added: 0031154
2016-09-22 04:35 Mata Hari Note Added: 0031156
2016-09-22 09:11 UbitUmarov Note Added: 0031157

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker