Commit Graph

3883 Commits (25fea01b92a7682e10f57ce979217d31fee975ef)

Author SHA1 Message Date
Teravus Ovares d773ca5147 * Made physical prim stable enough for the general population to turn on. (though I still don't recommend it for welcome regions unless object build is off.
* Updated the ode.dll for windows with a more reasonable stack space reserve.  Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode.
* Added internal collision score and am keeping track of 'high usage' prim.
* Tweaked collisions some more
* Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim).  After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however..  non physics things still work, such as logging on to the simulator, etc.
2008-02-13 07:50:15 +00:00
Jeff Ames 001ce95e4c Clean up more unnecessary String.Format calls 2008-02-13 03:38:18 +00:00
Justin Clarke Casey a1a206cb05 * Clean up LIBRARY INVENTORY messages 2008-02-13 02:43:41 +00:00
Justin Clarke Casey 45638cc141 Commenting and a spelling correction 2008-02-13 01:04:27 +00:00
Justin Clarke Casey 1677bde480 * Clean up the agent's asset transactions when it is removed from the scene
* This may or may not help with the memory leak, need to assess
2008-02-13 00:52:49 +00:00
Justin Clarke Casey 365cf8e455 * Refactor: Move last commit's refactor back to AgentAssetTransactionsManager
* Push asset update (invoked when clothing is altered) down into AgentAssetTransactions from Scene.Inventory.cs to join others
* I've tested that clothing creation and update still works, but please let me know if it suddently breaks for you.
* Add/correct comments
2008-02-13 00:30:51 +00:00
Justin Clarke Casey 2018cf312b Refactor: factor a method out of AgentAssetTransactionsManager 2008-02-12 22:41:57 +00:00
Justin Clarke Casey c0211c1ca2 * Add missing locking to mysql inventory plugin
* Should resolve mantis 542
2008-02-12 22:24:12 +00:00
Justin Clarke Casey 6a3455a98c * Refactoring: Rename AssetTransactions.cs and AssetTransactionsManager and align classes with file names
* Small amount of ndoc
* This will probably require a prebuild and nant clean
2008-02-12 18:15:54 +00:00
Teravus Ovares 49a6ac300f * This fixes the object edit box's flipping checkboxes when you modify one of the permission masks or Locked status using the available checkboxes. 2008-02-12 15:47:37 +00:00
lbsa71 d79633b7c7 * various minuscule code convention conformance fixes 2008-02-12 11:21:23 +00:00
Teravus Ovares e5ede36f0c * Physical prim cross borders and continue from where the left off on the other side now, assuming the region on the other side has physical prim enabled. 2008-02-12 07:32:32 +00:00
Teravus Ovares 6e01769bcf * A bunch of updates to make things more smooth.
** Sending the actual TimeDilation to the client now instead of the 62455 constant.  The client is *supposed* to use that value to sync with the simulator.    (actually sending ushort.maxvalue * TimeDilation)
** Disabling prim that inter-penetrate instead of just not attaching a joint
** Reduced prim spin a 'little' bit, but not *enough* 
** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter 
** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets.
** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method.   
** Upped the Inter-penetration depth to 0.25 instead of .08.
2008-02-12 04:27:20 +00:00
Sean Dague fdc42481ed default to appending for log files per Mantis 530, and per
previous OpenSim behavior.
2008-02-12 00:39:08 +00:00
Teravus Ovares c926962862 * This resolves the null exceptions when a script is manipulating a physical object in ODE and you delete the object. The script is still running and trying to add force, but the object reference is null. 2008-02-12 00:01:55 +00:00
Teravus Ovares f603e57e9a * Added PhysicsScene.Dispose()
* In ODE, disposing of all of the ODE objects and the ODE World to reclaim memory when the simulator restarts.
2008-02-11 22:54:51 +00:00
Justin Clarke Casey 7647239f32 Tiny change to print out a warning in a situation which almost guaranteeably never occurs anyway 2008-02-11 21:58:58 +00:00
MW 7bbb9a08cb Re-enabled Inventory creation of body parts 2008-02-11 20:54:46 +00:00
Justin Clarke Casey c80c6e9774 Documenting and minor tweaks 2008-02-11 20:10:44 +00:00
Tedd Hansen 7156d7ae51 Moved share/sql/mysql-AvatarAppearance.sql to OpenSim/Framework/Data.MySQL/Resources/AvatarAppearance.sql as described in share/sql/mysql_README.txt
Thanks dmiles_afk
2008-02-11 18:24:00 +00:00
Tedd Hansen d1e0b642f4 * Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example)
New keys "appearance_persist" and "appearance_connection_string" are now under [Startup].
* Reorganized OpenSim.ini slightly
2008-02-11 18:04:12 +00:00
MW aae37cb1d0 reverted the last three commits 2008-02-11 15:56:01 +00:00
MW a3837a1e9a yet another small change (as part of my fight back against Teravus over taking me in the number of commits) 2008-02-11 15:54:22 +00:00
MW 9cce1ab366 another small change 2008-02-11 15:52:59 +00:00
MW f3ff3a678b small change 2008-02-11 15:52:18 +00:00
lbsa71 e399141dfb * Added some connection debugging 2008-02-11 14:09:35 +00:00
lbsa71 c927928245 * some refactoring on permissions
* temporary re-introduced the weird 'flip-back' behaviour, but debugging it; will remove it if I don't find anything.
2008-02-11 13:26:55 +00:00
Sean Dague c7c567182a From: Ansgar Schmidt <ANSI@de.ibm.com>
Here is a patch for Revision 3380. This patch adds the feature of loading
XML prim specification via XML-RPC call on a given island. Call with
Islandname and XMLPrim Filename.
2008-02-11 12:58:01 +00:00
Sean Dague c654df5dfd From: dirk husemann <hud@zurich.ibm.com>
these two patches fixe the terrain load exception that occurs when
restarting OpenSim on PPC32 by making terrain loading endian clean.

