[JIRA] Issue Comment Edited: (SVC-4984) PosJump broken in some server 1.32 regions

Ron Khondji (JIRA) no-reply at lindenlab.cascadeo.com
Thu Nov 5 01:17:03 PST 2009


    [ http://jira.secondlife.com/browse/SVC-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=144691#action_144691 ] 

Ron Khondji edited comment on SVC-4984 at 11/5/09 1:16 AM:
-----------------------------------------------------------

I just tried a box with the next script in Blackmount.

vector pos;
posJump(vector target_position)
{
    llSetPrimitiveParams([PRIM_POSITION, <1.304382E+19, 1.304382E+19, 0.0>, PRIM_POSITION, target_position]);
    llSleep(2.0);
    llSetPrimitiveParams([PRIM_POSITION, <1.304382E+19, 1.304382E+19, 0.0>, PRIM_POSITION, pos]);
}

default
{
    state_entry()
    {
        llSitTarget(<0.25,0.0,0.55>,ZERO_ROTATION);
        llSetText("Click to get high!",<1.0,1.0,1.0>,1.0);
    }
    changed(integer change)
    {
        if (change & CHANGED_LINK){
            if (llGetAgentSize(llAvatarOnSitTarget()) != ZERO_VECTOR) {
                pos = llGetPos();
                posJump(<pos.x,pos.y,pos.z + 3000>);
            }
        }
    }
}

Instead of moving me 3000m up and back again, it dumps me in the sim corner from where I can only tp away and I get:

[0:56]  Second Life: Your object 'Object' has been returned to your inventory lost and found folder from parcel 'GF 57' at Cairnlow -2147483648, -2147483648 because it went off-world.


These are my stats:

Snowglobe 1.2.0 (2964) Nov  3 2009 18:24:04 (Snowglobe Test Build)
Release Notes

Built with MSVC version 1400

Snowglobe 1.2.0 (2964) Nov  3 2009 18:24:04 (Snowglobe Test Build)
Release Notes

Built with MSVC version 1400

You are at 259992.8, 232104.1, 46.3 in Blackmount located at sim4640.agni.lindenlab.com (216.82.55.36:12035)
Second Life Server 1.32.0.136920
Release Notes

CPU: Intel Core 2 Series Processor (1997 MHz)
Memory: 2047 MB
OS Version: Microsoft Windows XP Service Pack 3 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce Go 7950 GTX/PCI/SSE2
Windows Graphics Driver Version: 6.14.0011.7948
OpenGL Version: 2.1.2

libcurl Version: libcurl/7.19.6-CVS OpenSSL/0.9.8j c-ares/1.6.0
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.5.2 
Packets Lost: 320/152497 (0.2%)


      was (Author: Ron Khondji):
    I just tried the a box with the next script in Blackmount.

vector pos;
posJump(vector target_position)
{
    llSetPrimitiveParams([PRIM_POSITION, <1.304382E+19, 1.304382E+19, 0.0>, PRIM_POSITION, target_position]);
    llSleep(2.0);
    llSetPrimitiveParams([PRIM_POSITION, <1.304382E+19, 1.304382E+19, 0.0>, PRIM_POSITION, pos]);
}

default
{
    state_entry()
    {
        llSitTarget(<0.25,0.0,0.55>,ZERO_ROTATION);
        llSetText("Click to get high!",<1.0,1.0,1.0>,1.0);
    }
    changed(integer change)
    {
        if (change & CHANGED_LINK){
            if (llGetAgentSize(llAvatarOnSitTarget()) != ZERO_VECTOR) {
                pos = llGetPos();
                posJump(<pos.x,pos.y,pos.z + 3000>);
            }
        }
    }
}

Instead of moving me 3000m up and back again, it dumps me in the sim corner from where I can only tp away and I get:

[0:56]  Second Life: Your object 'Object' has been returned to your inventory lost and found folder from parcel 'GF 57' at Cairnlow -2147483648, -2147483648 because it went off-world.


These are my stats:

Snowglobe 1.2.0 (2964) Nov  3 2009 18:24:04 (Snowglobe Test Build)
Release Notes

Built with MSVC version 1400

Snowglobe 1.2.0 (2964) Nov  3 2009 18:24:04 (Snowglobe Test Build)
Release Notes

Built with MSVC version 1400

You are at 259992.8, 232104.1, 46.3 in Blackmount located at sim4640.agni.lindenlab.com (216.82.55.36:12035)
Second Life Server 1.32.0.136920
Release Notes

CPU: Intel Core 2 Series Processor (1997 MHz)
Memory: 2047 MB
OS Version: Microsoft Windows XP Service Pack 3 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce Go 7950 GTX/PCI/SSE2
Windows Graphics Driver Version: 6.14.0011.7948
OpenGL Version: 2.1.2

libcurl Version: libcurl/7.19.6-CVS OpenSSL/0.9.8j c-ares/1.6.0
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.5.2 
Packets Lost: 320/152497 (0.2%)

  
> PosJump broken in some server 1.32 regions
> ------------------------------------------
>
>                 Key: SVC-4984
>                 URL: http://jira.secondlife.com/browse/SVC-4984
>             Project: 2. Second Life Service - SVC
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 1.32 Server
>         Environment: Second Life 1.24.4 (2916) Oct 22 2009 08:50:18 (CommunityDeveloper)
> Release Notes
> Built with GCC version 40302
> You are at 255697.0, 255430.3, 20.8 in Sandbox Goguen located at sim4906.agni.lindenlab.com (216.82.27.117:13001)
> Second Life Server 1.32.0.136920
> Release Notes
> CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
> Memory: 2022 MB
> OS Version: Linux 2.6.27.29-0.1-default #1 SMP 2009-08-15 17:53:59 +0200 i686
> Graphics Card Vendor: NVIDIA Corporation
> Graphics Card: GeForce 8600 GTS/PCI/SSE2/3DNOW!
> OpenGL Version: 2.1.2 NVIDIA 173.14.18
> libcurl Version: libcurl/7.16.4 OpenSSL/0.9.7c zlib/1.2.3 c-ares/1.4.0
> J2C Decoder Version: OpenJPEG: 1.3.0, Runtime: 1.3.0
> Audio Driver Version: OpenAL, version 1.1 / OpenAL Community / OpenAL Soft: ALSA Software on default
> LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.27996 (Mozilla GRE version 1.8.1.18_0000000000)
> Packets Lost: 185/197113 (0.1%)
>            Reporter: Kaluura Boa
>            Assignee: oskar linden
>            Priority: Showstopper
>         Attachments: posJump.lsl
>
>
> Despite the half-promises from some Lindens, PosJump is now broken on server 1.32 and no official alternative is available.
> Put the attached script 'posJump.lsl' in a box and click it.
> {code:title=posJump.lsl}
> wiki_safe_posJump(vector target_pos)
> {
>     // An alternative to the warpPos trick without all the overhead.
>     // Trickery discovered by Uchi Desmoulins and Gonta Maltz.
> 	// More exact value provided by Fake Fitzgerald.  
>     // Safe movement modification provided by Alias Turbo.
>     vector start_pos = llGetPos();
>     llSetPrimitiveParams([PRIM_POSITION, <1.304382E+19, 1.304382E+19, 0.0>, 
> 						PRIM_POSITION, target_pos, 
>                         PRIM_POSITION, start_pos, 
> 						PRIM_POSITION, target_pos]);
> }
> default
> {
>     state_entry()
>     {
>     }
>     touch_start(integer total_number)
>     {
>         vector start = llGetPos();
>         wiki_safe_posJump(start + <0.0, 0.0, 2000.0>);
>         llSleep(0.5);
>         llOwnerSay((string)llGetPos());
>         wiki_safe_posJump(start);
>         llSleep(0.5);
>         llOwnerSay((string)llGetPos());
>         llSleep(5.0);
>         llDie();
>     }
> }
> {code}
> The box should jump 2000 meters and come back. It makes the first jump but only moves 10 meters down.
> [2:28]  Object: <211.53320, 198.01570, 2020.28200>
> [2:28]  Object: <211.53320, 198.01570, 2010.28200>
> The only alternative we have now is the memory hungry WarpPos. I don't think this "fix" goes in the right direction when it comes to reduce the memroy used by scripts.
> ----
> h4. Known regions effected:
> Sandbox Goguen
> Hurriyet

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.secondlife.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Jira-notify mailing list