aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug in AvatarFactoryModule that resulted in removing cloth items, not ↵MW2008-02-151-27/+28
| | | | being persisted.
* More work on trying to get AvatarFactoryModule to play nicely with multiple ↵MW2008-02-141-63/+80
| | | | threads
* Added "better" multi thread handling to AvatarFactoryModule, which uses ↵MW2008-02-141-23/+120
| | | | EventWaitHandles, I'm a bit concerned about what effect this might have on performance in a large grid. But I've spent long enough on this problem for one day and as its valentines day, I will be killed and tortured (most likely not in that order) if I don't stop work for the day soon.
* Revert the index -> Add changes made in AvatarFactoryModule previously. It ↵Justin Clarke Casey2008-02-141-2/+2
| | | | | | | | | appears that in conjunction with MW's locking changes, that two threads may race to create the avatar appearance in the TryGetAvatarAppearance() method. Moving off Add will mean the second replaces the first instead of throwing the exception. This may still not be a good permanent solution - more extensively locking or a code rearrangement could be better. I'm going to leave this in MW's much more familiar hands now.
* * Patch from Dr Schofld's (IBM). In his own wordsJustin Clarke Casey2008-02-131-1/+3
| | | | | | | | | | | | | all TerrainEngine.LoadFromFileX(string filename) methods don't set the dirty bits in heightmap.diff[,] in contrast to the TerrainEngine.LoadFromFileX(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY) cousins. this has the unpleasant drawback that the Scene.SendTerrainUpdate(bool) will not send layer data to the client. the attached patch fixes all LoadFromFileX(.) methods. Thanks! * Also small build fix for AvatarFactoryModule
* Added some locks on the cache Dictionary in AvatarFactoryModule.MW2008-02-131-10/+25
|
* * Fix for mantis 522. However, I would be a little surprised if this code ↵Justin Clarke Casey2008-02-131-3/+3
| | | | did much anyway, so perhaps it's not currently in use.
* * Renamed and moved avatar appearance config keys. Everyone who has ↵Tedd Hansen2008-02-111-2/+2
| | | | | | | | appearance persistence needs to set new params for it (check OpenSim.ini.example) New keys "appearance_persist" and "appearance_connection_string" are now under [Startup]. * Reorganized OpenSim.ini slightly
* small bit of refactoring, MW2008-02-081-4/+9
|
* First part of avatar persistence, currently only really works in standalone ↵MW2008-02-041-12/+52
| | | | | | | | | 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.
* * setting some readonlieslbsa712008-01-311-1/+1
|
* * Optimized usingslbsa712007-12-271-8/+9
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* Minor cleanupJeff Ames2007-12-131-4/+0
|
* * Start listening for client connections immediately after a region ↵Teravus Ovares2007-12-121-1/+8
| | | | | | | | initializes during initial instance startup. (as opposed to waiting for 'all of the regions' to initialize first) * Removed hackish timer based client notification about regions up (no longer needed) * Added a comment about an inventory based login failure that causes me lots of greif testing and debugging. Comment includes *why* it's failing.
* added copyright noticesJeff Ames2007-12-111-0/+28
|
* Enabled the TextureDownloadModule, so that hopefully I might get some ↵MW2007-12-071-1/+1
| | | | feedback, as to if it makes the texture problem better or worse. As I plan/hope to work on texture/asset downloading this weekend.
* Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ↵MW2007-12-071-48/+15
| | | | | | | ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done. Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
* Fixed bug in Appearance update in AvatarFactoryModule.MW2007-12-031-15/+18
|
* Some refactoringMW2007-12-031-7/+9
|
* minor meaningless changesJeff Ames2007-12-031-25/+24
|
* Just for Cfk!MW2007-12-021-1/+1
|
* Added some error handling (and console output) to BaseHttpServer.MW2007-12-021-10/+10
| | | | | a few other bits of refactoring.
* Very partial Avatar Appearance (ie, clothes/body parts) "storage". In ↵MW2007-12-021-16/+83
| | | | | | | | standalone mode it will mean that when you log off and log back on ,as long as the region server hasn't been restarted , your avatar will start with wearing the clothes that it wore on log off. In grid mode its even more limited in that wearing/removing clothes/body parts are only stored in the region server instance you are one. so if you are in a different region to your login region (which are on different region server instances), and then change clothes, those changes won't be remembered. So as said, its very limited but is a small step towards having proper appearance persist. Just need to store this data out to a database.
* small bit of refactoringMW2007-12-011-1/+11
|
* Part 1 of a commit. This revision will not compile, part 2 will be added in ↵MW2007-12-011-0/+30
| | | | | | | | | | | 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.
* * Optimized usingslbsa712007-10-301-8/+3
| | | | | | * Shortened type references * Removed redundant 'this' qualifier
* as per the "Filesystem cleanup for OpenSim repository" mailing list thread. ↵MW2007-10-291-1/+1
| | | | | | | Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace. Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
* normalized line endingsJeff Ames2007-10-291-57/+57
|
* * Added prototypical AvatarFactory module interface to load avatar parameterslbsa712007-10-261-0/+57
* Added dump_assets_to_file option to enable asset dumping for debug * normalized some namespaces * InventoryFolder renamed to InventoryFolderImpl to