Commit Graph

21935 Commits (c9079360b9b44443a9394f6ee5fbff741e7ccced)

Author SHA1 Message Date
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
UbitUmarov d16f7df673 also send attachment pre-kills on crossings 2014-08-19 20:33:26 +01:00
UbitUmarov 6aa60a5d97 test .... 2014-08-19 19:56:43 +01:00
UbitUmarov cca2ae3c89 test 2014-08-19 19:47:41 +01:00
UbitUmarov 919aef1573 send zero velocity again on avatar full update or its ugly 2014-08-19 10:03:04 +01:00
UbitUmarov ca43a7fe63 variationsss... 2014-08-19 09:42:45 +01:00
UbitUmarov b0253362c7 remove the silly sendTerseUpdates. I was fooled by wingridproxy not
decoding updates correctly
2014-08-19 09:18:29 +01:00
UbitUmarov 8f0d35e59a fix the encoding of rotation in updates, not just using the next field to
override w bytes. ( specially having it commented )
2014-08-19 09:04:20 +01:00
UbitUmarov e883fb519b test 2014-08-19 06:53:02 +01:00
UbitUmarov 65983cc4fc test 2014-08-19 06:23:30 +01:00
UbitUmarov 1c9af8727d send the avatar data after sending attachments, by the same Entity updates
path
2014-08-19 05:13:18 +01:00
UbitUmarov 42a58101cf HACK force GetPriorityByBestAvatarResponsiveness ignoring configuration 2014-08-19 04:56:33 +01:00
UbitUmarov 9914e371af minor changes to GetPriorityByBestAvatarResponsiveness code 2014-08-19 04:54:25 +01:00
UbitUmarov 505cbf9983 still another ... 2014-08-19 03:58:16 +01:00
UbitUmarov 4c46ebdbf5 fix a missed blocking of sending updates the the new attach points above
hud indexes
2014-08-19 03:47:26 +01:00
UbitUmarov e77fafe12d *test* send attachments in sync, resend avatar at end 2014-08-19 02:15:01 +01:00
UbitUmarov ffcc1d7fa2 undo the hack.. its useless 2014-08-18 23:14:04 +01:00
UbitUmarov d31f361e89 moved hacks to scene presence completemovement, possible only needed
there?
2014-08-18 19:41:16 +01:00
UbitUmarov 73b8dc4183 missing file for previus commit 2014-08-18 19:19:25 +01:00
UbitUmarov 83e545df93 *DANGER* *HACKS* on reusing child presences: partA send kills to
viewers, partB keep using same localID (as before)
2014-08-18 19:14:53 +01:00
Melanie Thielker 4f7acc4c2c Expect a missing directory, the asset cache is shared. Prevent spew if
two nodes run cleanup at the same time.
2014-08-18 17:14:51 +02:00
UbitUmarov 96de2a2fd2 reduce the kills sent, hide attachments kills on origin 2014-08-18 04:07:40 +01:00
UbitUmarov f8e4805d98 NOT GOOD. Changed hide code on crossing/tp. Send needed avatar and attachments
kills, visible so we can see what is going on, to try to improve later
(this are always needed, hidding just made issues more visible )
2014-08-18 01:34:16 +01:00
UbitUmarov 31a2c07e83 put bake bakes, plus a missing change forcing animations to pass by
scenepresence
2014-08-17 09:54:38 +01:00
UbitUmarov 7ce32d717a TEST disable again baked textures on crossing 2014-08-17 07:57:26 +01:00
UbitUmarov d3b3822006 TEST DANGER InformClientOfNeighbourAsync do nothing unless a newagent 2014-08-17 07:32:24 +01:00
UbitUmarov 8d11b96cd9 *DANGER* rearange EnableChildAgents() so that hopefully it does it job
better, like not telling clients to log on regions where they are already
child
2014-08-17 05:59:14 +01:00
UbitUmarov 99a87f18c0 bad test 2014-08-17 04:24:55 +01:00
UbitUmarov 722b3a6523 make EnableChildAgent async from caller 2014-08-17 03:22:05 +01:00
UbitUmarov 4a20760929 remove hack to break sending of baked cache on agent cross update 2014-08-17 02:26:35 +01:00
UbitUmarov ff518e7cbb make webutilmore verbose on PUT for avatar updates. Reduce LargeTime debug
level to 500ms from 3000ms
2014-08-17 02:12:45 +01:00
UbitUmarov 90987a5484 DEBUG intencional break of sending baked cache 2014-08-16 22:56:56 +01:00
UbitUmarov f8b8cf3d8f more detailed timing on completmovement 2014-08-16 22:16:15 +01:00
UbitUmarov f6642a1cc8 minor low resolution debug timming 2014-08-16 21:53:45 +01:00
UbitUmarov 21b3980d2b send avatar Height to children, use it in region tp height check 2014-08-16 21:46:25 +01:00
UbitUmarov dc178959c5 change how avatar data, appearance and animations are sent, specially
the order
2014-08-16 14:52:09 +01:00
UbitUmarov 1edaf29149 NextAnimationSequenceNumber be a udpserver variable with random start 2014-08-16 13:43:26 +01:00
UbitUmarov 7d967c37f4 *test* just send default appearance ( something along path doesnt like
null there )
2014-08-16 00:25:27 +01:00
UbitUmarov 0720c201b2 on teleports dont send baked textures assets in CreateClient, they will do on the update sent next 2014-08-15 23:01:54 +01:00
UbitUmarov 447fd0850a remove duplication of textures, wearables and attachments on crossings.
receiver checks old method if it doesnt get packed appeareace
2014-08-15 21:39:37 +01:00
UbitUmarov 72a6bca033 cleanup a bit 2014-08-15 21:26:50 +01:00
UbitUmarov 3e6f49f3be do CrossAttachmentsIntoNewRegion for old versions in the right place 2014-08-15 19:21:32 +01:00
UbitUmarov a3e45a45bc refix hide on crossings 2014-08-15 19:05:27 +01:00
UbitUmarov 4d770082d5 let failed crossing say something abotu reason 2014-08-15 18:06:04 +01:00
UbitUmarov 1314a02a95 adjust createAgent delay on childs creation. Beeing bad, it should be high
enougth to reasonable account for grid and region lag spikes
2014-08-15 17:44:24 +01:00
UbitUmarov 117d563fd4 remove ban check from create caps. That needs to be done on caller
(scene.NewUserConnection()) acording to cases, and with minimal calls to
 external grid services.
