Difference between revisions of "Content Creation/Scripting User Group"

From Second Life Wiki
Jump to navigation Jump to search
Line 21: Line 21:
#{{JiraIssue|VWR-28609|Please add PRIM_NAME and PRIM_DESC to keywords.ini}}  ([[User:MartinRJ Fayray|MartinRJ]])
#{{JiraIssue|VWR-28609|Please add PRIM_NAME and PRIM_DESC to keywords.ini}}  ([[User:MartinRJ Fayray|MartinRJ]])
#If I badly need an empty element (or row of empty elements) in list in mono script, what type should it be to take less memory? String right? There is something in list that conserves memory if you got same string element multiple times in a row. Please tell us more about list memory conservation tricks. ([[User:FadeOut Razorfen|FadeOut Razorfen]])
#If I badly need an empty element (or row of empty elements) in list in mono script, what type should it be to take less memory? String right? There is something in list that conserves memory if you got same string element multiple times in a row. Please tell us more about list memory conservation tricks. ([[User:FadeOut Razorfen|FadeOut Razorfen]])
#Is stuff posted on http://wiki.secondlife.com/wiki/LSL_Script_Memory about "Declaring variables inside default state" using more memory then "Declaring variables in functions" incorrect? I've done quick test, put huge BVH parsing function from the data_server event into function, and llGetFreeMemory gave me smaller result then before. ([[User:FadeOut Razorfen|FadeOut Razorfen]])
#{{JiraIssue|SVC-7779|changed() reports CHANGE_LOCOMOTION_STATE}}  ([[User:MartinRJ Fayray|MartinRJ]])
#In LSL, I use 32-bit integer as a binary map that says if I stored any data for specific thing in list. Is there any way to skip nulls in that map without directly checking them in a cycle? For example i have "10101110000000000000000000000001". "0" says that element is missing, and "1" says that there is something is stored in list for it (list has NO empty elements). Checking the row of "000000000000000000000000" is definitely bad. To skip those nulls I need to know the bit length between "1" elements. Is there any bit-wise mathematical method for it? ([[User:FadeOut Razorfen|FadeOut Razorfen]])
#In LSL, I use 32-bit integer as a binary map that says if I stored any data for specific thing in list. Is there any way to skip nulls in that map without directly checking them in a cycle? For example i have "10101110000000000000000000000001". "0" says that element is missing, and "1" says that there is something is stored in list for it (list has NO empty elements). Checking the row of "000000000000000000000000" is definitely bad. To skip those nulls I need to know the bit length between "1" elements. Is there any bit-wise mathematical method for it? ([[User:FadeOut Razorfen|FadeOut Razorfen]])
#{{JiraIssue|SVC-7779|changed() reports CHANGE_LOCOMOTION_STATE}}  ([[User:MartinRJ Fayray|MartinRJ]])
#Whats up with llOwnerSay( (string)llList2Float(["7"],0) ); outputting "7", but with llOwnerSay( (string)llList2Vector(["<1.00000, 2.00000, 3.00000>"],0) ); outputting "<0.00000, 0.00000, 0.00000>". Is it even supposed to be like that? I remember spending my first 2 days pulling hair while looking at huge code trying to figure out the problem. ([[User:FadeOut Razorfen|FadeOut Razorfen]])
#Whats up with llOwnerSay( (string)llList2Float(["7"],0) ); outputting "7", but with llOwnerSay( (string)llList2Vector(["<1.00000, 2.00000, 3.00000>"],0) ); outputting "<0.00000, 0.00000, 0.00000>". Is it even supposed to be like that? I remember spending my first 2 days pulling hair while looking at huge code trying to figure out the problem. ([[User:FadeOut Razorfen|FadeOut Razorfen]])
<br>
<br>

Revision as of 10:04, 25 March 2012

This meeting is focused on scripting in Second Life. Meetings alternate between Jira triage of the SCR project and general discussion of scripting issues.

Schedule

Mondays at 9 in Pacific time (SL standard time) at Ambleside

Also see the calendar of public user group meetings.


Agenda

Agenda for the next user group meeting is:

General Schedule:

  • 9:00 - 9:05: Welcome
  • 9:05 - 9:15: News
  • 9:15 - 10:00: Triage or Discussion


Jira Triage
First and Third Monday's of each month are Jira Triage.

We will work from this jira filter on issues in the SCR project to discuss severity and complexity of bug reports and general feasibility and usability of feature requests.


  1. VWR-28609 Please add PRIM_NAME and PRIM_DESC to keywords.ini (MartinRJ)
  2. If I badly need an empty element (or row of empty elements) in list in mono script, what type should it be to take less memory? String right? There is something in list that conserves memory if you got same string element multiple times in a row. Please tell us more about list memory conservation tricks. (FadeOut Razorfen)
  3. Is stuff posted on http://wiki.secondlife.com/wiki/LSL_Script_Memory about "Declaring variables inside default state" using more memory then "Declaring variables in functions" incorrect? I've done quick test, put huge BVH parsing function from the data_server event into function, and llGetFreeMemory gave me smaller result then before. (FadeOut Razorfen)
  4. SVC-7779 changed() reports CHANGE_LOCOMOTION_STATE (MartinRJ)
  5. In LSL, I use 32-bit integer as a binary map that says if I stored any data for specific thing in list. Is there any way to skip nulls in that map without directly checking them in a cycle? For example i have "10101110000000000000000000000001". "0" says that element is missing, and "1" says that there is something is stored in list for it (list has NO empty elements). Checking the row of "000000000000000000000000" is definitely bad. To skip those nulls I need to know the bit length between "1" elements. Is there any bit-wise mathematical method for it? (FadeOut Razorfen)
  6. Whats up with llOwnerSay( (string)llList2Float(["7"],0) ); outputting "7", but with llOwnerSay( (string)llList2Vector(["<1.00000, 2.00000, 3.00000>"],0) ); outputting "<0.00000, 0.00000, 0.00000>". Is it even supposed to be like that? I remember spending my first 2 days pulling hair while looking at huge code trying to figure out the problem. (FadeOut Razorfen)


General Discussion
Second, Fourth and Fifth Monday's of each month are general discussion.

Open discussion for specific jiras or topics brought up by attendees. Occasionally the Linden hosts may have specific topics as well.

Team

Kelly Linden and Charlar Linden. Please contact one of us if you are unsure if your topic is relevant or appropriate.

Archive

Links to chat transcripts of past meetings: