UbitUmarov
9a4afa753b
fix NULL references added in recente changes in standalone mode
2016-07-30 20:56:19 +01:00
UbitUmarov
e62f8fd09e
change RegionInfoCache expires control
2016-07-30 20:08:14 +01:00
UbitUmarov
bf593dd6f4
fix RegionInfoCache keys compare, remove RegionCache now replaced by RegionInfoCache
2016-07-30 17:14:17 +01:00
UbitUmarov
79b7787eff
let LocalGridServiceConnector also have a RegionInfoCache, use the remote one if this is active.
2016-07-30 14:35:43 +01:00
UbitUmarov
6cd0a3e07c
fix cAgent.CrossingFlags
2016-07-30 04:25:32 +01:00
UbitUmarov
b44b898331
remove a unused parameter
2016-07-30 03:45:58 +01:00
UbitUmarov
a1759292c8
add a regionInfoCache cache add region with expire time option
2016-07-30 03:31:03 +01:00
UbitUmarov
202212bcbc
add a regionInfoCache get by world 2D position
2016-07-30 03:13:23 +01:00
UbitUmarov
55b2d01028
in RegionInfoCache, replace lib omv ExpireCaches by a single dedicated one
2016-07-30 01:44:33 +01:00
UbitUmarov
3d58198c55
fix llEdgeOfWorld() for var regions (someone needs to test this better
2016-07-29 00:55:40 +01:00
UbitUmarov
c692664f3d
a zero direction vector in llEdgeOfWorld() should return TRUE not FALSE, (SL wiki)
2016-07-28 21:37:16 +01:00
UbitUmarov
16a7232f55
revert adding a new IM parameter ( commit bf604c85c6
...
, that was a mistake. this should fix invites accepts etc, that got broken
2016-07-28 08:22:51 +01:00
UbitUmarov
19df2a2916
remove more code related to Mega regions
2016-07-28 01:00:56 +01:00
UbitUmarov
7a69b7d20d
remove more code related to Mega regions
2016-07-28 00:48:12 +01:00
UbitUmarov
ec8101a24a
remove references to RegionCombinerModule
2016-07-28 00:34:16 +01:00
UbitUmarov
a8e19b7831
remove the RegionCombinerModule (mega regions), references still all over the place. runprebuild maybe needed after this
2016-07-28 00:12:07 +01:00
UbitUmarov
01289b9c2d
first step removing MegaRegions: refuse to run. Thanks to all that made MegaRegions possible, they where a important OpenSim feature, but can no longer be mantained
2016-07-27 23:13:24 +01:00
UbitUmarov
9aacdca653
but buoyancy was missing
2016-07-27 21:32:47 +01:00
UbitUmarov
32e30afbcb
actually that was redundante, already done at low level
2016-07-27 21:31:43 +01:00
UbitUmarov
8c46ab02c7
move refresh forces into applyphysics
2016-07-27 21:11:39 +01:00
UbitUmarov
e951f4cc96
a few more changes relative to sits crossing
2016-07-27 14:28:16 +01:00
UbitUmarov
07853c86ed
clear SitTargetAvatar on a sop copy
2016-07-27 11:45:32 +01:00
UbitUmarov
2e4c8798ab
a few more changes on avatar crossing
2016-07-27 03:50:47 +01:00
UbitUmarov
f4fa891928
waste another thread job on another thing that should be part of a more
...
unified service, and also not hidding on a so called event"
2016-07-27 02:54:49 +01:00
UbitUmarov
d6e16c5130
missing changes about friends on crossings, and missing angular velocity clear on sits
2016-07-27 01:57:20 +01:00
UbitUmarov
800044cead
take friends out of onMakeRoot if crossing
2016-07-26 22:30:51 +01:00
UbitUmarov
f19b3d28bd
do GridUserService.SetLastPosition async on crossings
2016-07-26 22:09:06 +01:00
UbitUmarov
e0e8b784a5
apply the change to groups v2 also
2016-07-26 21:43:26 +01:00
UbitUmarov
52decfcc16
reduce some grid services calls on region crossings, sending more information on the agent update ( groups v2 needs change )
2016-07-26 21:39:47 +01:00
UbitUmarov
1a8a8e16ef
add a public SetGroupPowers to clientView
2016-07-26 17:57:14 +01:00
UbitUmarov
13ae6dff18
let some group related data to have a public set
2016-07-26 17:34:59 +01:00
UbitUmarov
e766f9d20f
get a copy of current clientView group powers
2016-07-26 16:54:04 +01:00
UbitUmarov
3f0d84c28b
cleanup some code
2016-07-25 19:49:40 +01:00
UbitUmarov
67a32c91bb
remove redundant check
2016-07-25 08:45:15 +01:00
UbitUmarov
1d507f8073
remove extra char
2016-07-25 08:38:10 +01:00
UbitUmarov
fcdf0b00b1
add give a body to default rootVelocity
2016-07-25 07:24:39 +01:00
UbitUmarov
2548f240b5
add missing overrides
2016-07-25 07:18:23 +01:00
UbitUmarov
aa9503ab86
revert bad last changes and fix the issue another way
2016-07-25 07:06:36 +01:00
UbitUmarov
f661fdf2aa
ubOde bug fix
2016-07-25 06:07:06 +01:00
UbitUmarov
c3b298f85e
missing file
2016-07-25 02:11:45 +01:00
UbitUmarov
4b832f0f8e
add osGetHealRate(avatarkey) and osSetHealRate(avatarkey, healrate); healrate from 0 (disables auto heal) to 100 (maybe too fast) % per second. (untested)
2016-07-25 02:05:53 +01:00
UbitUmarov
e60dc305a4
change bullet relative velocity sign to match ubOde
2016-07-25 01:07:19 +01:00
UbitUmarov
76239602b4
change avatar Health, from bad penetration depth to relative velocity
2016-07-25 00:51:37 +01:00
UbitUmarov
42a072d181
preserve max relative velocity on a colision report time slice
2016-07-25 00:47:43 +01:00
UbitUmarov
0a9f06fda7
ubOde actually revert last change don't send unnecessary empty collisions, will patch it elsewhere
2016-07-24 22:33:31 +01:00
UbitUmarov
c303cf7412
ubOde still on relative velocity. Make ubOde report avatar empty collisions to tick events on core. Avn didn't require this, core should not require also (TODO)
2016-07-24 22:28:45 +01:00
UbitUmarov
a572a22dd9
ubOde try to improve contact velocity on first avatar collision with terrain
2016-07-24 21:29:34 +01:00
UbitUmarov
574b97d93d
ubOde fix contact relative velocity sign
2016-07-24 21:16:14 +01:00
UbitUmarov
d6d3e14f29
add a missing update to avatar damage Invulnerable
2016-07-24 19:31:28 +01:00
UbitUmarov
2bb467e358
add osSetHealth() value from 1 to 100; (mantis 7973)
2016-07-24 16:31:29 +01:00
UbitUmarov
37936550f0
reOoops ...
2016-07-24 15:55:31 +01:00
UbitUmarov
4fa8debde5
Ooops ...
2016-07-24 15:43:35 +01:00
UbitUmarov
bf604c85c6
add missing IM parameter ( needs fix where it is really relevant )
2016-07-24 15:17:25 +01:00
UbitUmarov
96a5a053ef
do not send IMs via child agents
2016-07-24 14:44:40 +01:00
UbitUmarov
f4eb1a8e1d
add a coment for improvement of ChatterBoxSessionAgentListUpdates closer to viewers protocol. Not necessary on current groups chat lists defecient implementation
2016-07-23 21:20:36 +01:00
UbitUmarov
c4db0dd6ac
change group lists control so it does show something (only xmlrpcgroups for now). This will never work without a centralized dispatcher/controler, or more complex information exchange.
2016-07-23 21:09:34 +01:00
UbitUmarov
bdab44ef7e
remove code from httptests branch
2016-07-23 01:34:40 +01:00
UbitUmarov
cdf215f613
add a missing field to ChatterBoxSessionAgentListUpdates. it is still wrong, and its use even worse
2016-07-23 01:28:57 +01:00
UbitUmarov
504ee6e21c
don't try to rez a object from a asset with empty data and Let user know about it
2016-07-22 16:41:41 +01:00
Melanie Thielker
2cffa71be2
Add some additional checks to llTransferLindenDollars.
2016-07-18 11:12:14 +01:00
UbitUmarov
9b4e83caa0
dont try dequeues if didnt reacquired lock
2016-07-17 16:21:37 +01:00
UbitUmarov
f636ef037a
http send is blocking, so we need we need to do it async in all cases. - this will need revision after server changes
2016-07-16 20:23:30 +01:00
UbitUmarov
d1810866b3
simplify http textures and meshs Throttles
2016-07-16 19:53:41 +01:00
UbitUmarov
c9bd6ff94b
disable OSHttpTests that will collide with testing new http server changes
2016-07-15 15:54:54 +01:00
Geir Nøklebye
653b896794
PGSQL: Update simulation data with a number of missing fields for parcels. Some of the fields should probably be migrated to type Boolean to avoid the hairy casting in the query. In addition the overall server code relies in the Replace in SQL statement that is proprietary to MySQL, so the PGSQL code is rather unsafe as it is. Should probably set a transaction on the whole operation so that if something goes wrong the database record is not zapped as it is now. PostgreSQL 9.5 has the upsert functionality which would bring the code closer to the MySQL version. This commit also has an update to PGSQLRegionData
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-07-15 15:45:39 +01:00
UbitUmarov
5f5c4aca40
lib omv now supports SeeAvs fields, so use it, thx Gavin Hird
2016-07-15 15:36:53 +01:00
UbitUmarov
aba4e2d13b
revert changes to Select/DeSelect, using the SelectObjects as control seems bad
2016-07-14 02:11:50 +01:00
UbitUmarov
445fb51455
make getBoundsCenter() call GetBoundsRadius() to do the math if needed
2016-07-13 22:35:46 +01:00
UbitUmarov
00687d5b0f
use geometric center and not sog root position in culling
2016-07-13 22:29:09 +01:00
UbitUmarov
e0a1025497
Oops that was not slower
2016-07-13 16:28:07 +01:00
UbitUmarov
33655e40df
slow down culling kills even more
2016-07-13 16:15:35 +01:00
UbitUmarov
acebfeb5c9
don't overlap Select and Deselect, fix deselect prims account
2016-07-13 15:56:01 +01:00
UbitUmarov
981980150c
ignore camera on culling for now
2016-07-13 14:18:06 +01:00
UbitUmarov
7131703244
ugly culling
2016-07-13 14:00:33 +01:00
UbitUmarov
14296bc792
add missing prim count for stats
2016-07-13 10:25:52 +01:00
UbitUmarov
2220ceb522
a few changes to culling
2016-07-13 02:07:07 +01:00
UbitUmarov
abf423e361
be nicer to PIs (actually linux)
2016-07-12 23:23:47 +01:00
UbitUmarov
3507566692
reduce some locks on culling checks
2016-07-12 22:15:39 +01:00
UbitUmarov
bc6c342d01
let radius be radius, not diameter
2016-07-12 17:21:34 +01:00
UbitUmarov
5bb5eb4e37
don't break child agents start position
2016-07-12 16:33:09 +01:00
UbitUmarov
e0878864e8
work around missing information on child creation, hidding its effects with reduced view range in culling option is on
2016-07-12 15:50:05 +01:00
UbitUmarov
d879e119a8
add object UUID to a debug/warn message
2016-07-12 14:45:20 +01:00
Melanie Thielker
f87d5d0780
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-07-11 22:32:27 +01:00
Melanie Thielker
8239e29be7
Change the user verification call back to use the host name instead of the
...
IP address. Fixes NGINX on OSGrid getting confuzzled.
2016-07-11 22:31:32 +01:00
UbitUmarov
79fb13c95c
reduce xfer burst if we are busy
2016-07-11 12:05:47 +01:00
UbitUmarov
a92266d58e
fix ObjectPropertiesFamilyPacket LastOwnerID
2016-07-10 19:05:19 +01:00
UbitUmarov
e6d57a1e49
change Xfermanager file sending
2016-07-10 15:25:05 +01:00
UbitUmarov
8d27abd3b4
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-07-09 13:46:20 +01:00
UbitUmarov
941971648e
kick Xfermanager from heartbeat and expires files based on its timming
2016-07-09 13:45:29 +01:00
Kevin Cozens
21de916225
Fixed the order of two file names used in a warning.
2016-07-08 21:21:46 -04:00
UbitUmarov
415c45b097
add a simple files expire to Xfer to catch some that never got a request (opened xfers also need a timeout) (not pretty code, but should not have heavy use)
2016-07-09 01:32:27 +01:00
UbitUmarov
fa9a4a9a2b
some changes to RequestInventoryFile()
2016-07-09 00:20:51 +01:00
UbitUmarov
11a8a722df
don't auto return objects if they have sitting avatars (not npcs) - mantis 7828 with diferent code
2016-07-08 09:56:59 +01:00
Diva Canto
e38f16d800
Correction of a test introduced in 34b308d5b6
2016-07-07 13:06:37 -07:00
UbitUmarov
a058fca1ac
reduce lock time during object inventory ProcessInventoryBackup
2016-07-07 19:54:52 +01:00
UbitUmarov
668339f936
reduce the initial capacity of InventoryStringBuilder the 16k i added is
...
unreasonable for most cases. The coment about performance on a previus
commit refering to mantis 7904 was wrong, this changes will NOT do much in
terms of objects inventory download time, only a bit on cpu and memory
use"
2016-07-07 16:05:13 +01:00
UbitUmarov
416c02ef3a
hide the footprints of my previus bug ( take out comented code
2016-07-07 15:30:07 +01:00
UbitUmarov
a4fc22a6b6
forget InventoryStringBuilder.close()
2016-07-07 15:22:32 +01:00
UbitUmarov
14b9d31bd9
change InventoryStringBuilder. This will do much for mantis 7904 objects inventory sending is slow by design
2016-07-07 14:38:27 +01:00
UbitUmarov
f768effa87
move object inventory send to udp queue asset ( was task). Remove a call
...
to RefreshGroupMembership() on start. It was too soon and its Groups
module job
2016-07-07 12:23:53 +01:00
UbitUmarov
4119e60c0c
avoid InvalidBoundsRadius() calls caused by small changes
2016-07-07 00:16:25 +01:00
UbitUmarov
d7ab1cdd15
let RePrioritization also work on child agents
2016-07-06 18:58:28 +01:00
UbitUmarov
06b412c980
the bug was actually here
2016-07-06 17:32:59 +01:00
UbitUmarov
beafc99d43
bug fix, etc
2016-07-06 17:31:05 +01:00
UbitUmarov
6c48be6c91
finish removing child-repri option
2016-07-06 16:50:25 +01:00
UbitUmarov
0eabfb1e3e
add some needed InvalidBoundsRadius() calls
2016-07-06 16:45:27 +01:00
UbitUmarov
c02fe98b7d
add test option ObjectsCullingByDistance. In future, if true, it may
...
prevent sending objects outside view range to viewers. DO NOT SET TRUE
unless testing it. Code still not completei!!!
2016-07-06 16:13:27 +01:00
UbitUmarov
259824fbc4
add EngineName also to the others
2016-07-04 09:13:20 +01:00
UbitUmarov
2ebccbcd08
add EngineName also to old ODE
2016-07-04 08:55:19 +01:00
UbitUmarov
1d9e343b7e
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-07-04 08:30:07 +01:00
UbitUmarov
ac72598c6b
add OSSL osGetPhysicsEngineName(). this returns a string with name and version. does no permition checks or it whould be less usefull ( only ubOde returns value)
2016-07-04 08:29:26 +01:00
Melanie Thielker
4468aa0dcf
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-07-04 03:37:45 +01:00
Melanie Thielker
ea8f3c83bf
Finally remove the requirement for an InventoryItem/FolderBase object to
...
be passed into inventory queries.
This makes the API more homogenous and also will more clearly show
coding
errors related to HG inventory where the .Owner field has a meaning
for a query but wasn't always set.
2016-07-04 03:35:48 +01:00
Diva Canto
e00603f78a
New config var: DisableObjectTransfer. If set to True, objects never cross; instead they stay in the region, possibly placed outside its borders.
2016-07-03 12:24:31 -07:00
UbitUmarov
b3d8e35d67
dont try to check CanObjectEntry on a attachment in llSetPos()
2016-07-03 19:51:07 +01:00
UbitUmarov
58135ef52c
fix a lost region size of 256m
2016-07-03 19:39:13 +01:00
UbitUmarov
42dd02fc32
scale down position X and Y acording to region size on sending coarse Updates. Viewers need to scale up by same amount.
2016-07-03 15:47:20 +01:00
UbitUmarov
a443dcce89
try to place avatars on a nicer location, when they arrive into a banned parcel
2016-07-03 10:22:14 +01:00
UbitUmarov
a6ee06d630
dont send bad profiles to viewer
2016-07-02 13:53:17 +01:00
UbitUmarov
cd34f978fb
revert to previus GroupProfileRequest because floatsam groups server seems to return wrong values for GroupMembershipCount and GroupRolesCount. this should be fixed because we are getting the full lists just to count number of entries
2016-07-02 01:01:29 +01:00
UbitUmarov
7991bb08f1
reduce absurd viewers blind retries of GroupProfileRequest
2016-07-02 00:18:29 +01:00
UbitUmarov
057bc648f3
xmlrpcgroups: make use of a forgotten GetMemberGroupProfilemethod, put back xmlrpc cache since it is necessary to prevent folish viewers flooding
2016-07-01 23:26:16 +01:00
UbitUmarov
07c8e79b03
missing file
2016-07-01 19:32:14 +01:00
UbitUmarov
3af437c8bc
cleanup a bit
2016-07-01 19:20:04 +01:00
UbitUmarov
7b7483ec7e
save one call to grid to get agent groups powers (xmlrpcgoups only for now
2016-07-01 18:38:38 +01:00
UbitUmarov
aa744eecf2
add a few methods to modify clientview group powers
2016-07-01 18:19:09 +01:00
UbitUmarov
1777324a86
cleanup a bit AgentGroupDataUpdate sending
2016-07-01 17:31:31 +01:00
UbitUmarov
6deced0193
increase xmlrpc timeout in xmlrpcgroups, disable its cache until its entries invalidation is checked
2016-07-01 16:24:42 +01:00
UbitUmarov
9358a6ad29
revert several changes to groups modules (agentGroupData is private). change interregions invite/eject messages, etc
2016-07-01 16:10:45 +01:00
UbitUmarov
ea140d7cac
change ubOde module, hopefully for better handling of multiple scenes on same instance. ( may be broken now )
2016-06-29 14:14:16 +01:00
UbitUmarov
158e0ae402
Revert " don't try to send initial AgentGroupDataUpdate to NPCs" this was
...
already done
This reverts commit 84a6a6e008
.
2016-06-28 23:57:14 +01:00
UbitUmarov
84a6a6e008
don't try to send initial AgentGroupDataUpdate to NPCs
2016-06-28 23:52:00 +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
UbitUmarov
a08c354a07
fix NPCs OS_NPC_OBJECT_GROUP option. group ID needs to be set during creation, before scenepresence.CompleteMovement, set tittle just after it.
2016-06-28 18:14:30 +01:00
UbitUmarov
bc4e5d81b9
add PRIM_OMEGA to llGet(LINK)PrimitiveParams. This will not return same values as spec, because the way our targetomega works. ( only did minor testing)
2016-06-26 14:40:26 +01:00
UbitUmarov
71404be21d
let llPlaySound() in HUDs send sound to owner without parcel restriction
2016-06-26 10:02:56 +01:00
UbitUmarov
8cb3787de8
mantis 7942: allow llTriggerSound on HUDs to send sounds to all.
2016-06-26 09:40:05 +01:00
Diva Canto
c34fcae3f3
Added a test for checking permissions in inventory items that are transferred. This is a work in progress. All permission assertions are commented for now. Will get back to this later when permissions are fixed by Melanie.
2016-06-24 12:27:45 -07:00
Diva Canto
758e1e2535
Mantis #7933 : copy-paste bug in avn code.
2016-06-23 13:53:42 -07:00
Diva Canto
cec5682da9
Mantis #7937 : don't send group info to NPCs
2016-06-23 12:10:50 -07:00
Diva Canto
b522f0916a
Mantis #7934 and related: landing points and telehubs for gods. Added a new configuration variable LandingPointBehavior that can switch between what we're used to in OpenSim and the behavior in SL.
2016-06-23 11:44:59 -07:00
Diva Canto
55a4d1cf44
Same change here too.
2016-06-23 06:41:26 -07:00
Diva Canto
648cf51411
Fix failing test
2016-06-23 06:38:34 -07:00
Diva Canto
56e2358ec2
Because there's no such thing as too much culture. (looking forward to .NET 4.5 to set this globally)
2016-06-22 20:31:01 -07:00
Diva Canto
cc9ff12988
Set culture also in object crossings.
2016-06-22 20:18:16 -07:00
Diva Canto
c94c929ec1
Amend to previous commit -- set the culture also on the receiving end.
2016-06-22 18:35:14 -07:00
Diva Canto
33efc91342
Mantis #7802 : set culture to US English on the thread that does the agent crossing, not that it's async and needs to parse decimal numbers.
2016-06-22 18:10:12 -07:00
Diva Canto
1e213f5150
Mantis #7802 : added debug message to diagnose the problem.
2016-06-22 15:55:39 -07:00
Diva Canto
94616510f2
Missing AsBoolean
2016-06-22 15:39:09 -07:00
Diva Canto
193a3afa64
Make a debug message less misleading.
2016-06-22 15:28:18 -07:00
Diva Canto
f8bd3d2f2e
Mantis #7935 : regression on transferring attachments over the HG
2016-06-22 11:52:53 -07:00
Diva Canto
0b32cf0e8f
Can't do it do it this low in the stack. Attachments on teleports apparently rely on
...
State being != 0.
Revert "Mantis #7932 : Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen."
This reverts commit f19199cf4a
.
2016-06-22 06:21:23 -07:00
Diva Canto
74c79d1f88
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2016-06-21 20:28:44 -07:00
Diva Canto
f19199cf4a
Mantis #7932 : Some objects were being serialized with PCode=9 and State != 0 (meaning attachments). That should never happen.
2016-06-21 20:28:25 -07:00
Melanie Thielker
5c81e03738
Fix a dumb mistake
2016-06-21 01:49:47 +02:00
Melanie Thielker
8e40bb6fb7
Make some more modules inheritable
2016-06-21 01:46:38 +02:00
Melanie Thielker
9de8cefee5
Split IM handling so an inheriting module can cange names if required.
2016-06-21 01:20:21 +02:00
Diva Canto
34b308d5b6
Guard against multiple calls to SetOwnerId on one logical ownership change.
2016-06-20 16:02:37 -07:00
Diva Canto
bc0fc16f44
Still mantis #7929 : apply next owner mask to the new owner, the group.
2016-06-20 15:32:22 -07:00
Diva Canto
359908fa88
Related to mantis #7929 : "For sale" was not being accepted, because of permissions fail. This adds a new permissions check CanSellGroupObject. THIRD-PARTY PERMISSIONS MODULES TAKE NOTE OF THIS NEW EVENT.
2016-06-20 10:08:15 -07:00
Diva Canto
623a2f859f
Mantis #7929 : objects deeded to the group were loosing some important properties. This makes the "For sale" be visible, but is not the end of the story.
2016-06-20 10:05:17 -07:00
Diva Canto
ff65248b9c
Removed a couple of verbose messages
2016-06-19 20:13:32 -07:00
Diva Canto
8d99fe095a
Mantis #7920 : group info was not being updated in many situations. (regression) Putting back the heavy messaging.
2016-06-19 17:35:11 -07:00
Diva Canto
4f3da0a643
AgentGroupData was being sent by both UDP and EQ -- an overkill. Turn off UDP messaging.
2016-06-19 16:28:27 -07:00
Diva Canto
76ab1ed10c
Restored sending group membership data via EventQueue -- this had been a regression. Took the opportunity to refactor that code, so that both Groups V2 and XmlRpcGroups can use the same function.
2016-06-19 16:27:12 -07:00
Diva Canto
d51fe01ed8
Mantis #7915 : bring XmlRpcGroups/GroupsModule.cs up to speed with Groups V2
2016-06-19 15:15:57 -07:00
Diva Canto
a9fb3d0e18
Minor -- deregister an event handler in Groups V2
2016-06-19 15:14:50 -07:00
Diva Canto
ea3fe90ddb
Mantis #7928 : show grid size and show regions now working. Integers were being overflown.
2016-06-19 13:57:01 -07: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
206faf0218
Guard against occurring null ref.
2016-06-18 17:00:15 -07:00
Diva Canto
fe1f01defb
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2016-06-17 12:40:41 -07:00
Diva Canto
8a070f16dd
Mantis #7848 : something wrong with a data field in Groups V2
2016-06-17 12:40:04 -07:00
Melanie Thielker
ed168473af
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-06-16 01:48:27 +02:00
Melanie Thielker
d2f61f5320
Also make the HGUserManagementModule more amenable to subclassing.
2016-06-16 01:47:52 +02:00
Melanie Thielker
f800f5ba57
Make the UserManagementModule inheritable
2016-06-15 16:51:02 +02:00
Diva Canto
e0a82a82de
"reverting" the keep alive changes brought in from avination, to check if that's what's making osgrid fail. This is not really reverting, it's more manually resetting some places (not all) where keep alive is set.
2016-06-14 08:58:37 -07:00
Diva Canto
4be4e98525
Revert "Add a few more debug messages to diagnose problems in OSGrid's proxy use"
...
This reverts commit 2d2414adcf
.
2016-06-13 20:40:47 -07:00
Diva Canto
1e9a944633
Revert "More debug to diagnose osgrid"
...
This reverts commit b5f29e93f6
.
2016-06-13 20:39:52 -07:00
Diva Canto
b5f29e93f6
More debug to diagnose osgrid
2016-06-13 20:35:40 -07:00
Diva Canto
467de7a2f0
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2016-06-13 18:04:50 -07:00
Diva Canto
2d2414adcf
Add a few more debug messages to diagnose problems in OSGrid's proxy use
2016-06-13 18:04:28 -07:00
Melanie Thielker
cdfbf78d07
Fields should be protected unless private is required
2016-06-14 01:27:48 +02:00
Melanie Thielker
68c73951ef
Make the LLUDPServerShim inheritable. There is absolutely no reason for
...
this to be sealed!
2016-06-14 01:21:47 +02:00
Melanie Thielker
141205532b
Make chat and instant message modules fully subclassable
2016-06-14 00:03:40 +02:00
Diva Canto
3ef5e1a24b
Mantis #7923 . EDIT BEAMS ARE BACK!
2016-06-12 22:01:36 -07:00
Diva Canto
c2e63e807e
Mantis #7861 . llEdgeOfWorld not working. Two reasons: (1) edge was being filled but not used; (2) region size was being ignored when computing the neighbors' coordinates.
...
Not sure if this is the intended semantics of this function, but it made sense in my varregion test with neighbors all around except in the South.
2016-06-12 14:48:30 -07:00
Diva Canto
d0c65d15dc
Still mantis #7858 : send kill object / update to child agents too
2016-06-12 14:29:30 -07:00
Mandarinka Tasty
634d85a30d
Detection of Cylinder and Prism for flexi prims
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-06-12 13:58:20 -07:00
Diva Canto
42a9afdc43
Mantis #7858 : DeleteSceneObject done slightly differently. ProcessEntities now checks whether the objects have been deleted and, if so, sends an extra kill object packet, in order to compensate for potential race conditions encountered by the first one.
...
Note: I still cannot reproduce this problem, but I was able to emulate it by adding an artificial delay on ProcessEntities, which did, indeed, result in objects not being deleted. This fix fixed my emulated scenario.
2016-06-12 12:23:52 -07:00
Robert Adams
9ebdae8676
Restore SendAgentGroupDataUpdate() call in GroupsModule.cs.
...
Restore linkage to OnAgentClosed since the merge solved the reference
problem by looking up the agent.
This should address Mantis 7915 and 7920.
2016-06-11 12:42:42 -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
Diva Canto
1468ee9179
Mantis #7858 . This is s shot in the dark, because I cannot reproduce the problem. Removed what seemed to be redundant kill object calls that weren't there in 0.8.2 -- kill object is already being called in DeleteGroupFromScene.
2016-06-11 09:38:19 -07:00
Diva Canto
8e10963f45
Mantis #7919 : fatal exception on LoadImageURLModule
2016-06-06 09:55:25 -07:00
Diva Canto
7d6adeedf5
Fixed a merge issue
2016-06-06 08:41:08 -07:00
Diva Canto
c4c3163db9
Don't copy assets to foreign asset servers when the objects are being deleted
...
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs
2016-06-06 08:37:15 -07:00
Melanie Thielker
48915377a6
Correct spelling and grammar, thanks Mata Hari
2016-05-30 19:04:19 +02:00
Mandarinka Tasty
77af32cdbf
Enhancement of osRegionRestart
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-05-30 15:58:39 +02:00
Melanie Thielker
bcee4e3772
Fix a line deletion that should not have been deleted
2016-05-23 19:33:36 +02:00
Melanie Thielker
08bd80f5f4
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-05-23 19:20:05 +02:00
Jeff Kelley
527ea6af02
Fixed discrepancy between code and ini symbols.
2016-05-23 19:19:36 +02:00
Melanie Thielker
775a657bb1
Addressing #7903 . Fix legacy sit offsets to use legacy computation.
...
New offsets of course still use the correct math.
2016-05-23 19:18:24 +02:00
Diva Canto
057d1b2a6e
Minor improvement over the previous commit -- make sure the code exists in the FolderType enum
2016-05-16 21:57:19 -07:00
Diva Canto
9e21647011
Mantis #7878 -- Landmarks were not being created in HGSuitcaseInventory
2016-05-16 19:36:20 -07:00
Roger Kirkman
97a471cb35
Fix crash due to setting Thread.name after thread start.
...
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-05-12 17:42:42 -07:00
Melanie Thielker
1e44aba620
According to the SL wiki, estate managers can set parcels for sale. Make it sew.
2016-05-02 21:40:14 +02:00
Melanie Thielker
4bac95bf4a
Change requirements for the LL god functions from CanRunConsoleCommand to IsAdministrator, a function that was not available when these were first coded and makes much more sense.
2016-05-01 20:33:47 +02:00
Melanie Thielker
59ed89769a
Apply user specified default perms across the board, to items uploaded as well as items created and to rezzed prims in world.
...
This effectively removes the concept of "default permissions" from OpenSim
because all known modern viewers set the permissions flags on login.
Ancient abandoned viewers will now default to the SL defaults.
2016-04-29 22:36:56 +02:00
Melanie Thielker
d42de53dda
Allow default permissions from the viewer to be applied to uploaded objects.
...
Make inventory items reflect coorect permissions immediately unstead of after relog
2016-04-29 21:23:32 +02:00
Melanie Thielker
bedebf9498
Prevent "Object->Take" from working on attachments.
2016-04-29 17:11:36 +02:00
Melanie Thielker
8ef34a1bc5
Fix incorrect SQLite syntax in Migrations
2016-04-28 17:15:08 +02:00
Melanie Thielker
a01f24e331
Replace the "land show" method with the better one from 0.8.
2016-04-28 16:13:23 +02:00
Melanie Thielker
995655c445
Make the SimulatorFeaturesModule nonshared as it ought to be from it's code structure.
2016-04-27 00:48:56 +02:00
Melanie Thielker
2c75be7f6e
From information given my Mandarinka Tasty, add firing the detach event even for temp attachments
2016-04-27 00:35:30 +02:00
Melanie Thielker
6771fb7d5d
Reverse a comparison, this is probably the cause of attach issues
2016-04-26 17:43:36 +02:00
Melanie Thielker
61a7566381
Fire detach events even in temp attachments. They don't really need it but keeping the tests happy
2016-04-25 20:27:23 +02:00
Melanie Thielker
8f668ec888
Stop serializing and storing assets for objects that were never rezzed from inventory items.
2016-04-25 20:02:11 +02:00
Vegaslon
46a62a37d1
Fix Temporary Attachments not being able to be detached by client
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-04-25 19:44:15 +02:00
Geir Nøklebye
7aa3d4256e
POSTGRES: Update database migrations to be in accordance with MySQL table definitions. Prerequisite for fixing PGSQLSimulationdata
...
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca> (mantis #7846 )
2016-04-25 12:17:17 -04:00
Geir Nøklebye
b418033915
Updated the code to handle Agent Preferences. Thanks to TomDataworks for providing a final solution.
...
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca> (mantis #7610 )
2016-04-25 12:15:34 -04:00
TomDataworks
e9b0f71575
Fix Mantis #7805 , table handler needs to look for all unique constraints.
...
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca>
2016-04-25 12:11:03 -04:00
Geir Nøklebye
b91cfcca2b
POSTGRES: Added check for Heightfield not equal to Database NULL.. Mirrors OpenSim commit 50d738
...
Signed-off-by: Kevin Cozens <kevin@ve3syb.ca> (mantis #7845 )
2016-04-25 12:01:36 -04:00
Melanie Thielker
28fb722612
CR safari. Remove gratuitious CRs in some files
2016-04-07 19:53:56 +02:00
AliciaRaven
3ff19a8ac3
Fix missing id parameter in FSAssets database connector when updating Access time.
2016-04-05 21:52:28 +01:00
Kevin Cozens
2cfe848ceb
Correct case in the names of the Avatar and Friends tables
2016-03-24 16:43:27 -04:00
Melanie Thielker
4cc954249d
Mantis 7842 - remove another possible null dereference
2016-03-23 21:03:20 +01:00
Melanie Thielker
548b741130
Correct the case of the Presence table
2016-03-22 23:05:31 +01:00
Melanie Thielker
482daacea7
Add migration to add "active" column on PGSQL. UNTESTED!
2016-03-22 20:55:21 +01:00
Melanie Thielker
de109dbe92
Change casing on UserAccounts
2016-03-22 20:08:46 +01:00
Melanie Thielker
73e527fffc
Fix some artefacts that came from merging the OSGrid code.
2016-03-22 20:01:22 +01:00
Melanie Thielker
e8b46023e4
Add osRequestURL and osRequestSecureURL with an options list.
...
Only currently supported option is "allowXss" which will send the needed
Access-control-allow-origin: * header to allow xss scripting against
the LSL http server.
2016-03-16 20:04:52 +01:00
Jeff Kelley
efa21156f3
Implement Access-Control-Allow-Origin for HTTP LSL server
2016-03-16 19:22:40 +01:00
Melanie Thielker
8e772fde7f
Remove debug spam
2016-03-15 02:36:06 +01:00
Jeff Kelley
41644bbfa9
Implement parameterization of HTTP_BODY_MAXLENGTH maximum as proposed in Mantis 7839.
2016-03-14 16:08:49 +01:00
Melanie Thielker
07b78a68fc
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-03-09 02:53:06 +01:00
Melanie Thielker
1697f3e0c2
Finish plumbing RezRestoreToWorld.
2016-03-09 02:52:45 +01:00
Melanie Thielker
43ca32150c
Plumb RezRestoreToWorld from the client (part done)
2016-03-09 02:45:11 +01:00
Robert Adams
be43fc2234
BulletSim: use the new 'setAvatarSize' physics call introduced in 0.9.
...
This disables all the avatar size fudge numbers previously used by BulletSim.
If you have your region tuned to the old way, set
"[BulletSim]AvatarUseBefore09SizeComputation=true" in your INI files.
2016-03-06 14:23:06 -08:00
Robert Adams
b65a18ef3f
Remove unused parameter ShouldUseFireAndForgetForCollisions. It was
...
used a while ago for testing but the execution code was removed.
2016-03-06 14:16:46 -08:00
Robert Adams
feb058f5c5
BulletSim: Send out avatar position update if velocity is now zero
...
and it wasn't zero last tick. This will prevent some avatar creeping.
Adjust BulletSim default avatar velocity zeroing so the avatar stops sooner.
2016-03-06 11:30:25 -08:00
Melanie Thielker
57b6398b71
Make mesh upload respect the same parts maximum as what is set for the
...
simulator
2016-03-05 22:30:02 +01:00
Melanie Thielker
110297793c
Fix a couple of typos
2016-03-05 22:22:09 +01:00
Melanie Thielker
15b9601393
Introduce UseOsgridFormat config to select the OSGrid specific path name
...
generator
2016-03-05 01:26:28 +01:00
Melanie Thielker
74c2113bce
Port the safer database access and the cure for "Chicken Bones" which
...
are artefacts that can be created by fsck and would make standard
FSAssets choke. These refinements were tested on OSGrid.
2016-03-05 01:17:42 +01:00
Melanie Thielker
c541b5cf43
Mantis 7833: Fix a condition where email sent from an object that is in
...
the process of being removed can cause a null reference
2016-03-03 17:08:56 +01:00
Diva Canto
ab12a14279
Pushed AssemblyVersion up to VersionInfo, so that we don't need to do global replace anymore.
2016-02-21 11:14:02 -08:00
Diva Canto
cd54bbe789
The old sqlite inventory data interface was still around and causing problems: the only part of the code using it was the data (sqlite) tests. Given that this old interface has been obsolete for several years, it has now been removed, including the tests. TODO: Writing tests for the new (ah!) inventory data interface.
2016-02-21 10:37:12 -08:00
Diva Canto
206b035571
SQLite: Removed obsolete migration file
2016-02-21 09:12:25 -08:00
Diva Canto
ee24b25165
Flatten migrations for sqlite
...
Conflicts:
OpenSim/Data/SQLite/Resources/RegionStore.migrations
(Resolved)
2016-02-21 09:10:00 -08:00
Diva Canto
ded776c86b
MySQL migrations: fix one last migration that had been left behind
2016-02-21 07:08:55 -08:00
Diva Canto
134e94a7e9
Flatten migrations for MySQL.
...
Conflicts:
OpenSim/Data/MySQL/Resources/RegionStore.migrations
OpenSim/Data/MySQL/Resources/UserAccount.migrations
2016-02-20 19:27:12 -08:00
UbitUmarov
170acd7d67
change parcel_owner_is_god configuration option from default from true to false, leaving only region_owner true by default
2016-01-30 15:42:59 +00:00
UbitUmarov
b34652e9eb
accept mantis 7785 requests, at least until bullet can be also be used fix landing height. (could not test)
2016-01-26 21:42:46 +00:00
UbitUmarov
668ff1e12c
make sure MaxRegionsViewDistance is lower than MaxDrawDistance
2016-01-26 20:55:00 +00:00
UbitUmarov
109723dc2d
add option MaxRegionsViewDistance to control the maximum range to tell viewer to connect to Neighbour regions, since that is diferent from view range
2016-01-26 20:39:37 +00:00
Robert Adams
66be75556b
BulletSim: increase default value of AvatarStopZeroThreshold as this reduces
...
the occurance of stopped avatar drifting in the viewer. Not sure why but this
is a short term fix while investigation continues.
2016-01-20 06:35:53 -08:00
Robert Adams
33af419050
BulletSim: make collision sounds work most of the time. Seems that collisions
...
usually stop the collider so velocity is often small.
Also remove some chatty debug messages.
2016-01-19 22:09:51 -08:00
Robert Adams
ddd59fab5f
BulletSim: add stationary suppression on AddForce application. This enables
...
small pushing of avatars (Mantis 7779).
2016-01-18 10:50:28 -08:00
Robert Adams
5ed90b3921
BulletSim: fix problem of not zeroing motion when stationary (drift problem from
...
Mantis 7813). Redo Z computations for movement. Clean up code to simplify
tests. Add function to suppress stationary tests unless velocity drops.
2016-01-18 10:48:10 -08:00
Robert Adams
35d4298be6
BulletSim: change method signatures for internal AddForce methods to remove
...
confusion about push forces. The latter is an external, physics engine interface
feature (the force parameter has a different unit if pushing vs adding force)
and that distinction is not used internally.
2016-01-18 07:02:48 -08:00
Robert Adams
fb57d31538
BulletSim: revert avatar stationary testing for having slight velocity.
...
This fix causes drift (Mantis 7813). This revision will rebreak pushing
(Mantis 7779) but drifting is bad and pushing will be fixed in future commits.
2016-01-18 07:00:50 -08:00
Robert Adams
b02f29300d
Code cleanup to terse update sending as given in a patch in Mantis 7813.
...
Thanks tqlion!
2016-01-18 06:58:41 -08:00
Robert Adams
22501ea06d
BulletSim: fix Mantis 7798: land collisions not working.
2016-01-10 16:42:23 -08:00
Robert Adams
d4e88f8883
BulletSim: tweaking so avatar can be pushed. In particular, llPushObject,
...
which called BSCharacter.AddForce, can now move a character.
2016-01-10 14:53:55 -08:00
TomDataworks
905dec5d23
Fix region data range selection in the PGSQL backend.
...
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-01-10 18:05:08 +00:00
UbitUmarov
ee15c51ba4
add npc create option OS_NPC_OBJECT_GROUP. with it the npc will be created with the group of the object with the script, if that object owner is member of that group. This should allow parcel access by group to work now, and not much else. The groupTitle will also be set, it the region option NoNPCGroup is not active.
2016-01-01 23:41:25 +00:00
UbitUmarov
f8f28311bf
stop avatar move to target on parcel ban enforce
2016-01-01 23:03:46 +00:00
Robert Adams
7831d219d7
Add locking around stats record fetch to resolve Mantis 7793.
2015-12-27 15:05:17 -08:00
UbitUmarov
e2517b51f8
ubMeshmerizer: remove some wrong faces still present in taper cases, some code cleanup
2015-12-26 21:38:36 +00:00
UbitUmarov
f92deb65f8
fix cilinder and cone physics mesh
2015-12-26 01:49:30 +00:00
UbitUmarov
65269f6f7f
fix html encapsulation for MSIE was doing nothing
2015-12-25 14:34:02 +00:00
UbitUmarov
85a75ce0bc
assume direct string.replace is good enought to avoid a stringbuild use
2015-12-25 14:16:47 +00:00
UbitUmarov
41078f8d51
try to implement HTTP_BODY_MAXLENGTH. Make it limit body input bytes. Read entire relevant input buffer before UTF-8 parsing, or it may fail.
2015-12-25 13:51:05 +00:00
UbitUmarov
e5f7856eaf
Merge branch 'master' of opensimulator.org:/var/git/opensim
2015-12-25 10:44:59 +00:00
UbitUmarov
b7ea5c4967
a few code cosmetic changes
2015-12-25 10:43:51 +00:00
Diva Canto
52ebb3f2fb
The configger tool hadn't been updated since the introduction of OpenSimDefaults! :0
...
It is updated now.
2015-12-24 10:05:59 -08:00
UbitUmarov
7430c629aa
enable the upload region map texture asset for large regions for large regions that i had disabled, but with max size reduced to 512pixels. New viewers don't use this, but osGetRegionMapTexture needs it ( mantis 7787 )
2015-12-24 11:20:46 +00:00
UbitUmarov
37cb24da60
add prim estimated center of mass correction also for tortured prims meshs. Not fully tested
2015-12-24 01:21:15 +00:00
UbitUmarov
24aa529715
fix avatar movetotarget that got broken with changes on significant movement. Do it all on scenepresence.cs, and not also on scene.cs. check distance to target only on X,Y if not flying or landing
2015-12-23 21:22:00 +00:00
UbitUmarov
5135214e5b
physics landing: don't land on top of volume detectors
2015-12-22 13:23:08 +00:00
UbitUmarov
6437a94388
a few changes to physics new root avatar position height estimation
2015-12-22 00:06:17 +00:00
UbitUmarov
88a63ecc39
drop attachments to ground a bit in front of the avatar, not on his location
2015-12-21 18:13:07 +00:00
UbitUmarov
7081ef948c
clean a bit
2015-12-21 17:56:12 +00:00
UbitUmarov
4b14ec3c45
add physics help on root agent arrival via some login types and if not under action of telehub or landpoint. will change land to the top of anything physics sees above ground up to 1024m above ground. Only works with ubOde (possible ode but untested). Feature testing... some results may be ugly.
2015-12-21 16:31:49 +00:00
UbitUmarov
0e99763e6b
revert the setting of phantom flag on attachment drop to ground, since it can break nomod objects
2015-12-21 13:52:45 +00:00
UbitUmarov
52d7aca6a2
simplify avatar updates throotle control, this possible needs to get more complex again
2015-12-21 13:20:24 +00:00
UbitUmarov
827058e359
drop attachments to ground with phantom active. We should not do this, but for now there no better way to avoid nasty collisions. (large physical objects may still have bad collisions with ground on drop)
2015-12-20 11:57:52 +00:00
UbitUmarov
844266c4d5
change the return list of objects costs, sending a answer if none found
2015-12-20 11:43:27 +00:00
UbitUmarov
b31adde5fc
BUG FIX on avatar position updates send control
2015-12-20 11:12:48 +00:00
UbitUmarov
a4f91e5064
do not change a attachment phatom state on crossings
2015-12-19 19:49:27 +00:00
UbitUmarov
01a27e8c71
establish a minimun for ReprioritizationDistance
2015-12-19 17:39:42 +00:00
UbitUmarov
48f6010a1c
a more clean enforcement of BestAvatarResponsiveness (others aren't good at moment
2015-12-19 17:29:51 +00:00
UbitUmarov
9a492258c9
reduce xmlrpcgroups error messages if its debug option is off. Disable keepalive by default
2015-12-19 15:24:43 +00:00
UbitUmarov
da1c347676
temporary assets are as local
2015-12-19 15:05:49 +00:00
UbitUmarov
b29ab1b2df
adjust the checks for invalid asset IDs. changed upload fail detection
2015-12-19 15:03:22 +00:00
UbitUmarov
b2acef8aad
remove the unused OBB physics parameters export, since they aren't actually usefull outside ubOde
2015-12-17 22:34:21 +00:00
UbitUmarov
56e28c6c27
fix silly bug: Dynamics are to apply to root prim not child
2015-12-17 19:02:46 +00:00
UbitUmarov
01b4b25cdb
current priority code uses avatar position not camera, so fix reprioritizer. This may need to be reviewed in future.. it should be camera
2015-12-17 18:15:33 +00:00
UbitUmarov
ed74fb5da4
save a expensive call to CameraPosition
2015-12-17 12:24:37 +00:00
UbitUmarov
a4ed6111b0
change updates reprioritization control code. Do it under normal avatar updates timing and with a workjob not a timer issued thread.
2015-12-17 12:20:02 +00:00