Commit Graph

2725 Commits (f9a67ab5f0aefe9033593babb790d6c1c74628ec)

Author SHA1 Message Date
Justin Clarke Casey 1087542705 * Refactor: Move bulk of CreateFolder from UserProfileCacheService into CachedUserInfo
* Remove unused/superseded methods from GridInventoryService
2008-05-03 18:57:02 +00:00
Justin Clarke Casey a5dfca8958 * Refactor: remove redundant userId parameter from UpdateItem() and DeleteItem()
* Put warning in remove folder method about non implementation (not that this is used anyway - may be legacy)
2008-05-03 18:13:32 +00:00
Justin Clarke Casey f5609ba452 * Refactor: remove pointless agentId parameter from CachedUserInfo.AddItem()
* Remove old framework asset transactions files which were region modularized
2008-05-03 18:01:38 +00:00
mingchen 4a87d96c17 *Moved EstateManager into a region module 2008-05-03 17:11:21 +00:00
Teravus Ovares e8acb49fef * For your fragging desire, damage enabled land works, but watch out!, life does not regenerate until you're dead! 2008-05-03 15:39:40 +00:00
Teravus Ovares 07167c9a3f * Committing some collision stuffs that I'm working on.
* Nothing user facing yet.
2008-05-03 04:33:17 +00:00
Charles Krinke 18362b25bf Thank you kindly, Melanie for a patch to solve
llParticleSystem and osDynamicTexture issues.
2008-05-02 23:23:39 +00:00
Sean Dague 1edb7992f1 fixed the dos line endings 2008-05-02 19:21:33 +00:00
Sean Dague 1b7f1c956c plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Adam Frisby 776b4cedf6 * Small fixes to Scene.cs 2008-05-02 18:36:41 +00:00
Adam Frisby 67bbfadc06 * More refactorings of UDPServer.
* Removed all references where possible.
* Renamed lots of variables from UDPServerXYZ to clientServerXYZ
2008-05-02 18:26:19 +00:00
Adam Frisby 4dc75e4b76 * More clientstack abstractions - We now only have a single constructor call to UDPServer. Going to reduce this with an abstracted constructor in a bit. 2008-05-02 18:18:43 +00:00
Adam Frisby 29b8c84cea * Commit 2/3 - Please dont attempt to update to this revision until all 3 are in. 2008-05-02 16:41:08 +00:00
Justin Clarke Casey 8cf2630dc9 From: Kurt Taylor <krtaylor@us.ibm.com>
Adds "not implemented" stubs for llSetVehicleFloatParam() and llSetLinkTexture()
Some cleanup of LSO script enums
2008-05-02 15:29:09 +00:00
Jeff Ames b1aacfe0d4 Minor formatting and documentation cleanup. 2008-05-02 03:40:38 +00:00
Teravus Ovares 412ca26565 * DuplicateOnRay with copy center works in two directions... Still fighting with it.
* DuplicateOnRay without copy center works in all directions.
2008-05-02 02:31:22 +00:00
Sean Dague 7cace57ecc revert changeset 4469 as this breaks the script engine. 2008-05-01 21:53:14 +00:00
Justin Clarke Casey f16c997a74 * Minor: Normalise prim inventory log headers 2008-05-01 21:53:02 +00:00
Justin Clarke Casey a81edef2b9 * Refactor: Remove redundant userID from further up the inventory request chain 2008-05-01 21:22:03 +00:00
Justin Clarke Casey 1de6cffa28 * Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Sean Dague b5be9da727 removed last db4o ref 2008-05-01 20:36:16 +00:00
Justin Clarke Casey d21b3ea9c7 From: Kurt Taylor <krtaylor@us.ibm.com>
MInor patch - more script function cleanup and comments
2008-05-01 19:22:17 +00:00
Adam Frisby bcab39831e * Applied Mantis#1106 - fix missing cast from LSLInteger to uint, make int cast more generic (Thanks Melanie!) 2008-05-01 18:55:36 +00:00
Adam Frisby 76d8eaa406 * Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't. 2008-05-01 18:50:44 +00:00
Sean Dague 70f7672dad added in IUserService functions. These don't do anything yet,
but the set all compiles together fine, and it provides people
an idea of where we are heading.
2008-05-01 18:36:43 +00:00
Adam Frisby 20a9bf08f5 * Rolled back a few changes. 2008-05-01 18:04:42 +00:00
Teravus Ovares c803e0cca1 * Deletes my EventReader ScriptRewriter. It isn't required to rewrite the script to publish the events anymore.
* Introduces a language(regex) independent event recognizer and publishes the events the script listens.
2008-05-01 16:39:02 +00:00
Adam Frisby 13526097f2 * Spring cleaning on Region.Environment.
* Converted a large number of read-only fields to be actually, readonly.
* Reformatted code sections.
* Removed redundant code.
2008-05-01 16:35:00 +00:00
Adam Frisby 01f31fd933 * Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby 5231903778 * In ur code. Making it static.
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Adam Frisby a1c8aa4050 * Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces. 2008-05-01 15:36:39 +00:00
Teravus Ovares 56b4f5a2ea * committing what I've got so far for DuplicateOnRay so I don't fight the conflict monster later. Not done yet, doesn't crash the server. 2008-05-01 15:17:49 +00:00
Adam Frisby 4692e92312 * Assorted spring cleanings. 2008-05-01 14:45:56 +00:00
Jeff Ames d51ce47b2d Update svn properties. Minor formatting cleanup. 2008-05-01 14:31:30 +00:00
Adam Frisby 4ef6f53a11 * Adding unit test support to Environment for modules.
* Written some unit tests for Terrain Module as an example.
2008-05-01 13:59:58 +00:00
Adam Frisby 7bcdec4e8f * Applying Mantis#1097 - Thanks Xantor!
- Fix for llRound (now rounds in LL-compatible fashion, rather than using bankers rounding)
- Implementation of llAngleBetween
2008-05-01 12:11:34 +00:00
Teravus Ovares 1c697ef0d2 * You can now rez objects out of inventory at the correct offset from prim you rez it on. Including multi prim groups and prim that have different X/Y/Z scales. 2008-05-01 06:31:12 +00:00
Teravus Ovares f4e22b1356 * Fix OBB raycaster to respond properly to rays cast from any direction. 2008-05-01 04:58:15 +00:00
Teravus Ovares 1d9c68969e * ODE Tweak. See if this helps. 2008-05-01 00:54:21 +00:00
Adam Frisby 25a49ac4de * Spring cleaned a bunch of '//TODO: unused' marked functions. 2008-04-30 23:11:07 +00:00
Adam Frisby be20f41637 * Cruft removal step #1. Cleaning Modules directory. 2008-04-30 21:43:47 +00:00
Adam Frisby 3da6a05eaa * Sometimes you know, you do something really stupid.
* This is one of those times (should fix build)
2008-04-30 21:32:14 +00:00
Adam Frisby 919aed1058 * And more 2008-04-30 21:23:37 +00:00
Adam Frisby 4a8c1e4393 * Commiting a bunch of missed files. 2008-04-30 21:22:29 +00:00
Adam Frisby 8b0c795a5e * Previous commit managed to miss some files despite me hitting 'Select all'.
* Attached.
2008-04-30 21:17:32 +00:00
Adam Frisby f5c312bc3c * Refactored Environment/Modules directory - modules now reside in their own directory with any associated module-specific classes.
* Each module directory is currently inside one of the following category folders: Agent (Anything relating to do with Client<->Server communications.), Avatar (Anything to do with the avatar or presence inworld), Framework (Classes modules can use), Grid (Grid traffic, new OGS2 grid comms), Scripting (Scripting functions, etc), World (The enrivonment/scene, IE Sun/Tree modules.)
* This should be moved into a seperate project file.
2008-04-30 21:16:36 +00:00
Justin Clarke Casey 9817363b93 * Completely inconsequential inventory odds and ends (actual impact - only one log message changed) 2008-04-30 19:08:48 +00:00
Teravus Ovares b70da6ac19 * Patch by Melanie. Implements proper objectflags on child objects. Thanks Melanie!
RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
2008-04-30 16:52:12 +00:00
Teravus Ovares a9cc76e0ef * Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
* This builds but might not work.   JustinCC will examine..   it may work out of the box.
2008-04-30 16:08:24 +00:00
Teravus Ovares 36bf16d35e Patch from Melanie: 0001077: [PATCH] LSL types cannot be cast implicitly or explicitly in many cases Thanks Melanie!
* Also, I moved the event parser and re-writer to a separate static object.   More work will be done here shortly.
2008-04-30 03:36:13 +00:00
Adam Frisby 0880abc402 * Disabled IntergridModule until a Mono bug can be isolated. 2008-04-29 19:10:15 +00:00
Adam Frisby 3bcb75acfe * One more attempted fix. 2008-04-29 18:52:19 +00:00
Adam Frisby d05c443b71 * Made a change to InterGrid module to prevent duplicate registrations. 2008-04-29 18:46:15 +00:00
Adam Frisby 03155e362c * Implemented new InterRegion comms method in the form of InterregionModule
* Interfaces and methods have been defined for basic operation, however a replacement grid module is required to share region URIs with neighbours for this module to work.
* Tackling that next.
2008-04-29 17:50:29 +00:00
Teravus Ovares 3326effb5f Stuck an exception handler in the friends routine until I have time to debug it more seriously.(or someone else does). It prints a 'Unable to enumerate' message on the console.. so it won't be forgotten.
It isn't critical data atm though.
2008-04-29 16:26:49 +00:00
Justin Clarke Casey 763ae779ff From: Dr Scofield <hud@zurich.ibm.com>
* Fixes the admin_shutdown xmlrpc method
* Adds a share/python/console/shutdown.py script for shutting down a background OpenSim
* For more details see http://xyzzyxyzzy.net/2008/04/29/console-less-opensim/
* There should also be instructions in the opensimulator wiki soon as well
2008-04-29 14:50:27 +00:00
Teravus Ovares 97db1e8af0 Committing Dee100's balance update patch with a few bug fixes and a twist. Thanks Dee100! 2008-04-29 14:12:21 +00:00
Teravus Ovares 9907c0fd10 Patch from Melanie: 0001087: Crash to bash de-linking objects. Thanks Melanie! 2008-04-29 13:53:24 +00:00
Teravus Ovares 2ae933a88b * Applying Xantor's patch 0001089 - Added llRot2Angle, llRot2Axis,llAxisAngle2Rot. Re-implemented llRot2Euler, llEuler2Rot 2008-04-29 13:40:58 +00:00
Teravus Ovares 80ea0b94b9 * Fixes child prim not editable as an attachment. You can right click on child prim in an attachment and get the proper pie menu. You get the attachment axis scope in the edit box. 2008-04-29 13:12:36 +00:00
Teravus Ovares 06a367be19 * Applying melanie's List2Vector and List2Rot patch. Added a routine in the Quaternion constructors to catch 0,0,0,0 quaternions and convert them to 0,0,0,1 (as 0,0,0,0 is implicitly converted to 0,0,0,1 in LSL and will crash libsl if left which will in turn crash the simulator) 2008-04-29 12:09:55 +00:00
Justin Clarke Casey dbdeb40d46 * Lash up mantis 1064 - nre thrown in LandObject.sendLandObjectOwners()
* From reading the code, the cause must be that a 'show objects on my parcel' is performed when there are objects belonging to more than 32 people
* I'm not sure why there is a hardcoded 32 limit but I'm leaving it in place for now.  I don't regard this mantis as resolved.
2008-04-28 22:21:42 +00:00
Sean Dague 3ddbf28cd0 wrap a common exception that we get on shutdown of the script engine to keep
people from thinking it's a real issue.
2008-04-28 14:50:09 +00:00
Justin Clarke Casey 776b1f341a From: Dr Scofield <hud@zurich.ibm.com>
Note: This is the first part of some changes from Dr Scofield to support console-less operation of an OpenSim region server.
The changes are not yet complete.

