Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Restrained life environment settings

Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
04-27-2009 13:09
I have made a script to copy the environmental settings from one avi to an other - and that works just fine. That is, if the settings are all complicated and picked from the advanced environment editor they are transferred fine. If it is just simple sunset or midnight it seems like I do not need to copy all those values. Indeed, they seem to turn out to be set all wrong. Do anyone know how I can see if it is an "advanced setting" or a simple one.

-- Boreal
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
04-27-2009 16:03
Restrained Life is a Third-Party program. While some of it's functions can be manipulated using LSL commands, the fact is that the Restrained Life architecture is not a part of the Linden Scripting Language.

While you do need a basic understanding of LSL in order to implement Restrained Life functions, the fact is that many (if not most) LSL developers may have little or no practical experience with the Restrained Life API.

Much like you wouldn't come to the Scripting Tips forum looking for help using the new Barbecue you bought, or for help adding xCite functionality to a product, the unfortunate fact of the matter is that you're probably asking the wrong group of people for help.

There may be dedicated support channels for Restrained Life programming. If there are, I don't know about them, but you should definitely seek help there. If you aren't aware of any such support channels for this product, then I might suggest creating one yourself. Otherwise, your only real source of help will be reviewing the documentation that came with the product, or contacting the creator for assistance.

With this issue, you might find better luck on third-party forums, or in "Resident Answers" on the SL forums.

Good luck.
_____________________

● Inworld Store: http://slurl.eclectic-randomness.com
● Website: http://www.eclectic-randomness.com
● Twitter: @WinterVentura
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-28-2009 00:50
I haven't started digging into their api or how it works (I really want to make a virtual mannequin scriptset, so that users can page through clothing store inventories and actually SEE what it looks like on multiple models and in multiple poses... much like higher end stores that will demo different fashions for clients. unfortunately time hasn't permitted this.) your best bet right now is to hit the RLV forums (I think they have a forum for their API linked from their page?) or try talking to the creator
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
04-28-2009 10:33
RLV works off of llOwnerSay, the viewer filters these messages looking for specific commands. It's pretty straight forward and simple when you look at the API.
Beverly Ultsch
Registered User
Join date: 6 Sep 2007
Posts: 229
04-29-2009 08:53
Without seeing the script its hard to say what the poblem is.

If you have got a script to transfer settings, i dont think you really need LSL help, I agree with Winter (wrong place to post, but feel free to contact me inworld, although iI may be tied up :))

But a few pointers.

I assume from your post that you are looping though the @getenv commands and then useing the @setenv commands to transfer the settings.

Points to note:

1) setenv_daytime - resets all windlight params, so it must be the first to be called, followed by seting the windlight params.

2) non- windlight viewers only support setenv_daytime and no other parameters.


On a side note, iI think the nameing and associations of the RLV viewer is unfortunate, It includes many features that are subject to JIRA's, but because of its origins it has a bad reputation. we have llTeleport etc already.

I dont see negative discussions in other forums because alternative viewers have flexi-sculpies or shadows ( other subject of JIRAs) so why pick on RLV.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-29-2009 10:55
beverly sparked a memory, because of the nature of lists (let alone the nature of ordering)

if you don't included null settings in the reading portion, your list length will differ for the writing portion.

and then there is also the possibility that the null values are being lost on conversion (it needs to use safe list transfers, which there are scripts for on the library page of the LSL Portal)

and finally the RLV may throw errors if you try to set a duplicate or null value (though it shouldn't, but you can test and skip nulls or duplications in the writing script if needed)
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Boreal Latte
Registered User
Join date: 15 Nov 2007
Posts: 104
04-29-2009 12:59
Tx. I'll try to catch you Beverly, and yes, I know the ordering matters, and not only on the daylight settings but a lot of other settings must be in the right order as well (the intensity must be before the RGB values many places for example).

I am not aware of any forum dedicated to RLV, and I have previously found this forum to be super helpfull (on the border of physics and script for example), so I do indeed find it natual to ask scripters here. If anyone has a url to a RLV a forum I would really like to know (or IM me inworld).

Void: What a lovely idea - I know just how to do that mannequin thing - not only the execution, but also the set-up. If at sometime you want to do this - please contact me, it sounds like fun (nearly all scripts I have not yet written sounds like fun).
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-29-2009 13:10
From: Boreal Latte
I am not aware of any forum dedicated to RLV, and I have previously found this forum to be super helpfull (on the border of physics and script for example), so I do indeed find it natual to ask scripters here. If anyone has a url to a RLV a forum I would really like to know (or IM me inworld).

Void: What a lovely idea - I know just how to do that mannequin thing - not only the execution, but also the set-up. If at sometime you want to do this - please contact me, it sounds like fun (nearly all scripts I have not yet written sounds like fun).

I had thought there was an RLV forum, but I may be mistaken.

I will eventually, but it'll be a bit as I have a full plate.

Note: it really does sound like you're losing null values somewhere, which would result in the behavior of scrambled settings (as they try apply the next setting in the list which should be null but instead is the next full value)... either nulls aren't be captured, or they're being lost in send or receive conversions.

try dumping them to a string in an owner say before you send them and after they are received, and after they are rebuilt (I'm assuming this is a two part deal, if not then it's in your collection portion) that should tell you where the problem is.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Innula Zenovka
Registered User
Join date: 20 Jun 2007
Posts: 1,825
04-30-2009 08:18
If there is an rlv forum, I, too, would be most grateful for details of it.