it does NOT fix the client crash exception. need to hunt that one down.
2008-02-11 12:38:51 +00:00
Tedd Hansen 59b224a901 Unhandled exception handler hookup is now the first thing to happen when OpenSim starts 2008-02-11 09:11:33 +00:00
Teravus Ovares e6453d9b9d * Changed child_get_tasks to see_into_this_sim_from_neighbor.
* Turned on see_into_this_sim_from_neighbor by default.
* Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-11 05:19:54 +00:00
Teravus Ovares a56664cf59 * um, Prim crossings? Experimental.
* Backup your database just in case.
2008-02-11 01:43:54 +00:00
Tedd Hansen 44058f8ae6 state_entry is now executed on state change. 2008-02-10 22:36:01 +00:00
Tedd Hansen 9a04e0e1c4 We now support LSL state 2008-02-10 22:25:59 +00:00
Dalien Talbot c935b308e6 The very beginnings of attachments (no detachments! :) 2008-02-10 22:23:11 +00:00
Tedd Hansen 78363c3bab Bugfix to state command:
"state default;" rewrite to "state ("default");"
2008-02-10 21:55:26 +00:00
Tedd Hansen f5cf5ad134 Bugfix on that last Quaternion/Vector patch 2008-02-10 21:43:53 +00:00
Tedd Hansen 3b844cb756 Untested bugfix in state support
Replaced (?<s1>(?![a-zA-Z_]+)\s*)" + @"([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){ with (?<s1>(?![a-zA-Z_]+)\s*)" + @"(state\s+)?([a-zA-Z_]+)(?<s2>[^a-zA-Z_\(\)]*){
Lets see what happens now... :)
2008-02-10 21:37:19 +00:00
Tedd Hansen 801e95bbe1 Added support for function calls as values in LSL-specific <0,0,0> and <0,0,0,0> Quaternion and Vector 2008-02-10 21:30:46 +00:00
alondria 758458121e Implements llListStatistics() and a bunch-o-LSL_Types.list statistical methods. Added LIST_STAT_HARMONIC_MEAN in addition to LL's LIST_STAT_* 2008-02-10 21:28:41 +00:00
Teravus Ovares 38f0615ffe * This updates adds locking capability. Thanks, lbsa71 for pointing out my bitmasking error of the objectflags! It's still a little bit wonky when you check the checkbox, however it 'takes' and doesn't break anything. 2008-02-10 21:27:32 +00:00
Tedd Hansen 0756e01475 Removed some ScriptEngine config debugging.
Added experimental console command to:
* unload module (note: module probably doesn't support it)
* load module
Not visible in help (needs testing first).
2008-02-10 19:03:38 +00:00
Teravus Ovares b4a19a4fb4 * Added support for delinking individual prim from a linkset. 2008-02-10 18:56:34 +00:00
alondria c2632a2eb9 Implemented llGetParcelFlags() and llGetRegionFlags(). I don't think the RegionFlags are currently implemented within EstateSettings, thus this is always 0. 2008-02-10 18:08:02 +00:00
alondria 04a5a57b3d Implements llGetObjectMass() 2008-02-10 17:41:57 +00:00
Charles Krinke cf284efcda Thank you very much, Hashbox for :
Add scene-debug command to Enable/Disable scripting, 
collision, and physics from console.
2008-02-10 16:03:58 +00:00
lbsa71 e0424254bd * Refactored permissions handling to extract info out of permisisons block in ClientView
* Changed some uint constants to Enum values
2008-02-10 14:27:21 +00:00
Teravus Ovares 8d37e91454 * Adding more broken objectflags to the list here. Touch was also broken. It might be smarter to just rebuild the whole objectflags before sending it to the client >.< 2008-02-10 12:44:36 +00:00
Teravus Ovares 85a9834ed8 * A lot of ugly permissions updates.
** Created SendFullUpdateToAllClientsExcept(LLUUID) so that permission updates /appear/ to apply immediately
** Separated out the ObjectFlags and the Permission Flags.  They're related but not the same
** Added a hack routine to add *back* the objectflags to the client flags because the client hates the way we're doing object permissions
** Updated the clientflags routine to properly tell the client when they can't edit admin objects (objects owned by the sim administrator) even when they're an estate manager(why? >.<  argh!)
** Fixed a null sim administrator/estate manager/user from causing permissions to return false even when it should return true.
** Re-added ObjectModify hack to allow collaboration with the allow anyone to move checkbox until we get group permissions done.
2008-02-10 10:55:57 +00:00
Jeff Ames e207284fef Clean up logging calls using String.Format explicitly 2008-02-10 01:57:59 +00:00