Commit Graph

27343 Commits (6ded1da9f20a83399d075956e11e953c01321b00)

Author SHA1 Message Date
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
Justin Clark-Casey (justincc) 3a643e2456 Don't allow the last behavior to be removed from a pCampbot bot
If you want to stop existing behavious, add the None behaviour.
2014-08-15 22:44:31 +01:00
Justin Clark-Casey (justincc) 1d2933ca51 Resolve a small race condition on removing bot behaviours that might leave previous behaviour active
Also closes behaviours on disconnect instead of interrupt, though this makes no practical difference.
If existing behaviour is None, other added behavious will not take affect until None is removed (as this is an infinite wait until interrupted).
2014-08-15 22:41:00 +01:00
Justin Clark-Casey (justincc) e0c6bfa81e If a user moves back in sight of a child region before the agent has been closed on teleport, don't unnecessarily resend all avatar and object data about that region. 2014-08-15 21:47:34 +01:00
Justin Clark-Casey (justincc) 91e1aaa5d4 On teleport to a region that already has a child agent established (e.g. a neighbour) don't resend all the initial avatar and object data again.
This is unnecessary since it has been received (and data continues to be received) in the existing child connection.
2014-08-15 21:47:34 +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
Kevin Cozens 626536b8cc Added RestrictEmail to make llEmail only send to avatars email address if true. 2014-08-14 02:40:06 -04: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
Justin Clark-Casey (justincc) 4c781db572 Make RootTerseUpdatePeriod and ChildTerseUpdatePeriod configurable in [InterestManagement] in OpenSim.ini for experimental purposes.
If n > 1 for RootTerseUpdatePeriod only every n terse update is actually sent to observers on same region, unless velocity is effectively zero (to stop av drift).
If n > 1 for ChildTerseUpdatePeriod only every n terse update is sent to observers in other regions, unless velocity is effectively zero.
Defaults are same as before (all packets are sent).
Tradeoff is reduction of UDP traffic vs fidelity of observed av mvmt.
Increasing n > 1 leads to jerky observed mvmt immediateley for root, though not on child, where experimentally have gone to n = 4 before jerkiness is noticeable.
2014-08-14 01:39:26 +01:00
Justin Clark-Casey (justincc) 6ea82ad48a Make some existing reprioritization values changeable outside the scene for test purposes, and use more consise property syntax.
No functional change.
2014-08-14 01:16:58 +01:00
BlueWall dabb8e62f4 Update OpenID server handler with proper interface. fixes http://opensimulator.org/mantis/view.php?id=7301 2014-08-13 20:06:07 -04:00
Justin Clark-Casey (justincc) bc0895c758 On entity transfer of scene presence, replace polling sleep in SP.WaitForUpdateAgent() with a triggered event instead.
Rapid polls are more expensive than triggered events (several polls vs one trigger) and may be problematic on heavily loaded simulators where many threads are vying for processor time.
A triggered event is also slightly quicker as there is no maximum 200ms wait between polls.
2014-08-13 23:45:51 +01:00