Commit Graph

433 Commits

Author SHA1 Message Date
UbitUmarov
c92ba1cc04 shut up some pesty warnings 2018-01-15 16:23:19 +00:00
UbitUmarov
a1aa2f1add Merge branch 'master' into httptests 2017-08-24 02:18:40 +01:00
UbitUmarov
c5802c9460 change a few more parcel eject code paths 2017-08-24 01:47:01 +01:00
UbitUmarov
74524cb3be (un)eject flag is only lowest bit, only protect active gods from freeze; do not check landing point (telehubs) on eject. 2017-08-24 01:30:57 +01:00
UbitUmarov
6d4b0a8ce3 Merge branch 'master' into httptests 2017-08-16 05:05:57 +01:00
UbitUmarov
6996bab4a1 display remaining pass time in hours, mins or seconds acording to value 2017-07-26 20:13:30 +01:00
UbitUmarov
0b23964349 change buypass insuficent funds to make clear that its on that region money system (buypass now uses the new MoveMoney) 2017-07-26 19:12:12 +01:00
UbitUmarov
0bbe7bab7b add new funtion bool MoveMoney(UUID fromUser, UUID toUser, int amount, MoneyTransactionType type, string text). this should be called async allowing time for money module to process it. If returns true, the transation did sucess, so if its use was to pay something, the payed item/service must be provided without fail, otherwise another method is needed so a refund is possible 2017-07-26 19:01:11 +01:00
UbitUmarov
a91ceae826 add comments to make that more clear 2017-07-26 14:26:28 +01:00
UbitUmarov
025e82341f do not allow setting land passes on group owned land, because currently we cant give money to the group 2017-07-26 14:24:21 +01:00
UbitUmarov
74389c74cb only allow pass renovation on the last quarter of parcel pass time. go back to MoneyMove charging method 2017-07-26 12:58:47 +01:00
UbitUmarov
8739ceb00f lets try using older EventManager.TriggerMoneyTransfer to pay parcel passes 2017-07-25 04:18:38 +01:00
UbitUmarov
86c9c86eeb allow pass recharge with no loss of current time up to 1/4 of parcel pass time. 2017-07-25 03:13:03 +01:00
UbitUmarov
c5b34a51fd Ooops.. pay to land owner, not grid. group owned parcel not suported for now. (the pass already expired with kick action) 2017-07-25 02:39:12 +01:00
UbitUmarov
81d1ebc510 add first code to process parcel buy pass. Still testing, and still no kick on expire ( does expire on entry ) 2017-07-25 01:30:35 +01:00
UbitUmarov
13564aa984 only hide parcel info from banned avatars 2017-07-24 22:04:36 +01:00
UbitUmarov
fe6ad384e4 merge 2017-07-20 11:30:12 +01:00
UbitUmarov
aff9c345dd osSetParcelDetails: add more land update code 2017-07-12 07:27:21 +01:00
UbitUmarov
7d58b73bbc some changes on pollevent 2017-06-06 21:55:47 +01:00
UbitUmarov
52dd683326 fix a null ref on parcels join 2017-05-19 18:03:02 +01:00
UbitUmarov
7c9615f000 fix land parcel group been lost on region upload 2017-05-19 17:35:49 +01:00
UbitUmarov
156707edfb clear land object on delete 2017-05-14 06:27:29 +01:00
UbitUmarov
92df6095d5 don't round to nearest int 2017-05-14 05:49:01 +01:00
UbitUmarov
f968118e23 don't do dwell if there is no module active 2017-05-14 05:39:22 +01:00
UbitUmarov
9ab8ce1404 fix remote requests for dwell, so dwell module still called 2017-05-14 04:17:48 +01:00
UbitUmarov
cb21caae77 fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox. 2017-05-14 01:44:04 +01:00
UbitUmarov
25ca8695f3 find parcels by GlobalID.. well most time 2017-05-13 20:21:56 +01:00
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