aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-06-25Added support for terrain map to be serialised to xml(as base64 binary). ↵MW1-0/+5
useful for places that the terrain map is needed in a serialised form. Also could add console commands to save and load from files, which should be faster than .raw files (these load/save commands are not included/implemented) Add util functions to compress and uncompress strings. Fixed a couple of modules so they use SceneCommunicationService rather than directly call functions on the CommsManager.
2008-06-24Mantis#1587. Thank you kindly, Melanie for a patch that:Charles Krinke1-2/+2
Add permissions magling to llGiveInventoryItem, correct some corner case functionality
2008-06-21* refactor: Making some of the serialization names consistent, both within ↵Justin Clarke Casey1-2/+2
their pairings and with the others * This does make some of the names less ideal than others - this should change in the future
2008-06-21* Refactor: Fold sog.DeleteParts() functionality into existing sog.DeleteGroup()Justin Clarke Casey1-2/+1
2008-06-21* Remove a bug I created in r5171 where taking an object would terminate the ↵Justin Clarke Casey1-9/+1
client session * change code to use an explicit state variable instead of using SOG.Name = null to signal deletion
2008-06-21* Adds Region ban capability to Regions. You access this by going to ↵Teravus Ovares1-0/+37
World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar. * It only persists across reboots for the mySQL datastore currently. * Currently have stubs in the other datastores.
2008-06-19* Temporary workaround for mantis 1568. If the avatar apperance factory now ↵Justin Clarke Casey1-3/+20
throws any exception, we will carry on with the default appearance rather than terminating the client login
2008-06-18* By popular demand, skipping trees from the map tile generation routine. ↵Teravus Ovares1-0/+6
Skipping these because we have no good representation, they just appear as blocks that obscure the rest of the map items.
2008-06-18Minor formatting cleanup.Jeff Ames1-42/+26
2008-06-17* Refactor: Move the responsibility for applying physics and sending the ↵Justin Clarke Casey1-5/+6
initial client update to Scene.AddSceneObject() from some of the SceneObjectGroup constructors * I think this has been done cleanly from inspection and testing, but if prim creation or load suddenly starts playing up more than usual, please open a mantis * This also has the effect of stopping the archiver generating ghost in-world prims * Some code dupliction also removed
2008-06-17* refactor: Remove largely duplicate code from ↵Justin Clarke Casey1-0/+5
SceneXmlLoader.CreatePrimFromXml2()
2008-06-16* Refactor: Break out AssetsRequest to a separate file in the Archiver moduleJustin Clarke Casey1-2/+2
2008-06-14* Vintage 2, a good year.Teravus Ovares1-4/+6
2008-06-14* Fixes: 0001554: r5106 update fails to load on some regions with NullRef ↵Teravus Ovares1-0/+20
error on volume portion of maptile drawing routine.
2008-06-14* Enables maptile display in grid mode for simulators that are not on the ↵Teravus Ovares1-4/+77
same instance. * Only generates a new maptile after a refresh interval * Maptile names have the UnixTimeSinceEpoch that they were generated and the regionUUID they're from, so you can know which ones are no longer necessary. * Updates RegionInfo, so backup your /bin/Region/*.xml files.
2008-06-13Update svn properties, clean up formatting, refactor out duplicate ↵Jeff Ames1-34/+12
hard-coded port numbers.
2008-06-12* Split the World Map code into a module.Teravus Ovares1-2/+3
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show. The hack shows regions around the one you're in, but it won't show the one you're in.. you still need to click on the map to get that (not sure why yet). Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
2008-06-12* refactor: For new objects, move attach to backup to occur when adding to a ↵Justin Clarke Casey1-3/+7
scene, rather than on creation of the group * Adding to a scene is now parameterized such that one can choose not to actually persist that group * This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-12* Insulate maptile volume draw routine against TextureEntry oddities.Teravus Ovares1-14/+28
2008-06-12* Added Prim drawing to the mainmap tile generation.. you can see blocks ↵Teravus Ovares1-1/+143
representing the prim now on the mainmap. * It isn't perfect since the blocks are square, however it's pretty good. * Performance is also pretty good, however, if it takes too long for you, you can disable it in the OpenSim.ini * You can see how long it takes in milliseconds on the console when it finishes.
2008-06-11For people receiving: Exception: System.ArgumentException: Value of ↵Teravus Ovares1-8/+41
-2147483648 is not valid for red, I've added the following message; [MAPIMAGE]: Your terrain is corrupted in region {0}, it might take a few minutes to generate the map image depending on the corruption level And, I've also kept it from crashing...
2008-06-10* This completes ObjectDuplicateOnRay.Teravus Ovares1-26/+16
* In English, that means that Copy Selection works now, including Copy Centers and Copy Rotates.
2008-06-07*Fixing another object counting bugmingchen1-3/+3
2008-06-06*Made Object Counting correct with linked objects and turned the previously ↵mingchen1-4/+4
protected functions that only return object counts to public so it can be easily used by outside classes.
2008-06-06* This wraps the autopilot request to the client's sit response. An ↵Teravus Ovares1-0/+1
interesting, but successful way to do it. * This also takes care of a few error situations that were previously never seen.
2008-06-06Minor formatting cleanup.Jeff Ames1-1/+1
2008-06-04Mantis#1446. Thank you kindly, Grumly57 for a patchCharles Krinke1-0/+22
that solves "trees are too small when rezzed"
2008-06-04Formatting cleanup, minor refactoring, svn properties.Jeff Ames1-6/+6
2008-05-31* Implements UserServer logoff in a few situationsTeravus Ovares1-2/+32
* User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there. * From the UserServer, admin types 'logoff-user firstname lastname message'. * Some regions may not get the message because they're not updated yet.
2008-05-30* Refactor: Change multiple requests for a module interface to use a stored ↵Justin Clarke Casey1-16/+12
reference instead.
2008-05-30* Crudely migrate SceneXmlLoader into the Serializer moduleJustin Clarke Casey1-11/+19
2008-05-30while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield1-1/+5
noticed that Scene.Close() will only call Close on non-shared region modules. i've now added code to SceneManager.Close() to collect all shared region module from each scene before calling Scene.Close() on it and then, once, all Scenes are closed, go through the list of collected shared region modules and close them as well. SceneManager.Close() is only called when we initiate a shutdown --- i've verified that a Scene restart does not trigger the shutdown of shared modules :-) also, this adds a couple of bug fixes to the IRCBridgeModule (which after all didn't take kindly to being closed) as well as a check to InterregionModule's Close() call. finally, this fixes the RestPlugin's XmlWriter so that it no longer includes the "xsd=..." and "xsi=..." junk.
2008-05-29Mantis#1411. Thank you kindly for Dataserver.cs and a patchCharles Krinke1-0/+5
that adds function stub to request region info by name and adds llRequestSimulatorData() and the dataserver event
2008-05-28Formatting cleanup.Jeff Ames1-6/+6
2008-05-26Thank you kindly, Melanie for a patch for script resetCharles Krinke1-0/+1
that creates the event handler chain ready to hook by script engines
2008-05-26This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield1-2/+0
llOwnerSay() via the newly created Scene.SimBroadcast() call.
2008-05-26* Extract and boil down necessary texture UUIDs for an archive of the scene ↵Justin Clarke Casey1-0/+8
prims * no user functionality yet
2008-05-26* Refactor: Where possible, change visibility on InnerScene methods to ↵Justin Clarke Casey1-3/+6
protected internal on the basis that they shouldn't be manipulated by outsiders
2008-05-26* Refactor: remove code duplication between add ScenePresence methods in ↵Justin Clarke Casey1-1/+0
InnerScene
2008-05-26* Refactor: Separate out RemoveScenePresence and add into InnerScene to ↵Justin Clarke Casey1-25/+4
match existing AddScenePresence
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames1-17/+17
2008-05-25* Refactor: Collapses parts of different code paths in scene used when ↵Justin Clarke Casey1-26/+26
deleting and unlinking an object
2008-05-24* Refactor: Collapse some multiple remove object pathsJustin Clarke Casey1-42/+29
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-24* Refactor: Remove some unused methods in Scene/InnerSceneJustin Clarke Casey1-5/+0
2008-05-24* Refactor: Change previous commits Object methods to SceneObject methods ↵Justin Clarke Casey1-8/+8
instead, on the basis that this is less likely to cause confusion with c#'s base object type
2008-05-24* Refactor: Renaming various *Entity*() methods to *Object*() methods on the ↵Justin Clarke Casey1-8/+20
basis that they all take SOG parameters to improve code readability for now
2008-05-24* Refactor: Push some dictionary initialization down from Scene into InnerSceneJustin Clarke Casey1-6/+5
2008-05-24* Get the xml2 entities serialization representation in the archiver moduleJustin Clarke Casey1-2/+2
* Not yet reusing serialization module - this will happen in the future * No user functionality yet
2008-05-24This enables return from the parcel object owner display.Teravus Ovares1-0/+1
There's some oddness with the parcel counts, but if you can get past the oddness, you can return objects under an owner that you have permission to return.
2008-05-23IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield1-1/+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().