Sign in to follow this  
Kaluura Boa

llTeleportAgent() and a lot more are coming!

Recommended Posts

For those who missed the news: SL Game Regions

If you have a Premium account and a mesh-aware client at your disposal, here is a TP link to Nysray.

In short, we will soon get a lot of new functions to create in-world games where avatars turn into game characters.

Amongst the obvious new functions, there should be (something close to) llTeleportAgent() and llForceAttach(). (For the rest, I did not see anything that could not be done with already existing functions... but I am not in the secret of the grid gods, so...)

The Stargate people will be happy because that is what stands in Nysray: You cross the threshold of a portal and you are teleported into a game region. No dialog, no map, no nothing! From my chat history:

[2011/11/04 15:08]  Second Life: You have been teleported by the object 'Shimmering Rift' on the parcel 'Premium Zone'.
[2011/11/04 15:08]  Second Life: Teleport completed from http://maps.secondlife.com/secondlife/Nysray/12/7/56
[2011/11/04 15:08]  Welcome to LR!: Welcome to LR! Please wait while we load your game interface
[2011/11/04 15:08]  Second Life: You have been teleported by the object 'Welcome to LR!' on the parcel 'Summoning Circle'.
[2011/11/04 15:08]  <>: <> LR 8, not on a mainland continent. Grid: (1142, 1208)
 

(The last line is from my gadget which tells me where I land.)

You can already see that you get a full message "Teleport completed" when you are TP'd from region to region but not within the same region.

And the "game interface" is a HUD which jumps on your screen... also no dialog, no permission, just silence!

A glitch happened and the HUD that is supposed to disappear when you TP away stayed on screen. I detached it manually after arriving at home and...

[2011/11/04 18:52]  <>: <> Dunnideer on Sansara continent. Grid: (1031, 992)
[2011/11/04 18:53]  Second Life: You have been teleported by the object 'LR HUD 5.17' on the parcel '(redacted)'.

 Meaning: This llTeleportAgent() function is already gridwide. :matte-motes-evil-invert:

I think I am going to have some fun (and frustration) trying to find the syntax...

 

 

Share this post


Link to post
Share on other sites

the teleport when u detach the HUD is a bug i think. it says on the web page that they will fix

http://community.secondlife.com/t5/English-Knowledge-Base/Project-LR-Frequently-Asked-Questions/ta-p/1057471

"If you detach your HUD outside of Project LR, then you will teleport into mid-air, in your current region.  This is a bug that the team is fixing"

is true lol. i get chucked up into sky when i detach on my home sim

is a fun game. i get 28L off it so far by collect the green and blue crystals and redeem on the color machine thingys at the base camp. i have like over a 100 of the other colors but they not seem to be worth anything. just can use to get a task i think. i do one of the tasks but only get 1L for completing it so. maybe is other tasks but i not work out how to get more money off them yet. is quite addictive to play tho (:

Share this post


Link to post
Share on other sites

Agreed, it is indeed a very fun little game. I'm guessing they'll expand it, for the time being it's very amusing though. The L$? Meh. Fun time waster otherwise. :)

Share this post


Link to post
Share on other sites

An interesting development indeed. I've trolled the obvious repositories but they haven't gotten an LSL compiler update in 6 months :matte-motes-frown:

The function probably has some creator-land ownership requirement or simulator flag that must be enabled.

Try using the function in the game sim?

Share this post


Link to post
Share on other sites


Strife Onizuka wrote:

The function probably has some creator-land ownership requirement or simulator flag that must be enabled.

Try using the function in the game sim?

According to the wiki there are indeed some restrictions, but even when obeying them all it doesn't seem to work - not even inside the game sim. I did notice that the "entry" sim uses a different version than the rest of SL, and the game sim is a special simulator apparently.

My guess is that the LSL wiki description is inaccurate and there are additional requirements for this to work. It compiles fine with that function, but that's it. No errors when triggering it, nothing to indicate just what it doesn't like.

Share this post


Link to post
Share on other sites

Nope, llTeleportAgent() does nothing, not even on an LR region, not on touch, not on collision... Nothing. I'm really disappointed...

I checked the owner of the portal in Nysray and, no, the object does not need to be deeded to land group. A piece of the puzzle is missing. A new permission? A new event?

Any way, I wonder why such a useless function compiles gridwide for both Mono and LSO while it is not even supposed to be available at all.

 

 

Share this post


Link to post
Share on other sites

it's almost certain to be using that function template (little other reason for it to compile), but it probably checks access to godmode....

it definitely does not check creator (at least not by itself), as I tried it with a few available scripts created by lindens

Share this post


Link to post
Share on other sites

Probably this function will require some permissions .

 

Actually , if the user  agrees,  he can do :

Controle + Shift + D to display menu advanced settings

Choose debug settings

Change SLURLTeleportDirectly at true

 

Share this post


Link to post
Share on other sites

I can see this feature being used in a combat meter to TP an avatar to a random spot or back to a safe zone, looks like the combat business may pick up with this added.

Share this post


Link to post
Share on other sites

Some observations:

  1. the wiki function template compiles.
  2. the portal prims with the teleport script also have a LM asset.
  3. there is a new constant PERMISSION_TELEPORT with the value 4096.  Requesting the perm always fails (returns 0 to  and never results in a popup.
  4. the LR portals aren't group deeded and aren't owned by the land owner.
  5. the teleport function of the hud seems to work anywhere - there is a known bug with it that if you TP away, the game hud will TP you into the sky of whatever sim you are in until it detaches itself.

Still no dice on getting it to actually work for me, though. :matte-motes-crying:

Share this post


Link to post
Share on other sites

The function as compiled in non LR sims is probably a stub for now , remember for a time llTextBox was also a stub, it would compile but do nothing spectacular, try compiling the script in the LR sims you may get differnt milage ( though again it won't work in non LR sims)

Share this post


Link to post
Share on other sites

Why don't you just print out the destination and click on it, I been doing that for ages, just print it out in chat and click on it you tp to what ever sim you printed out, my game 1 meters had that 2 years ago so armies could meet up from all over sl.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this