OSSL Permission Error: osTeleportAgent permission denied

Creating scripts
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 times
Contact:

OSSL Permission Error: osTeleportAgent permission denied

Post by Shandon Loring »

I use the below simple script for TPing in many places...
But it only works where I am the Estate Manager.
If I want to use it a prim that I rez in a Region managed by someone else... are there permissions that Estate Manage can give me to allow this function to work?

Thanks all

ERROR: OSSL Permission Error: osTeleportAgent permission denied
Wiki Page: http://opensimulator.org/wiki/OsTeleportAgent
Script:

Code: Select all

beam(key agent)
{
    osTeleportAgent(agent, region, (llGetObjectDesc()), lookat);
}

default
{

   collision_start(integer c)
   {
        integer n;
        for (n=0; n<c; n++)
        {
            if (llDetectedType(n) & AGENT)
            {
                beam(llDetectedKey(n));
            }
        }
   }
}
These users thanked the author Shandon Loring for the post:
Ilan Tochner
User avatar
Ilan Tochner
Posts: 6518
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4974 times
Been thanked: 4469 times
Contact:

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Ilan Tochner »

Hi Shandon,

You can see who has what OSSL permissions on this page: https://www.kitely.com/virtual-world-ne ... functions/

osTeleportAgent is only permitted in scripts that are owned by the world manager of the world where that script is running or by an Estate Manager of that location.
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 times
Contact:

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Shandon Loring »

Ah.. okay.. i suspected as much.. just wondered if there were perms the Estate Manager could give me so I could use that function...

Would Experiences allow this?

Until then... anybody have a working Click/Sit To Teleport function that works here in Kitely?
Specifically I'd need it to function between Worlds.
Thanks!
User avatar
Ilan Tochner
Posts: 6518
Joined: Sun Dec 23, 2012 8:44 am
Has thanked: 4974 times
Been thanked: 4469 times
Contact:

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Ilan Tochner »

Permissions limit who can use various script functions. Experiences wouldn't overide those permissions.
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 times
Contact:

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Shandon Loring »

update:
I've tested and can use the old standard Map Teleport and it does indeed work between worlds/regions just fine.
Not as 'suave' as a Collision Teleport "Blam Gate", but twill serve! :-)

gracias amigos!
These users thanked the author Shandon Loring for the post:
Graham Mills
Graham Mills
Posts: 1314
Joined: Sun Dec 23, 2012 2:26 pm
Has thanked: 1134 times
Been thanked: 1142 times

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Graham Mills »

I assume llTeleportAgent doesn't suit your purpose (requires landmark in object inventory)?

https://wiki.secondlife.com/wiki/LlTeleportAgent
These users thanked the author Graham Mills for the post (total 2):
Ilan TochnerShandon Loring
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 times
Contact:

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Shandon Loring »

Thank you Graham.

The wiki says this will only TP the Owner of the object,
unless it is used in an Experience. Which is indeed how it does work in SL, we do use Experiences at the Seanchai Library there. Perhaps this behaves differently in OS.

I will try it out for sure! :)

We need to TP guests around, and in this particular instance the origin point is one I'm not Estate Manager of.
The final destination will change at least weekly, so we do not want to be troubling the EM for that.



Thank you, Thank you
Graham Mills
Posts: 1314
Joined: Sun Dec 23, 2012 2:26 pm
Has thanked: 1134 times
Been thanked: 1142 times

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Graham Mills »

My bad, apologies Shandon.
Shandon Loring wrote:
Tue Oct 11, 2022 4:39 pm
The wiki says this will only TP the Owner of the object,
unless it is used in an Experience.
User avatar
Shandon Loring
Posts: 1346
Joined: Sat Oct 26, 2013 3:25 am
Has thanked: 972 times
Been thanked: 1586 times
Contact:

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Shandon Loring »

omigosh Graham!! no no no.. not at all!!!
you ALWAYS have good ideas... i love getting insight from you!!!!
Thank You!!
(AND i only knew what the wiki said cuz you showed me the link. ty sir)
Last edited by Shandon Loring on Wed Oct 12, 2022 6:06 am, edited 1 time in total.
These users thanked the author Shandon Loring for the post:
Graham Mills
Lotek Ixtar
Posts: 13
Joined: Wed Aug 13, 2014 5:26 pm
Has thanked: 3 times
Been thanked: 12 times

Re: OSSL Permission Error: osTeleportAgent permission denied

Post by Lotek Ixtar »

It's also possible to use RLV for this, but the person to be teleported will have to be wearing a RLV relay, and very few people do so. This is why implementing Experiences is a good idea.

See the API here

(just an example that rlv is not only for adult stuff)
These users thanked the author Lotek Ixtar for the post (total 2):
Shandon LoringGraham Mills
Post Reply