Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 665

Warning: Invalid argument supplied for foreach() in /home/treetwik/public_html/includes/MagicWord.php on line 666

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /home/treetwik/public_html/includes/MagicWord.php on line 670
Talk:Screen Vendor Specs - TreetWiki

Talk:Screen Vendor Specs

From TreetWiki

Jump to: navigation, search
 
</pre>
</pre>
--[[User:ThraxisEpsilon|ThraxisEpsilon]] 02:51, 17 July 2009 (UTC)
--[[User:ThraxisEpsilon|ThraxisEpsilon]] 02:51, 17 July 2009 (UTC)
 +
 +
----
 +
Hmmm, doesn't that mean that the scripts need to be reset whenever a user moves the screen to another parcel?  My LSL is a bit rusty indeed, but I recall that you have to do something "special" to be sure that variables are reset in scripts at various circumstances (such as if somebody dragged the TV to another parcel).
 +
 +
I'd probably vote for just collecting the UUID, or even omitting the "owner" entirely.  I'm not sure we need to know the avatar who owns the set, and in fact, I'd probably prefer not collecting that.
 +
 +
Thoughts? [[User:Wiznord|Wiznord]] 04:29, 17 July 2009 (UTC)
 +
 +
---
 +
You're right, it is probably easier to just omit the owner info.  As llKey2Name(llGetOwner) of a group owned object returns nothing and if you just use llGetOwner, well you still don't know if it's a group or an individual who owns it.
 +
 +
--[[User:ThraxisEpsilon|ThraxisEpsilon]] 04:47, 21 July 2009 (UTC)
 +
 +
 +
----
 +
Recommended changes by Sylvio Runo from NHC Furniture who added the code to his TV sets 06Sep09)
 +
 +
 +
from : "vendor=" + llEscapeUrl("TVconcepts") +
 +
to : "vendor=" + llEscapeURL("TVconcepts") +
 +
 +
 +
from :  "&parcel=" + llEscapeURL((string)llGetParcelDetails([PARCEL_DETAILS_NAME]) +
 +
to : "&parcel=" + llEscapeURL(llList2String(llGetParcelDetails(llGetPos(), [PARCEL_DETAILS_NAME]),0)) +
 +
 +
-----
 +
Recommended changes from Vince Vlodovic (08 Sep 09)
 +
 +
I wanted to mention the lsl example code on the wiki is incorrect and won't function as-is.
 +
 +
Corrected code looks like:
 +
 +
string media = "http://streams.treet.tv/live.mov?" +
 +
"vendor=" + llEscapeURL("IcarusHomeAndLighting") +
 +
"&scrid=" + llEscapeURL("V1001") +
 +
"&ver=" + llEscapeURL("2.0") +
 +
"&region=" + llEscapeURL(llGetRegionName()) +
 +
"&parcel=" + llEscapeURL((string)llGetParcelDetails(llGetPos(),[PARCEL_DETAILS_NAME])) +
 +
"&owner=" + llEscapeURL(llKey2Name(llGetOwner()));
 +
-----
 +
Mucho thank you Vince.  I changed the main page so that llGetParcelDetails contains the correct calling sequence.
 +
 +
[[User:Wiznord|Wiznord]] 23:11, 14 September 2009 (UTC)

Current revision as of 23:11, 14 September 2009

Personal tools