UbitUmarov
4206c1248f
same thing on another lock(acd)
2014-09-24 01:51:36 +01:00
UbitUmarov
d96fe6eaf5
replace a lock on a unkown origin object with a lock on a well defined
...
one.
2014-09-24 01:37:51 +01:00
UbitUmarov
6d2cdd31fe
populate collision lists with LinkNumber, and detected structure in
...
Xengine
2014-09-23 23:59:05 +01:00
UbitUmarov
ac09dd9946
Merge branch 'master' into ubitworkmaster
2014-09-23 23:28:38 +01:00
Melanie Thielker
80f3e8edbc
Fix stupid stuff.
2014-09-24 00:21:14 +02:00
UbitUmarov
f37364b56f
Merge branch 'master' into ubitworkmaster
2014-09-23 23:20:28 +01:00
Melanie Thielker
a6b27a7aa4
Add a link number field to ColliderArgs
2014-09-24 00:16:04 +02:00
Melanie Thielker
309cfeff88
If an agent is logging in, rather than teleporting, make sure all known
...
circuits for that agent are closed.
2014-09-23 21:53:09 +02:00
UbitUmarov
992bd703e7
fix building state logic...
2014-09-23 00:04:03 +01:00
UbitUmarov
79e47eb60e
some changes in link/unlink code, bypassing complex variables set methods
2014-09-22 23:32:55 +01:00
UbitUmarov
c82e456345
debug show stack trace
2014-09-22 21:13:36 +01:00
Melanie Thielker
4cc552162e
Merge branch 'ubitworkmaster'
2014-09-22 18:50:06 +02:00
Melanie Thielker
0bfba122f0
When a ghosted avatar is removed, also remove any remaining CAPS
2014-09-22 18:49:08 +02:00
UbitUmarov
ea4a526095
a few more changes on link/unlink
2014-09-22 16:09:39 +01:00
UbitUmarov
b7fca5bcac
same in a few more spots
2014-09-22 14:44:47 +01:00
UbitUmarov
fe3c1b9e98
send to world or backup, after setting finding information
2014-09-22 14:32:56 +01:00
UbitUmarov
bcaf202e34
update scenegraph group find by part information in sog link, so script link functions do update that also.
2014-09-22 13:59:23 +01:00
UbitUmarov
e25849e1c4
remove redundant lock
2014-09-21 23:39:50 +01:00
UbitUmarov
a70ed79c39
compile fix
2014-09-21 23:26:17 +01:00
UbitUmarov
d1ccc6d5cc
release lock a bit sooner when not needed, add a try on more complex db
...
store call
2014-09-21 23:23:20 +01:00
UbitUmarov
f95bb53371
remove LockItemsForRead(false) without previus call with true
2014-09-21 23:02:02 +01:00
UbitUmarov
adda696cd0
protect getting the item
2014-09-21 22:46:44 +01:00
UbitUmarov
51ec2d83ac
remove redundant code
2014-09-21 22:43:17 +01:00
Melanie Thielker
640f3f3074
A stab at brute force fixing the locking - one, make m_itemLock volatile, two,
...
reset the lock even if the write lock is not apparently held.
2014-09-21 19:24:15 +02:00
Melanie Thielker
4002cd96a5
When sending http requests, close the response stream instead of waiting
...
for the finalizer to do it, if it ever does.
2014-09-20 20:42:07 +02:00
UbitUmarov
9c552212a9
exclude npcs from baked cache
2014-09-19 16:51:51 +01:00
UbitUmarov
242bb425f3
fix positions on same frames transitions
2014-09-19 01:07:20 +01:00
UbitUmarov
f35f90bd72
dont give a ring to each asset request, just one to rule them all, i mean
...
thread not ring
2014-09-18 19:40:59 +01:00
UbitUmarov
6e015125c5
Merge branch 'master' into ubitworkmaster
2014-09-17 21:48:36 +01:00
UbitUmarov
ce8ea55f4e
... and a few more..
2014-09-17 17:25:07 +01:00
UbitUmarov
060984502e
and another one
2014-09-17 17:00:13 +01:00
UbitUmarov
9f07c64690
another close()
2014-09-17 16:51:07 +01:00
UbitUmarov
df389dceb8
add some _response.close. RestClient still looks bad. It should be a
...
proper IDisposable object.
2014-09-17 16:19:00 +01:00
UbitUmarov
9bf3e2a257
dispose some tmp streams
2014-09-17 15:36:22 +01:00
UbitUmarov
f254761649
turn off Nangle on users of ServivePointManager like webrequests
2014-09-17 14:47:36 +01:00
UbitUmarov
1953a0f4e0
Dont add to physics in a child update. It is missing several checks like
...
sit. makeroot should to it
2014-09-17 13:36:39 +01:00
UbitUmarov
affcdcce8b
try to send fly state on tps
2014-09-16 21:25:06 +01:00
Melanie Thielker
8014ce7f1a
Fix a nullref in a debug message. If we have no SceneAgent, we can't output data from it.
2014-09-15 23:15:27 +02:00
Melanie Thielker
d43d3df724
Reinstate closing the client if CloseAgen returns false. This was part
...
of the last Ubit patch.
2014-09-14 20:46:22 +02:00
UbitUmarov
3d9f25a19d
revert changes to m_pendingCache and remove client close if there is no
...
SP, as requested
2014-09-14 02:28:42 +01:00
UbitUmarov
52cde5fe96
Merge branch 'master' into ubitworkmaster
2014-09-14 01:18:03 +01:00
UbitUmarov
908e0e1cef
do not use a blind expire of m_pendingCache. Entries must be valid while
...
respective HandleUseCircuitCode, no matter how long it takes, so a viewer
retry doesnt start a overlapping one. It HandleUseCircuitCode
responsability to always remove entries, even on fails. Remove a client
even if m_scene.CloseAgent fails.
2014-09-13 20:37:20 +01:00
Melanie Thielker
8ab5f2ce84
When CloseAgnt is called with an agent id that doesn't have a presence, check for stray clients and clean them up instead of failing.
2014-09-13 16:39:56 +02:00
Melanie Thielker
42b2248960
If a client's SceneAgent is null, that client is not fully logged in or
...
crashed while logging out. Don't reuse it, create a new one.
2014-09-13 00:49:32 +02:00
UbitUmarov
ffe5ede550
taskInventory request: give each transfer a diferent filename, Add more
...
agressive lock
2014-09-12 11:48:43 +01:00
UbitUmarov
df8eae1957
handle AO sit ground case
2014-09-10 20:55:00 +01:00
UbitUmarov
f66b58cf00
*TEST* add movement states SIT and SITGROUND. ScenePresence on SIT,
...
SITGROUND or STAND, sets directly the state, and desired sitAnimation for
default sits
2014-09-10 19:30:57 +01:00
Melanie Thielker
0caa59b286
Fix a nullref that can hit Vivox voice
2014-09-10 02:43:51 +02:00
UbitUmarov
724d174a77
it its a default ( internal ) animation return its name in lower case
2014-09-09 23:36:10 +01:00
UbitUmarov
13cb6ef6ef
remove the check animState == anim for same reasons
2014-09-09 23:30:31 +01:00
UbitUmarov
4842806ea8
look for animation on part inventory before default animations, so
...
user can use same name. Search directly on default animations using
uppercase.
2014-09-09 23:22:36 +01:00
UbitUmarov
e37fd5e716
force update of movement animation
2014-09-09 22:27:21 +01:00
UbitUmarov
9d815e2d2a
on SetAnimationOverride do a UpdateMovementAnimations();
2014-09-09 22:07:03 +01:00
UbitUmarov
016e58e354
*test*
2014-09-09 21:53:27 +01:00
Melanie Thielker
87a4abac50
Plumb the rest of the serverside AO
2014-09-09 20:50:41 +02:00
Melanie Thielker
339904bc52
Merge branch 'ubitworkmaster'
2014-09-09 20:16:43 +02:00
Melanie Thielker
2d2823f1de
Add some case magic and send an anim pack when an override is set
2014-09-09 20:16:02 +02:00
UbitUmarov
002a2deaf9
add full delete if uuid iz zero and state is ALL
2014-09-09 19:09:06 +01:00
UbitUmarov
46abe0c86d
Merge branch 'master' into ubitworkmaster
2014-09-09 13:54:00 +01:00
UbitUmarov
683f2cc892
only cancel attchment needed update type on sending sheduled updates.
...
This is wrong but its as original worked
2014-09-09 13:32:22 +01:00
UbitUmarov
4ed3461573
huds bug fix
2014-09-09 05:20:43 +01:00
Melanie Thielker
347c5b3070
Add perms check
2014-09-09 05:20:53 +02:00
UbitUmarov
f4efa25820
remove messing with KeyframeMotion on attach
2014-09-09 03:54:27 +01:00
UbitUmarov
b732ee8d27
dont force Phantom on attachments, breaking no mod objects if wear by
...
mistake
2014-09-09 03:47:51 +01:00
UbitUmarov
136749c651
drop attachments with original physical proprieties
2014-09-09 03:45:26 +01:00
Melanie Thielker
aa84ad369c
Add some forgotten calls
2014-09-09 04:35:08 +02:00
Melanie Thielker
d2324b64c7
Add missing file
2014-09-09 04:12:58 +02:00
Melanie Thielker
18023169e7
Actually do the overriding
2014-09-09 04:12:10 +02:00
Melanie Thielker
5376d0a97b
Also check standard anim names
2014-09-09 03:31:04 +02:00
UbitUmarov
17154fbffa
set default LinksetPhysPrims to 0 so max number of prims for physical
...
object is disabled
2014-09-09 02:22:07 +01:00
UbitUmarov
d00aa403e0
Merge branch 'master' into ubitworkmaster
2014-09-09 02:05:44 +01:00
Melanie Thielker
e775e1a317
make PERMISSION_OVERRIDE_ANIMATIONS implicit for attachments
2014-09-09 03:03:27 +02:00
Melanie Thielker
f2390f7c72
Plumb llSetAnimationOverride
2014-09-09 03:01:05 +02:00
UbitUmarov
51697944b6
dont send fullObjectUpdate on deselect
2014-09-09 00:09:39 +01:00
UbitUmarov
8e15d4ad57
limit number of prims on physical objects. Not all cases covered still
2014-09-08 23:58:49 +01:00
UbitUmarov
93143ba012
on drop send full update on root prim, terse on others ( as sl ). Fix
...
count down of number of physicial prims on attach, if removing them
2014-09-08 23:44:29 +01:00
UbitUmarov
25b4e268a3
change attachment drop, to make object Phanton. THis is not as SL, but
...
rez position is automatic and object interpenetrations will
happen including with the avatar, with the usual ugly effects.
2014-09-08 11:16:59 +01:00
UbitUmarov
2d352e6348
*NEEDS more testing* on attachment drop: fix adding prims to physics
...
engine, remove disturbing phantom flag. On attach: fix removing prims from
physics engine, delete any keyframeMotion, remove physical flag. This is
executed in all attachs possible only need on attach from the scene (?),
but its where original code removed only root part from physics engine
2014-09-08 02:19:53 +01:00
UbitUmarov
cf1d58d164
do not send objectproprieties on sop.SetGroup(). I many cases this will
...
arrive before creating the object in viewer with respective full update
2014-09-05 15:16:13 +01:00
UbitUmarov
25bc349ec9
near region check on tp needs to be a full current view check.
...
sp.KnownRegions is unreliable for this.
2014-09-05 12:28:57 +01:00
UbitUmarov
0514679b15
reduce MIN_CALLBACK_MS guard time. A value too high introduces a extra
...
throttle and makes more packets to be sent in bursts and not in steady
state flow.
2014-09-02 18:51:49 +01:00
UbitUmarov
6611e75a2b
void time change between gettime calls
2014-09-02 16:11:46 +01:00
UbitUmarov
50433e089b
*needs testing, not that good* change throttles math using floats and not
...
int64, etc. Limite brust bytes to the total rate client requested times a
look ahead estimation time, Avoid queues starvation with updates waiting...
2014-09-02 15:48:59 +01:00
UbitUmarov
18de5c8a2d
make use of it in GetMeshModule, and meshs are Assets not Task itens,
...
reduce MeshModule impact on udp rate
2014-08-29 16:30:49 +01:00
UbitUmarov
7351d92a76
add method to get a category throttle rate
2014-08-29 16:19:30 +01:00
UbitUmarov
fd0a635302
reduce burst
2014-08-29 15:13:46 +01:00
UbitUmarov
438798202f
replace the tick() by a limit on the maximum number of tokens that can be
...
acumulated ( variable named BurtRate, not exactly a rate...)
2014-08-29 13:26:30 +01:00
UbitUmarov
6f590c2f79
disable first drip
2014-08-29 00:05:57 +01:00
UbitUmarov
986863a0cd
try to reduce insane high data rate udp bursts. This needs testing on a
...
region with a lot of contents. Should not affect much average rates.
2014-08-28 22:26:03 +01:00
UbitUmarov
894b5c10c6
remove misplaced comment
2014-08-28 18:54:08 +01:00
UbitUmarov
9839904ebe
try to make sense of throttle rate limits
2014-08-28 18:51:55 +01:00
UbitUmarov
5a2d4fd47f
add some functions for estimation of number of bytes that can be send in a category in specified time
2014-08-28 16:49:32 +01:00
UbitUmarov
ff4df688ba
send all presences terseupdates in same batch
2014-08-28 12:55:31 +01:00
UbitUmarov
ade4bf69b1
if we send wearables with ThrottleOutPacketType.HighPriority, then we
...
should send other avatarinformation with same priority on same Task category ( plus cleanup )
2014-08-28 10:38:31 +01:00
UbitUmarov
38fc1cc445
try to make child presence know its root region. Incomplete, some paths dont send the information.
2014-08-28 00:44:59 +01:00
UbitUmarov
b871029a30
dont create a cadu that is not used. Add a root region global position
2014-08-27 18:05:40 +01:00
UbitUmarov
73cdafd6c9
dont mess throotles values sent to child presences. Some cleanup
2014-08-27 15:57:12 +01:00
Melanie Thielker
012d0b07bc
Merge branch 'ubitworkmaster'
2014-08-27 11:25:17 +02:00
UbitUmarov
1e888d61ca
enqueue also if m_nextPackets[category] is not null. This is really the
...
top element of a category queue, equivalente to using a queue.peek() if
avaiable
2014-08-27 01:33:09 +01:00
UbitUmarov
07ee101a05
bug fix. Was not deleting attachments if on public parcel
2014-08-27 01:09:11 +01:00
UbitUmarov
620443f858
on TPs to nearby regions, only send kills if needed by parcel privacy
2014-08-27 00:37:05 +01:00
UbitUmarov
92b0b27caf
dont append acks to a resend packet
2014-08-26 17:42:44 +01:00
UbitUmarov
dde2ac2544
still testing
2014-08-26 02:22:25 +01:00
UbitUmarov
3ee6144d0c
even less kills on tps
2014-08-26 00:00:21 +01:00
UbitUmarov
6857afe2a4
*test* back to no sog kills, little retouch on attachment updates,
...
NameValue AttachItemID is a root part thing only
2014-08-25 23:31:04 +01:00
UbitUmarov
75cbe620c0
*test* cleanup the bugs nest
2014-08-25 22:45:31 +01:00
UbitUmarov
c24601bc6a
change enconding of attachment updates NameValue and State fields
2014-08-25 21:49:39 +01:00
Melanie Thielker
56081dc5e1
Merge branch 'ubitworkmaster'
2014-08-25 20:33:12 +02:00
UbitUmarov
b1f14ad62f
back to just kills
2014-08-25 14:15:53 +01:00
UbitUmarov
385fcbb75e
*test* send kills and hack
2014-08-25 13:58:50 +01:00
UbitUmarov
094d8686e5
put back the kills on tp where they belong
2014-08-24 02:23:00 +01:00
UbitUmarov
d5814ccf65
*test* move sending kills to before sending the update, this breaks tp
...
abort
2014-08-24 01:04:32 +01:00
UbitUmarov
f4a6be8654
clean sendKill a bit, remove a IsChild that is set too early in a calling
...
path
2014-08-24 00:44:14 +01:00
UbitUmarov
06b6238d00
send avatar kills after attachments, send otherattachments before rest of
...
sog ( updates will mess this again but well... )
2014-08-23 22:24:28 +01:00
UbitUmarov
d55041d934
on updates, send rotations using livomv Quaternion.toBytes() again
2014-08-23 21:13:30 +01:00
UbitUmarov
63d1916f51
Remove entities from updates queues on kill. Do it sync so enqueues after
...
the kill work
2014-08-23 20:59:11 +01:00
Melanie Thielker
9ce1fd7a3c
Merge branch 'avination-current'
2014-08-23 19:39:31 +02:00
Melanie Thielker
1fc5dadc60
Add an admin message to refesh a region's map tile. Will be used to periodically
...
rebuild the world map to clean out unused tiles.
2014-08-23 19:38:08 +02:00
Melanie Thielker
3341bbbc3b
Merge branch 'avination-current'
2014-08-23 19:12:12 +02:00
Melanie Thielker
39e052982b
Fix a null ref that will cause an exception if a grid region doesnt' specify a URI.
2014-08-23 19:10:15 +02:00
Melanie Thielker
5f51abada9
If GridUserService is asked for a nonexistent user, bail gracefully
2014-08-23 18:17:33 +02:00
Melanie Thielker
d34599b1a5
If GridUserService is asked for a nonexistent user, bail gracefully
2014-08-23 18:16:11 +02:00
Melanie Thielker
1a7efc2c64
Change the map tile system to be multi-grid hosting compatible
...
Conflicts:
OpenSim/Server/Handlers/Map/MapRemoveServerConnector.cs
2014-08-23 17:33:14 +02:00
Melanie Thielker
cbd7c7b9ec
Change the map tile system to be multi-grid hosting compatible
2014-08-23 17:27:01 +02:00
UbitUmarov
8fd836c299
back to sending attachment sog kills in place of the hack. This is the
...
official way of doing it
2014-08-23 12:03:55 +01:00
UbitUmarov
1aa335078a
sop SendFullUpdate() goes by presence if it is a attachment
2014-08-22 21:54:00 +01:00
UbitUmarov
0295e6822d
some cleanup ( well or not )
2014-08-22 20:01:07 +01:00
UbitUmarov
9a8d8d2130
Merge branch 'master' into ubitworkmaster
2014-08-22 01:06:43 +01:00
UbitUmarov
c95fd60806
revert the kills, they seem even worse
2014-08-22 00:28:05 +01:00
UbitUmarov
0da7f8e863
silly...
2014-08-22 00:01:50 +01:00
UbitUmarov
be02fb3904
replace hack by sog kills on tp out
2014-08-21 23:43:06 +01:00
UbitUmarov
d5bb80798d
make the hack more extensive. Forbid sog/sop updates if Intransit but
...
release it sooner
2014-08-21 23:18:51 +01:00
UbitUmarov
6674548af0
replace AgentHasMovedAway + KillEntity by a hacked version on teleports
2014-08-21 22:42:45 +01:00
UbitUmarov
ad83b18634
some cleanup..
2014-08-21 14:07:55 +01:00
UbitUmarov
b68c814bc6
...
2014-08-21 10:53:59 +01:00
UbitUmarov
114144407b
variations..
2014-08-21 09:32:36 +01:00
UbitUmarov
5f1cb6542d
test
2014-08-21 06:35:11 +01:00
UbitUmarov
ad6f942279
add filter sog updates
2014-08-21 06:11:19 +01:00
UbitUmarov
d98d64a61a
bug fix
2014-08-21 05:28:35 +01:00
UbitUmarov
d2f3a19838
test
2014-08-21 05:00:51 +01:00
UbitUmarov
6acfa77919
test
2014-08-21 04:35:04 +01:00
UbitUmarov
87f03c040c
bad test
2014-08-21 04:07:23 +01:00
Melanie Thielker
f06f13b59d
Merge branch 'ubitworkmaster'
2014-08-21 02:38:57 +02:00
UbitUmarov
5bf145a397
add a direct sendpartfullUpdate to send a full object update to a part,
...
optionally overriding its parentID. check what it does to attachments
2014-08-21 00:49:10 +01:00
UbitUmarov
ea1c232f92
revert droping udp packet resends after 6 retries, keep resending.
2014-08-21 00:08:43 +01:00
UbitUmarov
88587b4e73
reserve updates priority queue 2 for attachments, send them by it on
...
BestAvatarResp scheme. Attachments cannot be sent on imediate queues,
since they will block everything. Changed distance to priority math,
keeping identical result, shifted to start at queue 3.
2014-08-20 21:41:16 +01:00
UbitUmarov
542118adf1
remove from use the UpdatesResend on resending udp packets. Just resend
...
the UDP packet. Also just loose packets we tried to send 6 times already
(ll says 3) A viewer may just beeing ignoring them, or then the link is just dead.
2014-08-20 18:55:06 +01:00
UbitUmarov
16cf3967b4
Reserve a extra localID for a presence ( it will be localID + 1 )
2014-08-20 17:54:23 +01:00
UbitUmarov
b21b6532b0
sending attachment kills before putting them back doesnt cover all cases
...
and seems heavy for viewers
2014-08-20 17:48:10 +01:00
Melanie Thielker
24b4f6ad7b
Merge branch 'ubitworkmaster'
2014-08-20 04:39:48 +02:00