aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ODE: added support for Phantom flag. Presently you need to add 1024 to ↵dan miller2007-09-091-10/+13
| | | | ObjectFlags by hand
* Added region console command "edit-scale". To use first use change-region to ↵MW2007-09-081-0/+28
| | | | set the active region as the one you want. Then use "edit-scale <primitivename> <xvalue> <yvalue> <zvalue>" so a example is "edit-scale myprimitive 30.0 25.0 35.0" [ Note the primitive name can't have spaces in it. Also if there is more than one primitive with that name in the region, then it will edit the first one it finds. Also it currently doesn't search through the sub primitives of linked groups. So the primitive needs to be either a single primitive object or the root prim of a group. ]
* Converted the LSL scripting engine into a IRegionModule, so now all ↵MW2007-09-081-0/+8
| | | | | | | | | "modules" share a common base interface and are loaded from the single loader. (It seems to work fine, but I have left the old scriptengine loader, incase we have to change back). Removed the reference to OpenJpeg in the DynamicTextureModule, to see if that was causing the build problem someone is having. Added a Temporary fix for the "existing connection was forcibly closed by the remote host" exception on windows when a user logs out of a multiregion instance. Some early work to prepare for improving the way clients are updated (about prims etc).
* added experimental method of trying to relieve missing prim problem (by ↵MW2007-09-061-9/+17
| | | | adding a limit of the number of prim update packets sent in each update loop).
* fixed mantis bug 375 (copy broken with physics/ODE enabled)dan miller2007-09-061-1/+1
|
* Added "force-update" console command (when a region is set as active), which ↵MW2007-09-051-0/+11
| | | | forces the region to send updates of all the prims to all clients. Not sure how well this is going to work with a few users on at the same time, but it might work as a temporary hack to relieve the problem of missing prims.
* Added partial help info when calling "help" command with a region set.MW2007-09-041-0/+10
| | | | | Added AddDynamicTextureData() to DynamicTextureModule, so that a script (or another module even) can create a dynamic texture by passing a string with the data in, rather than a url. This could be used for anything from a script passing a basic text string (and having it rendered to a texture) or the script building its own html document.
* Removed the exit-region command, now use "change-region root" or ↵MW2007-09-041-0/+11
| | | | "change-region .." to change back to root level. [Would be nice if the command prompt changed to show what the current region was, but think that will need changes to the console code so for now it will have to stay as it is].
* Added "show modules" command that if at root level will display a list of ↵MW2007-09-041-3/+50
| | | | | | | loaded "shared modules" (modules instances that are shared by multiple regions) or if a region is set then will display the list of local modules loaded in that region. Can now use "show users" when a region is set, to have a list of users in just that region displayed.
* Fixed it so change-region works with region names that have spaces in them. MW2007-09-041-1/+1
| | | | | Fixed it so that change-region gives some feedback to show if its worked (found the region) or not.
* Some work on Module loading/management.MW2007-09-041-27/+110
| | | | | | | | Some more modules templates classes (hoping that someone will pick some of these and work on implementing them). Early version of the "Dynamic Texture Module", although currently there are no render modules included (so not really functional without them). Added osSetDynamicTextureURL script function, for attaching a dynamic texture to a prim. Some work on the console command handling. Added "change-region <regionname>" and "exit-region" so that after the use of change-region, the commands entered will apply to that region only. Then use exit-region to return to the top level (so commands then function as they did before and either apply to all regions or to the first region) (Note: this hasn't been tested very much)
* Added a Debug method to the Console/log class that has the Conditional ↵MW2007-08-311-1/+1
| | | | | | | attribute (set to "DEBUG"), so we can use that for writing extra debug info to the console. [for anyone who doesn't know about the Conditional attribute, it is a attribute that can be set on a method, and then any call to that method will on be compiled if the terms of that condition are met, ie is this case only if "DEBUG" is true. So its a cleaner implementation of the #if #endif directives]. A few other minor changes.
* Various small changes (some likely to be removed again soon)MW2007-08-291-3/+4
|
* Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace ↵MW2007-08-281-1/+1
| | | | should equal project and directory.
* Taken the old scripting engine out of Region.Environment and moved it into a ↵MW2007-08-281-9/+0
| | | | separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.)
* Start of trying to make Region/Scene more modular. MW2007-08-281-8/+54
| | | | | | | | | Added preliminary IRegionModule interface. Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way. Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule. Moved most of the code from Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular. Stopped Child agents showing up as part of the "show users" command.
* Fixed the bug that sent a region port as the CAPS url, instead of sending ↵MW2007-08-271-1/+6
| | | | the httpListener port.
* Deleted a few old files that are no longer used.MW2007-08-271-8/+2
| | | | | | Deleted the GridInterfaces projects, and for now moved the old local asset server into Framework.Communications, as we prepare to rewrite the asset cache and asset server. Deleted Framework.manager as I am sure this is no longer in use.
* Another small tweak to image sending.MW2007-08-271-0/+9
| | | | | Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
* Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW2007-08-261-5/+8
| | | | | | | | the assetcache and asset server). Attempt to fix bug # 326. (crashing when using save-xml and hollow prims) Attempt to fix bug # 328 (limit of 50 items in a folder)
* Added RemovePrim method to the physics plugins interface.MW2007-08-231-12/+12
| | | | | | | | Implemented that method in ODE plugin. Hooked it up so when deleting/taking prims into your inventory they will be removed from physics engine. Enabled the other physics hook ups in Scene.cs (and also added registering prims with physics plugin when they are rezzed from Inventory.) So now to get the avatar to prim collision testing working, just change to use the ODE plugin (in the OpenSim.ini file, physics = OpenDynamicsEngine). Remember though ODE only really works (without problems) when running with a single region.
* Implemented Resize Method in OdePrim.MW2007-08-231-5/+5
| | | | | | | | attached the links to that from SceneObject, so now resizing works (as much as resizing currently works in opensim, fixing resizing in general is on my todo list for today). Rotation of a root prim also now updates the physics engine. So think there really is only deleteprim left, then it should be usable (Different shapes (other than boxes that it currently uses) can wait a little bit longer). [of course there are still the other issues of ODE not really working when there is more than one region in a instance of opensim].
* Added a PhysicsActor PhysActor member to SceneObjectPart, and made it so ↵MW2007-08-231-11/+15
| | | | | | | | this is set when registering the prims with the physics engine. Position changes of the prim is now updated straight away to physic engine. (note at the moment, only root prim is registered with physics engine. Think we need to decide how we are going to manage child prims and physics.) As before this is all currently disabled (in scene.cs) until its in a bit more working condition.
* Added danx0r's physics patch, although for now have disabled the lines in ↵MW2007-08-231-0/+12
| | | | Scene.cs, as any changes to prims (like size or position changes) are only updated to the physics engine when you restart opensim. Also prims aren't deleted from the physics engine. These shouldn't be hard to fix.
* Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a ↵MW2007-08-221-0/+1
| | | | script in a primitive is deleted.
* Added Scene.GetSceneObjectPart(uint localID)MW2007-08-221-0/+17
|
* Fixed typo.MW2007-08-221-2/+2
|
* Start of Task Inventory (ie prim's inventory). For now, you can only move ↵MW2007-08-221-0/+4
| | | | scripts into a prim (from your user inventory) and although the script will now show up in the prims inventory, you can't make any changes to it (or delete it). Also a prim's inventory is currently not saved between restarts.
* Added OnRezScript event to Scene.EventManager.Which the script engine should ↵MW2007-08-211-0/+1
| | | | subscribe to. This is triggered whenever a script is moved into a primitive (and includes the localid of the prim and the script text as params) . Currently though the script item isn't deleted from a users inventory, nor does it actually show up in the objects inventory (this will be fixed soon.) So that means that it isn't currently possible to edit a script (or delete it) once it has been added to a primitive.
* Hopefully fixed the problem of users avatars not always showing up when ↵MW2007-08-211-0/+9
| | | | either you or another user has crossed from one region to another. (however a avatar's appearance isn't kept across regions, but we need to add that to inter-regions communications so for now people will have to put up with some other user's avatars appearing as the bald(ish) fat man
* Old group is now deleted from datastore when you link groups/prims, so that ↵MW2007-08-211-0/+1
| | | | the new group can be stored correctly.
* Shift and Drag copying should now work correctly. [This was one of those ↵MW2007-08-211-0/+2
| | | | | | | | stupid little one line bugs that was so much fun to track down that I decided to spend a few hours on it) Linking groups should now work better than it did, but still a bit of work to do on getting the rotations of all the parts after linking right. Added part of dalien's #301 patch (xml loading/saving related parts with some small changes)
* Can now turn on/off server side permission checking (on prim editing etc) ↵MW2007-08-211-72/+4
| | | | | | | from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts.
* The regionUUID is now being passed to the datastore calls.MW2007-08-201-5/+5
|
* Instant Messages between users in the same region should actually now work.MW2007-08-201-4/+2
|
* small clean up.MW2007-08-191-0/+2
|
* Sqlite datastore should now save the textures and extraparams data (used by ↵MW2007-08-191-3/+89
| | | | | | | | | | | | | sculpties) correctly. [Really need to add a ExtraParams field to the sqlite database though, but for now I have combined their data so that we don't lose backward compatibility, know a couple of people have been using the datastore already]. Now have a rough day/night cycle (the movement of the sun needs to be made smoother but for now it is better than we had I think). Added dalien's patch (issue 294) for saving and loading prims to a xml file (think he will be modifying these to be import/export functions and maybe writing a xml datastore for backups). Some preliminary work on task inventory (ie object's/prim's inventory). Added place holder data for AvatarProperties (ie a avatar's profile). Should we store this sort of data on the user server or have another server for it (a normal webserver should work). Added a few more method to IClientAPI. Sure there is something I'm forgeting.
* When teleporting to distant region, you can now go to the point you want to ↵Brian McBee2007-08-181-1/+2
| | | | go to, instead of the default 128,128
* * Introduced IScriptHost as an interface to fetching object data from scripts.lbsa712007-08-161-1/+1
| | | | | | * This meant introducing AbsolutePosition on all objects (since SimChat wants that)
* Taking Prims (SceneObjectGroups) in and out of inventory should now work and ↵MW2007-08-161-2/+6
| | | | if left in inventory will still be there after restarts. (as with the rest of inventory it will only fully work in standalone mode with account authentication turned on).
* More work on inventory, can now create other inventory types, like Clothes ↵MW2007-08-151-0/+3
| | | | and body parts. [Note while you can edit these, at the moment your changes won't be saved between restarts. This will be fixed very soon.]
* Temporary fix for the region crossing crash, Although we need to start to ↵MW2007-08-151-2/+4
| | | | change and improve how we handle caps.
* * Permissions! - You can now only perform certain functions (such as editing ↵Adam Frisby2007-08-151-0/+16
| | | | | | | | | | | | | other peoples objects) if you have permission to do so. * Moved OnPermissionError to EventManager - now triggers a standard blue alert. * Terraforming now requires permission via the permissions manager. [Defaults to admin-only] * Permissions manager is now substantiated in Scene * Buttload of new permissions added. * Estate manager operations now require various levels of permission to operate * OGS1 now produces 'summary reports' for a commsManager of each scene it maintains connections for. Reduces grid network traffic for ping checks. * Added new "permissions true" / "permissions false" console command to enable or disable permissions.
* Partial fix for the permissions on edited notecards/scripts (now you might ↵MW2007-08-141-0/+1
| | | | still see the messages next to the items of no copy or whatever, but they shouldn't stop you doing thing like reading etc)
* preliminary support for editing notecards and scripts. MW2007-08-141-2/+43
| | | | | Although there seems to sometimes be a problem of when you login again, old notecards and scripts will have their permissions messed up and you won't be able to even view their text. This seems to be related to the client's cache, and if you clear your client's cache, on the next login they should be fine again. [I have a couple of ideas about what might be causing this so hopefully will have it fixed soon.]
* Can now create some new empty inventory items (like notecards and scripts) ↵MW2007-08-141-1/+1
| | | | from the create menu in the inventory window. Although currently you can't update/edit them (and have those changes saved).
* Start of inventory items, when you upload a texture the data will now be ↵MW2007-08-141-25/+47
| | | | | | | stored in the inventory database and you will still have that texture in inventory on later logins (Again only in standalone mode with authentication.) Also there might be some problems if you upload textures in other regions to the start one (due to us not updating the CAPS url properly).
* ScriptEngine: Some error handling, logs to loggerTedd Hansen2007-08-141-2/+2
|
* More inventory work, should be able to now create new inventory folders and ↵MW2007-08-141-2/+2
| | | | | | | them be stored in database (so are there on next login). Again only works in standalone mode with Account/password authentication turned on. [Creating new inventory items should be working very soon.] The test is to make sure that it hasn't broke grid mode at all.
* Start of Inventory service, currently only (partially) functional in ↵MW2007-08-141-3/+3
| | | | | | | | standalone mode and using sqlite). In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response. More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.