These forums are CLOSED. Please visit the new forums HERE
WarpPos -- llSetPos without the limits |
|
Kermitt Quirk
Registered User
![]() Join date: 4 Sep 2004
Posts: 267
|
06-06-2006 04:08
I would try this myself if I had the time, but I don't, so I must ask... do we have a working Stargate system anywhere yet then? Surely that should be within reach now.
|
Rickard Roentgen
Renaissance Punk
![]() Join date: 4 Apr 2004
Posts: 1,869
|
06-06-2006 10:10
good idea, and yes, I think we even have the touch sit method now don't we? I don't know how you would make it look right but if you have a method great
![]() _____________________
|
Keknehv Psaltery
Hacker
![]() Join date: 11 Apr 2005
Posts: 1,185
|
06-06-2006 13:35
The client still seems to choke on long range teleports-- if we had a function like llForceSimConnection, which would cause the client to open up a connection to a sim-- similar to how the client connects to adjacent sims.
I still don't think we'll have teleports across the sim automated to a decent degree anytime soon. I want to do a few tests to see what happens when you warp across a void sim space. _____________________
|
Argent Stonecutter
Emergency Mustelid
![]() Join date: 20 Sep 2005
Posts: 20,263
|
06-06-2006 20:31
The client still seems to choke on long range teleports-- if we had a function like llForceSimConnection, which would cause the client to open up a connection to a sim-- similar to how the client connects to adjacent sims.. ![]() |
Kermitt Quirk
Registered User
![]() Join date: 4 Sep 2004
Posts: 267
|
06-07-2006 02:06
I'd rather keep pressing for llTeleportAgent instead of suggesting other ideas to distract roving Lindens. ![]() That's a good point. Rapid movement is probably the worst possible solution to a lot of these things. |
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
06-07-2006 02:25
Aye, I have pretty much decided to go with using llMapDestination for any agent teleport farther than one adjacent sim away, because it just isn't reliable or quick enough with SitTarget/SetPos/WarPos.
Basically, I do SitTargets up to 519m distant, multiphase WarpPos for anything into one adjacent sim away, and then switch to llMapDestination for the rest with a detect at the end to see if I am still not at the destination once in the destination sim due to telehubs, and rez one more teleportal to get me the last bit of the way. I think that is about the best that can be hoped for right now for agents. WarpPos still has its place as a long-distance teleport for objects, but not with agents sitting on them. Oh, I also found a bug in my code posted above that I have since fixed: CODE
|
Keknehv Psaltery
Hacker
![]() Join date: 11 Apr 2005
Posts: 1,185
|
06-07-2006 16:23
I'd rather keep pressing for llTeleportAgent instead of suggesting other ideas to distract roving Lindens. ![]() Heh, a good point. Perhaps something like "[Object Name], an object owned by [Owner Name], would like to teleport you to [Sim]:[Pos]. Would you like to teleport? [Yes/No]". I'm curious as to why the Lindens seem to never implement many of the functions that we request, even the simple ones... _____________________
|
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
|
06-11-2006 11:24
I've just had some very strange experiences with this..
I tried to use it in a "builder's cushion" (ie, an object that tracks behind the camera, so you can alt+view around an object without having to break to move your av, no matter how big the object is). Unfortunately it isn't quite fast enough to do that yet. But some very strange effects occured during the process. Parts of objects in the sim disappeared even though they were cached, and at one point, my AV was dropped on the floor and able to walk normally for a while, and then a second later was back sat on the object without my giving the sit command or anything similar.. |
Kokiri Saarinen
Quoted for truth
Join date: 7 Jan 2006
Posts: 44
|
06-12-2006 03:42
In terms of sending accross void sims, it seems that objects will arrive without going off world if the final destination of the warppos is valid. However, when an avatar is sitting on the object, the avatar is automatically forced to stand up before entering a void sim, but the object continues moving.
There also seems to be a small descrepancy, some destininations within the destination sim will cause the object to go off world, while others the object will successfully travel. Ill continue playing around with it -Kokiri |
Adrian Zobel
Registered User
Join date: 4 Jan 2006
Posts: 49
|
another fix to warpPos
08-18-2006 15:17
I'm posting here because the original poster has updated it as recently as the scripting wiki.
I've been debugging my teleporter and found various bugs both here and on the wiki, including problems in plot_course() and several potential infinite loops. But the bug in the updated warpPos seems important enough to correct. To see what's wrong, walk through an example where jumps = 13 or jumps = 15: warpPos won't reach its destination. I propose fixing the last line of warpPos as follows: CODE
|
Wrager Creeley
Registered User
Join date: 8 Oct 2006
Posts: 8
|
Bug fix
06-26-2007 00:53
I readed blog posts about that it was fixed, so maybe it doesn't work now
![]() |
Bobbyb30 Zohari
SL Mentor Coach
Join date: 11 Nov 2006
Posts: 466
|
11-30-2007 19:15
Very useful and still works=)
_____________________
|
Solar Alter
Registered User
Join date: 21 Nov 2007
Posts: 30
|
11-30-2007 19:29
You dug up this old thread to say that O: Lol. On that point, dito
![]() |
Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
|
01-09-2008 14:56
This is a fantastic script and I'm finding it great for teleporting within a sim. However, I want to adapt it to send an object to anywhere within a sim so that I can teleport into it later on.
If I put in a co-ordinate such as <166, 147, 34> (as an example), sit on it and teleport, I arrive at the correct location. If I send the object first it ends up at a location such as <196,160,214> - nowhere near the place it should be. Can anyone tell me if I'm missing something either really simple or just not possible? I've tried all of the warpos functions here but all with the same result. If someone could give me some advice on how to overcome this problem it would be most appreciated! Many thanks! |
Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
|
01-09-2008 16:03
This is a fantastic script and I'm finding it great for teleporting within a sim. However, I want to adapt it to send an object to anywhere within a sim so that I can teleport into it later on.
If I put in a co-ordinate such as <166, 147, 34> (as an example), sit on it and teleport, I arrive at the correct location. If I send the object first it ends up at a location such as <196,160,214> - nowhere near the place it should be. Can anyone tell me if I'm missing something either really simple or just not possible? I've tried all of the warpos functions here but all with the same result. If someone could give me some advice on how to overcome this problem it would be most appreciated! Many thanks! |
Qie Niangao
Coin-operated
![]() Join date: 24 May 2006
Posts: 7,138
|
01-09-2008 18:51
If I put in a co-ordinate such as <166, 147, 34> (as an example), sit on it and teleport, I arrive at the correct location. If I send the object first it ends up at a location such as <196,160,214> - nowhere near the place it should be. |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
01-09-2008 20:59
I would try this myself if I had the time, but I don't, so I must ask... do we have a working Stargate system anywhere yet then? Surely that should be within reach now. just because I felt like digging up history... there are about 7 different stargate/ring transport style sytems in use, 3 of them with extensive networks, oddly none of the ones I've seen use warppos except one of the ring sets... most use sit target (rings) and llmapdestination (stargates) _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
|
01-10-2008 01:27
Hmmm... I use warpPos all the time to push objects around without "passengers," so I know it works--and can't think just what could go wrong. Perhaps it would help to see the code surrounding the warpPos function call? Or maybe just insert an llOwnerSay() of the coordinates you're passing to it, to make Real Sure they're what you think they are? I'm using a script from this thread (see below) with one of the updated warpos functions in it - the one I use is almost identical to this only that I put a listen in to parse a command on channel 90 to accept custom vectors): vector home; CODE
All I want it to do is to accept vectors via chat and to end up at the correct ones and then wait for either a command or timer to fire and rez an object then self die - which it does. It works perfectly if you sit on it, but if you send the object there first, it ends up elsewhere. I even tried it with Khalek's script (again on this thread) and sitting on the object went fine - sending it remotely and having it talk back to me ended up with it being in the sky (rather than the land) and nowhere near where it should be. Qie Niango - do you have any code which you use that I could adapt to see if it works for me? Any help would be appreciated! |
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
01-10-2008 02:08
gah, please use php tags to preserve formatting... even if you don't see the result, many of the helpful regulars here do (through the available firefox add-on linked in my signature) and it makes reading and tracing so much easier... opening another program to format the code isn't hard, but it slows down reading and some (like me today) will just skip it... faster responses if you include the formatting and tags
![]() _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
|
01-10-2008 02:27
Oh.
Wow. I haven't seen those plugins before - omg. An amazing difference! Thanks for the links - life will be soooo much easier now! I've edited my post to include the php tags so apologies for that! Now, if I could only get this script working with sole objects - I've been trying various teleporters using warpos and it just hates arriving at a destination without an avatar sitting on it...! |
Qie Niangao
Coin-operated
![]() Join date: 24 May 2006
Posts: 7,138
|
01-10-2008 06:01
Qie Niango - do you have any code which you use that I could adapt to see if it works for me? |
Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
|
01-10-2008 06:20
Thanks for that - it would be most appreciated as this is driving me nuts! Could it be that properties with ban lists etc could be causing the problem?
Asset server does seem flaky today, lots of bits not appearing in my inventory or saving etc. I look forward to trying your code - lets see if I can break that too! ![]() |
Qie Niangao
Coin-operated
![]() Join date: 24 May 2006
Posts: 7,138
|
01-10-2008 06:32
Could it be that properties with ban lists etc could be causing the problem? I've never fiddled with this enough around restrictive parcels to know for sure, but I suspect it can get through the corner of such a parcel as long as it doesn't "set foot" there with one of the PRIM_POSITION coordinates in the list--if so, that could make testing kinda confusing. |
Roj Snook
Registered User
Join date: 2 Jun 2007
Posts: 49
|
01-10-2008 06:57
Ah, I see - what puzzled me the most was that avatar sitting on it did get through whilst un-avatared versions couldn't (well 50/50 chance). Doesn't happen with all teleports but the fact that the place I was trying it out on was practically next door to me made me stumped.
|
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
01-10-2008 14:38
avatars sitting on prims get to ignore things like no object entry flags...
from descriptions about script behavior and set prim params you'd think it was an instantaneous move, with no interveneing space (same with rotations), but it seems to behave more like 'critically damped to new position in < ~.01sec (faster than minimum event time) and the server just doesn't bother reporting it's inbetween position becase it's too fast to register to things like colisions... all speculation but that's how it seems to behave for land flags _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |