aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-12-06* now the throttle timer is stopped whilst processing Queue so that it won't ↵lbsa711-0/+1
fire twice * started to refactored throttling method * some code convention refactorings
2007-12-06minor cleanup of Scene.cs (parameter naming, function documentation stubs, ↵Jeff Ames1-95/+225
duplicated UUID, you know...)
2007-12-05From Gary Chernega (IBM)Sean Dague1-2/+2
This patch adds x, y, and z offsets to the load-xml command. If you had a prim at 100,100,20 thats where it would get loaded everytime. This patch lets you place it at an offset from 100,100,20.. as such: load-xml <filespec> -newUI 3 1 2 Loading the prim at 103, 101, 22
2007-12-05made one or two more methods in Scene virtual to allow overriding in sub ↵MW1-1/+1
classes.
2007-12-05* Refactored Permissions into ScenePresence as requested by MWTeravus Ovares1-20/+29
* 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-04* Fixed a whole bunch of console messages.Adam Frisby1-4/+4
2007-12-04* Removed 12 compiler warnings.Adam Frisby1-1/+1
2007-12-03From Justin Casey (IBM)Sean Dague1-1/+1
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-03Added a flag to load-xml console command, that will generate new uuids for ↵MW1-2/+2
the loaded Sceneobjects (as per mantis request #53). To use append "-newUID" to the end of the command, so new format is : "load-xml <filename> -newUID". If you don't add the "-newUID", then the uuids in the xml file will be kept.
2007-12-03minor meaningless changesJeff Ames1-23/+7
2007-12-02Very partial Avatar Appearance (ie, clothes/body parts) "storage". In ↵MW1-4/+4
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.
2007-12-01the fix, so that trunk works againMW1-5/+0
2007-12-01Part 1 of a commit. This revision will not compile, part 2 will be added in ↵MW1-20/+26
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-30* Removed permissions flag appliance from Xml deserializationlbsa711-2/+2
* Various code convention compliance
2007-11-30* Extended our semi-stupid implementation of in world object permissions to ↵Teravus Ovares1-2/+17
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-29* Fixed neighbour range buglbsa711-27/+22
* Various refactorings
2007-11-29* Added a 50 second restart notify timer that gets reset when new regions ↵Teravus Ovares1-27/+27
come up to give servers that host a lot of sims a long time to start listening.
2007-11-29* minor refactoringslbsa711-6/+6
2007-11-29* Fixed about 7 issues with restarting sims and resolved interRegion comms ↵Teravus Ovares1-26/+34
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.
2007-11-28Moved the m_sceneGridService.RegisterRegion(RegionInfo); call out of ↵MW1-29/+22
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-28* Disambiguation in the 'sim is restarting message' that tells you 'which' ↵Teravus Ovares1-2/+2
sim is restarting in the area.
2007-11-28* Restaring the sim works fine in grid mode now. Sims announce themselves ↵Teravus Ovares1-4/+17
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.
2007-11-27Fixed bug, where the clients in a region weren't told to kill a user's ↵MW1-0/+3
avatar when that user teleported to a different region.
2007-11-27Fixed an event in the events chain in inter-region communications.Teravus Ovares1-18/+55
As a consequence, restarting sims in the same process instance now shows them when they come back up in grid mode and standalone mode.
2007-11-26* Restarting regions with the estate tools works in sandbox mode. I'm still ↵Teravus Ovares1-12/+29
working on grid mode, however. It doesn't break anything, but that feature doesn't work in grid mode yet either.
2007-11-25Added Region name to the terrain texture description that gets sent to the ↵Brian McBee1-0/+2
asset server
2007-11-25Rez new prims ON the ground, not halfway buried. Mantis 33.Brian McBee1-4/+10
2007-11-25* Added the ability to restart your individual sims from within them using ↵Teravus Ovares1-4/+97
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-25Ignore nullreferenceexception in removeclient. The avatar is already gone.Brian McBee1-0/+5
2007-11-24* Changed reference to NullReferenceException to ↵Teravus Ovares1-1/+1
System.NullReferenceException for Linux
2007-11-24Test storing terrain texture to grid assetserver on startup. Needed for main ↵Brian McBee1-1/+14
map functionality.
2007-11-24* Added a way for the Region master user to kick individual users from their ↵Teravus Ovares1-3/+66
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 Ovares1-0/+32
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-1/+2
owner issues 'shutdown' on the console.
2007-11-23*Fixed bug causing parcel prim counts to stop updating.mingchen1-0/+13
2007-11-23*Fixed bug that resulted in most land settings being sent to the client. ↵mingchen1-1/+1
Media settings/parcel name are now correctly sent.
2007-11-23* added some functions for use in raytracing. They're kind of crappy now, ↵Teravus Ovares1-0/+44
so they only display 'guesses' on the console when you rez a prim. * any math gurus who'd like to improve rezzing need only to make the raytracer in SceneObjectPart work :D
2007-11-21* Did some initial work for prim crossing. Just glue so far.Teravus Ovares1-1/+3
* 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.
2007-11-20*Huge* structural changes in ODE/OdePrim to get all of the calls in ↵Teravus Ovares1-2/+2
threadlocked code. ODEPrim was almost completely re-written. Copy/Space test needed.
2007-11-18* Refactored IClientAPI.OutPacket to require a second mandatory parameter. ↵Teravus Ovares1-1/+1
This parameter has an enum:int ThrottleOutPacketType and contains types; Resend, Land, Wind, Cloud, Task, Texture, and Asset.
2007-11-18first stab at implementation of CopyInventoryItemJeff Ames1-0/+1
2007-11-18* Found several cases where prim set physical were not subscribing to ↵Teravus Ovares1-0/+6
physics events.
2007-11-18Made the background (ie empty space) colour of the exported map image blue.MW1-0/+2
2007-11-18Added "export-map <filename>" console command to the region server that will ↵MW1-0/+42
export a jpg image of the world map covering a 20 X 20 regions area centred on the current active region (ie the one set with change-region). While this should work in grid mode (if using the grid asset server and if my last commit did fix the world map), you might need to call the "export-map" command then wait a little while (60 seconds?) and then call it again so that you make sure the region has got all the texture assets from the asset server.
2007-11-18Attempt to get World Map working in Grid mode, will need to be using the ↵MW1-6/+13
grid asset server for it to work correctly and has only been quickly tested in a three region grid. Moved PermissionManager creation out of the Scene constructor and instead a PermissionManager is passed to the constructor as a param. So that we could create and use custom permissionsManagers. Added AllowMovement property to ScenePresence which can be used to stop movement of avatars (for example in a custom region that wanted avatars always in one place). Added PermissionManager call when copying objects, although currently the call will always return true so that it allows copying in places like Wright Plaza. A few other changes/fixes.
2007-11-18For every problem there's a solution that is simple, neat and wrong.Dalien Talbot1-4/+1
Looks like it has nothing to do with childregions - reverting and will try to debug after the sleep. Sorry for the noise :)
2007-11-18Looks like we're requesting the mapblocks for every agent - including Dalien Talbot1-1/+4
childagents. The infrastructure is not robust enough to handle it at this time - so ignore all the MapBlock requests for childagents.
2007-11-18Second try at having a bandaid for the multiple logins crashDalien Talbot1-1/+8
2007-11-16* Resolved the situation where prim is loaded from storage and when pushed ↵Teravus Ovares1-0/+1
never stops.
2007-11-16*Added the TimeDilation property to Scenemingchen1-0/+5