* refactors OpenSimMain into two classes: OpenSimMain and
  OpenSimMainConsole. OpenSimMainConsole derives from OpenSimMain
  and basically is the "old" OpenSimMain
* drops StartConsole from RegionApplicationBase (was only called
  from the "old" OpenSimMain anyhow)
* reverts the changes to TryGetScene(string, out scene) as that
  seems to work perfectly fine
* adds a check to region-remove to see whether
  m_sceneManger.CurrentScene is non-null before comparing it against
  the region-to-be-removed
2008-04-28 14:41:46 +00:00
Teravus Ovares 7e3506e296 * Fixed 'Welcome to Krynn' default that I missed and got stuck in by a patch.
* Changed it to 'Welcome to OpenSimulator' as opposed to 'Welcome to OpenSim'
2008-04-28 14:11:29 +00:00
Teravus Ovares 1fb54b074c * Added basic 3-5 level undo on prim position/rotation/scale.
* In the future this should be a config option...   and, hopefully this tides the builders over for a little while.
2008-04-28 01:48:21 +00:00
Adam Frisby 7693a7dac9 * Added String(FileExtension) property to ITerrainLoader to allow us to determine which file extension this loader is capable of handling.
* Added ITerrainLoader import capability to Terrain Plugins module - this allows you to write new terrain format plugins without modifying the terrain module directly.
2008-04-27 23:54:16 +00:00
Teravus Ovares 54563d8dea * Patch from XenReborn to make remove-region work properly without needing to do a change-region first. Careful though. I still suggest you do a change-region first.
* Patch from Melanie to implement touch_end.
* Thanks XenReborn!.  Thanks Melanie!
2008-04-27 22:15:38 +00:00
Teravus Ovares 911e63765c * Single Attachments now work from inventory. You can attach from inventory and detach from inventory.
* Detaching from right clicking in world, detaches to your inventory.
* If you go up to a prim and attach it from in world, it appears in your inventory.
* Attachment placement is saved when you detach them. 
* Choosing wear remembers your last attachment point from inventory.
* Wrote a method to update an inventory item's asset and sends the updated inventory item to the Client
* Wrote a recursive method to find the folder of a known existing inventory item.
* Removed a block on physics object position on creation.  This might crash a region or two, let us know via Mantis if your region crashes because of a physics out of bounds error.
* Drop doesn't work.  The menu item doesn't even come up.  Don't know why :P.
2008-04-27 20:10:28 +00:00
Jeff Ames 56497c9615 Minor svn, formatting cleanup. 2008-04-27 18:35:00 +00:00
Teravus Ovares f71871bca3 * More attachment stuff, reworked some of the inventory routines to be what I need them to be for attachments. 2008-04-27 14:37:51 +00:00
Charles Krinke 7cb78d73eb Thank you Melanie for implementing
llListSort() in linear and strided modes.
2008-04-26 20:49:38 +00:00
Justin Clarke Casey b1632bd222 * Tidy up and comments related to last inventory related commit 2008-04-26 20:44:27 +00:00
Justin Clarke Casey accd89b3f1 * First draft implementation of copying prim inventory items back to agent inventory
* Now, if you own an item in a prim, you should be able to successfully drag it back into your inventory
* Temporarily, users which are not owners of the item cannot copy it, even if 'everyone can copy' is set
* This is pending fixes/implementation of upstream permission implementation
2008-04-26 20:31:01 +00:00
Teravus Ovares 323038ceb9 * Ooops, attachments now teleport/cross region borders along with your avatar. Those dastardly objects stick to you. 2008-04-26 17:36:30 +00:00
Adam Frisby 3dc60c1433 * Committing Mantis #1061 - llRegionSay and llSetPrimitiveParams implementations. Thanks Melanie! 2008-04-26 12:40:14 +00:00
Teravus Ovares 8f6d508b43 * For info about this commit, see last commit. 2008-04-26 07:43:11 +00:00
Teravus Ovares a53cc8fbfa * Error on System. references with 'CS20003: 'System' is null or not an object" 2008-04-26 06:56:50 +00:00
Teravus Ovares a534257b0e * Fixes prim crossing. See bug 1050.
* Causes the internal handling of attachments to put the prim group conceptually at the position of the avatar instead of 0,0,0
2008-04-25 21:41:55 +00:00
Justin Clarke Casey 6fec9c789b * Check in odds and ends which remain as an attempt to get the item properties panel for a prim's contents working
* Temporarily hacked things to bring our protocol data flow to be pretty much completely identical to the Linden's for this - to absolutely no avail.
* Leaving commented code in as a springboard for some future attempt
2008-04-25 21:31:40 +00:00
Teravus Ovares 298870b177 * Fixes Mantis: 1049. Y Texture repeat not being applied to resulting animation. 2008-04-25 19:48:47 +00:00
Justin Clarke Casey 46c8d7a5e1 From: Dr Scofield <hud@zurich.ibm.com>
the patch below adds support for start_location = uri:region&x&y&z to 
OpenSim which allows us to provide -url secondlife:///region/X/Y/Z to 
the SecondLife client during start up --- which will take you directly 
to region "region" at position X, Y, Z.

also, i did increase the default Z value from 70 to 128 as we otherwise 
have the problem that on some regions we'd end up inside a mountain 
instead of on top of it.
2008-04-25 13:37:43 +00:00
Teravus Ovares d3811f4747 * Fixes the object pay box to default to -2,-2,-2,-2,-2. Fixes mantis 1045. 2008-04-25 11:17:43 +00:00
Adam Frisby 87e2793ca6 * Applying mantis#1048 - Patch for osSetRegionWaterHeight() 2008-04-25 10:37:22 +00:00
Teravus Ovares 421730d972 * Used thomas' patch m884 as an example to make HUD attachments work. While I didn't use the patch directly, I did use the following from the patch to convert the uint value into the byte: (byte)((m_attachmentPoint % 16) * 16 + (m_attachmentPoint / 16)) 2008-04-25 09:47:21 +00:00
Teravus Ovares 9468917b5f * Implements llTarget, llTargetRemove, at_target(), not_at_target() 2008-04-25 01:00:55 +00:00
Teravus Ovares d023c331f8 * Tuned the llMove2Target PID controller to be more reasonable and not overshoot the target. 2008-04-24 22:26:26 +00:00
Teravus Ovares 5c660ea0c5 * Patch from Melanie. Mantis: 1040. Thanks Melanie!
* Implements llDeleteSubList in all it's modes. Corrects type selection in inventory functions. Adds support for INVENTORY_ALL selector
2008-04-24 15:11:19 +00:00
Sean Dague 2a2ef42e64 replace hard tabs with 4 spaces to be consistant in the source.
Please adjust your editors to not use hard tabs.
2008-04-24 12:27:24 +00:00
Teravus Ovares aa8aee90a3 * Adds much better support for attachments that you right click on in world.
* Your friends can see your attachments now.  People who appear in the sim after you've attached something can also see your attachments.
* You can position & rotate your attachments now.  Positions do *not* save.
* You can detach attachments now the regular way.
* Attachments do not cross into other regions with you..(this isn't too far off)
* Updated ODE to not request terse updates on child prim.
2008-04-24 11:32:41 +00:00
Justin Clarke Casey c49b25f19e * From: Alan M Webb <awebb.vnet.ibm.com>
* Patch to fix negative indices bug in llListInsertList
2008-04-24 10:17:33 +00:00
Teravus Ovares 12bba3da4b * Fixed an annoying pop-up box when crossing borders. 2008-04-23 23:55:02 +00:00
Teravus Ovares 1909d74d5f * Patch from Melanie. Mantis 0001037: Add various internal plumbing to the example economy module, implements llSetPayPrice(), money() and llGiveMoney() in scripts. Thanks Melanie!
* Moves module loading before the script engine so the script engine can pick up events from modules registering interfaces with scene.
2008-04-23 22:44:59 +00:00
Justin Clarke Casey 40176c12f9 * Implement full grid mode Trash empty
* Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder.
* This will only work once both the region and grid servers have reached this revision.
* You may also need to clear your cache before this will work
* Refactoring to follow.
2008-04-23 22:13:57 +00:00
Teravus Ovares e108133d91 * Fixes lsl scripts with no state_entry event at all
* Fixes event reporting on states with no state_entry in lsl scripts.
2008-04-23 22:04:45 +00:00
Sean Dague 361fbe97d4 fix for mantis 1036 2008-04-23 21:27:37 +00:00
Sean Dague c5e0b376d0 fixed mantis: 1035, as well as ordering commands
alphabetically because out of order lists bother me. :)
2008-04-23 21:20:51 +00:00
Sean Dague 3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague a1cc0e436f changes to allow asset_source to be specified in the opensim.ini
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Justin Clarke Casey 4db839c3b8 * Implement proper emptying of trashcan on standalone
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Teravus Ovares 2a3bdde0fa * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results.
* Three axis works well enough to play with it anyway.   More work is needed here.
* Fixed an incorrectly named method in ODE.NET
2008-04-23 15:32:19 +00:00
Sean Dague d52fc2dc1a Two small changes:
1. add addin-db-001 to the delete list
 2. allow for connection strings for data sources in the config file
2008-04-23 15:15:11 +00:00
Adam Frisby e456cb7533 * Patch for #973 - Object Rez from Inventory ignores permissions - Thanks tglion! 2008-04-23 13:22:06 +00:00
Adam Frisby 3370d581e1 * Patch #1026 - llDialog support -- Thanks Melanie! 2008-04-23 12:21:54 +00:00
Adam Frisby 8425d53d68 * Applying Mantis #1022 - Thanks Melanie! 2008-04-23 11:54:35 +00:00
Adam Frisby 163d254bb9 * Applying Mantis #1021 (llStartAnimation/llStopAnimation) - Thanks Melanie! 2008-04-23 11:53:16 +00:00
Adam Frisby bca7ab7e36 * Applying Mantis #1020 (Animations) - Thanks Melanie. 2008-04-23 11:52:25 +00:00
Adam Frisby 7c897043ba * Removing old libTerrainBSD and associated Plugin & Project.
* Updated prebuild.xml accordingly.
2008-04-23 10:55:04 +00:00
Justin Clarke Casey 2de6d09d74 * Get rid of missing texture notification drop messages for now - obscuring too many other debug messages. 2008-04-23 10:30:45 +00:00
Justin Clarke Casey 24cf685e55 From: Dr Schofield <hud@zurich.ibm.com>
the attached patch fixes http://opensimulator.org/mantis/view.php?id=936 
aka load-xml/load-xml2 crashing. problem lies with basic physics not 
creating physics actors. the solution was already present in 
SceneObjectPart.cs.
2008-04-23 10:20:38 +00:00
Justin Clarke Casey 6efb16689a From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is a patch for adding the llGetSunDirection functionality. It was implemented by adding a parameter to estate settings for storing the sun position. The sun position is calculated and stored via the sun module everytime the client's sun position is updated. It was tested with several different srcipts on Linux and Windows
2008-04-23 10:16:26 +00:00
Jeff Ames 9fc6b783da Update svn properties. 2008-04-23 01:04:44 +00:00
Sean Dague cdcd092d9a doh, forgot that hg diffs don't do the adds correctly to svn 2008-04-22 20:43:38 +00:00
Sean Dague a66c43d450 From: Dr Scofield <hud@zurich.ibm.com>
some exceptional code ;-) i've added TerrainException and have modified
TerrainModule to now throw TerrainExceptions.

   cheers,
   dr scofield
