Commit Graph

27500 Commits (b6c3592411a0f2b64f3ebd80482fe1fe8cce0097)

Author SHA1 Message Date
Justin Clark-Casey (justincc) ce74418c20 minor:Give console feedback when we sit or stand pCampbot bots.
Also only write console lines for actually connected bots.
2014-08-19 00:58:33 +01:00
Justin Clark-Casey (justincc) 88b2fc61ff Add clientstack.<scene>.OQRERequestsWaiting stat
Only present if OQRE is enabled
2014-08-19 00:42:19 +01:00
Justin Clark-Casey (justincc) 84cea46c10 Add experimental OutgoingQueueRefillEngine to handle queue refill processing on a controlled number of threads rather than the threadpool.
Disabled by default.  Currently can only be enabled with console "debug lludp oqre start" command, though this can be started and stopped whilst simulator is running.
When a connection requires packet queue refill processing (used to populate queues with entity updates, entity prop updates and image queue updates), this is done via Threadpool requests.
However, with a very high number of connections (e.g. 100 root + 300 child) a very large number of simultaneous requests may be causing performance issues.
This commit adds an experimental engine for processing these requests from a queue with a persistent thread instead.
Unlike inbound processing, there are no network requests in this processing that might hold the thread up for a long time.
Early implementation - currently only one thread which may (or may not) get overloaded with requests.  Added for testing purposes.
2014-08-19 00:17:12 +01:00
Justin Clark-Casey (justincc) b375f86f11 Make LLUDPServer.Scene publicly gettable/privately settable instead of protected so that other logging code in the clientstack can record more useful information
Adds some commented out logging for use again in the future.
No functional change.
2014-08-19 00:17:12 +01:00
Robert Adams 64cf75866e BulletSim: Windows and Linux 32 and 64 bit versions of Bullet 2.82 2014-08-18 15:52:49 -07:00
UbitUmarov ffcc1d7fa2 undo the hack.. its useless 2014-08-18 23:14:04 +01:00
Kevin Cozens 321816b32c Prevent exception if inventory item in llGiveInventory() call doesn't exist. 2014-08-18 16:00:49 -04: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
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