• 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-4140
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Xah Toll
Votes: 2
Watchers: 0
Operations

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

mono bug: llList2Float on a function parameter

Created: 19/Apr/09 09:48 PM   Updated: 12/Oct/09 01:27 PM
Return to search
Component/s: Scripts
Affects Version/s: 1.26 Server
Fix Version/s: 1.27 Server

Environment: N/A
Issue Links:
Duplicate
 
Parent/Child
 


 Description  « Hide
the following script gives this error, when compiled with mono:
// 2009-04-19

float randDistribution(list l1) {
  float p1 = llList2Float(l1, 0);
  return 3.;
}

default
{
    touch_start(integer num_detected)
    {
        llOwnerSay((string)randDistribution([2.,2.,2.999]));
    }
}

// Object [script:New Script]: Script run-time error
// Object [script:New Script]: System.InvalidProgramException: Invalid IL code in LSL_e6df061f_b26c_2333_0ada_8c9914e71204:grandDistribution (System.Collections.ArrayList,System.Collections.ArrayList,System.Collections.ArrayList,System.Collections.ArrayList): IL_0025: stloc.1

// at LSL_e6df061f_b26c_2333_0ada_8c9914e71204.edefaulttouch_start (Int32 num_detected) [0x00000]
// at LSL_e6df061f_b26c_2333_0ada_8c9914e71204edefaulttouch_startFrame.ResumeVoid () [0x00000]



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Homeaux Charisma made changes - 19/Apr/09 10:00 PM
Field Original Value New Value
Description the following script gives this error, when compiled with mono:

// 2009-04-19

float randDistribution(list l1) {
  float p1 = llList2Float(l1, 0);
  return 3.;
}

default
{
    touch_start(integer num_detected)
    {
        llOwnerSay( (string)randDistribution([2.,2.,2.999]));
    }
}

// Object [script:New Script]: Script run-time error
// Object [script:New Script]: System.InvalidProgramException: Invalid IL code in LSL_e6df061f_b26c_2333_0ada_8c9914e71204:grandDistribution (System.Collections.ArrayList,System.Collections.ArrayList,System.Collections.ArrayList,System.Collections.ArrayList): IL_0025: stloc.1


// at LSL_e6df061f_b26c_2333_0ada_8c9914e71204.edefaulttouch_start (Int32 num_detected) [0x00000]
// at LSL_e6df061f_b26c_2333_0ada_8c9914e71204edefaulttouch_startFrame.ResumeVoid () [0x00000]

the following script gives this error, when compiled with mono:

{code}
// 2009-04-19

float randDistribution(list l1) {
  float p1 = llList2Float(l1, 0);
  return 3.;
}

default
{
    touch_start(integer num_detected)
    {
        llOwnerSay((string)randDistribution([2.,2.,2.999]));
    }
}
{code}
// Object [script:New Script]: Script run-time error
// Object [script:New Script]: System.InvalidProgramException: Invalid IL code in LSL_e6df061f_b26c_2333_0ada_8c9914e71204:grandDistribution (System.Collections.ArrayList,System.Collections.ArrayList,System.Collections.ArrayList,System.Collections.ArrayList): IL_0025: stloc.1


// at LSL_e6df061f_b26c_2333_0ada_8c9914e71204.edefaulttouch_start (Int32 num_detected) [0x00000]
// at LSL_e6df061f_b26c_2333_0ada_8c9914e71204edefaulttouch_startFrame.ResumeVoid () [0x00000]

Strife Onizuka made changes - 20/Apr/09 05:36 AM
Link This issue child of SVC-1276 [ SVC-1276 ]
Moon Metty made changes - 20/Apr/09 07:11 AM
Link This issue duplicates SVC-3495 [ SVC-3495 ]
Moon Metty made changes - 12/Oct/09 01:27 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 1.27 Server [ 10460 ]
Resolution Duplicate [ 3 ]