Anonymous | Login | Signup for a new account | 2021-01-27 02:45 PST | ![]() |
Main | My View | View Issues | Change Log | Roadmap | Summary | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0006867 | opensim | [REGION] Scripting Engine | public | 2013-11-27 09:53 | 2019-02-09 20:42 | |||||
Reporter | Dayna Bedrosian | |||||||||
Assigned To | ||||||||||
Priority | normal | Severity | feature | Reproducibility | always | |||||
Status | confirmed | Resolution | open | |||||||
Platform | Windows Server | Operating System | Windows | Operating System Version | Server 2008 R2 | |||||
Product Version | master (dev code) | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0006867: Cross Region Chat Relay doesn't work. | |||||||||
Description | In Second life we use a script to take our personal communication devices. We can only send and receive messages inside the SIM and with our relays we would be able to carry the signal across regions and broadcast it there. We have the system setup in SL and we are trying to set up the system in our OpenSIM Grid and the signal is not being duplicated over the region border. | |||||||||
Steps To Reproduce | First create a prim on the ground and load the following two scripts in. "CHAT" integer onoff=FALSE; integer inchan = 0 ; // Input channel integer bchan = -50000 ; // "Secret" channel/frequency message is sent on. integer hear; default { touch_start(integer total_number) { if (!onoff) { hear = llListen(inchan,"",llDetectedKey(0),""); llWhisper(0, "Broadcast on."); } else { llWhisper(0, "Listening stopped."); llListenRemove(hear); } onoff=!onoff; } listen(integer chan, string name, key id, string mess) { if (id != llGetKey()) { llRegionSay(bchan,name+ ":Controller> " +mess); llSay(0, mess); } } } Second script a listener "LISTEN" //Receiver integer bchan = -50000 ; // "Secret" channel/frequency message is sent on. integer channelg = -123456 ; default { state_entry() { // llResetScript(); llListen(bchan,"","",""); llListen(-123456, "",NULL_KEY,""); // listens for just the owner, on channel 0 } listen(integer chan, string name, key id, string mess) { llSay(0, mess); } } Now the second part is rez a prim on the edge of the current region border. Place in this script. integer cross=-4121; integer sim=-500000; integer listen1; integer listen2; default { state_entry() { listen1=llListen(cross,"","",""); listen2=llListen(sim,"","",""); } listen(integer chan, string nam, key id, string msg) { if(chan == sim) { llSay(cross,msg); } if(chan == cross) { llRegionSay(sim,msg); } } } cross over to the next region and rezz another prim close to the border of the region you are in and close to the prim you rezzed before without crossing over. Then load this script in it. integer cross=-4121; integer sim=-534824; integer listen1; integer listen2; default { state_entry() { listen1=llListen(cross,"","",""); listen2=llListen(sim,"","",""); } listen(integer chan, string nam, key id, string msg) { if(chan == sim) { llSay(cross,msg); } if(chan == cross) { llRegionSay(sim,msg); } } } Touch the first prim you rezzed and say a message it should be picked up by the relays and sent over the region border, but it doesn't. | |||||||||
Additional Information | Also radars do not show people that are just across the region border. | |||||||||
Tags | No tags attached. | |||||||||
Git Revision or version number | ||||||||||
Run Mode | Grid (Multiple Regions per Sim) | |||||||||
Physics Engine | BasicPhysics | |||||||||
Script Engine | ||||||||||
Environment | Mono / Windows | |||||||||
Mono Version | 2.10 | |||||||||
Viewer | Firestorm, Singularity | |||||||||
Attached Files | ||||||||||
![]() |
||||||
|
![]() |
|
(0034694) tampa (reporter) 2019-02-09 20:42 |
See related issue, script engine isolated per-region only. |
![]() |
|||
Date Modified | Username | Field | Change |
2013-11-27 09:53 | Dayna Bedrosian | New Issue | |
2014-01-03 05:20 | Dayna Bedrosian | Viewer | Firestorm => Firestorm, Singularity |
2014-01-03 08:26 | Michelle Argus | Relationship added | related to 0001737 |
2019-02-09 20:42 | tampa | Note Added: 0034694 | |
2019-02-09 20:42 | tampa | Status | new => confirmed |
Copyright © 2000 - 2012 MantisBT Group |