aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* From Justin Casey (IBM)Sean Dague2007-12-031-4/+7
| | | | | | | | | | | | | | | | | | | | | | | 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-032-2/+8
| | | | | | | | | SendInventoryItemCreateUpdate() in order to reflect the actual packet it sends (UpdateCreateInventoryItem). From Justin Casey (IBM)
* minor meaningless changesJeff Ames2007-12-031-2/+2
|
* Attempt to fix mantis issue #82, taking prims into inventory and then ↵MW2007-12-023-5/+26
| | | | rezzing them in another region.
* Added some error handling (and console output) to BaseHttpServer.MW2007-12-021-14/+22
| | | | | a few other bits of refactoring.
* Very partial Avatar Appearance (ie, clothes/body parts) "storage". In ↵MW2007-12-022-11/+7
| | | | | | | | 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.
* Fixes a bug that my last commit introduced.MW2007-12-021-1/+1
|
* Some refactoring , mainly on Inventory code. MW2007-12-027-215/+148
|
* New Inventory folder should now be stored to the inventory server/database. ↵MW2007-12-021-1/+8
| | | | This also seems to fix the problem of Body parts not being persisted properly.
* as a Test, attempted to disable mysql inventory table auto creation.MW2007-12-011-1/+1
|
* Attempt to fix mantis issue # 73MW2007-12-011-8/+12
|
* Initial working Grid Inventory server. Only been tested on a very small ↵MW2007-12-018-6/+129
| | | | | | | grid, so likely to have problems on a larger grid with more people? To use , both the user server and Inventory server need to be running this latest revision. (older regions should be able to still be used, just the user won't have inventory on them). Also and HERE IS THE BIG BREAK ISSUE, currently, so that the initial inventory details for a user are added to the inventory db , you need to recreate the accounts using the user server "create user" feature. It should be quite easy to manual populate the inventory database instead but I someone else will need to look into that) Also I've only tested using SQLite as the database provider, there is a Mysql inventory provider but I don't know if it works (SQLite is set as default, so you will need to change it in the inventory server config.xml)
* Attempt to fix mantis issue # 65, seems like it is a race condition between ↵MW2007-12-011-4/+7
| | | | two regions trying to add a user to the AssetTransactionManager at the same time. So have placed a lock around the Dictionary add.
* Part 1 of a commit. This revision will not compile, part 2 will be added in ↵MW2007-12-011-6/+32
| | | | | | | | | | | 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.
* * Fixed a bug in my 'user already logged in' fix that could cause a null ↵Teravus Ovares2007-11-301-2/+4
| | | | reference exception.
* Patch for mantis 0000015: Textures don't display in the objectSean Dague2007-11-303-9/+25
| | | | | | | | | properties window From Justin Casey (IBM)
* return of the inv-lib-root patch from Justin Casey (IBM)Sean Dague2007-11-302-1/+16
| | | | | | | | Should fix libsl login ability. No long breaks my login to test environment.
* * This extends my first hack to clear out the useragent table for that ↵Teravus Ovares2007-11-301-1/+1
| | | | | | | | specific user. * This helps people who have multiple records in their useragent table. * This update should be looked at.. because really what it should be doing is initiating a grid wide logoff.
* * Here's the issue, on log-off, the routine sets up a null useragent member ↵Teravus Ovares2007-11-302-1/+22
| | | | and then tries to save it to the database.. where it was going wrong, is the database had a check to do *nothing* when it got a null useragent. I made it delete the userAgent row. This should be a good enough fix to solve the problem. It still needs to be looked at by a DB guy
* * Temporary fix for 'User already online' issue in standalone mode.Teravus Ovares2007-11-301-0/+5
| | | | | * Revert this once we get a working logoff.
* revert r2510, this seems to break normal logins, at least fromSean Dague2007-11-292-16/+1
| | | | | | Linux clients.
* return an appropriate inv_lib_root, which the libsl folks haveSean Dague2007-11-292-1/+16
| | | | | | | | identified as the reason libsl can't currently connect to OpenSim. Patch from Justin Casey (IBM)
* * Thanks to _SomeOne_, Server side permissions on object editing. Be aware, ↵Teravus Ovares2007-11-291-2/+2
| | | | 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.
* fixed duplicate login in standalone mode (mostly untested in grid mode)Jeff Ames2007-11-293-7/+6
|
* * Fixed about 7 issues with restarting sims and resolved interRegion comms ↵Teravus Ovares2007-11-291-1/+1
| | | | | | | issues. This includes the issue that MW described this morning. There's a lot of little nit picky changes that make a world of difference.
* set svn:eol-styleJeff Ames2007-11-291-195/+195
|
* Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of ↵MW2007-11-281-1/+1
| | | | | | | 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.
* * Restaring the sim works fine in grid mode now. Sims announce themselves ↵Teravus Ovares2007-11-283-4/+207
| | | | | | | to their neighbors when they start up. Neighbors get this message and tell their agents that there's a new sim up. * Certain unrecoverable physics based crashes in ODE are now hooked up to the 'restart the sim' routine.
* Fixed an event in the events chain in inter-region communications.Teravus Ovares2007-11-274-1/+6
| | | | | As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
* Attempt to handle MYSQL error fetching assetsBrian McBee2007-11-261-10/+17
|
* * Restarting regions with the estate tools works in sandbox mode. I'm still ↵Teravus Ovares2007-11-264-3/+19
| | | | working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
* Added new configuration item to User Server: X and Y of region to send user ↵Brian McBee2007-11-251-0/+12
| | | | 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/+19
| | | | | | | 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.
* * Removed references to "new LLUUID()", replaced with LLUUID.Zero.Adam Frisby2007-11-246-11/+11
|
* * Added a way for the Region master user to kick individual users from their ↵Teravus Ovares2007-11-241-0/+4
| | | | | | | 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-241-0/+5
| | | | the appropriate messages to make it think it's got god status. Will be used for finding more unimplemented packets....
* * Refactored NumPackets calculationlbsa712007-11-231-20/+21
|
* * Quelled a Log format exception in the logging routines.Teravus Ovares2007-11-221-2/+15
| | | | | | * 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-221-1/+3
| | | | | | | 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.
* * removed erroneous commentslbsa712007-11-221-3/+0
|
* * Added code to capture the draw distance setting from the client.Teravus Ovares2007-11-221-1/+1
| | | | | * Added a support function to InnerScene to calculate the distance between two vectors.
* * Did some initial work for prim crossing. Just glue so far.Teravus Ovares2007-11-213-0/+49
| | | | | * Added the child_get_tasks OpenSim.ini flag for testing the UDP packet sending code and packet throttler. This flag gets purposely disabled in grid mode. This flag also has the consequence that you can see the prim in neighboring regions without going into them. Be warned, this causes tons of dropped packets.
* there is no real reason to write this value back to estate settings,Sean Dague2007-11-191-1/+5
| | | | | | and it is the most often tickled part of this race condition.
* * Changed namespacelbsa712007-11-193-3/+1
|
* * Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares2007-11-184-13/+23
| | | | 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-182-3/+3
|
* first stab at implementation of CopyInventoryItemJeff Ames2007-11-184-14/+37
|
* Added handler for MapNameRequest - OnMapNameRequestDalien Talbot2007-11-181-0/+3
|
* Added ClickAction property to SceneObjectPart (and the relevant changes in ↵MW2007-11-171-1/+1
| | | | 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.
* set svn:eol-styleJeff Ames2007-11-171-1015/+1015
|