Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008273opensim[REGION] Script Functionspublic2017-12-13 21:362018-08-25 20:13
ReporterKayaker Magic 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008273: CHANGED_TELEPORT is triggered on some border crossings
DescriptionWhen 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.

Steps To ReproducePut 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.
Additional Information//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");
    }
}
TagsNo tags attached.
Git Revision or version number1e3cb827562f580aea60deab640f98078107e8a3
Run Mode Grid (Multiple Regions per Sim)
Physics EngineubODE
EnvironmentMono / Linux64
Mono VersionOther
ViewerAny, mono is 5.4.1.6
Attached Files

- Relationships

-  Notes
(0032875)
Fly-Man- (developer)
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 (administrator)
2018-08-25 20:13

it should be better now

- Issue History
Date Modified Username Field Change
2017-12-13 21:36 Kayaker Magic New Issue
2018-08-24 12:17 Fly-Man- Note Added: 0032875
2018-08-24 12:17 Fly-Man- Status new => confirmed
2018-08-25 20:13 UbitUmarov Note Added: 0032885


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker