llGetParcelPrimCount ? - SLUniverse Forums
Navigation » SLUniverse Forums > Development Discussion and Support > Scripting » llGetParcelPrimCount ?


Scripting Discuss scripting and programming for SL and other platforms

 
Reply
 
LinkBack Thread Tools Display Modes
Old 08-09-2012, 05:54 AM   #1 (permalink)
Nasty Brit
 
Innula Zenovka's Avatar
Wants *things*
 
Join Date: May 2009
Posts: 6,959
SL Join Date: 17 June 2007
Business: Something Spunky
llGetParcelPrimCount ?

What does this actually return nowadays? Is it the number of prims used on the parcel (which isn't a lot of use now), or is it their total land impact?
__________________
Innula Zenovka is online now   Reply With Quote
Old 08-09-2012, 03:12 PM   #2 (permalink)
Senior Member
 
Darien Caldwell's Avatar
Mayan Time Lord
 
Join Date: Apr 2008
Location: Cali
Posts: 1,999
My Mood:
SL Join Date: 10/12/2006
Business: [H]arsh Styles
Client: Always changing, and too lazy to edit.
Quote:
Originally Posted by Innula Zenovka View Post
What does this actually return nowadays? Is it the number of prims used on the parcel (which isn't a lot of use now), or is it their total land impact?
I did a quick test, and as suspected, it's Land Impact. For all intents and purposes this is the equivalent of the legacy primcount, so makes sense.
__________________
[H]arsh Styles
Darien Caldwell is offline   Reply With Quote
1 User Said Thanks:
Old 08-09-2012, 06:49 PM   #3 (permalink)
That Bitch

*SLU Supporter*
 
Void's Avatar
Innocent as far as you know
 
Join Date: Nov 2011
Location: Online
Posts: 6,204
My Mood:
SL Join Date: late 04... that account is deleted now
I just noticed there is no "Land Impact" article on the wiki....
__________________
- These eyes can do more than see
Quote:
Originally Posted by Cajsa Lilliehook View Post
It's not enough to care about liberty if the only liberty you care about is your own.
Quote:
Originally Posted by Jupiter Firelyte View Post
Why doesn't anyone ever ask, "What is the real meaning of the winter solstice?"
Quote:
Originally Posted by Eboni Khan View Post
Thanks for being passive agressive.
Void is offline   Reply With Quote
Old 08-09-2012, 06:57 PM   #4 (permalink)
Senior Member
 
Darien Caldwell's Avatar
Mayan Time Lord
 
Join Date: Apr 2008
Location: Cali
Posts: 1,999
My Mood:
SL Join Date: 10/12/2006
Business: [H]arsh Styles
Client: Always changing, and too lazy to edit.
Quote:
Originally Posted by Void View Post
I just noticed there is no "Land Impact" article on the wiki....
hehe, yes so I see. I think it's because at first LL called it Prim Equivalence (PE). There's some links for that, though it's a mess:

https://wiki.secondlife.com/w/index....ce&redirect=no

it just redirects to another page, when then redirects to the Knowledge base. nice...

I did find one wiki page for Land Impact:
https://wiki.secondlife.com/wiki/Cal...land_impact/pt

it's only in Portugese though.
Darien Caldwell is offline   Reply With Quote
Old 08-09-2012, 07:10 PM   #5 (permalink)
That Bitch

*SLU Supporter*
 
Void's Avatar
Innocent as far as you know
 
Join Date: Nov 2011
Location: Online
Posts: 6,204
My Mood:
SL Join Date: late 04... that account is deleted now
meh, and the KB article isn't very informative on how the calculation is done...

I can't get any farther than "the higher of physics/server/download weight plus 1 rounded up" as a guess based on that article.
Void is offline   Reply With Quote
Old 08-10-2012, 01:09 PM   #6 (permalink)
Senior Member
 
Join Date: Apr 2012
Posts: 103
My Mood:
SL Join Date: March 2004
I haven't had any good resources to make articles for this topic so I've stayed away.

https://wiki.secondlife.com/w/index....&oldid=1150145
became
Calculating land impact - Second Life

I know they have been tweaking the equations recently, it's been in the server release notes.

Changed prim accounting for legacy prims which use the new accounting system:
  • All legacy-style prims have their streaming cost capped at 1.0 (except for sculpts, which will be capped at 2.0). This provides the benefit of not penalizing prim-based creators for optimizing their content by opting into the new system and will make the streaming cost more reflective of the true network cost of the objects.
  • Server cost will be adjusted to MIN{ (0.5*num_prims) + (0.25 * num_scripts), num_prims }. This preserves the current value for unscripted linksets and reduce the cost for linksets containing fewer than 2*num_prims scripts. It provides the benefit of rewarding creators for reducing the number of scripts in their objects.
Strife is offline   Reply With Quote
1 User Said Thanks:
1 User Agreed:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On