MantisBT - opensim
View Issue Details
0008035opensim[REGION] Specific OpenSim Modulepublic2016-10-10 12:042018-11-08 14:19
Bernd Steinhardt 
 
normalminoralways
newopen 
ServerWindows2008 R2
 
 
0.8.2.1
Grid (Multiple Regions per Sim)
BasicPhysics
Mono / Windows
None
Firestorm
0008035: Parcel Primlimit does not work correctly
The primlimit-module is not limiting the prims of a parcel correctly. It allows to rezz prims up to the region limit.
Rezzing prims on a small parcel over the parcel/owner-primlimit.
The primlimit-module is comparing the existing prims of the parcel (land) with the limit of the complete region instead of the Limit of the parcel (per owner).

PrimLimitsModule.cs:

Changing

            int simulatorCapacity = lo.GetSimulatorMaxPrimCount();
            if ((objectCount + lo.PrimCounts.Total) > simulatorCapacity)
            {
                response = "Unable to rez object because the parcel is too full";
            }

to

            int PrimsFree = lo.GetPrimsFree();
            if (objectCount > PrimsFree)
            {
                response = "Unable to rez object because the land is too full.";
            }

solves the Problem.
No tags attached.
Issue History
2016-10-10 12:04Bernd SteinhardtNew Issue
2016-10-10 12:53UbitUmarovNote Added: 0031197
2016-10-10 17:41UbitUmarovNote Added: 0031198
2018-07-11 10:51UbitUmarovNote Added: 0032778
2018-07-13 06:47Fly-Man-Note Added: 0032782
2018-07-13 09:41UbitUmarovNote Added: 0032792
2018-08-12 02:30Luisillo_ContepomiNote Added: 0032855
2018-11-03 13:36Bernd SteinhardtNote Added: 0033393
2018-11-04 14:24Luisillo_ContepomiNote Added: 0033394
2018-11-08 13:06Bernd SteinhardtNote Added: 0033449
2018-11-08 13:53UbitUmarovNote Added: 0033451
2018-11-08 14:11aiaustinNote Added: 0033452
2018-11-08 14:14aiaustinNote Edited: 0033452bug_revision_view_page.php?bugnote_id=33452#r7322
2018-11-08 14:15aiaustinNote Edited: 0033452bug_revision_view_page.php?bugnote_id=33452#r7323
2018-11-08 14:19UbitUmarovNote Added: 0033453

Notes
(0031197)
UbitUmarov   
2016-10-10 12:53   
it actually looks more broken than that :(
(0031198)
UbitUmarov   
2016-10-10 17:41   
did a few fixes elsewhere, region bonus should now work on this.
in this module the capacity of a parcel is the sum of the capacities of all parcels with same owner. If for example, you own all parcels, you can put all prims in a small one up to region limit. This a OpenSim feature not a bug.
(0032778)
UbitUmarov   
2018-07-11 10:51   
is this still a issue on 0.9.0.1 or master?
(0032782)
Fly-Man-   
2018-07-13 06:47   
Yes, this is still an issue as it still counts towards the total allowance of prims of the region instead of the parcel the user is on.
(0032792)
UbitUmarov   
2018-07-13 09:41   
the parcel is not the spec. See comment above.
(0032855)
Luisillo_Contepomi   
2018-08-12 02:30   
If you have two parcels in the same region you have permit build the sum of both parcel in the region. You can build all prims in one parcel and nothing in the other. Is not a bug.
(0033393)
Bernd Steinhardt   
2018-11-03 13:36   
Sorry for the delayed Response.
Yes, I know the summarizing of the prims from different parcels and have tested various scenarios. The ability of rezing prims is only limited by the regions limit ... in version 0.8.2.1.
A few days ago I updated to Version 0.9.0.1. I will check if the issue is still present and report here.
(0033394)
Luisillo_Contepomi   
2018-11-04 14:24   
Confirmed in 0.9.0.1Dev (11.04.18)
(0033449)
Bernd Steinhardt   
2018-11-08 13:06   
Now I have tested it in version 0.9.0.1: The behavior has changed against 0.8.2.1 and it is better, but still not correct.

Test scenario:
Rezing avatar: Land owner, not the Region owner, no god rights

1) 1 parcel, prim limit 24
- rezing 24 prims - rezing works properly
- Try to rez a 25th prim - rezing is skipped and error message
Result: OK

2) Owner gets a 2nd parcel in the same region, now 2 parcels, each 24 prims, in sum 49 prims
- Parcel 1: Rezing no prims
- Parcel 2: rezing 49 prims - rezing works properly
- Parcel 2: Try to rez a 50th prim - rezing is skipped and error message
Result: OK

3) Now it's getting funny...
- Parcel 1: Rezing 3 prims
- Parcel 2: rezing 46 prims - rezing works properly
- Parcel 2: rezing 3 more prims - rezing works properly
- Parcel 2: Try to rez a 50th prim - rezing is skipped and error message
- Parcel 1: rezing 46 more prims - rezing works properly
- Parcel 1: Try to rez a 50th prim - rezing is skipped and error message
- Now the owner has 98 prim on his 2 parcels, with a sum prim Limit of 49
Result: Not OK

It seems the prim limit module summarizes the prim limit correctly, but not the rezed prims of different parcels
(0033451)
UbitUmarov   
2018-11-08 13:53   
made a change on master, thx
(0033452)
aiaustin   
2018-11-08 14:11   
(edited on: 2018-11-08 14:15)
@Ubit... will the commit just made work in way users might expect? Does it add all objects served in all parcels owned within one region (expected behaviour I believe) or add up objects in all parcels in all regions within one Opensim.exe instance?

(0033453)
UbitUmarov   
2018-11-08 14:19   
Not on a instance, just relevant scene/region