Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

warpPos is a still broken?

marc8300 Beltran
Registered User
Join date: 28 Dec 2006
Posts: 9
03-22-2007 10:59
Is the warpPos fuction still inactive?
If so, is there away around it?

Some info is welcome thanks
Dragon Keen
Registered User
Join date: 24 Apr 2006
Posts: 245
03-22-2007 11:29
possibly http://www.lslwiki.net/lslwiki/wakka.php?wakka=LibrarySenWarp
Arksun Tone
Ark Designs, Sonyo
Join date: 26 Dec 2006
Posts: 91
03-22-2007 16:09
So its back again folks!. My tp systems working as it should again

Think it'll stay this time?, or another rollback?
Darok Kaminski
Registered User
Join date: 17 Feb 2007
Posts: 11
WarpPos - llSetPrimitiveParams with PRIM_POSITION
04-23-2007 03:35
From: marc8300 Beltran
Is the warpPos fuction still inactive?
If so, is there away around it?

Some info is welcome thanks

WarpPos still isn't fixed. It runs like llSetPos, it stops at 10m :S. When will it be fixed?? :S
_____________________
Ee Maculate
Owner of Fourmile Castle
Join date: 11 Jan 2007
Posts: 919
04-23-2007 03:40
From: Darok Kaminski
WarpPos still isn't fixed. It runs like llSetPos, it stops at 10m :S. When will it be fixed?? :S


I thought this was a deliberate fix in a recent update? It's not broken....... it's been disabled. I assume permanently.
Anti Antonelli
Deranged Toymaker
Join date: 25 Apr 2006
Posts: 1,091
04-23-2007 04:13
From: Ee Maculate
I thought this was a deliberate fix in a recent update? It's not broken....... it's been disabled. I assume permanently.

That was acknowledged as a bad move and was supposedly fixed by a server-only update some time after:

http://blog.secondlife.com/2007/03/22/rolling-restart-on-main-grid-2/

I don't recall exactly what happened after that - is that the update that required a grid-wide rollback to undo it after the fact? I don't have a use for WarpPos personally, so I can't say whether it works right now or not, but I know the intention was for it to work again.
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
04-23-2007 06:09
Warp pos works for me on the main grid.
Darok Kaminski
Registered User
Join date: 17 Feb 2007
Posts: 11
llSetPrimitiveParams...
04-23-2007 10:02
From: Ralph Doctorow
Warp pos works for me on the main grid.

Try this:
CODE
default
{
state_entry()
{
}

touch_start(integer total_number)
{
llSetPrimitiveParams([PRIM_POSITION, llGetPos() + <15, 0, 0>]);
}
}

It should move 15m in X axis but it only moves 10 :(
_____________________
Ralph Doctorow
Registered User
Join date: 16 Oct 2005
Posts: 560
04-23-2007 10:13
Darok - that never worked, the warp pos technique (hack?) works by chaining together multiple position rules in a single llSetPrimitiveParms call, not by setting a single rule to have a motion > 10m.
tre Zobel
Registered User
Join date: 21 Jan 2006
Posts: 55
04-23-2007 15:54
my warpos works perfectly fine.

I could give you a copy if you think yours is broken (but it shouldn't be, not anymore).
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
04-24-2007 05:24
From: Darok Kaminski
Try this:
CODE
default
{
state_entry()
{
}

touch_start(integer total_number)
{
llSetPrimitiveParams([PRIM_POSITION, llGetPos() + <15, 0, 0>]);
}
}

It should move 15m in X axis but it only moves 10 :(


That's because that is not how warpPos works.

WarpPos breaks something like your 15m movement down into chunks that are no bigger than the 10m limit and applies them all at once.

So instead try:

CODE
vector pos;
default
{
state_entry()
{
pos = llGetPos();
}
touch_start(integer total)
{
llSetPrimitiveParams([PRIM_POSITION,pos+<10,0,0>,PRIM_POSITION,pos+<15,0,0>]);
llResetScript();
}
}


Something like that would be more akin to warpPos' functionality.
Darok Kaminski
Registered User
Join date: 17 Feb 2007
Posts: 11
It works!
04-25-2007 02:30
From: Tiarnalalon Sismondi
That's because that is not how warpPos works.

WarpPos breaks something like your 15m movement down into chunks that are no bigger than the 10m limit and applies them all at once.

So instead try:

CODE
vector pos;
default
{
state_entry()
{
pos = llGetPos();
}
touch_start(integer total)
{
llSetPrimitiveParams([PRIM_POSITION,pos+<10,0,0>,PRIM_POSITION,pos+<15,0,0>]);
llResetScript();
}
}


Something like that would be more akin to warpPos' functionality.


Thx and sorry, it was a misunderstood. I found information that in a version it didn't work and then i wrongly tested the function. Yesterday i tested the correct call and it works.
_____________________