Commit Graph

25353 Commits (298e714c048c541bcd7cf8c4f321f4d52f0d3b61)

Author SHA1 Message Date
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