MantisBT - opensim
View Issue Details
0008273opensim[REGION] Script Functionspublic2017-12-13 21:362018-08-25 20:13
Kayaker Magic 
 
normalminoralways
confirmedopen 
master (dev code) 
 
1e3cb827562f580aea60deab640f98078107e8a3
Grid (Multiple Regions per Sim)
ubODE
Mono / Linux64
Other
Any, mono is 5.4.1.6
0008273: CHANGED_TELEPORT is triggered on some border crossings
When you walk or fly across a region border the changed() event is sometimes called with the CHANGED_TELEPORT bit in the parameter.

This most often happens when you walk or fly across a region border going north to south or east to west. But on some border crossings in those directions changed() is not called with CHANGED_TELEPORT. So fly around until you find a border where this happens. Once you find a border with the problem it will consistently demonstrate the issue. I have never seen the bit set when crossing south to north or west to east.

I'm not sure what the correct behavior is. I know that crossing a border is similar to teleporting to another region. Should this bit be set on any crossing? Or suppressed since a crossing doesn't feel like teleporting?

HOWEVER, either way it should be consistent and not different depending on what direction you are crossing.

Put the following script in a prim, wear the prim as a HUD or attachment. Fly back and forth across several borders and look at the messages in chat.
//Put the following script in a prim, wear the prim as a HUD or attachment.
//Fly back and forth across several borders and look at the messages in chat.
//sometimes you will see the CHANGED_TELEPORT bit appearing on a border crossing
//I think that bit should not be there on a border crossing
default
{
    state_entry()
    {
        llSay(0, "reset");
    }
    changed(integer flag)
    {
        if (flag&CHANGED_REGION)
            llSay(0,"Changed Region");
        if (flag&CHANGED_TELEPORT)
            llSay(0,"Changed Teleport");
    }
}
No tags attached.
Issue History
2017-12-13 21:36Kayaker MagicNew Issue
2018-08-24 12:17Fly-Man-Note Added: 0032875
2018-08-24 12:17Fly-Man-Statusnew => confirmed
2018-08-25 20:13UbitUmarovNote Added: 0032885

Notes
(0032875)
Fly-Man-   
2018-08-24 12:17   
Replicated on OpenSim Master

[12:15:20] TP Tester: Changed Region

Moved to a new region (East to West)

[12:15:31] TP Tester: Changed Region
[12:15:31] TP Tester: Changed Teleport

Moved back into the original region

[12:15:57] TP Tester: Changed Region

Moved into a new region (South to North)

[12:16:03] TP Tester: Changed Region
[12:16:03] TP Tester: Changed Teleport
(0032885)
UbitUmarov   
2018-08-25 20:13   
it should be better now