aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-12-07Updates to LibSL revision 1498. Thanks Johan!Adam Johnson1-17/+14
2007-12-07* Added hacked support for 'anyone can move' and 'anyone can copy'.Teravus Ovares1-15/+23
* BACKUP YOUR PRIM BEFORE UPDATING TO THIS and then double check the prim permissions after applying it with a different avatar (then the master avatar or the prim owner avatar). * Also, beware that any objects created under the old permission scheme may react oddly. They may automatically allow anyone to modify them, (which you'll then have to un-set). * It's hacked support because when 'anyone can move is set', any avatar can modify the prim (texture, shape, scale, etc)
2007-12-06added a lock to prevent multiple Timer popping racesSean Dague1-67/+67
on the packet queues.
2007-12-06reversing the r2599 patch, as this started causing CreateThread errors for Sean Dague1-301/+271
me on Mono 1.2.4, which led to client crashes. I think the Timer.Stop() wasn't doing what was desired on Mono. The Queue refactoring should address the readability issues lbsa71 was working on as soon as I get the merge together.
2007-12-06removed obsolete Verbose() functionJeff Ames1-6/+2
2007-12-06* now the throttle timer is stopped whilst processing Queue so that it won't ↵lbsa711-271/+301
fire twice * started to refactored throttling method * some code convention refactorings
2007-12-06* Removed lots of scurrilous uses of ASCII/UTF8.GetBytes for making packet ↵Adam Frisby1-16/+10
strings. BAD PROGRAMMER BAD. Use Helpers.StringToField instead. >_>
2007-12-06removed some duplicate hard-coded port numbers. changed ports to uint.Jeff Ames2-6/+6
2007-12-05* Refactored Permissions into ScenePresence as requested by MWTeravus Ovares1-1/+31
* Un-hackerized generating the client_flags * Now handling the ObjectPermissions Update packet * Warning: Backup your prim before updating. If you fail to do so and something goes wrong then, All Yr prim are belong to us!
2007-12-04keeping opensim safe for children -- made some namespace references less ↵Jeff Ames1-1/+1
explicit
2007-12-04made log messages for known unhandled packet types shorter and yellower. ↵Jeff Ames2-36/+81
added handler stubs.
2007-12-04minor refactor so that I can now grok what happens for outgoing packetsSean Dague1-73/+85
2007-12-04* Fixed a whole bunch of console messages.Adam Frisby2-5/+5
2007-12-04* Removed 12 compiler warnings.Adam Frisby1-1/+1
2007-12-03further encapsulation of function in PacketQueue and PacketThrottleSean Dague2-4/+172
2007-12-03From Justin Casey (IBM)Sean Dague1-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.
2007-12-03This is a simple patch which just renames an IClientAPI method toSean Dague1-1/+2
SendInventoryItemCreateUpdate() in order to reflect the actual packet it sends (UpdateCreateInventoryItem). From Justin Casey (IBM)
2007-12-01Part 1 of a commit. This revision will not compile, part 2 will be added in ↵MW1-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.
2007-11-30mod packetqueue to use the throttle class containerSean Dague1-75/+52
2007-11-30the packet throttle stuff is duped enough that aSean Dague1-0/+95
seperate container for this probably makes the limits easier to understand
2007-11-30starting to fill out PacketQueue, refactoring as I go. ThisSean Dague1-0/+252
doesn't link into the rest of the code yet, and won't until it is complete.
2007-11-30Patch for mantis 0000015: Textures don't display in the objectSean Dague1-3/+19
properties window From Justin Casey (IBM)
2007-11-30* Extended our semi-stupid implementation of in world object permissions to ↵Teravus Ovares1-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.
2007-11-29add a few more parens to make sure that throttling conditionSean Dague1-1/+1
is really happening the way we want it to.
2007-11-29* Fixed neighbour range buglbsa711-2/+2
* Various refactorings
2007-11-29* Thanks to _SomeOne_, Server side permissions on object editing. Be aware, ↵Teravus Ovares1-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.
2007-11-28I believe this turns throttling back on. I had expectedSean Dague1-8/+8
that the Queue would come in by reference, but it didn't appear to be.
2007-11-28merged ClientView into a non partial class. WillSean Dague5-3246/+3090
make it easier to start breaking this up into more discreet functional classes
2007-11-28Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of ↵MW2-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.
2007-11-27build ThrottleCheck function to clear up bits of the throttleSean Dague1-71/+27
code. Fix typo on throttling Task packets incorrectly
2007-11-27moved out nested class to it's own fileSean Dague2-15/+44
2007-11-27some variable renames to help me read the throttle codeSean Dague3-68/+68
2007-11-25Added new configuration item to User Server: X and Y of region to send user ↵Brian McBee1-1/+2
to if their logon region is down. Known good region, sort of.
2007-11-25* Added the ability to restart your individual sims from within them using ↵Teravus Ovares1-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.
2007-11-24* Added a way for the Region master user to kick individual users from their ↵Teravus Ovares3-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.
2007-11-24* Hanling RequestGodlikePowers. On Request.. sends the sim owner's client ↵Teravus Ovares2-18/+7
the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
2007-11-24* Added a nice 'The Region is going down.' message to the user when the sim ↵Teravus Ovares1-0/+41
owner issues 'shutdown' on the console.
2007-11-22* Added more commentsTeravus Ovares2-7/+10
* Tweaked the esoteric throttler parameters again.
2007-11-22* Added another code path to skip the packet throttle queues when there's no ↵Teravus Ovares1-7/+73
need to queue the packet up.
2007-11-22* Quelled a Log format exception in the logging routines.Teravus Ovares2-5/+10
* Tweaked some esoteric throttle settings * Removed AgentThrottle from the unsupported packet list.
2007-11-22Created a client driven packet throttler. The sim now respects the client's ↵Teravus Ovares3-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.
2007-11-22* Added code to capture the draw distance setting from the client.Teravus Ovares1-1/+2
* Added a support function to InnerScene to calculate the distance between two vectors.
2007-11-18* Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares5-59/+59
This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18cleaned up some mono compiler warningsJeff Ames1-1/+1
2007-11-18first stab at implementation of CopyInventoryItemJeff Ames2-0/+11
2007-11-18Revert the previous commit - indeed this needs to be fixed in a Dalien Talbot1-9/+3
different place...
2007-11-18Trap the error during the logout with connections to multiple sims on Dalien Talbot1-3/+9
the same box (error in closecircuit) - temp band-aid, should have a better fix.
2007-11-18Added handler for MapNameRequest - OnMapNameRequestDalien Talbot2-0/+10
2007-11-17* fixed goofy documentation errorTeravus Ovares1-1/+1
2007-11-17* Added decoding of the AgentThrottleBlock of the AgentThrottle packet. ↵Teravus Ovares1-0/+55
It's still unhandled, and useful data can be sent to the packet throttler :D