aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Removed 12 compiler warnings.Adam Frisby2007-12-041-1/+1
|
* further encapsulation of function in PacketQueue and PacketThrottleSean Dague2007-12-032-4/+172
|
* From Justin Casey (IBM)Sean Dague2007-12-031-13/+19
| | | | | | | | | | | | | | | | | | | | | | | While exploring what it would take to get the 'new script' button working, I encountered the fact, some way down in the rabbit hole, that if a user renamed an item in their inventory and logged out (without a restart of the simulator), on log in the new name was not preserved. As far as I can see, this was because any updates which didn't occur inside a transaction were ignored by opensim. This patch pays attention to those changes. It generates a new asset when an item is updated and changes the user's inventory properties appropriately. I believe this behaviour is in line with the copy-on-write semantics used in the Second Life protocol - perhaps it could be optimized if we knew for sure that the only copy of the object was in the user's inventory. This also means that if you rename an item (e.g. a script) before you drag it into an object's inventory, the inventory will receive the item's most recent name and description.
* This is a simple patch which just renames an IClientAPI method toSean Dague2007-12-031-1/+2
| | | | | | | | | SendInventoryItemCreateUpdate() in order to reflect the actual packet it sends (UpdateCreateInventoryItem). From Justin Casey (IBM)
* Part 1 of a commit. This revision will not compile, part 2 will be added in ↵MW2007-12-011-4/+14
| | | | | | | | | | | a couple of minutes that should fix that. Some work towards persisting Avatar Appearance (what is being worn). Added OnAvatarNowWearing event to IClientAPI that is triggered by AgentIsNowWearing packets. stub code to subscribe to this event in AvatarFactoryModule. Todo: code needs to be added to AvatarFactoryModule to save the uuids to a database and then read them back when that modules TryGetIntialAvatarAppearance() method is called. Done some changes to Scene to make it easier to subclass it: including changed some private fields to protected and made some methods virtual.
* mod packetqueue to use the throttle class containerSean Dague2007-11-301-75/+52
|
* the packet throttle stuff is duped enough that aSean Dague2007-11-301-0/+95
| | | | | | | seperate container for this probably makes the limits easier to understand
* starting to fill out PacketQueue, refactoring as I go. ThisSean Dague2007-11-301-0/+252
| | | | | | | doesn't link into the rest of the code yet, and won't until it is complete.
* Patch for mantis 0000015: Textures don't display in the objectSean Dague2007-11-301-3/+19
| | | | | | | | | properties window From Justin Casey (IBM)
* * Extended our semi-stupid implementation of in world object permissions to ↵Teravus Ovares2007-11-301-2/+3
| | | | | | | show a user's client that it can't edit a prim if it doesn't have permission. * Permissions is due for a big revamp. The current way it's done is a hack at best.
* add a few more parens to make sure that throttling conditionSean Dague2007-11-291-1/+1
| | | | | | is really happening the way we want it to.
* * Fixed neighbour range buglbsa712007-11-291-2/+2
| | | | | * Various refactorings
* * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, ↵Teravus Ovares2007-11-291-83/+88
| | | | that if you're editing an object on your client that you're not allowed to, it'll appear that it's moving to you, but won't actually be moving on the sim.
* I believe this turns throttling back on. I had expectedSean Dague2007-11-281-8/+8
| | | | | | | that the Queue would come in by reference, but it didn't appear to be.
* merged ClientView into a non partial class. WillSean Dague2007-11-285-3246/+3090
| | | | | | | make it easier to start breaking this up into more discreet functional classes
* Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of ↵MW2007-11-282-5/+6
| | | | | | | LoadWorldMap and into its own public method (which is called during region creation). We shouldn't have things like that in methods like LoadWorldMap as some regions might not being having a worldmap loaded via the LoadWorldMap method (like in custom applications). Deleted the CreateTerrainTextureInitial Method which was a 99% duplicate of CreateTerrainTexture, with just a bool field setting difference. That bool is now passed to CreateTerrainTexture as a param.
* build ThrottleCheck function to clear up bits of the throttleSean Dague2007-11-271-71/+27
| | | | | | | | code. Fix typo on throttling Task packets incorrectly
* moved out nested class to it's own fileSean Dague2007-11-272-15/+44
|
* some variable renames to help me read the throttle codeSean Dague2007-11-273-68/+68
|
* Added new configuration item to User Server: X and Y of region to send user ↵Brian McBee2007-11-251-1/+2
| | | | to if their logon region is down. Known good region, sort of.
* * Added the ability to restart your individual sims from within them using ↵Teravus Ovares2007-11-251-0/+14
| | | | | | | the estate tools. * The sims properly restart, however they don't yet notify the existing avatars that they are up. To see the sim again, you'll need to log-out and back in until I can figure out how to get the proper data to the sims and to the avatar so they reconnect again.
* * Added a way for the Region master user to kick individual users from their ↵Teravus Ovares2007-11-243-5/+26
| | | | | | | sim with a custom message. Their client says, "You've been logged off of secondlife, <Your custom message here> and logs them off. * Added a way for the Region master user to kick *ALL* users from *ALL* their regions in the estate with a custom message.
* * Hanling RequestGodlikePowers. On Request.. sends the sim owner's client ↵Teravus Ovares2007-11-242-18/+7
| | | | the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
* * Added a nice 'The Region is going down.' message to the user when the sim ↵Teravus Ovares2007-11-241-0/+41
| | | | owner issues 'shutdown' on the console.
* * Added more commentsTeravus Ovares2007-11-222-7/+10
| | | | | * Tweaked the esoteric throttler parameters again.
* * Added another code path to skip the packet throttle queues when there's no ↵Teravus Ovares2007-11-221-7/+73
| | | | need to queue the packet up.
* * Quelled a Log format exception in the logging routines.Teravus Ovares2007-11-222-5/+10
| | | | | | * Tweaked some esoteric throttle settings * Removed AgentThrottle from the unsupported packet list.
* Created a client driven packet throttler. The sim now respects the client's ↵Teravus Ovares2007-11-223-21/+434
| | | | | | | network throttle settings but does sanity checks to avoid too little(nothing gets sent) or too much(the sim crashes) data. * Consider this experimental.. however, it looks very promising.
* * Added code to capture the draw distance setting from the client.Teravus Ovares2007-11-221-1/+2
| | | | | * Added a support function to InnerScene to calculate the distance between two vectors.
* * Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares2007-11-185-59/+59
| | | | This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
* cleaned up some mono compiler warningsJeff Ames2007-11-181-1/+1
|
* first stab at implementation of CopyInventoryItemJeff Ames2007-11-182-0/+11
|
* Revert the previous commit - indeed this needs to be fixed in a Dalien Talbot2007-11-181-9/+3
| | | | | | different place...
* Trap the error during the logout with connections to multiple sims on Dalien Talbot2007-11-181-3/+9
| | | | | | | the same box (error in closecircuit) - temp band-aid, should have a better fix.
* Added handler for MapNameRequest - OnMapNameRequestDalien Talbot2007-11-182-0/+10
|
* * fixed goofy documentation errorTeravus Ovares2007-11-171-1/+1
|
* * Added decoding of the AgentThrottleBlock of the AgentThrottle packet. ↵Teravus Ovares2007-11-171-0/+55
| | | | It's still unhandled, and useful data can be sent to the packet throttler :D
* Added ClickAction property to SceneObjectPart (and the relevant changes in ↵MW2007-11-171-2/+2
| | | | IClientAPI so its used), so that the default click action (ie touch, sit, etc) can be set on a prim. Note: Sill need to handle the incoming packets that set this, from the client.
* *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM ↵lbsa712007-11-151-3/+7
| | | | | | | | | | | OpenSim.ini.example ** * Now moved region storage from region to application, so we have one storage per application, instead of one per region. * Changed so that the region store providers use connectionstrings, not filenames * Removed various unfit fields and properties (call me Darwin)
* * Implemented the little friendly pop tooltip messages that appear when you ↵Teravus Ovares2007-11-152-0/+29
| | | | hover your mouse over prim with the object name, description, ownerid.. etc.
* * Copied objects are now owned by the object copier (Next Owner) (however ↵Teravus Ovares2007-11-141-1/+2
| | | | | | | next owner permissions are not applied yet) * In Serverside permissions mode; If you've copied an object, then you can delete it and clean up after yourself. The rest of the permissions functionality is still unchanged. Admin can delete any object.. etc.
* * Added AvatarPicker in Standalone mode. Works for finding avatar to ban, ↵Teravus Ovares2007-11-133-6/+25
| | | | | | | manually trying to add a friend (with the add button) or useful to those who are curious which usernames have visited your standalone sim. Important for future development :D. * Grid mode always returns 0 results until the Grid Communications portion is done.
* first pass on unlinking of objects. From Jay Clarke (IBM)Sean Dague2007-11-132-2/+23
|
* Some work on cleanly removing Regions.MW2007-11-131-0/+10
|
* * Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.Teravus Ovares2007-11-122-0/+8
| | | | | * All thanks to unimplemented packet listing :D
* enable typing animation for chat, maybeJeff Ames2007-11-121-5/+1
|
* added verbose output of unhandled packets from the viewerJeff Ames2007-11-121-6/+8
|
* Patch from Mathias Soeken (thanks Mathias!) to take care of the color Dalien Talbot2007-11-111-1/+5
| | | | | | | and alpha argument of the llSetText command.
* * Moves the Meshmerizer to a separate pluginTeravus Ovares2007-11-101-3/+4
| | | | | | * Experimental. Linux Prebuild needs testing. * One more update after this to remove the ODEMeshing directory....
* add a few more verbose bitsSean Dague2007-11-091-0/+2
|