aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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.
* * Enabled dead region tracking for ChildAgentDataUpdates Teravus Ovares2008-01-222-8/+23
| | | | | | | ** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region * Enabled Child_Get_Tasks in grid mode. * When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
* * And, so did the UDPServer VerbosenessTeravus Ovares2008-01-211-16/+7
|
* * Stopped Physical Object saving on SQLite got commented out in my last ↵Teravus Ovares2008-01-211-4/+16
| | | | commit.. un commenting it out now.
* Check if remote simulator is up before attempting teleport. Teleport to a ↵Brian McBee2008-01-201-2/+2
| | | | remote region should now fail gracefully if remote simulator is down.
* * Fixed a packet counting issue that I introducedTeravus Ovares2008-01-161-7/+7
| | | | | | | | * Fixed a bunch of goofy math for calculating the sim stats counters * Made most of the sim stats counters additive so it's easy to change the sim stats interval * Changed the sim stats send interval to 3 seconds
* * Slowed down the sim stats update to once every 5 seconds because the ↵Teravus Ovares2008-01-161-1/+2
| | | | | | | | network accounting required it... with it being the lowest updated stat. * Time dilation is off now.. because it's the additive of the 0.91 * 10 (adds a second) / 5( the number of seconds since the last update) which results in 0.41td as common * Slowing down the network accounting update will probably fix the red issue.
* * fixed a race condition where several UDP-generated threads would collide ↵lbsa712008-01-161-19/+18
| | | | | | | on accessing AckList * introduced __TryGetValue__ (learn to love it!) instead of ugly ifs and catch
* * Reverted bugfx that really should go into separate commitlbsa712008-01-161-18/+19
|
* * More work on getting the database framework to actually worklbsa712008-01-161-19/+18
|
* * Fix for: http://opensimulator.org/mantis/view.php?id=358Teravus Ovares2008-01-161-2/+13
|
* * Added Packets In/s, Packets Out/s and Current un_acked Packets to the ↵Teravus Ovares2008-01-161-0/+30
| | | | | | | SimStatsReporter * This doesn't take into account the throttler, it just assumes the throttle limit isn't reached.
* * Mother of all commits:Adam Frisby2008-01-151-3/+3
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* * Trying something to see if it helps teleports and border crossingsTeravus Ovares2008-01-121-3/+7
|
* * Exprimental prim inventory persistence can now be enabled by users.Justin Clarke Casey2008-01-111-1/+5
| | | | | | | | | * This can be turned on by setting storage_prim_inventories_experimental = True in OpenSim.ini * Implemented for sqlite and MySQL, no MSSQL implementation yet * As an experimental feature, there is no guarantee that this won't take down your region or that the db representation won't need to change. * More (and continuing) details at http://opensimulator.org/wiki/OpenSim:Prim_Inventory_Persistence
* * Removed superfluous and erroneous perms check on parts.lbsa712008-01-081-392/+390
|
* * Heavy refactoring of MultipleObjUpdate flow for readabilitylbsa712008-01-081-117/+106
|
* * Hiding CompletePingChecks and UseCircuitCode messages.. as the packets ↵Teravus Ovares2008-01-051-3/+3
| | | | | | | are most definitely handled. * My guess is someone was using them to diagnose a problem and they've been in the console output ever since.
* Inventory subfolders working again in grid mode.Brian McBee2008-01-051-56/+58
|
* * Added the ability for estate managers to use the magic secondlife blue ↵Teravus Ovares2008-01-041-8/+27
| | | | | | | card of death to send out region and estate messages. * Switched over Region Restart notices to the magic secondlife blue card of death method.
* Tweaked "show users" formatting, added user's IP address to display.Brian McBee2008-01-031-1/+1
|
* Reduce maximum number of items in an inventory packet to approximate Linden ↵Justin Clarke Casey2008-01-031-3/+3
| | | | servers count, to see if this solves Ursula's inventory problem
* I have fixed the ZeroDecodeCommand bug, and restored my packet recycling ↵Johan Berntsson2008-01-031-68/+64
| | | | code. Let me know by IRC if there are other problems
* * Trying to address TextureSender issueslbsa712008-01-021-5/+0
| | | | | | * The BlockingQueue exposes Contains so we can make sure we don't add a TextureSender to the queue if there's already one present * introduced some TryGetValue and various code convention stuff
* * Re-wrote IM that sends the friend request so that it displays the name of ↵Teravus Ovares2008-01-021-1/+1
| | | | the person who sent the request, or (hippos) if it can't find it.
* * You can add and remove a friend in standalone now within the same ↵Teravus Ovares2008-01-011-0/+37
| | | | | | | | simulator. It saves. * You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet. * I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
* * This update rolls back the packetpool and LibSL changes. Please retest ↵Teravus Ovares2007-12-301-90/+88
| | | | | | | and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version. * This update also fixes scripting and some weird physics reactions
* * Applied Melanie's same instance IM fix. This will make IMs work within ↵Teravus Ovares2007-12-301-1/+12
| | | | the same OpenSim Instance.
* * Rezzing items from Inventory on top of other prim rezzes them 0.5 meters ↵Teravus Ovares2007-12-281-7/+12
| | | | | | | above the 'hit' prim instead of buried in the ground somewhere. * Various Refactorings
* Patch from Johan: LibSL updated to the latest revision (1568) and all ↵Adam Johnson2007-12-282-177/+98
| | | | | | | packets are now recycled to improve performance and memory usage.
* * Patch from Melanie. Thanks Melanie!Teravus Ovares2007-12-281-2/+2
| | | | | | | | | * This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache. * Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one. * It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed. * The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files. * It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
* * Added ability to create new prim on existing prim (rezzing prim from ↵Teravus Ovares2007-12-281-1/+16
| | | | | | | inventory on other prim coming soon). No more new prim buried in the ground by accident. * The prim are at the absolute position of the prim you rezzed it on top of + (0,0,0.5) for now.
* * Optimized usingslbsa712007-12-278-364/+384
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-1/+1
| | | | | | | * PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.
* * Added slightly better object sit handlingTeravus Ovares2007-12-273-94/+104
| | | | | | | | * Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
* * Coded around another Null packet sent by the packet poolTeravus Ovares2007-12-261-18/+21
| | | | | * Condensed 8 calls to unmanaged code in ODE down to 1
* FOR http://opensimulator.org/mantis/view.php?id=226 I have a theory that an ↵Justin Clarke Casey2007-12-241-16/+28
| | | | | | | | | | inventory descendents packet which exceeds a certain size is not being received by the client due to something in the network constraining the maximum UDP packet size. This hypothesis fits the observed facts. The change here reduces the maximum number of items in any single packet to 20. If I'm wrong I'll go back and correct the comments.