• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1485
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Unassigned
Reporter: Evo Commons
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC
SVC-1039

Script reset while in a script state without a touch event breaks touch events until recompile.

Created: 08/Feb/08 03:40 PM   Updated: 25/Aug/09 05:59 AM
Return to search
Component/s: Scripts
Affects Version/s: None
Fix Version/s: None

Environment: Macbook Pro - Mac OS 10.5.1
Issue Links:
Duplicate
 
Relates
 


 Description  « Hide
If you reset a script using the reset button in the editor while the script is currently in a non-default state that does not include a touch event (including _start/_end) touch events break until the script is recompiled.

This is true both on the main grid and on mono adti. The following script/output demonstrates.

default
{
    state_entry()
    {
        llOwnerSay( "default" );
        state on;
    }

    touch_start(integer total_number)
    {
        llSay(0, "default touch.");
    }
}

state on
{
    state_entry()
    {
        llOwnerSay( " on " );
    }

    touch_start(integer total_number)
    {
        llSay(0, "on touch.");
        state off;
    }
}

state off
{
    state_entry()
    {
        llOwnerSay( " off " );
    }
}

//Script saved
[15:37] Object: default
[15:37] Object: on
// Touched
[15:38] Object: on touch.
[15:38] Object: off
// Touched
// Reset
[15:38] Object: default
[15:38] Object: on
//Touched
//Touched
//Touched
// Recompile = Start at top



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Coyote Pace added a comment - 16/Apr/08 06:48 PM
This looks like the same problem as SVC-1039 but triggered via the Reset button instead of llResetScript() – but I'll let an expert decide if it's a real dupe.

Strife Onizuka added a comment - 27/May/08 04:20 PM
This is the same issue as SVC-1039. I'm going to mark this as duplicate and reopen the other issue.

Strife Onizuka added a comment - 27/May/08 04:23 PM
On retrospect I thought it would be better as a sub-task of SVC-1039

Babbage Linden added a comment - 04/Jun/08 08:37 AM
Couldn't repro on 1.21.1.88422