Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetPrimitivePrams() !!!

Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
12-09-2009 11:56
At Babbage's office hour meeting this morning, amongst other things, Babbage announced that llGetPrimitiveParms() is coming. Yay. Also, a new constant PRIM_TEXT is on it's way as well so hover text can be set via another prim as well.

Just thought everyone would want to know :)
Viktoria Dovgal
Join date: 29 Jul 2007
Posts: 3,593
12-09-2009 12:00
All I can picture now are little cave babies dragged around on sleds.
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
12-09-2009 13:16
The added functionality will be great, and the copybot argument sideshow will be even more fun.

ETA: oops! I read that as llGetLinkPrimitiveParams at first. Er... There already is an llGetPrimitiveParams, isn't there?
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
12-09-2009 13:20
From: Pete Olihenge
The added functionality will be great, and the copybot argument sideshow will be even more fun.

Copybot scripts! End of the world!! Nooooooozzz!

There. Happy?

From: Pete Olihenge
ETA: oops! I read that as llGetLinkPrimitiveParams at first. Er... There already is an llGetPrimitiveParams, isn't there?

/me suspects that's a typo in the OP and it is indeed GetLinkPrimitiveParams.

edit: /me starts digging through http://wiki.secondlife.com/wiki/User:Babbage_Linden/Office_Hours/2009_12_09.

From: Babbage

.
.
This week we got a simulator with C# support deployed internally for evaluation by Lindens
.
.
we've also been firming up our plans for efficient scripts
the minimum feature set will be llSetLinkPrimitiveParamsNoDelay
llGetLinkPrimitiveParams
and a PRIM_TEXT constant for setting text on a linked prim
.
.
kelly wrote a hair resize script with the new functions
and it uses 16K on LSL instead of 1664K
for a 103 prim resizable hairdo
so, a couple of orders of magnitude more memory efficient
and easier to develop too as you only have to use 1 script, instead of managing lots of scripts sprinkled through the linkset
.
.
i've also continued to track down the problem with sim freezes on script rez
it looks like a stall in the mono runtime
so I'm now working with the mono developers to track it down
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
12-09-2009 13:21
From: Sindy Tsure
Happy?
:) :) :) :) :)
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-09-2009 13:53
now if it'll just support multiple specified prim targets... (hey I can dream can't I?)
_____________________
|
| . "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...
| -
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
12-09-2009 14:26
From: Void Singer
now if it'll just support multiple specified prim targets... (hey I can dream can't I?)
I can just picture an llGetLinkListPrimitiveParams comimg along but without an llSetLinkListPrimitiveParams...
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-09-2009 22:09
From: Pete Olihenge
I can just picture an llGetLinkListPrimitiveParams comimg along but without an llSetLinkListPrimitiveParams...

stop it, stop being logical, you're not helping!!! =P
_____________________
|
| . "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...
| -
Indeterminate Schism
Registered User
Join date: 24 May 2008
Posts: 236
12-10-2009 01:35
Yaaaa! The best bits from the 'Bnabbage Linden asks ...' thread. This should make quite a difference, as Kelly's resizer shows. I'm happy.

llSetLinkPrimitiveParamsNoDelay should mean there's no huge upset about not being able to target a list of prims either. It'd be nice to do the one call but as long as there's no artificial delay on the funciton I can live with having to use lots of llSetLink...()s
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
12-11-2009 12:06
/me goes on record to say that this llSetLinkPrimParamsReeeealyQuickly stuff will be the cause of future problems.

Neat? Sure! Needed? You bet! The source of tons of future scripts blasting object updates out at insane rates? Oh, yes.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
ElQ Homewood
Sleeps Professionally
Join date: 25 Apr 2007
Posts: 280
12-11-2009 12:54
This is still good news, though. It'll definitely make a difference in number of scripts. I still wanna know why the emerald team can do llTextbox but the Lindens can't. oh well
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-11-2009 15:08
so is there a delay on the get side? cause that'd be problematic to such a script too.
_____________________
|
| . "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...
| -
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
12-11-2009 15:49
From: Void Singer
so is there a delay on the get side?

Nope. Near as I can tell, there will be no-delay versions of get and set.
_____________________
Sick of sims locking up every time somebody TPs in? Vote for SVC-3895!!!
- Go here: https://jira.secondlife.com/browse/SVC-3895
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
12-13-2009 17:38
From: Sindy Tsure
/me suspects that's a typo in the OP and it is indeed GetLinkPrimitiveParams.


