Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007391opensim[REGION] Scripting Enginepublic2014-12-08 18:582018-10-23 12:44
ReporterMartinRJ 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007391: Messages sent with llRegionSayTo are only received by one listening script per prim (object?)
DescriptionMessages sent with llRegionSayTo are only received by one listening script per prim (object?)

If there are two scripts listening on the same channel, only one of the scripts receives messages sent with llRegionSayTo.
Steps To ReproduceCreate a prim with two new script, and put this code in both scripts: default{state_entry(){llListen(1,"","","");llSay(0,(string)llGetKey());} listen(integer channel, string name, key id, string message){llSay(0, "Received message: " + message);}}

After saving, the script will tell the key of the prim in local chat.

Then create a second prim, and put the following script inside:
key k = ""; //Fill in the UUID from above.
default{state_entry(){llRegionSayTo(k, 1,"test");}}

Only one of the scripts will send the message in local chat.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (1 Region per Sim)
Physics EngineBasicPhysics
EnvironmentUnknown
Mono VersionNone
Viewer
Attached Files

- Relationships

-  Notes
(0031587)
Lotek (reporter)
2017-02-05 09:38

I know this bug is old, but it is still unresolved and could use some love
(0031589)
BillBlight (developer)
2017-02-05 10:46

I can confirm this is still an issue, although I do work around it, but doing a second region say on a incremented channel, and both script hear it ..

ie,
        llRegionSayTo(keyid,10,"RegionSayTo on chan 10");
        llRegionSayTo(keyid,11,"RegionSayTo on chan 11");

It is a pain, but it works ..

[10:45] reciever prim: Received message Script 2: RegionSay on chan 11
[10:45] reciever prim: Received message Script 1: RegionSay on chan 10
(0033173)
UbitUmarov (administrator)
2018-10-18 06:43
edited on: 2018-10-18 06:44

this should now work on master

(0033251)
kcozens (administrator)
2018-10-23 12:44

commit 96acb48334aaed6c81bc357818bf5a7525145791
Author: UbitUmarov <ajlduarte@sapo.pt>
Date: Thu Oct 18 14:42:07 2018 +0100

    mantis 7391: deliver llregionSayTo to all scripts on prim that match target specs

- Issue History
Date Modified Username Field Change
2014-12-08 18:58 MartinRJ New Issue
2014-12-08 19:33 MartinRJ Steps to Reproduce Updated View Revisions
2017-02-05 09:38 Lotek Note Added: 0031587
2017-02-05 10:46 BillBlight Note Added: 0031589
2018-10-18 06:43 UbitUmarov Note Added: 0033173
2018-10-18 06:44 UbitUmarov Note Edited: 0033173 View Revisions
2018-10-23 12:44 kcozens Note Added: 0033251


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker