aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-231-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | finding out which region a new avatar was logging in to; the same problem occurred when the client/avatar logged out. the reason was mani-fold: - Scene.AddNewClient(...) would call SubscribeToClientEvents(client) which would subscribe to all client events and then call TriggerOnNewClient(...) BEFORE the ScenePresence object had even been created and added. i've moved the TriggerOnNewClient() call to the end of Scene.AddNewClient() - Scene.AddNewClient(...) is called with child == true; a later call to ScenePresence.MakeRootAgent() will turn child to false. When OnNewClient is triggered, child is still true, causing IRCBridgeModule's FindClientRegion to ignore the ScenePresence of the new avatar. i've changed IRCBridgeModule to still use OnNewClient and also OnLogout and OnConnectionClosed but only to signal that the avatar has logged on (logged off respectively). to track whether an avatar has actually entered a region i've added EventManager.OnMakeRootAgent (complementing OnMakeChildAgent). also, i've cleaned up the internal IRCModule code a bit. currently it still uses IClientAPI.SendChatMessage() which replicates the code in ChatModule, that needs to be changed to use TriggerOnChatFromWorld().
* *Refactor of the LandManagementModule that allows OpenSim to run without itmingchen2008-05-231-9/+1
|
* don't trust appearance assetid, instead do an inventorySean Dague2008-05-221-5/+5
| | | | | | | lookup any time we get it from the server. This should preventent unwearable appearance.
* Clean out some crufty in AvatarFactoryModule Sean Dague2008-05-211-13/+10
| | | | | | | | | | Fix RequestUpdateInventoryItem so that asset changes generate a new asset, which is needed for editing appearance to do the right thing. Persistant appearance seems to work after this, except you need to rebake textures some times.
* this removes use of the mapper for wearables, and I can confirm thingsSean Dague2008-05-211-2/+1
| | | | | | | get saved to the database. There are still issues on wearing things after a cleared cache that I'm looking at now.
* Add copyright notices.Jeff Ames2008-05-201-1/+1
| | | | | Fix spelling typo (Thanks ChrisDown for pointing this out)
* fix crash in standalone mode for initial appearance setupSean Dague2008-05-191-3/+3
|
* Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321)Jeff Ames2008-05-191-9/+16
|
* Rework some of the animation logic in an attempt to resolve #1318Jeff Ames2008-05-191-38/+25
|
* Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames2008-05-181-2/+2
| | | | types and null.
* while this doesn't fix the initial no pants issue in grid (which still ↵Sean Dague2008-05-171-6/+16
| | | | | | | | baffles me) it does make setting appearance in grid stick.
* Formatting cleanup.Jeff Ames2008-05-171-3/+3
|
* minor change to justin's previous fix that should stillSean Dague2008-05-161-3/+4
| | | | | | prevent his crashes
* * Removing unnecessary LLUUID.Zero check from AssetCacheJustin Clarke Casey2008-05-161-1/+6
| | | | | | * This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
* Minor cleanup.Jeff Ames2008-05-161-1/+1
|
* Formatting cleanup.Jeff Ames2008-05-161-92/+92
|
* appearance now survives logout. Tommorrow will involve movingSean Dague2008-05-161-1/+2
| | | | | | | the MSSQL and MYSQL mappers back in under datastores and looking at doing gid bits for this
* testing avatar appearance as a user serviceSean Dague2008-05-151-0/+7
|
* minor refactor of some properties for readabilitySean Dague2008-05-151-9/+9
|
* refactoring to move AvatarAppearance into Framework andSean Dague2008-05-151-8/+16
| | | | | | move the appearance sending bits to ScenePresence
* * Comitting 0001271: [PATCH] Refactor permissions to fully allow stacking ↵Teravus Ovares2008-05-141-7/+1
| | | | permissions modules. From Melanie. Thanks Melanie!
* * Applying patch from Melanie to expose godlevel to modules.Adam Frisby2008-05-141-0/+5
|
* * Applying patches from Melanie to cover permissions module. Thanks!Adam Frisby2008-05-141-0/+6
|
* Formatting cleanup.Jeff Ames2008-05-141-1/+1
|
* * Refactored OutPacket out of ScenePresence Teravus Ovares2008-05-141-24/+7
| | | | | * Down to 65 warnings.
* * Implemented ChildAgentDataUpdate throttle multiplier based on an ↵Teravus Ovares2008-05-131-1/+18
| | | | | | | | inaccurate count of neighbors. * The neighbor count is always lower then the actual number of neighbors unless your region was up the longest. * The region you're in is un-affected by this, though, you'll get less packet loss, maybe not get logged off immediately when you log in, and possibly see more prim if your internet connection is semi-unreliable.
* Move animation handling from ScenePresence into its own class.Jeff Ames2008-05-121-152/+49
|
* Thanks Melanie for a patch to stop sending unnecessary animation updates ↵Jeff Ames2008-05-121-1/+3
| | | | (bug #1239).
* Refactoring animation handling in ScenePresence.Jeff Ames2008-05-121-143/+101
|
* Formatting cleanup.Jeff Ames2008-05-121-17/+17
|
* 0001199: [PATCH] Add support for default animations Teravus Ovares2008-05-111-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From Melanie... Thanks Melanie! .
* * Added NPCModule and NPCAvatar classes for NPCs. Primitive, but we can grow ↵Adam Frisby2008-05-111-1/+8
| | | | | | | | them out. * Fix for Scene.Inventory.cs - It assumes every entity at startup is a SceneObjectGroup. (Actually, this shouldn't have compiled[!] without a warning.) * Fix for LandManager at startup - it assumes there's a land channel when perhaps there isnt. (Bug that needs another refactor to fix. [Mike - I've assigned a ticket to you about this])
* *Land/Parcel upates are now correct with a significant movement by the Clientmingchen2008-05-091-11/+2
| | | | | *Moved OnSignificantClientMovement to where it is supposed to be - SceneEvents and not ScenePresence
* * Increasing ScenePresences locking to prevent race conditions such as those ↵Justin Clarke Casey2008-05-071-0/+1
| | | | | | | | | seen in one of the crashes of mantis 1163 * It's not impossible that this could lead to deadlock where sessions simply appear to freeze, even though the region console still responds. * If this is the case, please file a mantis
* * Doh! scripts that get controls should get controls even when you're ↵Teravus Ovares2008-05-071-9/+9
| | | | sitting on an object.
* * Removes references to libsecondlife.Packets from IClientAPI. BAD ↵Adam Frisby2008-05-071-17/+17
| | | | | | | PROGRAMMERS. NAUGHTY. * Thanks to Andrew (DeepThink) for working on this one.
* * Other then the prim update experiments that are going on now, ↵Teravus Ovares2008-05-071-2/+18
| | | | llTakeControls works now along with the 'release controls button'. llReleaseControls() works mostly :D.
* * Theoretically, everything is in place for scripted take controls... ↵Teravus Ovares2008-05-071-1/+103
| | | | | | | Theoretically. * I've still got to test, it's still theoretical code :D. Good thing it isn't enabled by default!
* * Cleaning up code, making it conform to OpenSim standards.Adam Frisby2008-05-061-2/+2
|
* * Committing a bunch of work for control snatching. Not done yet. No ↵Teravus Ovares2008-05-061-0/+125
| | | | visible features.
* * If you llApplyImpulse on an attachment, it applies impulse on the avatar, ↵Teravus Ovares2008-05-061-0/+8
| | | | not the attachment.
* * Refactor: Break out permissions code into a separate region PermissionsModuleJustin Clarke Casey2008-05-051-1/+1
|
* * For your fragging desire, damage enabled land works, but watch out!, life ↵Teravus Ovares2008-05-031-1/+55
| | | | does not regenerate until you're dead!
* * More refactorings of UDPServer.Adam Frisby2008-05-021-1/+1
| | | | | | * Removed all references where possible. * Renamed lots of variables from UDPServerXYZ to clientServerXYZ
* * Rolled back a few changes.Adam Frisby2008-05-011-748/+754
|
* * Spring cleaning on Region.Environment. Adam Frisby2008-05-011-754/+748
| | | | | | | * Converted a large number of read-only fields to be actually, readonly. * Reformatted code sections. * Removed redundant code.
* * Single Attachments now work from inventory. You can attach from inventory ↵Teravus Ovares2008-04-271-0/+10
| | | | | | | | | | | | | | | and detach from inventory. * Detaching from right clicking in world, detaches to your inventory. * If you go up to a prim and attach it from in world, it appears in your inventory. * Attachment placement is saved when you detach them. * Choosing wear remembers your last attachment point from inventory. * Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client * Wrote a recursive method to find the folder of a known existing inventory item. * Removed a block on physics object position on creation. This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error. * Drop doesn't work. The menu item doesn't even come up. Don't know why :P.
* Minor svn, formatting cleanup.Jeff Ames2008-04-271-4/+0
|
* * Ooops, attachments now teleport/cross region borders along with your ↵Teravus Ovares2008-04-261-2/+41
| | | | avatar. Those dastardly objects stick to you.
* replace hard tabs with 4 spaces to be consistant in the source.Sean Dague2008-04-241-64/+64
| | | | | | Please adjust your editors to not use hard tabs.