aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-08-19Extend drop command to "debug lludp drop <in|out>..." to allow drop of ↵Justin Clark-Casey (justincc)2-8/+44
inbound packets. For test/debug purposes.
2014-08-19Add "debug lludp drop out <add|remove> <packet-name>" console command for ↵Justin Clark-Casey (justincc)2-0/+76
debug/test purposes. This drops all outbound packets that match a given packet name. Can currently only be applied to all connections in a scene.
2014-08-19Add clientstack.<scene>.OQRERequestsWaiting statJustin Clark-Casey (justincc)1-0/+19
Only present if OQRE is enabled
2014-08-19Add experimental OutgoingQueueRefillEngine to handle queue refill processing ↵Justin Clark-Casey (justincc)3-5/+288
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-19Make LLUDPServer.Scene publicly gettable/privately settable instead of ↵Justin Clark-Casey (justincc)3-49/+55
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-15If a user moves back in sight of a child region before the agent has been ↵Justin Clark-Casey (justincc)1-1/+1
closed on teleport, don't unnecessarily resend all avatar and object data about that region.
2014-08-15On teleport to a region that already has a child agent established (e.g. a ↵Justin Clark-Casey (justincc)1-1/+1
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-13Only set up the UnackedMethod for an outgoing message if that message is ↵Justin Clark-Casey (justincc)1-1/+3
actually meant to get an ack (because it's reliable).
2014-07-21XBakes: store the assets only in the sim's local assets cache; not in the ↵Oren Hurvitz1-89/+37
main assets server. Also, some cleanup.
2014-07-21In "show throttles", show the maximum drip rate. This shows whether a client ↵Oren Hurvitz2-10/+11
is being throttled due to past poor performance.
2014-07-21Added "debug packet --all" option, which changes the packet logging level ↵Oren Hurvitz1-8/+26
for both current and future clients The existing "--default" option only changes the logging level for future clients.
2014-07-21Fixed the logic that decides if a packet was queued (it was reversed)Oren Hurvitz1-5/+6
2014-07-17fix all instances of "non-existant" to "non-existent" (spelling mistakes) ↵Michael Cerquoni1-1/+1
thanks Ai Austin for pointing this out.
2014-06-21Bug fix in map teleports in varregions. The cherry was missing from the ↵Diva Canto1-3/+2
ice-cream Sunday: the packet itself was hardcoding the size of the region...
2014-06-17Change assembly versions to 0.8.1Justin Clark-Casey (justincc)1-1/+1
2014-06-01Send multiple terrain patches per terrain update packet if terrainRobert Adams1-24/+100
draw distance optimization is enabled. Makes terrain editting a lot snappier.
2014-05-09This little sucker had evaded my attention forever. As a consequence some ↵Diva Canto1-10/+28
assets associated with foreign users were being missed.
2014-05-06- When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz1-1/+4
Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
2014-05-01Fix issue where only one of multiple attachments on the same attachpoint for ↵Justin Clark-Casey (justincc)1-5/+13
NPCs would be seen by other viewers. It appears that at least Singularity 1.8.5 (but probably others) rely on attachment FromItemIDs being different to display more than one. This commit resolves this by generating random IDs instead of always using UUID.Zero for NPCs. Resolves http://opensimulator.org/mantis/view.php?id=7110
2014-04-23Eliminated many warningsOren Hurvitz1-11/+14
2014-04-20Fixed: when any avatar changed his Active Group, it was set as the active ↵Oren Hurvitz1-10/+13
group for *all* the avatars in the scene (not permanently)
2014-04-12BulletSim: reduce the terrain collison margin to be the same as otherRobert Adams1-0/+7
objects in the world. This was originally changed in an attempt to make vehicles work better but the effect was not that large and it causes avatars to float above the terrain.
2014-03-25LogThreadPool: when the thread is for ProcessPacketMethod, also log the ↵Oren Hurvitz1-1/+1
packet type Resolves http://opensimulator.org/mantis/view.php?id=6945
2014-03-24Trim search queries (for users, groups, etc.). I have found that sometimes ↵Oren Hurvitz1-1/+1
the viewer adds a space at the end, which causes searches to fail. Resolves http://opensimulator.org/mantis/view.php?id=6935
2014-02-22Fix problem of hurricane speed winds. Thanks Vegaslon.Robert Adams1-10/+5
2014-02-11varregion: Send large region patches for wind and clouds.Robert Adams1-2/+12
2014-02-04Dropping the rest of Avination's modified appearance code for core.Melanie1-18/+141
Module to follow.
2014-01-28varregion: fix for teleporting by double clicking on a map location.Robert Adams1-0/+13
Thanks Garmin.
2014-01-20Adds a configuration option to cannibalize bandwidth from theMic Bowman2-0/+20
udp texture throttle and move it to the task throttle. Since most viewers are using http textures, the udp texture throttle is holding onto bw that could be used for more responsive prims updates. See the documentation for CannibalizeTextureRate in OpenSimDefaults.ini. Option is disabled by default.
2014-01-10Dynamically adjust to the number of visual params sent.Melanie1-1/+1
2014-01-08If an agent is sitting, then do send the rotation in the agent update ↵Justin Clark-Casey (justincc)1-8/+17
instead of zeroing it to resolve mouselook camera problems Addresses http://opensimulator.org/mantis/view.php?id=6892 Thanks to tglion for this spot. This resolves a recent regression from 17b32b764acd815400d9eb903aaec6dcebd60ac7
2014-01-04Dynamically adjust to the number of visual params sent.Melanie1-1/+1
2013-12-14varregion: rename 'LegacyRegionLocX' back to 'RegionLocX' and same for Y and Z.Robert Adams1-2/+2
Rename 'RegionWorldLocX' to 'WorldLocX' and same for Y and Z. This keeps the downward compatibility and follows the scheme of 'region' and 'world' location naming that is happening in the Util module.
2013-12-11Committing the Avination Scene Presence and related texture codeMelanie1-9/+8
- Parts of region crossing code - New bakes handling code - Bakes now sent from sim to sim without central storage - Appearance handling changes - Some changes to sitting - A number of unrelated fixes and improvements
2013-12-05Fix regression where mouse look flight direction no longer worked by zeroing ↵Justin Clark-Casey (justincc)1-1/+24
x/y rot before sending agent updates, instead of before any agent update processing It turns out that the x/y rot data in mouselook is needed to implement this and to push the avatar against the ground if walking in mouselook. Doing this in the terse send so that we preserve mouselook rotation information
2013-11-29Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵Justin Clark-Casey (justincc)1-5/+2
Vector3.Zero
2013-11-27Fix stand positions rather than having the stand jump to the root prim.Justin Clark-Casey (justincc)1-0/+10
2013-11-23Revert "Fix issue where sitting on non-root linked prims would send camera ↵Justin Clark-Casey (justincc)1-7/+1
to wrong position in third-person and mouselook" Reverting to place on separate branch This reverts commit ff4e7de7769b7eaa1b4fd3917e59f362b708226a.
2013-11-23Revert "Still send CameraEyeOffset in UDP SendSitReponse even if at offset ↵Justin Clark-Casey (justincc)1-2/+5
is Vector3.Zero" This reverts commit 9bdd3dc7de46507b490a2eae5160123a28133d63.
2013-11-23Still send CameraEyeOffset in UDP SendSitReponse even if at offset is ↵Justin Clark-Casey (justincc)1-5/+2
Vector3.Zero As far as I can see it's valid to change the eye offset even if you aren't changing the at target.
2013-11-23Fix issue where sitting on non-root linked prims would send camera to wrong ↵Justin Clark-Casey (justincc)1-1/+7
position in third-person and mouselook We now specify sits as offsets from the root prim, as the viewer expects.
2013-11-06Added sending (for now hard-coded) sim isze in SendMapBlockSplit()Latif Khalifa1-0/+6
2013-11-06Add IncomingPacketsResentCount clientstack statisticsJustin Clark-Casey (justincc)1-0/+23
This records how many packets were indicated to be resends by clients Not 100% reliable since clients can lie about resends, but usually would indicate if clients are not receiving UDP acks at all or in a manner they consider timely.
2013-11-01varregion: fix lawn-mower terrain fill so it works for non-square regions.Robert Adams1-2/+2
Add some debugging logs on region creation to report region size.
2013-10-31Start counting resent packets in the places that I missed when the stat was ↵Justin Clark-Casey (justincc)2-0/+8
first added a few commits ago
2013-10-31Add OutgoingPacketsResentCount clientstack stat.Justin Clark-Casey (justincc)2-1/+32
This allows one to monitor the total number of messages resent to clients over time. A constantly increasing stat may indicate a general server network or overloading issue if a fairly high proportion of packets sent A smaller constantly increasing stat may indicate a problem with a particular client-server connection, would need to check "show queues" in this case.
2013-10-31varregion: fix problem of X/Y dimensions swapped and incorrect terrainRobert Adams1-11/+14
compression base computation. Complete replacement of float[] for terrain heightmap with TerrainData instance.
2013-10-24minor: Add commented out code for apparent passing of texture IDs in ↵Justin Clark-Casey (justincc)1-0/+26
ObjectProperties UDP replies to viewer Not yet shown that this is used or resolves a bug where not all textures appear on objects with an "XML with textures" upload from singularity 1.8.3 Proper texture entries are actually present and appear properly on relog, but not on select from viewer until at least one face texture is changed.
2013-10-24Comment out LLUDPServer.BroadcastPacket() to reduce code complexity. ↵Justin Clark-Casey (justincc)1-38/+38
Appears to be a never used method.
2013-10-24Only set the data present event if we actually queued an outoing packet (not ↵Justin Clark-Casey (justincc)1-4/+17
if we sent immediately)