aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-05* Remove some mono compiler warningsJustin Clark-Casey1-2/+2
2009-08-04trying to fix rare timer related exception.dr scofield (aka dirk husemann)1-12/+12
2009-07-29* An attempt to fix mantis #3953Teravus Ovares1-1/+5
2009-07-28Add the missing block to the alert messageMelanie Thielker1-0/+2
2009-07-28Add the new StatusData block to the other two searchh packetsMelanie Thielker1-0/+10
2009-07-28Fix a null data block in DirClassifiedReply packet, preventing a sessionMelanie Thielker1-0/+4
crash in search. Fixes Mantis #3952
2009-07-27This does NOT address the issue in mantis #3940, but it may avoid the ↵diva1-0/+1
exception reported there by WiLLuMPJuH Huisman pertaining to TeleportFailedPacket.
2009-07-25* Fix Groups Module Null Reference when you were not a member of any group.Teravus Ovares1-1/+2
2009-07-25Correct an issue in group packet sending that causes a nullref withMelanie Thielker1-0/+1
libomv-0.7.
2009-07-25* Updates libOMV to version 0.7.0Teravus Ovares3-26/+36
* Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-19* Remove a noisy debug console message that was used for testing the camera ↵Teravus Ovares1-1/+1
constraints. Ooops.
2009-07-19* Created a way that the OpenSimulator scene can ask the physics scene to do ↵Teravus Ovares1-0/+11
a raycast test safely. * Test for prim obstructions between the avatar and camera. If there are obstructions, inform the client to move the camera closer. This makes it so that walls and objects don't obstruct your view while you're moving around. Try walking inside a hollowed tori. You'll see how much easier it is now because your camera automatically moves closer so you can still see. * Created a way to know if the user's camera is alt + cammed or just following the avatar. * Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-07-17fixed the bug where changing the rotation of a selection of prims in a ↵MW1-9/+13
linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects). This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client. Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files. [Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
2009-07-12Changed the DeRezObject event so it passes a list<uint> of localIDs in one ↵MW1-2/+6
event trigger rather than triggering the event once for every localid in the derez packet.
2009-07-01Formatting cleanup.Jeff Ames1-6/+6
2009-07-01Restore the functionality that was removed in r9928. This lets the loadMelanie Thielker2-50/+50
balancer plugin work again. Create a new method, GetClientEP, to retrieve only the EndPoint for script usage. Marked the purpose of the method in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo functionality.
2009-06-29* C# compiler is not smart enough to understand ClientLoop is under very ↵Arthur Valadares1-26/+25
heavy usage and inline DebugPacket, so DebugPacket is run as a method, causing Packet to be constantly pushed and popped uselessly, if you are not debugging packets. This showed some really big difference in a mock test, let's see how it behaves here.
2009-06-29* Changing List to Dictionary in PacketQueue.Dequeue for great justice (and ↵Arthur Valadares1-8/+18
performance)
2009-06-29Update svn properties, add copyright header, formatting cleanup.Jeff Ames1-2/+2
2009-06-25moving the m_PendingAcksMap.Remove() out of the foreach and clearingDr Scofield1-1/+1
it instead after the foreach as we are going through the whole m_PendingAcks list anyhow
2009-06-25have to clear m_PendingAcks not m_PendingAcksMapDr Scofield1-1/+1
2009-06-25hmph: missing '{'/'}', thx to nebadon for reporting it and rob smartDr Scofield1-3/+10
for spotting it!
2009-06-25fixing windows specific compile error.Dr Scofield1-32/+32
2009-06-25cosmetic changeDr Scofield1-2/+1
2009-06-25streamlining m_NeedAck logicDr Scofield1-31/+29
2009-06-25streamling m_PendingAcks logic to get rid of gratuitous List<...>Dr Scofield1-20/+20
instantiations and object copies.
2009-06-25commenting out expensive bits (who in the world even uses SetClientInfo()?)Dr Scofield1-29/+29
2009-06-25changing DropSend()'s foreach loop so that it does not copy theDr Scofield1-5/+11
LLQueItem m_NeedAck queue each time.
2009-06-25commenting out rather expensive bits of GetClientInfo() --- the onlyDr Scofield1-13/+20
bit of GetClientInfo that is actually used seems to be userEP as part of the OSSL osGetAgentIP() script function. Now commented are the parts where we serialize and copy out the *entire* packet queue of the client (locking the packet handler in the process).
2009-06-25more efficient way of checking for already seen packets:Dr Scofield1-29/+47
- uses Environment.TickCount for all timestamps (instead of more costly Util.UnixTimeSinceEpoch() - takes care of Environment.TickCount overflow (which will happens after 24.8 days of system uptime) - avoids instantiating List copies for each check - gets rid of one lock() invocation - moves calculation of loop invariant variable out of the loop itself
2009-06-25adding logging statement for receive buffer sizeDr Scofield1-0/+2
2009-06-25- adds the possibility of setting the socket receive buffer sizeDr Scofield1-35/+51
option for LLUDPServer. On windows .NET the default socket receive buffer size is 8192 bytes, on recent linux systems it's about 111K. both value can be a bit small for an OpenSim instance serving many clients. The socket receive buffer size can be configured via an OpenSim.ini config option - adds a general catch clause to LLUDPServer.OnReceivedData() to prevent it submerging when an unexpected Exception occurs.
2009-06-25From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield3-75/+166
This change moves texture send processing out of the main packet processing loop and moves it to a timer based processing cycle. Texture packets are sent to the client consistently over time. The timer is discontinued whenever there are no textures to transmit. The behavior of the texture sending mechanism is controlled by three variables in the LLCLient section of the config file: [1] TextureRequestRate (mS) determines how many times per second texture send processing will occur. The default is 100mS. [2] TextureSendLimit determines how many different textures will be considered on each cycle. Textures are selected by priority. The old mechanism specified a value of 10 for this parameter and this is the default [3] TextureDataLimit determines how many packets will be sent for each of the selected textures. The old mechanism specified a value of 5, so this is the default. So the net effect is that TextureSendLimit*TextureDataLimit packets will be sent every TextureRequestRate mS. Once we have gotten a reasonable feeling for how these parameters affect overall processing, it would be nice to autonmically manage these values using information about the current status of the region and network. Note that this also resolves the pathologcal problem that previously existed which was that a seated avatar generated very few in-bound packets (theoretically) and would therefore be the least able to retrieve the images being displayed by a projector script.
2009-06-23Also fix group role membership packet sizes to stay safely below MTUMelanie Thielker1-29/+41
2009-06-23Can I be this dumb?Melanie Thielker1-1/+0
2009-06-23Fix an error in group membership sending when the memebr count exceeds 60Melanie Thielker1-2/+6
Also reduce limit to 40 to allow for last logon dates and titles
2009-06-23Allow the member list of groups with more than 70 members to be viewedMelanie Thielker1-36/+42
without crashing
2009-06-23Commenting out the jhurliman fix, since our libOMV doesnt' have those fieldsMelanie Thielker1-5/+5
yet.
2009-06-23Correct an uninitialized field in a packet. Thanks, jhurliman.Melanie Thielker1-0/+8
Fixes Mantis #3831
2009-06-21Correct the behaviro of group deeding and llGetOwner() within deeded objectsMelanie Thielker1-2/+8
2009-06-19From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-3/+18
This patch ensures that the touch positions are set during touch_end events (currently only working for touch_start and touch events).
2009-06-18Thanks Michelle Argus for Mantis #0003742: Terrain editor - Flatten tool ↵Dahlia Trimble1-1/+0
lowers Land
2009-06-17Fix an uninitialized data block. Thanks, jhurlimanMelanie Thielker1-0/+1
2009-06-10Formatting cleanup.Jeff Ames1-2/+2
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames23-23/+23
LICENSE.txt.
2009-05-28This may bring the missing texture back.diva1-1/+5
2009-05-20Add copyright headers, formatting cleanup.Jeff Ames2-6/+6
2009-05-19trying to fix exception with in LLPacketQueue probably caused byDr Scofield1-5/+5
missing locks where the queue was modified.
2009-05-18From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-1/+2
We've encountered problems with textures never fully downloading and objects not moving or being deleted (from the client's point of view) even when the bandwidth settings on the client have been set very low. This can happen over reasonably lossy links (eg you're on the other side of the world from the server) as the server retries 3 times and then gives up. Whilst its possible to set ReliableIsImportant, this forces the server to keep retrying no matter what which potentially could lead to problems. This patch allows for the setting of MaxReliableResends explicitly (is set to 3 normally) in OpenSim.ini so if you know you will have clients connecting with poor connections you can set it a bit higher (10-15 works quite well even for very poor connections).
2009-05-17Removing a superfluous message, just to make bamboo run again.diva1-1/+0