2008-04-22 19:44:40 +00:00
Teravus Ovares 61f23fa045 * Implements llScriptDanger
* Made the scene's scriptDanger method more generic so both the llScriptDanger method and the Script engine method use the same private method.
2008-04-22 10:11:29 +00:00
Teravus Ovares 809447ac32 * Implemented NoScript areas (without loosing script state). 2008-04-22 09:28:58 +00:00
Teravus Ovares 9b696a1d5c * Patch from Mic Bowman(cmickeyb) that implements llUnsit. Thanks Mic!
* I expanded upon his patch just a bit to incorporate the following.
* if the avatar is sitting on this object, then we can unsit them.
* If the object owner also owns the parcel or if the land is group owned and the object is group owned by the same group or if the object is owned by a person with estate access, then we can unsit them.
2008-04-22 08:15:44 +00:00
Adam Frisby c8eb8d66fd * Committing new terrain plugin effects system. Loads DLLs in /bin/Terrain/ as terrain module extensions. Committing sample plugin library.
* prebuild.xml changes.
2008-04-22 07:53:32 +00:00
Adam Frisby 385c1f5184 * Added missing reference to OpenSim.Framework.Communications to RemoteAdminPlugin to fix a compile error introduced by the Radmin patch. 2008-04-21 14:11:36 +00:00
Adam Frisby 0d27832d44 * Various compiler warning cleanups. 2008-04-21 13:16:00 +00:00
Sean Dague bf1580fba4 From: Dr Scofield <hud@zurich.ibm.com>
the attached patch set is centered around RemoteAdminPlugin and focuses
mainly on making it more robust (i.e. more parameter checking and better
error reporting) but also we've re-implemented the LoadTerrain stuff that
got disabled during the terrain code reworking:

   * missing PostInitialize() calls on region modules that were loaded
     for regions created via RemoteAdmin's CreateRegion XmlRpc call
   * re-implements RemoteAdmin's LoadTerrain XmlRpc call (probably lost
     during the TerrainModule rework)
   * adds lots more parameter checking and error reporting to RemoteAdmin
   * adds a read-only property to RegionApplicationBase so that we can
     access the CommsManager
   * adds Exceptions to TerrainModule so that we get better error case
     feedback (and can report more meaningful errors in turn)
   * adds a CheckForTerrainUpdate() call to
     TerrainModule.LoadFromFile() to make terrain changes effective
   * adds TryGetCurrentScene(LLUUID) to SceneManager so that we can
     retrieve Scenes not only by name but also by LLUUID


   cheers,
   dr scofield
