aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-09-09added avatar updates for physics movement -- fixes gravity & avatar ↵dan miller2-4/+16
collision (ODE)
2007-09-09Little green men (aka dots on minimap). Thanks to bushing for Dalien Talbot1-0/+38
pointing out that it is done by CoarseLocationUpdatePacket.
2007-09-09ODE: added support for Phantom flag. Presently you need to add 1024 to ↵dan miller2-14/+18
ObjectFlags by hand
2007-09-08Partial fix for the "avatars permanently facing east" - now the rotationDalien Talbot1-2/+7
is set correctly, but only with the movement of the avatar. The in-place rotation updates need a little bit of more thought, and will be in a separate commit.
2007-09-08Added region console command "edit-scale". To use first use change-region to ↵MW2-0/+29
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. ]
2007-09-08Cut down on the number of compile warnings. Now down to 5: 4 are related to ↵MW2-8/+16
unused events on IClientAPI and 1 is a unused variable in LSL_BuiltIn_Commands (which I'll leave to Tedd, as he will know if it will be used in the future or not).
2007-09-08Converted the LSL scripting engine into a IRegionModule, so now all ↵MW7-6/+211
"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).
2007-09-06added experimental method of trying to relieve missing prim problem (by ↵MW4-13/+123
adding a limit of the number of prim update packets sent in each update loop).
2007-09-06fixed mantis bug 375 (copy broken with physics/ODE enabled)dan miller2-1/+12
2007-09-05Added "force-update" console command (when a region is set as active), which ↵MW1-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.
2007-09-05Added "Local" and "Temporary" Fields to the AssetBase class.MW1-1/+1
2007-09-04Just trying to get more debug info from a exception that has been reported.MW1-1/+1
2007-09-04Added partial help info when calling "help" command with a region set.MW3-3/+38
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.
2007-09-04Removed the exit-region command, now use "change-region root" or ↵MW2-0/+23
"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].
2007-09-04Added "show modules" command that if at root level will display a list of ↵MW1-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.
2007-09-04Fixed it so change-region works with region names that have spaces in them. MW1-1/+1
Fixed it so that change-region gives some feedback to show if its worked (found the region) or not.
2007-09-04Some work on Module loading/management.MW19-94/+431
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)
2007-08-31Added a Debug method to the Console/log class that has the Conditional ↵MW7-7/+136
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.
2007-08-30Added some place holder classes for various modules.MW6-0/+170
Some work on the asset cache, can people please test this. including on one of the public systems so we can see if it causes problems with multiple users.
2007-08-29few small changes (all work in progress).MW2-8/+33
2007-08-29Fixed the problem of prims not being loaded from the database (that my last ↵MW1-2/+8
commit created).
2007-08-29Various small changes (some likely to be removed again soon)MW6-6/+18
2007-08-29Attempt to cut down how often objects are backed up to the database.MW2-3/+15
2007-08-28Corrected the namespace in OpenSim.Region.Physics.Manager, so now namespace ↵MW6-6/+6
should equal project and directory.
2007-08-28Taken the old scripting engine out of Region.Environment and moved it into a ↵MW36-3084/+4
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.)
2007-08-28Moved XferModule to OpenSim.Region.Environment.Modules namespace/directory.MW1-1/+1
2007-08-28Start of trying to make Region/Scene more modular. MW14-108/+450
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.
2007-08-27Fixed the bug that sent a region port as the CAPS url, instead of sending ↵MW1-1/+6
the httpListener port.
2007-08-27Deleted a few old files that are no longer used.MW6-1058/+4
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.
2007-08-27Stopped EntityBase from implementing IScriptHost, as don't think it should, ↵MW4-1/+10
multiple objects are based on entitybase and they all don't want the baggage from IScriptHost. SceneObjectPart already implements it anyway. Added llGetOwner function, and tested the ll functions that I added in last commit.
2007-08-27Another small tweak to image sending.MW3-1/+11
Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested).
2007-08-26Another attempt to fix the image sending bug (next week, I intend to rewrite ↵MW3-29/+32
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)
2007-08-25Hopefully fixed the bugs in primitives rotation editingMW2-4/+7
2007-08-25updated to include saving of object flags.Sean Dague1-9/+14
People will need to blow away their databases after this point.
2007-08-24Small bit of refactoring to the startup command script code (moved it into a ↵MW1-4/+2
separate method), so that I could add a new CLI command of "command-script <fileName>", so that as well as the startup command script still being processed on startup. A user can create other command scripts and use the single command ("command-script <filename>") to run them at any time. Could be useful for trying out various configurations etc.
2007-08-24Fixed a problem where some prims didn't show up when you crossed or ↵MW1-0/+3
teleported into another region.
2007-08-24Had "using OpenSim.Physics.Manager;" defined twice in SceneObjectGroup.cs, ↵MW1-1/+0
so removed one of them.
2007-08-24Hopefully fixed mantis bug #318 (exception when a prim moves across a ↵MW2-3/+24
border, for now have stopped prims moving beyond a regions area, will add sending prims from one region to another soon).
2007-08-24Scripts are now copied into a prim (ie new copy placed in the prim) rather ↵MW3-9/+34
than moved into there.
2007-08-24Updated sqlite3.dll to version 3.4.2MW2-0/+9
Fixed it so now when you move a script to a Prim or delete a script from a prim the change should show up in the prims inventory straight away (without having to close the edit window and reopen it). When linking prims, all parts except for the root part of the new group are removed from the physics engine, as currently we only really support root parts in the physics engine.
2007-08-23Added RemovePrim method to the physics plugins interface.MW3-12/+27
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.
2007-08-23Implemented Resize Method in OdePrim.MW2-5/+24
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].
2007-08-23Added a PhysicsActor PhysActor member to SceneObjectPart, and made it so ↵MW3-11/+23
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.
2007-08-23Added danx0r's physics patch, although for now have disabled the lines in ↵MW2-0/+13
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.
2007-08-22Added OnRemoveScript(uint localID, LLUUID itemID) event , trigged when a ↵MW5-2/+61
script in a primitive is deleted.
2007-08-22(Untested) Scripts are individually loaded into objects (on rez), and event ↵Tedd Hansen1-1/+1
fired likewise. Bugfixes coming in next commit.
2007-08-22Added Scene.GetSceneObjectPart(uint localID)MW1-0/+17
2007-08-22Made SceneObjectGroup.GetChildPrim() public, for now so that script engine ↵MW2-20/+20
can get ref to the SceneObjectPart/ IScriptHost.
2007-08-22A little bit of cleaning up.MW3-6/+4
2007-08-22added ParentPartID to TaskInventoryItem class to make it easier to store ↵MW1-4/+4
them in database.