Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006867opensim[REGION] Scripting Enginepublic2013-11-27 09:532019-02-09 20:42
ReporterDayna Bedrosian 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusconfirmedResolutionopen 
PlatformWindows ServerOSWindowsOS VersionServer 2008 R2
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006867: Cross Region Chat Relay doesn't work.
DescriptionIn 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 ReproduceFirst 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 InformationAlso radars do not show people that are just across the region border.
TagsNo tags attached.
Git Revision or version number
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBasicPhysics
EnvironmentMono / Windows
Mono Version2.10
ViewerFirestorm, Singularity
Attached Files

- Relationships
related to 0001737confirmed cross sim shouting and local chat not working 

-  Notes
(0034694)
tampa (reporter)
2019-02-09 20:42

See related issue, script engine isolated per-region only.

- Issue History
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
Powered by Mantis Bugtracker