Yep, was a typo... fixed it.
Angela Talamasca
VR Hacks
Join date: 20 Feb 2007
Posts: 58
12-14-2009 23:02
From: Johan Laurasia
At Babbage's office hour meeting this morning, amongst other things, Babbage announced that llGetPrimitiveParms() is coming. Yay. Also, a new constant PRIM_TEXT is on it's way as well so hover text can be set via another prim as well.

Just thought everyone would want to know :)


Ummm, llGetPrimitiveParams() already exists. Am looking forward to the PRIM_TEXT param, though. That will greatly reduce scriptage!
_____________________

Blog: http://blog.vrhacks.net
AUSL: http://www.avatarsunited.com/avatars/angela-talamasca
AUBM: http://www.avatarsunited.com/avatars/angela-talamasca-blue-mars
Ephraim Kappler
Reprobate
Join date: 9 Jul 2007
Posts: 1,946
12-14-2009 23:25
From: Johan Laurasia
Yep, was a typo... fixed it.

Only in the title. The body of your post still says llGetPrimitiveParams().

From: Angela Talamasca
Ummm, llGetPrimitiveParams() already exists. Am looking forward to the PRIM_TEXT param, though. That will greatly reduce scriptage!

OP should be excused for the persistent typo: he was clearly in a highly excited state, bless him.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
12-14-2009 23:54
From: Ephraim Kappler
Only in the title. The body of your post still says llGetPrimitiveParams().


OP should be excused for the persistent typo: he was clearly in a highly excited state, bless him.


lol right, and omg the PRIM_TEXT will be so useful, no more multiple scripts just to receive a simple link message of what to display, but i do wonder if the GetPrimitiveParams will be able to extract that text. i would assume the server somehow has to know what text is displayed to be able to send it to the client for rendering
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Indeterminate Schism
Registered User
Join date: 24 May 2008
Posts: 236
12-15-2009 05:55
It doesn't seem likely that you'll be able to use llGetLinkPrimitiveParams() to read the hovertext currently displayed on a linked prim - after all, there's no way to read it in the current prim, is there, only llSetText()
Tharkis Olafson
I like cheese
Join date: 17 Nov 2004
Posts: 134
12-15-2009 06:45
Can someone give me an idea as to what PRIM_TEXT is all about?
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
12-15-2009 07:24
From: Tharkis Olafson
Can someone give me an idea as to what PRIM_TEXT is all about?

I think that's an alternative for llSetText. That'd be quite nice..
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Tharkis Olafson
I like cheese
Join date: 17 Nov 2004
Posts: 134
12-15-2009 07:30
Yeah but what exactly? Is it like XYtext meaning it's text that is actually on the face of a prim? or is it just another implementation of hovertext? I can't seem to find any information on it.
Meade Paravane
Hedgehog
Join date: 21 Nov 2006
Posts: 4,845
12-15-2009 07:49
From: Tharkis Olafson
Yeah but what exactly? Is it like XYtext meaning it's text that is actually on the face of a prim? or is it just another implementation of hovertext? I can't seem to find any information on it.

llSetText is floaty hovertext.
_____________________
Tired of shouting clubs and lucky chairs? Vote for llParcelSay!!!
- Go here: http://jira.secondlife.com/browse/SVC-1224
- If you see "if you were logged in.." on the left, click it and log in
- Click the "Vote for it" link on the left
Tharkis Olafson
I like cheese
Join date: 17 Nov 2004
Posts: 134
12-15-2009 08:15
Why would we need an alternative for something that exists and works already? I'm just a little confused. Unless this is an actual property of the prim itself as opposed to needing a script to set it? If this was the case, it'd be real handy if you could set additional parameters of the floating text itself.. But hey that's wishful thinking I guess.
Pete Olihenge
Registered User
Join date: 9 Nov 2009
Posts: 315
12-15-2009 08:22
From: Tharkis Olafson
Why would we need an alternative for something that exists and works already? I'm just a little confused. Unless this is an actual property of the prim itself as opposed to needing a script to set it? If this was the case, it'd be real handy if you could set additional parameters of the floating text itself.. But hey that's wishful thinking I guess.
llSetText only works for the prim in which the script is in. Using PRIM_TEXT means that a single central script can set the floating hovertext for all the prims in the linkset, rather than having to use a script in each prim to do it. Floating text *is* a prim property, *but* it can only be set (or erased) using a script. PRIM_TEXT is intended to be an additional parameter for llSetLinkPrimitiveParams (and its relatives), which you can already use to set many other prim parameters.
Jack Abraham
Lantern By Day
Join date: 11 Apr 2008
Posts: 113
12-15-2009 08:38
Because we can't llSetText in a linked prim. I have to use 17 extra scripts in my HUD because of that; the ability to do it from a central point both makes more sense and is more efficient.
1 2