2008-04-21 12:42:56 +00:00
Adam Frisby a0b8c46ef3 * Various refactorings. 2008-04-21 09:38:51 +00:00
Adam Frisby f741a62d54 * Formatted ExportSerialiserModule and SvnBackupModule
* Added a form of GZip compression support to object.xml files produced by exportserialiser. Will look towards standard GZip support. File compression seems to be highly worthwhile reducing a 1.5mb sim state to 62kb.
2008-04-21 09:12:47 +00:00
Jeff Ames a7cb2b8c30 Update svn properties. 2008-04-21 08:28:25 +00:00
Adam Frisby 01663cb612 * Committing fix for previous build breakage. Sorry!
* Committing namespace/usings fixes for ThirdParty directory, missed in previous commit.
2008-04-21 07:16:30 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Adam Frisby 05e24c8f58 * Terrain Module code has been reformatted to comply with guidelines.
* Fixed a variety of code quality issues. (Yes, I've found ReSharper.)
2008-04-21 06:39:16 +00:00
Adam Frisby 20a4a402f6 * Written a improved self-contained version of the XML Object Serialiser for the ExportSerialisationModule.
* This now outputs properly indented XML, that is sorted before construction. This produces a file which proper .diffs can be generated from - the end result being smaller more compact revisions when saving to SVN.
* Files are a little heavy still however, compression looks like a good method for packing sim-states for transport outside of SVN. Zip seems to be a good candidate and is on the TODO.
2008-04-21 04:36:32 +00:00
Adam Frisby 8cf42ddb84 * Added support for periodic autosaves - added to SvnBackupModule. Will cause a SVN revision to be saved every X minutes. (Default = 15)
* Added 'Autosave' options to OpenSim.ini.Example 
* Added 'ImportOnStartup' option to OpenSim.ini.example
2008-04-21 04:11:56 +00:00
Justin Clarke Casey 3d3eec436a * Remove user profile from cache when they log out from a region.
* A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be 
written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
2008-04-20 20:36:06 +00:00
Tedd Hansen 16275ca26d Removed some script engine noise from console 2008-04-20 11:58:14 +00:00
Tedd Hansen 8a13edb115 Moved script engine os* commands to OSSL_BuilIn_Commands.cs and OSSL_BuilIn_Commands_Interface.cs where they belong. 2008-04-20 10:40:39 +00:00
Teravus Ovares a5bf229cbd * Fixed up event discovery regexes to work with a specific string format m#1012 2008-04-20 10:18:40 +00:00
Adam Frisby 93efd6ff39 * Added some more fixes, refactored SVNModule slightly. 2008-04-20 05:44:54 +00:00
Adam Frisby b3e10debdd * Added support for new "svn load-region <region name> [svn revision]" command to SVN Backup Module. 2008-04-20 04:21:18 +00:00
Teravus Ovares 3358d70c5b * Updates LSL2CS converter
* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future.  For now, this works for LSL.
2008-04-20 04:19:44 +00:00
Adam Frisby 7d18a93c2e * Added experimental "svn load <revision>" command to allow you to load a region from a specified SVN revision. Potentially useful for rollbacks. 2008-04-20 04:15:12 +00:00
Adam Frisby 1ca94ab5dd * Fixed three compiler warnings introduced in the previous commit. 2008-04-20 04:10:52 +00:00
Adam Frisby 462d03d926 * Various SvnBackupModule fixes. 2008-04-20 04:04:59 +00:00
Justin Clarke Casey 11f057f90b * Insert an OpenSim warning telling the user to ignore the ERROR assembly scanning messages. This is a temporary measure. 2008-04-19 22:03:34 +00:00
Charles Krinke 6865f1c67d Thank you kindly krtaylor for a patch to solve:
Linked objects won't scale together properly, only the root object scales. 
This happens with scaling both up and down or inputting numbers in the edit dialog.
2008-04-19 21:01:26 +00:00
Justin Clarke Casey b6f8777dde * Fix build break in previous revision 2008-04-19 20:44:24 +00:00
Adam Frisby 6f810a0613 * Several fixes for SvnBackupModule
* SVNBackup module now works correctly when you have more than one region.
* Various textual and feature improvements, including new 'ImportOnStartup' option for OpenSim.ini (place in [SVN] section)
2008-04-19 15:18:54 +00:00
Justin Clarke Casey cd09677469 From: Alan M Webb <awebb@vnet.ibm.com>
Robust implementations of GetSubString, InsertString, and
DeleteSubstring. The existing implementations only worked for arguments
consistent with the underlying .Net implementation and did not
accomodate LL's negative indices.
2008-04-18 19:03:28 +00:00
Tedd Hansen acb0b06fed Mantis #851, 100% CPU on unhandlet HTTP event. Thanks cmickeyb. 2008-04-18 15:25:43 +00:00
Adam Frisby a2b32bdd6f * Fixed two compiler warnings dealing with IPAddress equality. 2008-04-18 09:35:24 +00:00
Teravus Ovares b280605237 * Added lock persistence
* Temporarily disabling click+drag+move for non physical things until more experimenting is done to figure out how to get a sideways hand cursor in the client.
2008-04-18 04:44:04 +00:00
Charles Krinke ea8b6a28ed Thank you, Melanie, very kindly for a patch that :
Implements llGetInventoryKey with perms checking. 
Adds perms checking to llGetTexture, adds type checking to llStartSound, 
allows llSetTexture to reference textures by name
2008-04-18 02:23:48 +00:00
Teravus Ovares dd4deebbcb * Re-Fixed caps
* This fixes chi11ken's/OpenViewer's libsl cap issue.
2008-04-17 19:42:54 +00:00
Teravus Ovares 4ee368785d * Acks the first UseCircuitCode packet
* Implements Teleport One Agent Home
2008-04-17 15:58:50 +00:00
Justin Clarke Casey 15b36498be From: Alan M Webb <awebb@vnet.ibm.com>
This provides fixed implementations for llListReplaceList and llList2CSV.
llListReplaceList was broken except for simple indices. llList2CSV did not handle processing of an empty list.
2008-04-17 14:34:30 +00:00
Adam Frisby db9c919086 * Added "svn load" command to correspond "svn save". Will grab the latest revision.
* TODO: Specific revision support.
2008-04-17 14:26:19 +00:00
Adam Frisby 200b60bd48 * Added ITerrainModule interface to Terrain Module, and registered accordingly in Scene. 2008-04-17 14:22:48 +00:00
Adam Frisby a0fc29878e * Added a directory for the SVN module. More about to come.* SVNBackupModule
* See OpenSim.ini.example settings for how to use
* Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim.
* Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list.
* It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files.
* Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
2008-04-17 13:20:06 +00:00
Jeff Ames fe3265f491 Update svn properties. Add copyright info to some source files. 2008-04-17 12:16:19 +00:00
Adam Frisby 664d4fc8a0 * Missed a file while committing. 2008-04-17 12:07:54 +00:00
Adam Frisby 05708771bb * Committing first version of SVN Backup Module
This is a module which allows you to periodically export a serialised version of your region to a SVN repository and store it there. It is still a work in progress and is currently disabled and incomplete, but some of the functionality is demonstratable.
* Enjoy.
2008-04-17 11:42:06 +00:00
Teravus Ovares 75df0c9000 * Patch from ChrisDown to fix odd results when using landmarks. Thanks Chris! (Tweaked slightly so avatar don't end up underground).
* Removed some testing notices I had in there that were obnoxious.
2008-04-17 05:23:43 +00:00
Teravus Ovares 244bfcde5b * Implements 'Set Home to Here'
* Implements 'Teleport Home'
* User Server has to be updated for it to save your home in grid mode
* home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float.  Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now.   Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-17 05:07:14 +00:00
MW 770c395e86 moved the Thread.Sleep(500), to the correct side of the ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); call. 2008-04-16 16:28:02 +00:00
Justin Clarke Casey e3a6a370fa * From: Alan M Webb <awebb@vnet.ibm.com>
* Here's an updated ListInsertList implementation, tested to be LL
compliant.
2008-04-16 16:07:34 +00:00
Justin Clarke Casey 9cb9dcb9da From: Alan M Webb <awebb@vnet.ibm.com>
This fixes a bug in LSL_Types.list GetSublist that was manifest if the
source list was empty and negative indices were used.
2008-04-16 15:57:55 +00:00
Justin Clarke Casey 4f8943da67 * From Kurt Taylor <krtaylor@us.ibm.com>
* Yet more script function cleanup - Patch fixes many different script functions: NotImplemented that weren't there at all, redundant or unneeded m_host.AddScriptLPS, etc
2008-04-16 15:54:32 +00:00
MW 54eaadeb82 added a thread.Sleep(500) to OGS1GridServices.CheckRegion() , to try to help avoid a potential race condition. As IAsyncResult.AsyncWaitHandle.WaitOne before a AsyncCallback is called. So in this case, its a race to see who sets or reads the bool m_bAvailable first. 2008-04-16 15:49:28 +00:00
Teravus Ovares 7c1f17b994 * Applying melanie's Landmark patch. Thanks Melanie!
* To make a landmark, you currently have to enable admin options in the advanced menu first.  We're working on this..   however use the admin options solution in the mean time.
2008-04-16 14:10:54 +00:00
Sean Dague 1eb0fedd93 After reading Timer.cs in the mono source, I'm not
convinced that timer.Enabled modification is thread safe.
I suspect the statsHeartBeat call to be one of our hot spots
because is tries to synchronize not with a lock, but by
disabling and enabling itself.  I've replaced that with a lock
in the hopes that this affects either the 100% bug, or the
invoke_void bugs.
2008-04-16 10:54:32 +00:00
Charles Krinke bf7e7b2c57 Thank you very much, Kmeisthax for:
This patch makes the "Show in Search" checkbox on the viewer work. Additionally, I also discovered that show-in-search objects use the JointWheel flag, so this patch currently uses that flag. LibSL needs to add a flag to enum LLObject.ObjectFlags, "IncludeSearch = 32768" so we aren't using a legacy flag.

Additionally this patch also contains a small fix to BaseHTTPServer that lets the response content-type to be something other than text/html. For some reason this didn't get submitted with the DataSnapshot merge.
2008-04-16 03:55:21 +00:00
Teravus Ovares e777f88028 * A tweak of the caps system so that new caps have random paths instead of a fixed path
* This allows caps requests to be routed to regions where the agent is currently a root agent instead of the region that they logged into as it did previously.   
* This fixes a wide variety of bugs related to 'can't do X once i've crossed a border'.
* The first seed cap request fails, the second one works.  (this generates an error message on the console)
* Experimental.
2008-04-15 23:10:12 +00:00
Justin Clarke Casey 550ed7b9ec * Fix mantis 975 - prim text > 255 chars 2008-04-15 22:56:18 +00:00
Teravus Ovares 331f26548b Fixed LSL State support.
* Re-applied Tedd's patch that got overwritten.
* Replaced (state)\s+([^;\n\r]+)([\r\n\s];) with (state)\s+([^;\n\r]+)(;[\r\n\s])
* Added a state(string) method to BuiltIn_Commands_BaseClass
2008-04-15 16:49:06 +00:00
Sean Dague 6f8ff32630 From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have been working on an asterisk voice module that will allow
   us to couple opensim with an asterisk VoIP gateway.

   the patch below consists of
     * AsteriskVoiceModule region module: alternative to the plain-vanilla
       VoiceModule, will make XmlRpc calls out to an asterisk-opensim
       frontend
     * asterisk-opensim.py frontend, living in share/python/asterisk, takes
       XmlRpc calls from the AsteriskVoiceModule
          * account_update: to update/create a new SIP account (on
            ProvisionVoiceAccountRequest)
          * region_update: to update/create a new "region" conference call
            (on ParcelVoiceInfo)
     * a asterisk-opensim test client, living in share/python/asterisk, to
       exercise astersik-opensim.py
   this still does not give us voice in OpenSim, but it's another step on
   this path...
2008-04-15 14:24:15 +00:00
Sean Dague 62d02e079e From: dirk husemann <hud@zurich.ibm.com>
attached is a patch set that
     * adds further robustness checks for the CreateUser and CreateRegion
       XmlRpc
     * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
       expectation IPEndPoint.Address is not sufficient for a comparision,
       IPEndPoint.Address.Address (the long representation) does work
       however.
     * add [RemoteAdmin] section to OpenSim.ini.example
     * fixes XML doc comments
       good night,
       dirk
2008-04-15 14:18:37 +00:00
Jeff Ames 06d05bd339 Update svn properties. 2008-04-15 10:02:06 +00:00
Adam Frisby 0bec9f0551 * Added support for serialising objects to ExportSerialisationModule via SerialiseObjects.cs
* Cleaned up using tags on SerialiseTerrain.cs
* Minor tweaks to ExportSerialisationModule.cs
2008-04-15 09:55:47 +00:00
Teravus Ovares 682f4e9257 * Fixes an issue with the BaseHttpServer in Linux
* Fixes an estate naming issue
* Fixes a land issue with the landobject not reporting the proper parcel prim.
* A few other tweaks.
2008-04-15 06:21:44 +00:00
Adam Frisby 00dbca468a * Committing shell of a whole-region serialiser. This is not complete and will be worked on more over the next few days. Undocumented/trusted. Use at own risk, etc etc. 2008-04-15 04:26:39 +00:00
Adam Frisby 0b4a8191a1 * Quick patch before I start on a bigger project
* Renamed ITerrainTemp to IMapImageGenerator
* Renamed WriteJpegImage to WriteJpeg2000Image to better reflect it's function.
2008-04-15 03:07:31 +00:00
Justin Clarke Casey b7ae8701ce * Working towards notifying the client if the inventory service has failed, rather than simply returning 0 items.
* This is very early support which would only be triggered in a rather unlikely case (if the user server correctly received an inventory skeleton, but later on failed to return the whole inventory in a timely manner.  Also, this only applies to the 1.19.1.4 client onwards
* Code cleanup and support for other failure cases (failure of inventory caching on region crossing, failure to actually add a folder/item, etc, should follow.
2008-04-14 18:43:23 +00:00
Teravus Ovares e21886eea0 * Fixed a few warnings.
* Added license info to a few files it was missing from.
* Fleshed out the landbuy interfaces
* If you add '-helperuri http://127.0.0.1:9000/' to your list of parameters you tell the client to use when you start it up you can transfer ownership of parcels now in standalone.  Structured gridmode requires a lot more work, see the documentation in the example money module.   The example money module is not secure especially in standalone mode.
2008-04-14 17:13:38 +00:00
Sean Dague 1f5eb2ef65 make it so the IRC bridge only relays channel 0 messages
not all of them (like it was doing before)
2008-04-14 14:49:16 +00:00
Teravus Ovares 2b7419c7fb #952 again 2008-04-14 03:20:36 +00:00
Teravus Ovares 30f93b2201 Fix for mantis 952 2008-04-14 01:10:48 +00:00
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Justin Clarke Casey 7dec345d9a * Temporarily, stop the exception of mantis #951 from killing the entire client session. 2008-04-13 22:25:23 +00:00
Adam Frisby 17507404b5 * Added some comments to terrain module.
* Fixed a range issue in the GenericSystemDrawing saving mechanism.
2008-04-13 01:36:03 +00:00
Justin Clarke Casey b3f783ae05 * Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
* Won't actually fix anything, since we were handling the problem anyway
* Also add more doc, fix up debugging messages, etc
2008-04-11 20:37:26 +00:00
Justin Clarke Casey 8f345d36d8 * Minor refactoring in OGS1InventoryService 2008-04-11 19:04:33 +00:00
Justin Clarke Casey 7ac7f79f88 * Eliminate a class of errors where an inventory request could be made before the region had completely received the inventory for the user.
* A much larger race condition where the inventory request could be made before the region gets any data at all will also be fixed in the near future.
* This change also fixes a regression from two patches ago where items stopped appearing in standalone inventory
2008-04-11 18:46:54 +00:00
Justin Clarke Casey 649f304e76 * Minor inventory code cleanup following on from last patch 2008-04-11 18:19:21 +00:00
Justin Clarke Casey a5176c2e2c * Change inventory async response deliver to deliver all items and folders at once, rather than each individual
* This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
2008-04-11 18:13:10 +00:00
Teravus Ovares 9c5d0f50fa * fix bug 935 2008-04-11 17:51:36 +00:00
Teravus Ovares 5e1d8925fa * Fix bug 934 2008-04-11 17:24:04 +00:00
Justin Clarke Casey 9a7717743b refactor: eliminate method in UserProfileCacheService 2008-04-11 16:13:33 +00:00
Justin Clarke Casey b3892096f3 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch adds support for saving a dynamically generated region to the filesystem (as a region xml file)
* Also adds some error checknig to make sure the dynamically generated region name, id or location are not already taken.
* Thanks Dr Scofield
2008-04-11 15:00:41 +00:00
Sean Dague f337cb205d From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is the second half of the fix for 821 - this is the null reference
check for llDetectedName and the other *Detected* function.
2008-04-11 13:51:11 +00:00
Adam Frisby f100fc1b94 * Updated MapImageModule to support primitives showing on the world map image. As MapImageModule is of unknown use, this may or may not be reflected on the world map. See the ShadeBuildings function in MapImageModule for reference. 2008-04-11 03:33:51 +00:00
Teravus Ovares 50c5e6af10 * With Grid Comms up in the air.. I decided have the friends module update you when your friends come online if they're at least a child agent on the sim. offline status works the same also. So does Instant Message.
* This is until Grid Comms matures a bit more on this.
* This should also work in Standalone as it uses the IUserData interface.
2008-04-10 18:30:34 +00:00
Charles Krinke f565f44d89 Thank you Justin for a patch that solves the issue of: When a sensor detects an Avatar,
and llDetectedOwner is called on the script, the current implementation attempts to 
find the detected avatar as a SceneObjectPart and return the owner of that part.
2008-04-10 15:38:33 +00:00
Justin Clarke Casey ba132f3a0b * Minor: get CreateNewUserInventory() to return true on success 2008-04-10 15:28:52 +00:00
Teravus Ovares f2d36186f0 * Slightly smoother transition between land, shallow water and deep water in map tile generation. 2008-04-10 15:27:02 +00:00
Sean Dague 55ac1c6dce renaming of attributes in UserAgentData for readability 2008-04-10 14:50:52 +00:00
Sean Dague ef7dfae41c changing UserAgentData to use properties. This caused more
grief than expected, as monodevelop doesn't like to refactor 
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague 25fea01b92 further renaming of properties for clarity 2008-04-10 14:09:30 +00:00
Sean Dague c176caeb05 moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Teravus Ovares 1178eddffc * Brings back map tile generation based on the terrain. The algorithm produces a graphic that is a bit Dazzle-ish. A Dazzle-ish map tile is better then a grey map tile IMHO. 2008-04-10 13:37:39 +00:00
Teravus Ovares b92c6901ad * Fix a null reference when there's no [Economy] section in the opensim.ini 2008-04-10 13:05:01 +00:00
Teravus Ovares 9fec575b3e * Made it safe again to use the restart button from the estate tools and the restart console command.
* It looks ugly on the console..   but it's really safe..  and restores some memory.
2008-04-10 10:27:03 +00:00
Teravus Ovares 06967e230f * Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header.  See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Teravus Ovares b85624db18 * Adds twist support for Cubes, Cylinders, and Prisms in the Meshmerizer
* A tweak of the SimStatsReporter so it would report the prim capacity to be 45000.
2008-04-10 00:31:44 +00:00
Justin Clarke Casey 8bd1f1c7c3 * Put explicit braces in for single line blocks 2008-04-09 15:36:10 +00:00
Justin Clarke Casey f9646a0c81 From: Michael Osias <mosias@us.ibm.com>
"This is llDetectedKey for touch_start - it is already implemented for sensor."
Thanks Michael
2008-04-09 15:33:04 +00:00
Justin Clarke Casey f512502e51 From: Kurt Taylor <krtaylor@us.ibm.com>
"a patch to add a deprecated call to throw an LSL deprecated specific exception, and the associated code cleanup in the functions."
Thanks!
2008-04-09 15:28:51 +00:00
Justin Clarke Casey f5b254e0bf * Minor: Show summary count of connected agents in 'show users' region console output 2008-04-08 20:54:18 +00:00
Justin Clarke Casey f8faf18c66 * Following A_Biondi's suggestion, going to try returning a version number of 1 instead of 0 for the folder requested in a InventoryDescendentsPacket
* Can't hurt - it doesn't appear to cause any problems in a quick test.
2008-04-08 20:11:35 +00:00
Justin Clarke Casey 90422db35a * Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
Teravus Ovares 95e31c9f02 * Added stretchable ellipsoid support with configurable LOD. It's actually a split facet icosahedral geodesic sphere that's scaled.
* In other words, you can stretch spheres into oblong shapes now and watch them roll around like a football would.
* Still can't cut, twist or profile cut spheres yet.
2008-04-08 05:03:43 +00:00
Teravus Ovares d0f7784101 * Adds poor support for ellipsis in the Meshmerizer. This will get better.. notice the huge nasty facets! Regular spheres still work as they did. 2008-04-08 01:29:45 +00:00
Sean Dague 5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Teravus Ovares e409892a9c * Updated ODE.NET bindings to the ODE library.
* Fixed some Tapers with Cylinders in the Meshmerizer
2008-04-07 22:11:41 +00:00
Justin Clarke Casey da9eeffc9e * Objects which have their name or description changed while within inventory will now retain those details when rezzed to a scene 2008-04-07 21:33:25 +00:00
Justin Clarke Casey 033f0138c8 * Preserve original creator's name when an object is given 2008-04-07 21:03:03 +00:00
Justin Clarke Casey 0e7c4046d3 * Nasty hack to reduce the incidence of spurious exceptions where a user deletes a newly rezzed object before the persistence thread gets to it from its queue.
* This should greatly reduce but not eliminate the problem - elimination probably requires a redesign of the prim persistence processes
2008-04-07 17:28:02 +00:00
Justin Clarke Casey 2caea75aa8 * Okay you can put down your pitchforks - this patch should fix rezzing of items (with inventory) on Windows
* Now properly dealing with prims which don't contain items - thanks to thomas for the patch which gave insight into this situation
* Also, an xml exception no longer crahes the client session    
* Leaving in debugging lines in case there are further problems
* Not yet tested on Linux, though I'm just about to.
2008-04-07 16:30:29 +00:00
Jeff Ames 8833a72388 Update svn properties. 2008-04-07 14:19:08 +00:00
Charles Krinke 927003de33 Thank you kindly Diva & KMeisthax for adding the beginnings
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Teravus Ovares 072b5faa34 * I XmlIgnored the TaskInventory Property as a temporary measure. Taking things and rezzing them works again. (though, I suggest waiting on taking things until justincc has an opportunity to look at the TaskInventory property causing the XML Serialization to overrun.) It's MinOccurs is 0 in the XML Schema, so it should work fine when he adds it back. 2008-04-07 11:21:44 +00:00
Jeff Ames ac73033231 Remove some dead code. 2008-04-07 02:34:31 +00:00
Justin Clarke Casey dfe5e9d4eb * EXPERIMENTAL ROUGH DRAFT: First rough implementation of avatar to avatar item giving
* Now you can drag an object from your inventory and give it to another avatar
* !!! Use at your own risk !!!  Many things are unimplemented as of yet, including permissions (the person receiving your item can probably do absolutely everything with it)
* Also, items for the receiving end up in their root folder rather than the objects folder
2008-04-07 01:46:00 +00:00
Jeff Ames 7149c8b0c6 Update svn properties. 2008-04-06 14:11:44 +00:00
Adam Frisby 0a0a3992cc * Whoops, forgot to include all the new terrain file loaders and things.
* Added MapImageModule for handling world-map 
* Added new DefaultTerrainGenerator.cs
* Added BMP loader
* Added GIF loader
* Added PNG loader
* Added TIFF loader
2008-04-06 14:04:59 +00:00
Adam Frisby 996309a6e1 * Various terrain engine fixes
* Includes patch #894 fixes for terrain load-tile
* Large number of other terrain fixes and new commands included.
2008-04-06 13:48:28 +00:00
Teravus Ovares 899f00b83d * Fixed up some documentation
* Should help the sinking feeling when new avatar arrive in the scene.
2008-04-06 06:42:54 +00:00
Teravus Ovares 0340531ff0 * Implemented AgentPause and AgentResume. AgentPause extends the timeout for a client at the server by 3x. AgentResume restores the timeout to the normal amount.
* The linden client still doesn't like it when you have an image select box open for more then 100 or so seconds.
2008-04-06 02:05:19 +00:00
Teravus Ovares 9d299926dc * Lowered the default throttle settings. They were way too high at 1.5MB/s!
* This will definitely help the missing prim problem (probably eliminate it entirely)!
* This will help the broken up land block problem (probably eliminate it entirely)!
* Warning, change the default throttle settings at your own risk ( and don't commit the throttle settings! )
2008-04-05 11:06:28 +00:00
Teravus Ovares dbbb115c26 * The simulator now checks the parcel at the position that you get put by the grid server to see if you set it's landing point to a specified landing point. If you did, and the landing point isn't LLVector3.Zero, it puts you at the configured landing point.
* Currently the grid server sticks you at 128x128x128..  so that means it'll use whatever parcel is at that location to get this information.   This allows greater customization of where people log-into and teleport-to if done right.
2008-04-05 09:47:05 +00:00
Justin Clarke Casey 57afbdbdbd From: Kurt Taylor <krtaylor@us.ibm.com>
Patch to remove commented NotImpemented calls from within implemented script functions
2008-04-04 19:09:56 +00:00
Justin Clarke Casey cdff09d0bb * Removing debugging goo for mantis 854 since the fix is reported to work. 2008-04-04 15:02:20 +00:00
Teravus Ovares 7bc0b7b6c1 * Fixes Region/Estate panel in current Linden Official client.
* Sets the default estate parentID to 1..  which means that all regions are treated like private estates in the client as opposed to Linden Mainland. (no space server hiccup message).  If that message annoys you and you want to get rid of it, set your parentEstateID to 1.
2008-04-03 22:59:38 +00:00
Sean Dague 5e32d86b87 move NullStorage => OpenSim.Data.Null to be consistant with
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Justin Clarke Casey b9b99ee87c * Attempted resolution for mantis 854
* Also adds more temporary debugging goo in case the fix didn't work
2008-04-03 17:13:45 +00:00
Justin Clarke Casey 042cd57e94 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch removes voice code into a region module.  This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Justin Clarke Casey 4394c747f5 * Minor: fix doc glitch 2008-04-03 15:30:52 +00:00
Justin Clarke Casey 5fe4a39927 * Adding request time limiting strategy for texture requests, though this isn't useable yet 2008-04-03 15:28:50 +00:00
Justin Clarke Casey 6ef4f1bdae * Resolve mantis 849
* Scripts in prims within linksets can now be properly edited using the 'edit linked parts' linden ui option
2008-04-03 13:33:46 +00:00
Teravus Ovares 2d33bf854f * ODEPlugin: put a limit on the minimum size a prim can be ( scale <=0 ). 2008-04-03 04:02:46 +00:00
Sean Dague 341664eabc from krtaylor
Fixe for Mantis 821
2008-04-02 18:58:57 +00:00
Justin Clarke Casey 272fbef65f Minor: just some method comments 2008-04-02 17:34:53 +00:00
Justin Clarke Casey f27f861072 * Attempt to resolve mantis 873 by placing caps removal operations in a critical section 2008-04-02 16:46:58 +00:00
Sean Dague 86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
Justin Clarke Casey 1038c244cf * Add some temporary task inventory item inflation debug messages to investigate mantis 854 2008-04-02 15:16:32 +00:00
MW 0e789a9a01 Set default terrain to complete flat terrain (at 26 height). Even flat terrain as default seems better than the messed up terrain I was getting. 2008-04-02 11:03:44 +00:00
Teravus Ovares b790a16e98 * Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey 96ecb62197 * Fix for mantis #678
* Shift copied prims should now keep the script in both prims over region startups
2008-04-01 17:06:33 +00:00
MW cdf27ece5f few more minor changes, needs prebuild to be ran. 2008-04-01 13:34:33 +00:00
MW f43e077150 a few small changes 2008-04-01 13:09:29 +00:00
Teravus Ovares a0a0229fdf * Set Svn Properties eol-style: |337 2008-03-31 23:54:49 +00:00
Adam Frisby 15a1565bf8 * Fix for terrain issue whereby loading or manipulating a terrain item from the console would not cause the terrain to be saved to the Scene. (Mantis #845) 2008-03-31 21:05:22 +00:00
Justin Clarke Casey 106fd2f616 * From: Dr Scofield <hud@zurich.ibm.com>
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Justin Clarke Casey 93303072dd * Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey af3118eccd * Fix problem where inventory code throws a swallowed exception on grid mode if the avatar has never logged in before 2008-03-31 17:08:58 +00:00
Justin Clarke Casey 5f04cebb25 * Fix for mantis 131, 796
* Take copy now actually takes a copy into inventory rather than the original
2008-03-31 16:12:24 +00:00
Jeff Ames e18d046d76 Fixed typo in AvatarFactoryModule.cs 2008-03-31 16:06:12 +00:00
Jeff Ames 8af0c9a1af Update svn properties. 2008-03-31 03:29:34 +00:00
lbsa71 f52886f8f5 * Added competely untested MSSQLMapper
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares 8aa4308097 * Minor cleanup 2008-03-30 19:58:14 +00:00
Adam Frisby c502416548 * Quick fix. Re-enabled some code which registers the Terrain Module's Commander with the scene (whoops). 2008-03-30 09:07:57 +00:00
Adam Frisby fadd19f314 **Big ass update warning**
* Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>".
* Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax.
* New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class.
* Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
2008-03-30 09:03:38 +00:00
Teravus Ovares fd2caf5f16 This update has good news and bad news, first the bad.
* This update breaks inter-region communications, sorry.
* You will need to run prebuild.
Next, the good;
* This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa.  So Linux Simulators and Windows simulators are 100% compatible again.
* This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border.   If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost.
That being said, it's best to update all your simulators to this revision at once.
2008-03-30 08:01:47 +00:00
Justin Clarke Casey a6999f8a5d * Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway. 2008-03-29 23:07:48 +00:00
Justin Clarke Casey 7722a87b69 * Tidy up 'show users' display 2008-03-29 22:57:09 +00:00
Justin Clarke Casey a90fbb308d * Minor log message fix per mantis 829 2008-03-29 22:44:14 +00:00
Justin Clarke Casey 875211b262 * Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal 
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
alondria 0e0445573e Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838 2008-03-29 19:49:07 +00:00
MW 7fcffa3a3a Re-enabled terrain texture generation for the world map. Adam can clean up/ sort it out when he gets time.
Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. 
Also currently the texture is only generated at region startup, it is not updated after terraforming.
2008-03-29 17:18:47 +00:00
Jeff Ames 86128ba4d4 Fix compiler warnings in BulletXPlugin. 2008-03-29 04:30:19 +00:00
Justin Clarke Casey 0a47a75b88 * Send full inventory folder skeleton to standalone client logins rather than just the root child folders
* This may resolve some current problems with non root child folders on standalone installations.
* A fix for the same problem in grid mode will come soon.
2008-03-28 19:35:01 +00:00
Justin Clarke Casey 35dec2e53a * Refactor: Eliminate RequestUsersRoot() redundant method 2008-03-28 17:37:55 +00:00
Justin Clarke Casey c8f79eb9b4 * Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey 512e52be4c * Remove pointless boolean on AgentInventory.CreateRootFolder() 2008-03-28 16:27:29 +00:00
MW a13d68d98c fixes mantis #778 and shoots himself for making such a mistake to begin with, but also blames Tedd for the way the script functions have wrapper methods that call the same named method in a different class, is it my fault if in two such functions, I forget to add "m_LSL_Functions." and instead cause a recursive loop until the stack overflows. 2008-03-28 15:32:46 +00:00
MW ac27d9250d attempt to fix mantis # 779. 2008-03-28 14:59:52 +00:00
Sean Dague 2eda6a1296 From: Michael Osias <mosias@us.ibm.com>
This patch implements llMessageLinked.

I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for
link sets of more than 1 prim, or 0 for a single object, since according
to:

http://rpgstats.com/wiki/index.php?title=LlMessageLinked

linksets with 2 or more prims start the link numbering at 1, but a single
prims link number is 0.
2008-03-28 12:47:03 +00:00
Justin Clarke Casey 14ee78b3af * Tweaking master uuid exception to make it clearer what just went wrong (user server timeout)
* Increasing GetUserProfile requests only to 6 seconds from 3
* Not completely sure what effect this will have, though probably not much
* At some point one will have to accept that if the grid servers are taking many many seconds to respond, running using that grid will not be viable.
* Perhaps there should be a big warning up front if grid request times are slower than n seconds.
2008-03-26 18:06:29 +00:00
Justin Clarke Casey c538ea5024 * Increase timeout for initial simulator login from 16 to 30 seconds
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Justin Clarke Casey bcd68fb6c4 * More log messages in the region registration process for debug purposes. Some of these may be temporary 2008-03-26 12:44:43 +00:00
Justin Clarke Casey c00e56d3ee * Increase information in simulator_login log messages 2008-03-26 12:34:02 +00:00
Justin Clarke Casey 35b1cae593 * Start printing the region simulator_login exception to the log 2008-03-26 12:28:59 +00:00
Johan Berntsson 7fe243e3d4 Committed patch from Lulurun to fix Mantis 817. Thanks Lulurun 2008-03-26 02:49:35 +00:00
Johan Berntsson 7f5e1546e2 Removing redundant code 2008-03-26 02:12:28 +00:00
Justin Clarke Casey ad6783ff40 * Massaging CAPS setup/teardown log messages
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25 22:04:41 +00:00
Justin Clarke Casey ad808579a2 * Print out the exception stacks of resolution failures, temporarily 2008-03-25 20:05:02 +00:00
Justin Clarke Casey ed9cdbe99f * Temporary hack to swallow neighbour contact problems on startup (in response to osgrid issues)
* Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
2008-03-25 19:39:41 +00:00
MW 13a077674c checking that these two files are commented out 2008-03-25 19:03:23 +00:00
MW c2ea7b99e1 Moved Avatar appearance Factory to its own project so that the reference to MySQLDatabaseMapper could be removed from Region.Environment.
Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
2008-03-25 18:48:07 +00:00
Justin Clarke Casey 8c74cf7758 * Tear down CAPS and http handlers when an agent leaves a region (via crossing, teleport or logout) 2008-03-25 18:47:14 +00:00
Teravus Ovares e74892ee44 * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
( Remove ray caster Verbosity )
2008-03-25 17:31:40 +00:00
Teravus Ovares e11e6dc308 * Use Face normal to offset new prim instead of the hard coded pos.Z += 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. ) 2008-03-25 17:28:09 +00:00
Justin Clarke Casey 2517fe7acd * Remove old CAPS http listeners when a client logs out from a scene
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25 17:08:20 +00:00
Teravus Ovares 3d1b4f8578 * On Ray casting. Now returning the face normal of the collision face. 2008-03-25 16:09:43 +00:00
lbsa71 ba2de258f4 * Refactored out circular reference in Region.Environment <-> Framework.Data.Base
We REALLY need to get the db layer sorted soon...
2008-03-25 14:27:39 +00:00
Jeff Ames 9d1b42c39a Comment out unused private methods. 2008-03-25 03:49:08 +00:00
Jeff Ames a8d9a58dd2 Fix a couple more warnings. 2008-03-25 03:43:24 +00:00
Jeff Ames a7556af7de Fix a few compiler warnings. 2008-03-25 03:37:48 +00:00
Teravus Ovares a21112ccee * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.
* It doesn't generate at_target events, because they don't exist yet in the script engine.
* The Tau is different, however, compatible with scripts I tested.
* Not perfect...  but pretty good.
2008-03-25 03:36:31 +00:00
Jeff Ames d2b1a8aa1e Minor formatting / svn properties cleanup. 2008-03-25 01:45:23 +00:00
Teravus Ovares dd6e6e7bdf * Added llApplyImpulse in the local frame. 2008-03-24 22:48:34 +00:00
alondria 15a22e993d Implements llGetInventoryPermMask() 2008-03-24 21:56:52 +00:00
Teravus Ovares dd6a9ffbc7 * OBB: Flipped the -y face normal so ray casting against the -y face correctly results in the point of collision. 2008-03-24 21:48:33 +00:00
Justin Clarke Casey e3949280b1 * Inflate my commits with yet another snippet of documentation... (j/k) 2008-03-24 21:28:45 +00:00
Justin Clarke Casey 3a5521d204 * Put in tiny doc snippet while I remember 2008-03-24 21:27:14 +00:00
Justin Clarke Casey f14c102c7a * Clean up Scene.AddCapsHandler(). There was a race condition warning, but I don't think this is now relevant...
* Remove some now extraneous CAPS related messages
2008-03-24 21:21:05 +00:00
alondria 2b4915ef27 Modified llGetInventoryName() so it indexes inventory in the same manner the LL grid does. (Thanks Teravus for pointing this out.) 2008-03-24 21:19:01 +00:00
Justin Clarke Casey 3aa843cea8 * Remove a spammy comment I meant to remove from the last commit 2008-03-24 20:25:48 +00:00
Justin Clarke Casey 6489746a6b * Make standalone non-home region caps work again.
* When I removed the hard coding for the http port last night, I foolishly assumed standalone would be okay :)
2008-03-24 20:22:58 +00:00
alondria 3be815b206 Implements llGetInventoryName() - the order is based upon inventory key, which probably doesn't match 100% with LL's grid. 2008-03-24 19:58:53 +00:00
Justin Clarke Casey 45b9114df7 From: Michael Osias <mosias@us.ibm.com>
Fixes mantis 771 - multiple uses of llListen cause duplicate events

Thanks Michael!
2008-03-24 19:44:25 +00:00
alondria 9117dfc858 Implements llGetInventoryNumber() 2008-03-24 19:29:35 +00:00
alondria 8a39d04f6d Implements llGetInventoryType() 2008-03-24 19:11:56 +00:00
alondria 3423ed4739 Implements llGetInventoryCreator() 2008-03-24 19:05:44 +00:00
Justin Clarke Casey 8c0955321a * Refactor: Genericise request limit strategies and move to OpenSim.Framework.Communications.Limit 2008-03-24 18:21:06 +00:00
Johan Berntsson 56dfa4e6da Fixed a small XmlRpcCommand bug 2008-03-24 03:03:21 +00:00
Johan Berntsson 39f340e687 XmlRpcCommand refactoring 2008-03-24 01:37:00 +00:00
Justin Clarke Casey da531fa9e1 * Start passing around a region server's http port in RegionInfo.
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default 
(9000) port.  
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision.  However if it does, the instability will persist until 
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
alondria 68d016517d Implements llGetParcelPrimOwners() 2008-03-23 18:15:08 +00:00
Teravus Ovares f82227a186 * Added a little more stability for getting the object list from the parcel box. (previously it crashed my simulator)
* Found and gracefully handled a few situations where null references occur.  (m_rootPart again!)
2008-03-23 07:10:04 +00:00
Teravus Ovares dc850df50a * Implements Oriented Bounding Box raytracing.
* It's not perfect, but it's good enough. (rarely erroneously returns a backface collision)
* After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
2008-03-23 06:24:59 +00:00
alondria 5deca3f0c5 Implements (I hope): llRemoveFromLandBanList, llRemoveFromLandPassList, llAddToLandBanList, llAddToLandPassList, llResetLandPassList, llResetLandBanList 2008-03-23 06:08:52 +00:00
Jeff Ames 0d43aaa337 Fix llParseString2List bug when separator is longer than 1 character. 2008-03-23 00:39:35 +00:00
Jeff Ames 9a2b289e32 Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch! 2008-03-22 23:52:48 +00:00
Jeff Ames 37121bcf72 Update svn properties. 2008-03-22 23:39:07 +00:00
mingchen 71ca162821 *Moved LandManagement into its own region module (spiffy!) 2008-03-22 23:10:22 +00:00
alondria 5ebef6410e Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). 2008-03-22 23:02:41 +00:00
Justin Clarke Casey 74023aa97c * Miscellaneous comment before I found out that mantis 807 probably isn't an issue worth fixing. 2008-03-22 22:17:35 +00:00
Justin Clarke Casey 170e1a8a09 * Make master UUID exception a bit more useful by telling us which uuid it was trying to look up 2008-03-22 21:19:45 +00:00
Justin Clarke Casey 61ae75f364 * Catch the occasional resolution exception that comes out of SceneCommunicationService.EnableChildAgents so we can see what hostname is failing 2008-03-22 20:44:15 +00:00
Justin Clarke Casey 6ce79a0f78 * Downgrade 'texture not found' message to DEBUG and stop putting out 'already dispatched' message completely temporarily
* I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it. 
* My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added...
* If this is the cause, resolution is going to be rather complicated.
2008-03-22 19:15:01 +00:00
Justin Clarke Casey 936f961a53 * Reducing spam on console so we only notify once if we're dropping repeated requests for missing textures
* Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22 18:30:54 +00:00
Justin Clarke Casey 625e8f7700 * Minor log message change 2008-03-22 17:56:05 +00:00
Justin Clarke Casey e211a3b00b * Tell the user what the new terrain commands format is if they try to execute a deprecated one
* As per CharlieO's suggestion in #806.  Thanks!
2008-03-22 10:09:09 +00:00
Teravus Ovares 7854f6f4a2 * Committing some math to discover the Oriented Bounding Box and decomposing it into planes and normals.
* No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-22 03:40:38 +00:00
Charles Krinke 2f3bb3b836 Remove a couple more compiler warnings by commenting unused variables.
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21 23:31:32 +00:00
alondria 6ac21141c6 Adds in +, -, and / operators for Rotations (and fixes Mantis 671) 2008-03-21 21:31:18 +00:00
alondria d3515bf22e Woops - forgot to call m_host.AddScriptLPS(1) in llGetObjectDetails.... 2008-03-21 20:20:39 +00:00
Justin Clarke Casey be83ac37f9 * Small adjust to last commit's logging so we only print out one warning when we start dropping requests 2008-03-21 20:19:43 +00:00
alondria 181c5ab7d7 Implements llGetObjectDetails() 2008-03-21 20:04:52 +00:00
Justin Clarke Casey 45ea156804 * If a client session requests the same texture more than n times (currently n=5), we now drop the subsequent requests
* This may improve region memory usage
* This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it
* This treats the symptom rather than the cause.
* n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
2008-03-21 19:16:29 +00:00
alondria d76c6ee140 Implements llKey2Name(). 2008-03-21 18:45:09 +00:00
Charles Krinke 1e452dacf4 Comment out an unused 'str' and add a WriteLine to use
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21 17:06:31 +00:00
Charles Krinke 21e5e65bb7 Comment out "m_randomizeWater" and "ms" until we use them later. 2008-03-21 16:52:55 +00:00
alondria 5c41051fda Implemented llOverMyLand() and correct llGetOwnerKey() to properly return the information for the argument key, opposed to the object the script is in. 2008-03-21 15:34:51 +00:00
Teravus Ovares 0cb05c1952 * Updated ray tracing code. It's now good enough to use when the XYZ vector components of the scale have a difference of less then 4.5 meters.
* When a new prim is created and raytracing is called for, raytrace from the camera position to the ground in the direction of the Norm(RayEnd - RayStart).
* If we got a hit based on our camera, create the new prim at the edge of the prim we hit.
* Don't raytrace if the difference between any component of the vector exceeds 4.5meters.
2008-03-21 05:54:56 +00:00
Adam Frisby 803670e6ea * Removed more encoding faults. 2008-03-21 02:36:34 +00:00
Adam Frisby fd8aa566b5 * Removed a bad encoder. 2008-03-21 02:32:56 +00:00
Adam Frisby 7286bd60b0 * Converted a large number of ASCII encodings to UTF8.
* We should not be using ASCII anywhere except for legacy compatibility reasons.
* A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT
* This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21 02:26:00 +00:00
Teravus Ovares dc79146d01 * Fix for #499: linked primsets don't rotate properly when using a door script that works OK on SL
* Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-21 00:52:41 +00:00
Justin Clarke Casey c1beb85315 * First draft resolution of mantis 777, 734, 389 - scripts do not save in non-home regions
* Should work in multi-region standalone and grid modes
* This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc)
* We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master
* Current limitation is that this will only work if your http_listener_port is 9000
* This is a very early code cut (lots of bad practice, hard coding and inefficiency).  However, I wanted to get this out there for feedback and my own sanity.  Next few patches will clean up the mess.
2008-03-20 20:04:45 +00:00
MW f61ea1998e Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the packetpool, which somewhere through time got lost/reverted 2008-03-20 15:33:08 +00:00
Justin Clarke Casey 20473af892 Another poxy patch which consists mainly of logging changes (some already commented out) to find out what CAPS is doing 2008-03-20 13:03:26 +00:00
Jeff Ames 84289cfb4b Fix server crash when setting prims physical under basic physics. 2008-03-19 19:33:38 +00:00
Justin Clarke Casey 2b78c40d89 * Adding log debugging messages and making others more explicit
* This reveals that the problem with saving scripts in a non-home region in multi-region configurations is due to a CAPS setup issue
* For some reason the client is still using the CAPS on the region it just came from, causing the ScenePresence lookup to fail (since the presence is now, correctly, a child agent).
2008-03-19 19:25:10 +00:00
Teravus Ovares 8d5bcc9da1 * Fix for if 782: Locked prims may still be moved by click+drag.
* Remember, your admin user and estate managers can move locked objects that are not owned by them.  That functionality differs from the Linden way of thinking and it's by design! It is not a bug!  Create a non-god user and use that as your normal account.
2008-03-19 18:32:25 +00:00
Justin Clarke Casey f747687c8f * Patch to add llSetLinkPrimitiveParams stub
* Thanks krtaylor
2008-03-19 17:28:21 +00:00
Jeff Ames 3f2ea4f647 Thanks Ahzzmandius for fix for overflow in user profile About box or First Life About box when using non-ASCII encodings (bug #769). 2008-03-19 15:12:48 +00:00
Justin Clarke Casey 93d05b8b1f * Print a warning every 20 times a client requests a texture that it should already have received
* The warning will be 
[USER TEXTURE DOWNLOAD SERVICE]: Received {0} requests for already dispatched texture {1} from client {2}
This is to see whether the texture packet queue memory leak is caused by clients continually re-requesting textures they should already have
2008-03-19 14:38:58 +00:00
Justin Clarke Casey 16cd6cd82e * Documentation patch from krtaylor. Thanks! 2008-03-19 10:47:40 +00:00
Jeff Ames a0e1be3280 Fixed some comparisons of LLUUIDs to null.
Thanks to DrSchofld for pointing this out.
2008-03-19 09:36:13 +00:00
Justin Clarke Casey d135dad051 * Add a large amount of extra locking to m_parts in SceneObjectGroup
* Should help stop any InvalidOperationExceptions caused by concurrent read/write 
* The extra locking should be okay, but I'm really surprised we've got away without mucho crashes due to this...
2008-03-18 20:42:01 +00:00
Justin Clarke Casey f77ab46184 * Stop (which currently removes) all scripts in an object when that object is deleted from the region 2008-03-18 20:11:35 +00:00
Justin Clarke Casey 78e24380c8 * Stop grid inventory network failures crashing the client session
* Now the operation will just fail and post a message to the log instead, which may be mysterious to the client but isn't so brutal
2008-03-18 19:52:07 +00:00
Jeff Ames e5b9144282 Formatting cleanup. 2008-03-18 15:30:38 +00:00
Jeff Ames bf8b5844f2 Formatting cleanup. Minor refactoring. 2008-03-18 14:51:42 +00:00
lbsa71 9c428d9935 * Applied Grumly57 patch for #781; Thanks, Grumly! 2008-03-18 13:39:29 +00:00
Justin Clarke Casey 0b7626b630 * Remove unused (and somewhat nonsensical) method in PhysicsActor
* Thanks for DrScofld for drawing attention to this
2008-03-18 11:37:34 +00:00
Justin Clarke Casey f81c491725 Patch from DrSchofld (IBM). In his own words
structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in  OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs.

[yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
2008-03-18 11:32:44 +00:00
Teravus Ovares 42857fe4e9 * Added the ability to type the partial name of a region in the start location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very.
* Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18 05:44:25 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames 175dc285ff Added copyright messages. Set svn:eol-style. Minor cleanup. 2008-03-18 03:51:59 +00:00
Jeff Ames 9f7639fd6d Formatting cleanup. 2008-03-18 03:41:05 +00:00
Teravus Ovares 4e30f862af Building on Joha's update...
* Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
2008-03-18 03:09:38 +00:00
Justin Clarke Casey bbddc0dbe7 * Move missing texture request forward so that we don't actually ask the AssetCache for it if we know it's missing. 2008-03-17 21:44:54 +00:00
Justin Clarke Casey 872184fa2a * Inserting code to prepare to fix trash emptying and the edit texture inventory (again)
* Can't just do this fix since it stops subfolders working (though it appears subfolder renaming may be fubar at the moment)
2008-03-17 21:34:58 +00:00
Justin Clarke Casey 9122762dc8 * More almost completely unproductive log message fiddling 2008-03-17 19:13:15 +00:00
Justin Clarke Casey 37c32e1154 * Make it more obvious if local user services are being used
* Tell the log whether the sim is started in standalone or grid mode
2008-03-17 19:08:23 +00:00
Justin Clarke Casey d137d4b907 * DEV: Remove client's CAPS handlers object when they log out 2008-03-17 18:16:36 +00:00
Jeff Ames a8aeec29da Fix a few mono compiler warnings. Minor cleanup. 2008-03-17 17:39:42 +00:00
Justin Clarke Casey cd1978b424 * Reduce the annoyingness of clients that continually request unfound textures (probably for some good reason) by dropping all subsequent requests after the first reply.
* Print out a console message every 20 tries rather than every single one.
* This weakens the problem but does not eliminate it
2008-03-17 17:30:01 +00:00
Jeff Ames 7d1dcf3e68 Replaced some magic PCode numbers with enum values. 2008-03-17 17:23:49 +00:00
Jeff Ames 825c89e7ac Replaced some Console.WriteLine calls with writes to log. 2008-03-17 17:10:53 +00:00
Justin Clarke Casey 5160733ba1 * Remove uninformative exception traces from remoting errors
* Indulge in my fetish for console message conformity
2008-03-17 16:55:12 +00:00
Sean Dague dba37a8722 From: Alan M Webb <awebb@vnet.ibm.com>
Here's a diff of the changes I have made in support of the following LSL
script functions. 

llSetScriptState
llGetScriptState
llCSV2List
llListRandomize
llList2ListStrided
llListFindList
llResetOtherScript
llGetScriptName

It was necessary to modify ExecutorBase in support of the ScriptState
implementations.

I also modified SceneObjectPart and SceneObjectPart.Inventory to
corrects a quoting mismatch in the commentary that through off live
parsing of the files.

I also simplified the State definition at the start of BuiltinCommands.
2008-03-17 15:11:36 +00:00
Teravus Ovares 76bf1f3654 * Fixed prim creation in basic physics mode. ( BasicPhysics returns null probably a lot more then it should? ) 2008-03-16 18:55:56 +00:00
MW 58ce8f3818 added some os helper functions for the texture drawing module. see http://opensimulator.org/wiki/OSSL_TextureDrawing for function prototypes and example script. Will expand that page later. 2008-03-15 13:52:57 +00:00
MW c04899b60a Part 2 of fixing inventory for client 1.19.1 (RC), inventory items should now show up.
Most likely still some problems and most like needs some more work (and still a couple of things to finish off).
2008-03-15 12:53:03 +00:00
Adam Frisby 4746c26824 * Fix for Justincc's bug report #768 - Terrain looks rather phallic. 2008-03-14 19:50:11 +00:00
Justin Clarke Casey 1641e4ecb1 * Remove stupid bug I just introduced where delinking would only delink one prim at a time.
* Teaches me not to say stuff like 'this is now working'
2008-03-14 18:51:51 +00:00
Justin Clarke Casey 9341c71135 * Minor - error message should be a warning. Spelling 2008-03-14 18:30:28 +00:00
Justin Clarke Casey 87067bff1e * The rest of the fix necessary for mantis #766 - terse updates broken
* Even very rapid linking/delinking should now behave normally.  Terse updates still occur as before
* Hopefully this ends the recent linking problems - please let us know if there are more
2008-03-14 18:21:21 +00:00
Sean Dague 01faa86c1a Fix Mantis 636 2008-03-14 18:09:20 +00:00
Justin Clarke Casey dc84f350a7 * As yet incomplete fix for mantis #766 - terse updates broken
* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally
* More work to do here
2008-03-14 16:28:33 +00:00
Teravus Ovares ce9c2ecac8 * You can leave godmode if you want now.
* Fixed a compile error.
2008-03-14 15:52:32 +00:00
lbsa71 24aedf52c6 * Added null root part guard
* Normalized some UUID handling
* Compacted a few Contains/Add into Set
2008-03-14 15:28:34 +00:00
MW 7ab08f2ac4 Attempt to fix mantis #741, could not replicate it myself. But the error was suggesting that the SceneObjectPart was null, so added a null check, to make sure the sceneobject to be attached is found before attempting the attachment. 2008-03-14 15:23:33 +00:00
MW a5f5be8a0c attempt to try to fix mantis issue # 613, which seems to be a threading issue. Queue is only threadsafe if its a public static member, which in this case it wasn't. And we were locking it during both enqueues and dequeues. So have added those locks to a syncObject. But it still needs testing on a high load region, as that seems to be when the exception happened. 2008-03-14 14:40:31 +00:00
Jeff Ames 3778840f36 Update svn properties. 2008-03-14 14:20:05 +00:00
Adam Frisby 53e8d91c06 * Fixed 'flatten area' brush, so it now has a 'force' instead of instantly flattening the selected area.
* Noise, and Noise-Area brushes now use Perlin noise, more closely simulating the method LL uses officially.
* TerrainModule has been cleaned up slightly.
* TerrainUtil class has several new functions related to seeded noise generation.
* Extracted ITerrainEffect, ITerrainFloodEffect, ITerrainLoader, ITerrainPaintableEffect, TerrainChannel to seperate files.
2008-03-14 13:37:39 +00:00
Teravus Ovares ae9a98ceb1 * Added proper handling of llSetStatus(STATUS_PHYSICS,BOOL) 2008-03-14 06:20:50 +00:00
Teravus Ovares abacfba287 * Preliminary work with the ODEPlugin to collect collision data. 2008-03-14 05:22:52 +00:00
Jeff Ames 94c39c793a Update svn properties. 2008-03-14 00:41:09 +00:00
Sean Dague 4e588c715d some hackery with the VectorRenderModule to let you pass in a canvas
size.  Helps make the fonts crisp when using vector renderer as a
text board.
2008-03-13 20:47:36 +00:00
lbsa71 cb28cc686b * Added cautionary README.txt 2008-03-13 20:00:41 +00:00
lbsa71 8b6d29ff2e * SimpleApp is dead, long live OpenSim.Region.Examples.SimpleModule
* This module more or less crashes every region in the instance if you enable it by moving it from local /bin to global /bin
* But hey, it crashes in lots of interesting ways.
2008-03-13 19:55:18 +00:00
Justin Clarke Casey 12cb0d15f8 * Put back a comment I just inexplicably zapped 2008-03-13 18:42:57 +00:00
Justin Clarke Casey 429ecb8508 Just a few comments 2008-03-13 18:31:05 +00:00
Justin Clarke Casey 67a59b62e3 * Very minor comment change to reflect the fact that eliminating spurious delink prim updates is low priority 2008-03-13 12:35:59 +00:00
Sean Dague e7076d3d15 remove the rex based voice chat. No current client implements this,
and a seperate voice server approach compatible with SLVoice is needed here.
2008-03-13 12:29:56 +00:00
Justin Clarke Casey 297887e1fc * Change opensim.ini.example guidance on asset_database setting to be "local" or "grid"
* See OpenSim.ini.example for more details
* The old sqlite/mssql settings were redundant and effectively ignored anyway.  Hence, there's no need for you to change your current settings, which will still work
* In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations
2008-03-13 01:01:28 +00:00
Justin Clarke Casey a4304fb9e6 * Fix Mantis 761 (linking and delinking prims rapidly caused prims to 'disappear')
* Root cause was that if two updates occurred in the same second of time, the second one was never sent
* Linking/delinking appears to be okay now
2008-03-13 00:22:38 +00:00
Sean Dague 31cdb1afb0 there was a single instance where the log4net object was not
static readonly.  I suspect this was the cause of mantis #500.
2008-03-12 21:09:56 +00:00
Justin Clarke Casey bbb9a21eb5 * Fix mantis 757.
* DelinkFromGroup was removing the parts from the delinked group, which later upset the update thread when it tried to do a queued update for that object
* Temporary fix is to stop deleting the parts, though it would be good later to stop sending out the now spurious updates
* This fix actually reveals another bug, where rapid linking and delinking will cause the non root prims to disappear (though they're actually still there if you relog).  This is the next bug to tackle.
2008-03-12 18:59:50 +00:00
Justin Clarke Casey b9ef6ed047 * Don't abort (and keep failing) the update if one Entity gives us an exception when we try to update it
* This doesn't remove bug 757, but does largely remove the worst consequences
2008-03-12 18:11:08 +00:00
Justin Clarke Casey c310f2ab24 * Since remoting exceptions occur quite often in some cases (e.g. when a neighbouring region is down), put out only the source and message of the RemotingException (not the stack trace) to the console.
* It doesn't appear that the remoting stack trace yields any useful information anyway
2008-03-12 17:37:00 +00:00
Justin Clarke Casey 42123770de * Add comments and slight corrections to ClientView.AgentTextureCached
* Reduce 'asset not found' console debug spam
2008-03-12 17:02:08 +00:00
MW fc551ef127 Applied patch from mantis #749, Grass now stays to set type when moved. thanks Grumly57. 2008-03-12 15:53:04 +00:00
Adam Frisby be6d8f6d9a * Switched Noise 'Flood Area' brush to use Perlin rather than random noise.
* Fixed a bug with the Smooth Area brush.
2008-03-12 13:49:38 +00:00
Adam Frisby d626125825 * Fix for Smooth Area Flood Brush, now doesn't flood the entire sim. 2008-03-12 13:03:44 +00:00
Jeff Ames 43148ffc23 Update svn properties. 2008-03-12 12:22:43 +00:00
Adam Frisby 935e67a783 * Updated Terrain Module
* Terrain Area-of-Effect brushes now should work properly.
* Updated the scale / effect of various brushes. Small & Medium brushes should now actually do something.
2008-03-12 11:47:34 +00:00
Adam Frisby 8e27656fcc * Refactored some terrain brushes to move out some common functions into TerrainUtil class. More needs doing.
* Adjusted strength of brushes to Math.Pow(2,size), this should in theory work closer to how it was before.
2008-03-12 11:02:30 +00:00
Jeff Ames 6da664edbe Refactor out some duplicate code. 2008-03-11 22:15:28 +00:00
Justin Clarke Casey e7e157d95e * Temporarily disabling sending of ImageNotInDatabasePacket when a texture isn't found, since this appears to be crashing Linden client 1.19.0(5) 2008-03-11 18:41:22 +00:00
Justin Clarke Casey 4ed96d9929 * Very temporarily put AgentCachedTexturePackets onto the wind rather than the texture queue
* This is in order to identify whether it is these which are somehow causing the massive texture packet bloat,
* since this is the only other packet put on to that queue other than the TextureSender ones
2008-03-11 18:37:06 +00:00
Adam Frisby 11ba471bcc * Applying patch #754 - Fix for Vector Magnitude operation. Thanks cmickeyb! 2008-03-11 16:19:01 +00:00
Johan Berntsson f0bfb87979 Eliminated several compiler warning messages 2008-03-11 04:40:39 +00:00
Johan Berntsson bec947cde3 The plugin loader can now handle plugin dependencies without hardcoding 2008-03-11 03:10:21 +00:00
Teravus Ovares f46fcbb9d2 * Added Linear Acceleration reporting to the ODEPlugin.
* Added support for LSL llGetOmega (Rotational/Angular Velocity)- ODEPlugin is the only physics plugin that reports it.
2008-03-10 14:14:44 +00:00
Teravus Ovares d0123a796b ODEPlugin
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level.   
* osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE);
* By default, prim do not float at the water level.
* More work is needed on the floating, but it's a start.
2008-03-10 05:56:58 +00:00
Teravus Ovares 8bea3dbdb9 * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
* Added WaterLevel support to the ODEPlugin.   More on this later.
2008-03-10 05:23:43 +00:00
Teravus Ovares 8bba8e232c * Fixed a few things and enabling Physical Prim border crossings again.
* Everyone try to push a physical prim across a region border now.
2008-03-09 20:29:59 +00:00
Adam Frisby f89e7107bb * Fix for hydraulic erosion brush. Still not working as planned, but getting closer. Bugs may be due to the water distribution pattern. 2008-03-09 19:22:21 +00:00
Teravus Ovares 7cae577094 ODE Plugin
* More cleanup
* Less noise
2008-03-09 17:50:24 +00:00
Jeff Ames 9bc6ee576e Update svn properties. 2008-03-09 16:51:34 +00:00
Adam Frisby 42e1a6ee95 * Fix to the OlsenSphere brush to make it more powerful.
* W.I.P: Hydraulic Erosion (Spherical) paintbrush - code is all there, but some work is required on the initial parameters to get it to function correctly. Replaces the smooth brush when `newbrushes` is switched on.
2008-03-09 16:50:09 +00:00
Teravus Ovares 5b6eba968b * Fixed the Link + Duplicate + Unlink both = 'ODE Invalid Argument in Collision Space Crash'
* Added: Console comment: [PHYSICS]: The scene reused a disposed PhysActor! *waves finger*, Don't be evil.
2008-03-09 16:32:44 +00:00
Teravus Ovares 081b2ac34e * Cleaned up some locking on the ODEPlugin to make it more developer friendly
* Expect the occasional deadlock?
2008-03-09 15:43:01 +00:00
Jeff Ames 7981c45750 Update svn properties. 2008-03-09 15:08:03 +00:00
Adam Frisby b46b152954 * New terrainmodule paint brush "Olsen Erosion"
* Implements the Optimised Erosion routine defined by Jacob Olsen in the paper 'Procedural Terrain Generation' (http://www.oddlabs.com/download/terrain_generation.pdf)
* Replaces the 'flatten' brush when 'newbrushes' is enabled.
2008-03-09 15:00:52 +00:00
Teravus Ovares 7a9e572e8a Linux Compile error if Color is compared against null. Documentation for System.Drawing.Color says it returns a Color with all Components as 0 if the String passed isn't a known color, so the null check has been commented out 2008-03-09 13:04:58 +00:00
Jeff Ames 3e47389f9a Update svn properties. 2008-03-09 06:39:15 +00:00
Adam Frisby 1011bbf39d * Small optimisation on Weathering paint brush.
* Added "script terrain newbrushes <true|false>" to enable experimental terraforming brushes. Presently the 'revert' brush is replaced with the Weathering brush, when enabled.
2008-03-08 23:28:29 +00:00