Commit Graph

406 Commits

Author SHA1 Message Date
UbitUmarov
9a01fddd1c add CanSellObject() permitions check functions 2017-03-30 17:39:21 +01:00
UbitUmarov
d4111ff670 fix SimwideArea again 2017-01-27 20:59:56 +00:00
UbitUmarov
0091c37ed3 several changes relative to objects return and parcel prim counts: avoid null refs, report correct count of returned objects, make obkects counts by ownership coerent with return rules, etc 2017-01-27 20:21:24 +00:00
UbitUmarov
c673ef7e3c replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module 2017-01-22 23:05:39 +00:00
UbitUmarov
b20bd1a9df change the initialization point of SimwideArea 2017-01-21 03:35:59 +00:00
UbitUmarov
85a31c9e76 initialize SimwideArea 2017-01-21 02:29:08 +00:00
UbitUmarov
6826ca9b57 fix the meaning of objectDuplicate[OnRay]() flags parameter but still not using it 2017-01-19 18:25:25 +00:00
Melanie Thielker
6d44ee9099 Change improperly named isNPC to be IsNPC as a property should be uppercase 2017-01-07 20:30:51 +00:00
UbitUmarov
f46d70ada5 try to work around some broken viewers math on handles 2017-01-07 12:18:44 +00:00
Melanie Thielker
ad8915f154 Restructure god level and permissions
Create a class GodController which controls all aspects of god level,
viewer modes and user levels at ScenePresence level.
2017-01-06 00:55:14 +00:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
UbitUmarov
70475c676b dont try to use a parcelID as encoded position when it is not 2016-12-23 14:25:22 +00:00
UbitUmarov
50842347ac fix: check for region_handle before region_id, viewers are so funny.. 2016-12-14 04:00:48 +00:00
UbitUmarov
f9b62b5680 work around viewers not suporting large regions on landmark creation. They still may display wrong offset; don't let inventory description be limited by asset description side on a ossl method 2016-11-24 20:53:04 +00:00
UbitUmarov
7494d7726a change math on GetParcelMaxPrimCount and GetSimulatorMaxPrimCount to reduce round errors, limit both to region max prims. consider ObjectBonus on last one also. Change a variable name in PrimLimitsModule to make it more clear 2016-10-11 01:14:53 +01:00
UbitUmarov
76a2d90dad remove attachment to event OnPreAgentUpdate that is doing nothing 2016-10-05 13:38:12 +01:00
tglion
0e68742afc Fix some wrong handling of booleans for SeeAVs, AnyAVSounds and GroupAVSounds fields in sqlite3-database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-09-05 08:39:16 +01:00
UbitUmarov
7d968213fd fix region Allow damage and parcel safe flags handling 2016-08-17 23:33:11 +01:00
UbitUmarov
3f0d84c28b cleanup some code 2016-07-25 19:49:40 +01:00
UbitUmarov
d6d3e14f29 add a missing update to avatar damage Invulnerable 2016-07-24 19:31:28 +01:00
UbitUmarov
90b825cda8 if a NPC is owned, allow access if ownerID matchs parcel owner or it is in the access list. option OS_NPC_OBJECT_GROUP it still needed if access is by group (this option should also work with not owned NPC) NEEDS TESTING, may prove to be a bad solution 2016-06-28 23:30:04 +01:00
Diva Canto
12b73603cc Still related to mantis #7917, parcel prims info. Now sending the correct numbers for "Simulator primitive usage" related to the parcel owner, not the entire region. 2016-06-19 09:17:04 -07:00
Diva Canto
ce7fa728ef Mantis #7917: regression on prim limits module. 2016-06-18 22:07:01 -07:00
Diva Canto
53d8b8a83f Mantis #7874: parcel properties not being updated upon avatar entering new parcel. Root cause: update of the avatar's current property was being made too soon. 2016-06-11 10:23:07 -07:00
Melanie Thielker
a01f24e331 Replace the "land show" method with the better one from 0.8. 2016-04-28 16:13:23 +02:00
UbitUmarov
f8f28311bf stop avatar move to target on parcel ban enforce 2016-01-01 23:03:46 +00:00
UbitUmarov
41ae6f06e0 several changes to parcels access control and scenepresence updates rates 2015-12-16 22:16:51 +00:00
UbitUmarov
1d131a0c33 make parcel bans do something on vehicles. Just a first code, far from good 2015-12-15 21:00:06 +00:00
UbitUmarov
b7155f5651 fix typo 2015-12-15 18:32:02 +00:00
UbitUmarov
c7b963df8f replace GetNearestPoint... funtions 2015-12-15 17:13:32 +00:00
UbitUmarov
9db987b6f9 some changes parcels AABB math etc 2015-12-15 11:46:50 +00:00
UbitUmarov
4805e91d39 dont round to nearest int when checking position in parcel since next high int can be on other parcel 2015-12-15 04:10:47 +00:00
UbitUmarov
35b88b6580 removed unneeded funtions 2015-12-14 12:47:17 +00:00
UbitUmarov
e37e8c3bdf on join parcels, keep the information of the larger parcel, since thats how its expected now 2015-12-14 12:29:00 +00:00
UbitUmarov
2a354f6c28 calculate land startpoint, endpoint and center estimate when it is updated, it not every time they are needed 2015-12-14 11:57:24 +00:00
UbitUmarov
ca6b5fc80d taint prim count when join or subdivide parcels 2015-12-13 18:22:46 +00:00
UbitUmarov
736bcc70fe change default landpoint type to anywhere (direct) 2015-12-13 18:07:40 +00:00
UbitUmarov
819fe96503 invalidate LandPoint on land subdivide 2015-12-12 17:32:59 +00:00
UbitUmarov
4d493dd32e make sure land access/ban lists are active when changed by new viewers 2015-12-12 15:40:09 +00:00
UbitUmarov
3781c486c6 fix land access/ban list sending for new viewers 2015-12-12 13:05:24 +00:00
Jak Daniels
b23e5fd8b6 Changes to LandObject/ILandObject to support importing OARs with different Region sizes to the destination region.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2015-11-22 01:31:48 +00:00
Robert Adams
e5367d822b Merge of ubitworkvarnew with opensim/master as of 20150905.
This integrates the OpenSim refactoring to make physics, etc into modules.
AVN physics hasn't been moved to new location.
Does not compile yet.

Merge branch 'osmaster' into mbworknew1
2015-09-08 04:54:16 -07:00
UbitUmarov
a11edceb00 seems to compile ( tests comented out) 2015-09-02 19:54:53 +01:00
UbitUmarov
371c9dd2af bad merge? 2015-09-01 14:54:35 +01:00
Diva Canto
ce2c67876e More namespace and dll name changes. Still no functional changes. 2015-08-30 21:05:36 -07:00
UbitUmarov
c24f3b4f5e minor changes 2015-08-31 04:37:52 +01:00
Diva Canto
2c0cad6dd3 Renamed the namespaces too 2015-08-30 20:29:31 -07:00
UbitUmarov
8a8acc41bb stop sending parcel overlays on parcels crossings since SL seems to have
stop sending also
2015-08-28 03:59:25 +01:00
UbitUmarov
3829df1059 try to implement core load oar options 2015-08-24 17:05:16 +01:00
Robert Adams
30f9e5372e Only send parcel layer data around the point of interest. Can be disabled
by setting [LandManagement]LimitParcelLayerUpdateDistance=false
New parameters added to OpenSimDefaults for the distance and enablement.
2015-05-03 21:56:41 -07:00