2014-08-15 17:24:01 +01:00
UbitUmarov b4a7126167 remove the delay on child creation on Neighbour since its amout in not
predictable.
2014-08-15 01:22:15 +01:00
UbitUmarov f798f04686 add a extra delay in EnableChildAgents between CreateAgent() return and
telling client to connect, to account for potencial async tasks that need
to finish before the client knocks at the door. Empirical value used
2014-08-14 22:03:41 +01:00
UbitUmarov 0ae8fed4c2 reduce ping cliping lower limit 2014-08-14 21:18:58 +01:00
UbitUmarov 538a95ff1e in show connections show also if it is a childagent connection 2014-08-14 21:05:17 +01:00
UbitUmarov a46d6004df reduce ping filter time constant 2014-08-14 21:04:30 +01:00
UbitUmarov 8c657e4837 add a estimator of client ping time, and painfully make it visible in show
connections console command
2014-08-14 20:41:36 +01:00
UbitUmarov d64fb216d2 try external bakedModule when local cache is invalid and not just at login 2014-08-14 15:39:46 +01:00
UbitUmarov ca28062722 dont mess with Throttles in code also used to send to main regions. Use
full parameters on appearance cloning so its clear we want it all
2014-08-14 12:34:07 +01:00
UbitUmarov 96cc4e5b95 reduced debug msgs 2014-08-14 04:01:54 +01:00
UbitUmarov ab4df26309 only try external baked texture module on login 2014-08-14 03:47:18 +01:00
UbitUmarov 395903d58f *DANGER* dont send baked textures assets to Neighbours. Possible we could
send a lot less
2014-08-14 02:36:50 +01:00
UbitUmarov a1cc218f10 *DANGER* make baked textures cross and make use of it * UNTESTED *
issue:  alll this seems to be sent back to childs, need to stop that
2014-08-14 01:53:51 +01:00
UbitUmarov 1bd13155e6 put back baked textures debug msgs at start of validatebaked... 2014-08-13 20:43:26 +01:00
UbitUmarov 483afe6867 remove creative hack and try to fix 2014-08-13 18:52:13 +01:00
UbitUmarov 3f0138c967 Merge branch 'master' into ubitworkmaster 2014-08-13 15:50:12 +01:00
UbitUmarov 92117d48af remove the region where we are root from the list of Neighbours and
childSeeds
2014-08-13 03:54:13 +01:00
UbitUmarov 444b41b22a reverted last change since it did nothing usefull 2014-08-13 03:11:55 +01:00
UbitUmarov 0a1ffad07c TEST do a Animator.UpdateMovementAnimations() when making root ( in
validate appearence just before sending animation
2014-08-13 03:01:49 +01:00
Melanie Thielker b96f951a6a Merge branch 'ubitworkmaster' 2014-08-13 03:05:54 +02:00
Melanie Thielker ecae45a21e Revert "make HandlerRegionHandshakeReply processing async and delay it a bit. This"
This reverts commit 30f00bfb14.

Conflicts:

	OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
2014-08-13 03:05:25 +02:00
UbitUmarov cf48b814eb remove HandleCompleteMovementIntoRegion delay hack from llUDPserver. If we
need a delay, we need to do it at end of HandleUseCircuitCode before
feeding pending packets (including that one) into processing queue.
2014-08-13 01:42:16 +01:00
UbitUmarov 0760fa3106 process AgentUpdates in order with rest of packets. Only give higher priority to chat 2014-08-13 00:17:03 +01:00
UbitUmarov 20b3cab5d1 take agentUpdate checks out of llUDPserver (disabling useless debug) and
do it only where its supposed to be done..
2014-08-12 23:57:41 +01:00
UbitUmarov f811efde85 do the significance test invalidation at MoveAgentToRegion 2014-08-12 22:36:17 +01:00
UbitUmarov b9224a70c4 no need to go from cos into squared sin when just abs of cos is as good 2014-08-12 22:27:50 +01:00
UbitUmarov dbbfaf3ac3 force AgentUpdate after CompleteAgentMovement to pass by significance test 2014-08-12 22:17:15 +01:00
Melanie Thielker 96d89c5906 Merge branch 'ubitworkmaster' 2014-08-12 22:46:28 +02:00
UbitUmarov 3e7f475e58 fix the damm thing 2014-08-12 21:08:01 +01:00
UbitUmarov bf269c871a use Vector3.normalize in place of util.GetNormalize 2014-08-12 20:59:36 +01:00
UbitUmarov c7e3e59953 try no send current LookAt, remove redundant incomplete position height
check
2014-08-12 20:37:34 +01:00
UbitUmarov 4997a9e87a fix VS creative indentation 2014-08-12 18:42:18 +01:00
UbitUmarov a0f26dc6ec change XMLIrpgGroups attach to events, using the more correct
\addons\Groups\...  model
2014-08-12 18:28:01 +01:00
Melanie Thielker 22d472e34a Merge branch 'ubitworkmaster' 2014-08-11 18:45:39 +02:00
UbitUmarov 2cc8e90bd2 remove a land.SendLandUpdateToClient() since its now done for all cases in
completmovement and not only that specific one
2014-08-11 02:51:34 +01:00
UbitUmarov ba33d78af9 dont do ParcelCrossCheck() on child avatars 2014-08-11 01:44:12 +01:00
Melanie Thielker 0eaabef1dc Fix a condition check 2014-08-11 02:31:29 +02:00
Melanie Thielker 519df0d2a3 Fix a condition check 2014-08-11 02:30:09 +02:00
Melanie Thielker 036017bba7 Make texture anims work right on singu 2014-08-11 02:08:17 +02:00
Melanie Thielker 01e381fa33 Make texture anims work right on singu 2014-08-11 02:07:23 +02:00
UbitUmarov e860dd33fa remove confusing defonly control 2014-08-11 00:54:30 +01:00
UbitUmarov 306875fc61 ... one day.. 2014-08-11 00:49:11 +01:00
UbitUmarov 9217d5ca31 will get there.. 2014-08-11 00:44:34 +01:00
UbitUmarov 0a9925ff4a validatebaked still not ok 2014-08-11 00:28:14 +01:00
UbitUmarov 67a91ee314 make sensors detect sitting avatars also by the distance to the root prim
of the object as sl does (as sl avatar needs to be in the arc)
2014-08-10 22:13:39 +01:00
Melanie Thielker 0e809ab265 LSL llListFindList fix: check types as well as content. Items must be same type
to be found.
2014-08-10 22:01:39 +02:00
Melanie Thielker 4707c48828 LSL llListFindList fix: check types as well as content. Items must be same type
to be found.
2014-08-10 22:00:01 +02:00
UbitUmarov 7fcd1068e7 TEST move parcelRegionCross to EntityTransferModule cross so it works on
sitting avatars. (may be bad) comented out sending root avatars
information to the child that was just a root it should have it all
already. Dont turn a sitting avatar physical,  that needs to be a stand at SOG
2014-08-10 20:09:02 +01:00
UbitUmarov c0378d5430 actually let delay match throttles as original design 2014-08-10 16:36:20 +01:00
UbitUmarov ebc18a80bf OutgoingPacketHandler can not be paced by hits on SendPacket() 2014-08-10 14:49:58 +01:00