Commit Graph

11257 Commits (62ec60ca76e2331b6dd91b4ab68420fd859ea76c)

Author SHA1 Message Date
MW 0770a5de0a Trying some locks on asset database access. 2007-09-11 04:54:55 +00:00
Brian McBee 1fb47bc4c5 Make grass and trees phantom by default. Same behavior as LL grid. 2007-09-10 19:35:51 +00:00
Sean Dague 31fd84c847 weekly setting of eol-native 2007-09-10 14:35:16 +00:00
lbsa71 b134617e07 * Took a stab at #388 2007-09-10 13:42:11 +00:00
Sean Dague a1be7f4be5 added some debugging for tracing where asset code isn't working with sqlite 2007-09-10 13:34:20 +00:00
Sean Dague ffe9c9374a mass update of urls in source code to new website 2007-09-10 08:14:38 +00:00
MW 22dbe82b26 A couple of fixes to make sure db4o gets set as the default asset database. Also added a couple of console output lines to try to make it easier to tell which asset storage system is in use. 2007-09-10 07:48:22 +00:00
MW 91cc820f34 Added "asset_database =" option to opensim.ini, so the asset database can be selected. Currently set default back to db4o until more people test using sqlite. 2007-09-10 07:23:43 +00:00
MW 15423539f9 hooked up sdague new sqlite asset database provider to the old asset system. So we can still use sqlite for assets while we wait for the rest of the new asset system to be wrote.
Needs more testing, so if it causes problems will have to swap back to db4o.
2007-09-10 06:45:54 +00:00
lbsa71 7adc2212c7 * Fixed: Accessing xmlrpc with invalid xml data would crash the sim.
* Ignored some bins and gens
2007-09-10 04:30:11 +00:00
dan miller 86e3fc3da2 added avatar updates for physics movement -- fixes gravity & avatar collision (ODE) 2007-09-09 21:21:09 +00:00
Dalien Talbot 907918e68e Little green men (aka dots on minimap). Thanks to bushing for
pointing out that it is done by CoarseLocationUpdatePacket.
2007-09-09 17:32:03 +00:00
dan miller 94b03aa09d ODE: added support for Phantom flag. Presently you need to add 1024 to ObjectFlags by hand 2007-09-09 15:28:15 +00:00
dan miller 588ab9f090 ODE fix: avatar/avatar collision enabled. Needs client update fix to be seen correctly. In the right repository this time.. 2007-09-09 13:24:18 +00:00
Dalien Talbot 21227b4fda A small try/catch wrapper to prevent the CLI errors from nuking the sim.
Now will just print the backtrace on the screen and continue.
2007-09-08 16:48:52 +00:00
Dalien Talbot 3433f3814a Partial fix for the "avatars permanently facing east" - now the rotation
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-08 16:30:39 +00:00
Brian McBee d91b1434fe Another attempt at an i386 version of libode. If this doesn't test out for people with older processors... I dunno what the next step is. 2007-09-08 13:27:11 +00:00
MW 741a967bb3 Added region console command "edit-scale". To use first use change-region to 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-08 11:08:38 +00:00
MW 5020e4e602 Cut down on the number of compile warnings. Now down to 5: 4 are related to 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-08 08:12:19 +00:00
MW c29df824c2 Converted the LSL scripting engine into a IRegionModule, so now all "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-08 07:50:31 +00:00
Sean Dague 294572d7bb added SQLiteAssetData class first pass. This should work,
but it will current store local and temporary assets as well.
Will fix that later.
2007-09-07 13:29:08 +00:00
Sean Dague 568ecc0fe0 remove build files from svn 2007-09-07 12:42:49 +00:00
Sean Dague 6a45a1ce9c factor out common methods to SQLiteBase 2007-09-07 12:37:05 +00:00
Sean Dague ec606250dc minor change to CONTRIBUTORS, and a quick test of the
new svn environment
2007-09-07 11:51:57 +00:00
MW 804e87861b added experimental method of trying to relieve missing prim problem (by adding a limit of the number of prim update packets sent in each update loop). 2007-09-06 14:15:16 +00:00
dan miller 3586beb81b fixed mantis bug 375 (copy broken with physics/ODE enabled) 2007-09-06 03:31:32 +00:00
MW aafc82cd18 Added "force-update" console command (when a region is set as active), which 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-05 21:36:55 +00:00
MW 4efc75eb66 Added "Local" and "Temporary" Fields to the AssetBase class. 2007-09-05 12:00:44 +00:00
Brian McBee 60b3b7f5e7 Fix for permissions on library textures. 2007-09-05 05:05:25 +00:00
Brian McBee 038a6f2aec Recompiled libode to work on older processors 2007-09-05 02:54:59 +00:00
MW 3450911a7e Just trying to get more debug info from a exception that has been reported. 2007-09-04 21:06:42 +00:00
MW c014ea1510 Added partial help info when calling "help" command with a region set.
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-04 20:21:03 +00:00
MW e58a5c7a95 Fixed it so "shutdown" command works when a region is set as the active console region. 2007-09-04 18:28:35 +00:00
MW 76394f46a5 Part 2 of Darok's BulletX patches. 2007-09-04 18:14:45 +00:00
MW 725ef022c6 Part 1 of Darok's BulletX patches. 2007-09-04 18:03:29 +00:00
MW 710856e3d3 Removed the exit-region command, now use "change-region root" or "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-04 17:53:21 +00:00
MW 0eef82291e Added "show modules" command that if at root level will display a list of 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-04 17:09:47 +00:00
MW d7b7ff3d49 Using change-region without a region name will now display the currently active region's name. 2007-09-04 16:48:06 +00:00
MW 16cbc35f0c Fixed it so change-region works with region names that have spaces in them.
Fixed it so that change-region gives some feedback to show if its worked (found the region) or not.
2007-09-04 16:39:44 +00:00
MW bfd36e2e83 Some work on Module loading/management.
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-09-04 13:43:56 +00:00
dan miller 94b1d3c128 reverting opensim.ini to proper default state 2007-09-01 23:07:58 +00:00
dan miller 825a2208c6 ODE bugfix: multiple avatars now supported properly 2007-09-01 21:30:51 +00:00
dan miller 00d4d5a21b once more, without the debug statements (ODE multi-region fixes, various debugging) 2007-09-01 11:06:48 +00:00
dan miller 0901dfded1 umm, nevermind all that -- this is the real ODE region fix. I'll get subversion someday 2007-09-01 11:01:11 +00:00
dan miller b371f049b4 oops -- restoring opensim.ini 2007-09-01 10:34:45 +00:00
dan miller af7e11a81c more ODE fixes & optimizations. Works better with 1834! 2007-09-01 10:32:19 +00:00
Sean Dague 2163fc75eb remove some more rote Verbose strings, leave only ones that actually have something
interesting to say
2007-08-31 13:03:39 +00:00
MW f388a47254 Added a Debug method to the Console/log class that has the Conditional 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-31 12:19:36 +00:00
Sean Dague a37275fe40 change debugging around failed prim loading. I have one prim that doesn't
like loading in my environment, and hopefully this will help figure out
what is going on
2007-08-31 11:48:29 +00:00
dan miller e158a45b09 danx0r (first checkin!) fixes OdePlugin.cs RemovePrim() lock bug 2007-08-30 23:23:44 +00:00