aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename handler070 through handler079 with moreCharles Krinke2008-03-021-43/+43
| | | | | appropriate names consistent with their use.
* Rename handler080 through handler089 with moreCharles Krinke2008-03-011-58/+58
| | | | | appropriate names consistent with their use.
* Beginning to change all handler000 through handler094Charles Krinke2008-03-011-25/+24
| | | | | | | | | | | | to more meaningful names starting from the end and working backwards. handler094 -> handlerRequestAsset handler093 -> handlerPacketStats handler092 -> handlerGodKickUser handler091 -> handlerUpdatePrimGroupRotation handler090 -> handlerUpdatePrimRotation Others to come shortly.
* Cleaned up a couple compiler warnings.Jeff Ames2008-02-291-7/+2
|
* disabled AssetDownloadModule and re-enabled the asset download code in the ↵MW2008-02-271-3/+3
| | | | asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow.
* After seeing sdague do his happy dance over trunk working "the best he has ↵MW2008-02-271-70/+77
| | | | | | | | ever seen". I'm not sure I should be doing this commit, but oh well. So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule). So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
* UserService.ClearAgent call is no longer made when a childagent connection ↵MW2008-02-271-1/+1
| | | | | | | is being closed. DisableSimulatorPacket now skips the packet throttles
* * Caught HttpListenerException and swallowed if with outputlbsa712008-02-252-13/+13
| | | | | | | | * Moved Flush into Close since it's always done in that order. * Minor renamings * Reversed if for clarity
* * Converted the last of the events to the private delegate instance method ↵Teravus Ovares2008-02-221-2/+4
| | | | to avoid race conditions.
* * Implement packet queue statisticsJustin Clarke Casey2008-02-222-3/+36
| | | | | | | | | * This will show the packets waiting in each queue for each client logged into a region server * These are displayed using 'show stats' on the region command line * This is in pursuit of a memory leak. * This will require a prebuild
* fixed it so that the different types of trees now work (show up in the ↵MW2008-02-221-1/+5
| | | | clients), problem is that we don't seem to be persisting PrimitiveBaseShape.State in the datastore, so after restart of server, they all turn back into pine trees.
* * Relative large ClientView refactoring of packet Events into .Net ↵Teravus Ovares2008-02-221-256/+686
| | | | recommended format.
* * Fixed an issue where the client thread was aborted before the UDP server ↵Teravus Ovares2008-02-211-4/+11
| | | | | | | sends a message back to ClientView to close it a second time. (yes we call close twice because there are times when the client closes with a logout and disconnects immediately which causes the UDP server to send a close request to the client thread) * This update might make things better, it might expose another issue.
* "threads" command now works. I've added manual tracking of threads (only if ↵Tedd Hansen2008-02-211-0/+1
| | | | compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging.
* Minor cleanup.Jeff Ames2008-02-203-5/+5
|
* * Added a few more packets to ClientView. Added tendons to the Skeletal ↵Teravus Ovares2008-02-201-12/+69
| | | | Groups Module, made it shared to save on threads.
* * Cleanup of some memory consuming items on ScenePresence.Close().Teravus Ovares2008-02-201-1/+1
| | | | | | * Untangled a tangly shutdown loop for the ScenePresence. * Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
* Playing "Name that thread". Adding names and isbackground=true to all ↵Tedd Hansen2008-02-191-0/+1
| | | | threads so it will be easier to debug.
* Committing ahzz's patch #619 - Description:Teravus Ovares2008-02-181-10/+24
| | | | | | | | Patch provided by Openlifegrid.com Adds locks around clientCircuits and clientCircuits_reverse Adds existance check on adding to clientCircuits for clients resending UseCircuit packet. Adds locks around Clientmanager.m_clients for add/remove/tryGet calls
* * Since default loglevel is debug, I'm commenting out the resending x packet ↵Teravus Ovares2008-02-181-2/+2
| | | | lines instead. If you want to see them, uncomment the lines, alternatively open up the simulator statistics in the client to get a 'bytes unacked' which is the same information, just compressed so it doesn't lag the simulator and make it harder to pick out useful debug information from the console.
* * Putting the resending x packet into debug mode only. Set your loglevel ↵Teravus Ovares2008-02-181-1/+1
| | | | to debug to see them or pull up the simulator statistics in the client to see the 'un acked packet bytes'.
* * Thanks to Ahzz, more verbose error messages on the console and possibly a ↵Teravus Ovares2008-02-181-33/+50
| | | | fix to the b*stard Sakai issue.
* * Added /even more/ debugging messages to the UDP server to help people in ↵Teravus Ovares2008-02-182-8/+72
| | | | resolving the Sakai issue. A few locks a few fixes, nothing that'll solve the problem in itself though.
* Thank you very much Ahzzmandius for adding the supportCharles Krinke2008-02-181-0/+22
| | | | | | to purge the avatars inventory "Trash" folder using the bizarre tortoiseSVN method of diff/patch.
* Some changes to remove some of the direct calls to CommsManager from Scene, ↵MW2008-02-161-1/+2
| | | | so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!)
* * Removed some catch-all-ignores from UDPServer in an attempt to look for #305.Adam Frisby2008-02-141-4/+4
| | | | | * Minor work towards abstracting terrain.
* * Clean up LIBRARY INVENTORY messagesJustin Clarke Casey2008-02-131-4/+4
|
* * various minuscule code convention conformance fixeslbsa712008-02-121-1/+2
|
* * A bunch of updates to make things more smooth.Teravus Ovares2008-02-121-1/+1
| | | | | | | | | | | ** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation) ** Disabling prim that inter-penetrate instead of just not attaching a joint ** Reduced prim spin a 'little' bit, but not *enough* ** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter ** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets. ** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method. ** Upped the Inter-penetration depth to 0.25 instead of .08.
* The very beginnings of attachments (no detachments! :)Dalien Talbot2008-02-101-1/+19
|
* * Refactored permissions handling to extract info out of permisisons block ↵lbsa712008-02-101-32/+36
| | | | | | | | in ClientView * Changed some uint constants to Enum values
* Clean up logging calls using String.Format explicitlyJeff Ames2008-02-101-2/+2
|
* * Fixed nebadon's UserServer crash bug from yesterday.Teravus Ovares2008-02-091-2/+12
| | | | | | * Made Estate tools work for estate managers without needing to request admin status First * Added code to make the Simulator version to be reported in the About box of the client
* * Change logger to handle [<entry>] where <entry> contains non alphabetic ↵Justin Clarke Casey2008-02-091-1/+1
| | | | | | | | | characters * Change logger to not print extra line if [<entry>] <text> like string is not logged * Remove more of my previous chatty debugging statements
* * In the most basic situations, ClientView and ScenePresence no longer leak ↵Justin Clarke Casey2008-02-091-4/+4
| | | | | | | | | memory * However, I'm no longer sure they were even a big contributory factor (to this particular leak, there are other causes of other leaks). I need better measurement techniques * Removed most of my debugging gawp
* Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey2008-02-082-5/+19
| | | | light verbosity to this end
* * This update contains a bucket-full of network optimizations.Teravus Ovares2008-02-071-3/+10
| | | | | | | | | * ParcelProperties are sent only when needed instead of on any movement * Terse Updates and other temporary data packets are marked unreliable * After a certain amount of users, the sim actually sends updates on things less * Experimental * Tested to 68 avatar with pCampBot (And it's surprising what actually causes the most lag.. the text chat!)
* * Chasing down memory leak where memory used by a client is not returned on ↵Justin Clarke Casey2008-02-062-1/+12
| | | | | | | | client logout * This code may or may not be on the right track, but I want to save my work so far.
* Converted logging to use log4net.Jeff Ames2008-02-054-70/+75
| | | | | | Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
* * Refactored the sound calls to SceneObjectPart Teravus Ovares2008-02-051-7/+23
| | | | | | * Fixed a few bugs * Wrote an example module to make certain event systems more mature.
* * Rebase all current servers on common abstract BaseOpenSimServer classJustin Clarke Casey2008-02-041-8/+1
| | | | | | | * The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc) * DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
* Patch from mikkopa/_someone Thanks! adds support for llPreloadSound, ↵Teravus Ovares2008-02-041-0/+14
| | | | | | | llTriggerSound, llPlaySound, llPreloadSound. * Time to make music boxes?
* First part of avatar persistence, currently only really works in standalone ↵MW2008-02-042-1/+2
| | | | | | | | | mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
* * Whole buncha stuff.Adam Frisby2008-02-041-0/+17
|
* Implements LSL function llDialog().alondria2008-02-021-1/+36
| | | | | The ScriptDialogReply packet handler is a bit of a hack job. It is currently handled similar to ChatFromViewer, which will trigger the listen() event, however this is not exactly how LL's implementation works and will/can be fixed up later.
* In an attempt to solve multihomed UDP problem I seem to have bound UDP ↵Tedd Hansen2008-02-022-5/+5
| | | | socket to external IP instead of internal :)
* Added commands to change config file from console:Tedd Hansen2008-02-021-1/+1
| | | | | | | | | CONFIG SET section key value value value CONFIG GET section key CONFIG SAVE (it saves, but does it save correctly?:) ScriptEngine will react correctly to any config change made while it is running.
* Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).Tedd Hansen2008-02-022-10/+45
| | | | | | Added option to try alternate UDP ports if the one configured is in use. UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
* * Committing some untested stuff regarding texture animations. This won't ↵Teravus Ovares2008-02-021-1/+18
| | | | break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
* * Added a try/catch handler around childdataupdates because the enumeration ↵Teravus Ovares2008-01-261-0/+1
| | | | is prone to modification when logging on. These can be safely ignored because the data gets old fast and new ones get generated somewhat quickly.