You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
The server reports incorrect parcel land capacity if region has an active object bonus greater than 1.0.
The is reflected in About Land and with llGetParcelMaxPrims(llGetPos(),FALSE).
I suspect that the region object bonus is being applied after the rounddown of parcel max prims by parcel sqm instead of before.
e.g should be int((parcel_sqm / 65536.0) * region_max_prims * region_object_bonus) instead of int((parcel_sqm / 65536.0) * region_max_prims) * region_object_bonus
This is most noticable over a parcel whose owner owns no other parcels in the region as shown in the included pic (my HUD cannot read region object bonus atm)
This does not affect actual rezzing as the region capacity max value is still correct, but it would be great to have this fixed for scripted apps and viewer referencing.
The server reports incorrect parcel land capacity if region has an active object bonus greater than 1.0.
Type
Bug
Priority
Unset
Status
Accepted
Resolution
Accepted
Reporter
Lucia Nightfire (lucia.nightfire)
Created at
2016-11-11T05:16:48Z
Updated at
2016-11-18T20:00:30Z
{
'Business Unit': ['Platform'],
"Is there anything you'd like to add?": '?',
'ReOpened Count': 0.0,
'Severity': 'Unset',
'System': 'SL Simulator',
'Target Viewer Version': 'viewer-development',
'What just happened?': 'The server reports incorrect parcel land capacity if region has an active object bonus greater than 1.0.\r\n\r\nThe is reflected in About Land and with llGetParcelMaxPrims(llGetPos(),FALSE).\r\n\r\nI suspect that the region object bonus is being applied after the rounddown of parcel max prims by parcel sqm instead of before.\r\n\r\ne.g should be int((parcel_sqm / 65536.0) * region_max_prims * region_object_bonus) instead of int((parcel_sqm / 65536.0) * region_max_prims) * region_object_bonus\r\n\r\nThis is most noticable over a parcel whose owner owns no other parcels in the region as shown in the included pic.\r\n\r\nThis does not affect actual rezzing as the region capacity max value is still correct, but it would be great to have this fixed for scripted apps and viewer referencing.',
'What were you doing when it happened?': '?',
'What were you expecting to happen instead?': '?',
}
The text was updated successfully, but these errors were encountered:
SVC-8152 was fixed as it currently caps the max prims at min(parcel max prims,region max prims) and isn't the problem here, but I see SVC-2294 is the same issue.
SVC-2294 is quite old, over 8 years, so I think it would be great to finally fix this as it is a simple rearrangement of math in the calc at the server.
Information
The server reports incorrect parcel land capacity if region has an active object bonus greater than 1.0.
The is reflected in About Land and with llGetParcelMaxPrims(llGetPos(),FALSE).
I suspect that the region object bonus is being applied after the rounddown of parcel max prims by parcel sqm instead of before.
e.g should be int((parcel_sqm / 65536.0) * region_max_prims * region_object_bonus) instead of int((parcel_sqm / 65536.0) * region_max_prims) * region_object_bonus
This is most noticable over a parcel whose owner owns no other parcels in the region as shown in the included pic (my HUD cannot read region object bonus atm)
This does not affect actual rezzing as the region capacity max value is still correct, but it would be great to have this fixed for scripted apps and viewer referencing.
Attachments
Original Jira Fields
The text was updated successfully, but these errors were encountered: