Commit Graph

2759 Commits (b3e10debdd26fd80396ad50b4be23468b49d403d)

Author SHA1 Message Date
Adam Frisby 1277f68f43 * Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road. 2008-03-12 12:59:09 +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
lbsa71 95e4d1ae5e * made some privates protected 2008-03-12 11:18:43 +00:00
lbsa71 e2dfd919bc * made GridManager class public 2008-03-12 11:11:52 +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
lbsa71 df104e6f84 * Renamed Main.cs to GridServerBase.cs 2008-03-12 10:16:28 +00:00
lbsa71 3f45cfc591 * Refactored out exe bit out of Grid Server for great justice 2008-03-12 10:13:19 +00:00
lbsa71 f1b8712da3 * Refactored some internals in Grid Server Main 2008-03-12 09:50:12 +00:00
lbsa71 d873a043dd * Refactored out creation of LoginResponse
* Refactored out ErrorResponse
2008-03-12 09:37:39 +00:00
lbsa71 47ed69c933 * Extracted RegionProfileData from Request
* Introduced ValidateNewRegion and ValidateOverwrite
2008-03-12 09:17:23 +00:00
lbsa71 da854b9691 * minor refactoring 2008-03-12 08:44:36 +00:00
Sean Dague 163a7cb6c8 better fix for 551, not sure why I missed this earlier 2008-03-12 02:48:08 +00:00
Jeff Ames 6da664edbe Refactor out some duplicate code. 2008-03-11 22:15:28 +00:00
Sean Dague 6340fa0aab Ensure resolution of mantis 113 2008-03-11 21:37:35 +00:00
Sean Dague 0159aa7048 get rid of artificial InventoryLock object in favor of
locking on the DataSet.  This doesn't change any functionality
and leaves us with one less object.
2008-03-11 21:23:06 +00:00
Sean Dague ed4710eda0 added early readme 2008-03-11 20:43:08 +00:00
Sean Dague 2827339345 Attempted fix for http://opensimulator.org/mantis/view.php?id=551 2008-03-11 20:38:55 +00:00
Sean Dague 1dfa382e44 moving everything into OpenSim.TestSuite namespace 2008-03-11 20:15:07 +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
Sean Dague fa79433d2e clone off pCampBot to OpenSim.TestSuite, as I'm going to be
making enough breaking changes that I'd rather not mess up
people currently using pCampBot effectively.
2008-03-11 18:06:25 +00:00
Justin Clarke Casey 956f7cb4f9 * Very minor error message change in GridAssetClient 2008-03-11 17:55:49 +00:00
Adam Frisby 11ba471bcc * Applying patch #754 - Fix for Vector Magnitude operation. Thanks cmickeyb! 2008-03-11 16:19:01 +00:00
Adam Frisby b40957b57c * Applying patch from Mantis #607 - Grid Server crash. Thanks Diva. 2008-03-11 15:48:50 +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
Sean Dague e128819b20 this fixes up the exponentially growing startup times caused
by not deleting the landaccesslist.  If this triggers an
sqlite error on .NET, we'll need to track that down seperatly.
2008-03-11 00:22:56 +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 13a4d13d67 * Added a hack-ish routine to add the State column to the primshapes table if it wasn't already there.
* Started OpenSim on SQLite to a mass of red 'unable to load prim' messages.
* If you are getting this message, after this update, when you start OpenSimulator, you'll get it one more time and then it'll work again.
2008-03-09 14:27:44 +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
Adam Frisby f88324d6cd * Applying Mantis #737 - Fix for Terragen loader. Thanks Jonc. 2008-03-08 23:21:35 +00:00
Charles Krinke 39684496eb Remove two warnings with unused variables. 2008-03-08 23:12:25 +00:00
Adam Frisby 6ecc1066b1 * Added Thermal Weathering paint brush to Terrain Module. 2008-03-08 22:53:10 +00:00
Charles Krinke 8d2d69dc88 Thank you kindly Grumly57 for a patch to solve:
Grass type is not persisted. Try to rez some grass several time to have different random grass types around, then immediately move a couple of them. Or restart the sim and logon again. You'll see all grass types reverted to a dull default one :-)
2008-03-08 22:52:17 +00:00
Charles Krinke ff75ba99a9 Thank you very much, Ldviopeng for :
Patch to implement the following LSL functions:
llGetObjectPermMask()
llSetObjectPermMask()
2008-03-08 22:26:25 +00:00
MW 52d867e600 Added new drawing command "PenColour", with format "PenColour <colourname>;" colour name can be any of the predefined .net System.Drawing.Color names. 2008-03-08 22:06:24 +00:00
Adam Frisby 6eeb25ee33 * Slight tweak for the above. 2008-03-08 21:51:01 +00:00
Adam Frisby 54359ab17b * By popular demand, implemented "script terrain fill <val>" 2008-03-08 21:49:26 +00:00
MW d340820826 Added Frist basic version on the VectorRenderModule, that allows scripts to do some basic drawing onto textures. Currently the method the scripts have to use is most likely not the most user friendly, but this should improve soon. And hope to allow SVG files (either loaded from a web site, or even script created) to be used. I will add a page to the wiki tomorrow, until then http://www.pastebin.ca/934425 is a example c# script that can be used to get a bit of a idea.
Also added osSetDynamicTextureDataBlend and osSetDynamicTextureURLBlend that will allow the various textures to be blended together, but currently there are still a few bugs in them. So not ready for use yet.
2008-03-08 20:54:34 +00:00
Adam Frisby 8f6f85e530 * Implemented 'Revert' channel in Terrain Module.
* Added Revert Area, flood brush.
* Added Revert Sphere, paint brush.
2008-03-08 19:11:22 +00:00
Charles Krinke 3151e302ca Thank you kindly, Ldviopeng for:
Patch to implement the following LSL / OS functions
llParcelPrimCount(60%)
osSetParcelMediaURL
2008-03-08 18:06:10 +00:00
Adam Frisby e41b45d107 * Made a change to the loading mechanism to fix it's operation. 2008-03-08 01:58:59 +00:00
Adam Frisby b4c315dcec * Default terrain is now a little more interesting than a flat 0m plane. 2008-03-08 01:55:34 +00:00
Jeff Ames bc02d14b6b More spelling corrections in the spirit of r3771. 2008-03-07 14:55:26 +00:00
Justin Clarke Casey d48e992aa8 * Increase inventory description columns from 64 characters to 128
As per the suggestions in Mantis 687 (thanks Sakai) to resolve an exception
* This won't apply to any existing inventory tables you have, but shouldn't 
cause any issues with old tables either
2008-03-07 14:40:18 +00:00
lbsa71 f76bc24de7 * Applied patch #719 from lvoidpeng.
* Implements llGetOwnerKey
Thanks, lvoidpeng!
2008-03-07 14:26:27 +00:00
Justin Clarke Casey 479379ee28 * Minor spelling corrections as per mantis 712 2008-03-07 14:17:22 +00:00
Justin Clarke Casey 9aeff3fb86 * Temporary resolution for mantis #711
* Trying to store items other than textures, sounds and scripts in a prim's inventory should no longer cause an exception.
* Temporary solution is to ignore storage requests for these assets - actually implementing this requires changes to TaskInventoryItem, at least
2008-03-07 12:39:06 +00:00
Justin Clarke Casey 759a0bcba0 Make Local back end services warn/error messages explicitly say they are from standalone services 2008-03-07 12:03:48 +00:00
Johan Berntsson b99455d23d Fix to solve mantis 717 problem. Makes sure the region DB schema is up to date and consistent 2008-03-07 08:10:52 +00:00
Adam Frisby c9eb051936 * Fix for exception in landmanager crash. 2008-03-06 23:14:24 +00:00
Adam Frisby a360116502 * Disabled ancient TerrainEngine.
* Enabled new TerrainModule.  (The king is dead, long live the king!)
* Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format.
* MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
2008-03-06 15:49:53 +00:00
Teravus Ovares 0cb4e401ad * Killed 4 more warnings (at 16 now) 2008-03-06 09:41:34 +00:00
Adam Frisby 1410210b84 * Four more warnings, etc etc. 2008-03-05 22:00:41 +00:00
Adam Frisby 810d2126ea * Three more warnings are a-gone. 2008-03-05 21:56:14 +00:00
Adam Frisby 4d9ed39444 * Four more warnings bite the dust. 2008-03-05 21:50:58 +00:00
Adam Frisby 14b37533aa * Removed more compiler warnings, dead code, etc. 2008-03-05 21:47:19 +00:00
Sean Dague 4ea52b2105 Change SceneObjectPart.LocalID to .LocalId to be case matching
with SceneObjectGroup.LocalId (and hence reduce confusion).
2008-03-05 18:57:13 +00:00
Adam Frisby f64611862a * New Terrain Module (disabled, search for 'usingTerrainModule = false' to reenable)
* *Much* faster terraforming (woot!)
* New "Brushes" design, so you can create custom terraforming brushes then apply those inplace of the standard tools. (ie an Erode Brush for example)
* New specialised "Flood Brushes" to do large area effects, ie, raise-area, now takes a bitmap rather than repeats the ordinary raise brush a thousand times.
* New modular file Load/Save systems -- write importers/exporters for multiple formats without having to hard code the whole thing in.
* Coming soon - effects system, ie the old Erosion functions, etc. for one-shot effects.
2008-03-05 00:52:35 +00:00
Sean Dague 92e54bdd17 this is probably just a band aid, but should at least
help figure out where my last crash came from by being
extra careful arround Add for scene object group.
2008-03-04 18:49:44 +00:00
Teravus Ovares 18324773d2 * One line fix to get everything working again. Essentially set the originRegionID = RegionID in RegionInfo.cs on line 375 2008-03-04 14:39:51 +00:00
Jeff Ames d2806090ae Cleaned up a couple compiler warnings. 2008-03-04 10:12:39 +00:00
Johan Berntsson c78eebfdfc Fixed a region split synchronization bug 2008-03-04 09:39:58 +00:00
Johan Berntsson fe56c18795 Fixed SQL update error 2008-03-04 07:54:35 +00:00
Johan Berntsson 279e0061c5 Merged 3Di code that provides scene and avatar serialization, and plugin support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim. 2008-03-04 05:31:54 +00:00
Jeff Ames cd6f4a57e7 Added copyright heaaders. Minor cleanup. 2008-03-04 04:11:37 +00:00
Teravus Ovares d015356902 * Applied patch 708 from devalnor. Thanks devalnor!
* ODE: Added support for larger box stacks. (they're slow, but they work)
* ODEPlugin no longer tries to 'catch up' with the simulator frame rate if it gets behind.  Catching up was causing a lot of problems with larger box stacks and other things that stall the simulator (like saving prim in the datastore)
2008-03-03 16:52:25 +00:00
Adam Frisby 358a4963d3 * More compiler warning nukage. 2008-03-03 09:56:30 +00:00
Adam Frisby 415fc22e5e * Removed a bunch of compiler warnings. 2008-03-03 09:54:39 +00:00
Teravus Ovares 794deeeb85 * Fixed about Text in the profile in grid mode. 2008-03-03 09:30:59 +00:00
Jeff Ames d50eb9d2b3 Updated svn properties. 2008-03-03 09:29:21 +00:00
Jeff Ames a88f93389c Fixed typo. 2008-03-03 09:27:44 +00:00
Adam Frisby 38568aa75f * Oops, fixed. 2008-03-03 09:17:15 +00:00
Adam Frisby c5d1f87cd2 * Removed and sorted using clauses in a number of files.
* Cleaned up ITerrainChannel
* Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Paint Brushes
* Implemented Raise, Lower, Smooth, Flatten, Noise Terrain Fill Brushes
* Implemented Export functionality for RAW32 terrain loader
* Implemented Import/Export for SLRAW terrain loader
* Implemented Export for JPEG terrain loader
2008-03-03 08:35:59 +00:00
Teravus Ovares fe49c96ee0 * Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers.
* There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
2008-03-03 08:30:36 +00:00
lbsa71 c953e51c11 * Doh, forgot one license header 2008-03-03 08:19:54 +00:00
lbsa71 7d40a0afb8 * Changed the license headers. The Data Framework is now all OpenSim. Yay! *toots* 2008-03-03 08:15:14 +00:00
lbsa71 84959bf530 * Renamed the Data Framework namespaces 2008-03-03 07:59:31 +00:00
lbsa71 d97e4d97e9 * renamed the key file (baby steps here)
* ignored the generated files
2008-03-03 07:53:26 +00:00
lbsa71 b3b1f74485 * Started the ardous task to rename the TribalMedia.Framework.Data to OpenSim.Framework.Data.Base
It's you !!
How are you gentlemen !!
2008-03-03 07:48:35 +00:00
Charles Krinke cff3c20ee5 Thank you very much, Ahzzmandius for:
converts Parse calls to TryParse
Replaces string.empty and lluuid.zero calls on user load to use real 
values from DB (related to user profile save/load work. Finer grained patching)
2008-03-02 22:36:47 +00:00
Charles Krinke 7794fc3766 Change handler001 through handler009 to more
appropriate names consisten with their use.
All done with all 94 handlers from handler001
through handler094. Hopefully we can move 
forward without numbered handlers.
2008-03-02 22:28:48 +00:00
Charles Krinke dd8e728abd Thank you kindly, Ahzzmandius for adding
owner_uuid support to the MSSQL data driver.
2008-03-02 20:33:46 +00:00
Charles Krinke 30ebd15926 Update names of handler010 through handler019
to more appropriate names consistent with use.
2008-03-02 20:29:59 +00:00
Teravus Ovares 9991955014 Applying Ahzzmandius' second patch from bug 701.
ClientView triggers OnClose event before flushing packetqueue. 
Thank sAhzzmandius!
2008-03-02 19:48:26 +00:00
Teravus Ovares e808bf04a5 * Temporarily commented out the parcel banlist clearing query that was being called in an ad-hoc fashion and causing an access violation error. This means that in SQLite when subdividing parcels you'll have to go to the parcel and clear out the banlist with the client instead of having it done for you immediately when you split the parcel.
* A database guy really needs to look at the land stuff. :D
2008-03-02 18:56:23 +00:00
Teravus Ovares 0a5c48b1c8 * This is a very icky implementation of physical linkset prim using fixed joints. This will change quite drastically, however it's fun to play with.
* To play with this you must link your prim before setting it physical, otherwise they won't link in the physics engine properly.  This will also be fixed.
* Currently the linked prim are extremely unstable because I have yet to implement combining of forces with the same normal. This will also be fixed.   In fact, the whole PhysicsActor, ODEPrim relationship will be reworked to consider groups from the get-go.
* This implementation is better then it crashing your sim, so I'm commiting it for now.
2008-03-02 09:31:39 +00:00
Charles Krinke d6039b40a4 Rename handler020 through handler029 with more
appropriate names consistent with their use.
2008-03-02 03:50:33 +00:00
Charles Krinke 7a0e1a8c34 Rename handler030 through handler038 with more
appropriate names consisten with their use.
2008-03-02 02:47:34 +00:00
Charles Krinke 18a058eb84 Rename handler040 through handler049 with more
appropriate names consistent with their user.
2008-03-02 02:30:28 +00:00
Charles Krinke 21f3661077 Rename handler050 through handler059 with more
appropriate names consistent with their use.
2008-03-02 02:06:31 +00:00
Charles Krinke c9e8d83fc9 Rename handler060 through handler069 with more
appropriate names consistent with their use.
2008-03-02 01:43:52 +00:00
Charles Krinke fdff8c3fa5 Rename handler070 through handler079 with more
appropriate names consistent with their use.
2008-03-02 00:07:28 +00:00
Charles Krinke 20c98b6203 Rename handler080 through handler089 with more
appropriate names consistent with their use.
2008-03-01 22:47:48 +00:00
Charles Krinke b0fbe96ca4 Beginning to change all handler000 through handler094
to more meaningful names starting from the end and 
working backwards.
handler094 -> handlerRequestAsset
handler093 -> handlerPacketStats
handler092 -> handlerGodKickUser
handler091 -> handlerUpdatePrimGroupRotation
handler090 -> handlerUpdatePrimRotation
Others to come shortly.
2008-03-01 20:37:27 +00:00
Charles Krinke 56697133d4 Thank you very much, Kinoc for:
* Impelements llInstantMessage
* Reimplements llOwnerSay as llInstantMessage(llGetOWner(),msg).
* Try's to better identify the "True Name" of objects in llDetectedName
 by checking for avatar name, scene Object Part name and entity name.
* Uses similar logic in the llSensor and llSensorRepeat functions.
2008-03-01 00:59:23 +00:00
Sean Dague c009e2e095 From: Mike Pitman <pitman@us.ibm.com>
Below is a patch for the smooth tool. 

I factored out the essential computations and placed it in a 
channel method to work similar to raise and lower. 
It now performs about the same rate as raise and lower.
2008-02-29 20:36:14 +00:00
Jeff Ames 6d774339d9 More compiler warning cleanup.
Removed verbose flag, since it doesn't do anything any more.
2008-02-29 10:51:40 +00:00
Jeff Ames de80a23c1a Cleaned up a couple compiler warnings. 2008-02-29 10:35:03 +00:00
Teravus Ovares fa7322eac9 * Fixed Cylinder mass formula using diameter instead of radius. 2008-02-29 06:55:31 +00:00
Teravus Ovares fe1f15f4ec * killed a 'new mass' debug line. 2008-02-29 05:50:40 +00:00
Teravus Ovares e333eaf4b6 * ODEPlugin
** Added more realistic calculations of mass for the rest of the supported prim shapes+holes+cuts+tapers.  Previously they were the generic height * width * length. Spheres roll (Angular velocity) more realistically, etc.
2008-02-29 05:46:24 +00:00
Sean Dague de1024adf7 From: Alan M Webb <awebb@vnet.ibm.com>
This patch is intended to implement the following functions:

        llIntegerToBase64
        llBase64ToInteger
        llParseStringKeepNulls

None of these functions are dependent upon state elsewhere in the SIM,
so they are appropriately self-contained. I've tested them out of
context, and from a script attached to an object in my test region.
2008-02-28 21:25:28 +00:00
Teravus Ovares 1afe38b319 * Added a way for the friends module to definitively know if an avatar's root agent is on the instance and if so, which region the avatar's root agent is in. 2008-02-28 05:20:23 +00:00
Teravus Ovares 41c369de82 * OnSignificantClientMovement was never being called. So we got no land updates (fixed) 2008-02-28 04:18:50 +00:00
MW 70ad5604cd disabled AssetDownloadModule and re-enabled the asset download code in the asset cache, until it can be seen if the module was the cause of some new problems that seem like they might be related to assets. I'll look into this more tomorrow. 2008-02-27 22:47:33 +00:00
MW 2c65c2da90 small fix in the showstate data in AssetCache to reflect that now some functions are no longer in AssetCache 2008-02-27 21:32:01 +00:00
MW e978d00914 After seeing sdague do his happy dance over trunk working "the best he has ever seen". I'm not sure I should be doing this commit, but oh well.
So anyway, it moves the Asset downloading (packet sending) to a module (AssetDownloadModule). 
So now at last, AssetCache should be just dealing with fetching assets from the asset server and caching them.
2008-02-27 21:11:01 +00:00
Teravus Ovares 34073607a2 * Turned Friends Module into a shared module (to comply with Scene.AddXmlRPCHandler being shared).
* Fixed a null ref issue in Scene.Close()
2008-02-27 17:41:42 +00:00
MW aac7c1dda5 another attempt at fixing asset lockups 2008-02-27 16:20:45 +00:00
Jeff Ames f218e7e090 Update svn properties. 2008-02-27 15:57:00 +00:00
MW a9ae5ab840 Hopefully fixed the bug that was causing a lot of the freezing. Which was happening due to locks in the AssetCache and Texturedownload module. Where the thread from the Asset thread would be take a lock on a list in the asset cache and then try to call the Callback into the texturedownload module and hit a lock in there which was held by a ClientView thread- which at the same time would be trying to request another texture from the cache and be hitting the lock in there held by the IClientAPI. The result each thread waiting for the other one to release a lock. And as one of those was the ClientView process packet thread. No more packets from that client could be processed. For now I've made a copy of the list in AssetCache so that it can release the lock. I'm doing more work on assets (moving the client asset downloading to a module ), so will hopefully change this into a better method once I've cleaned over things up a bit. 2008-02-27 14:40:30 +00:00
MW 0b7f10efed UserService.ClearAgent call is no longer made when a childagent connection is being closed.
DisableSimulatorPacket now skips the packet throttles
2008-02-27 11:52:02 +00:00
Adam Frisby 906404a14a * Committing file loaders - forgot yesterday. 2008-02-27 09:35:48 +00:00
Sean Dague 8d31fc2cd0 require -loginuri on pCampBot 2008-02-26 21:10:57 +00:00
Sean Dague b8e6d6e245 give pCampBot a -h, -help option 2008-02-26 20:26:48 +00:00
Sean Dague 3bbe09883e make trunk compile again. I think Adam forgot to check in some files 2008-02-26 18:37:42 +00:00
Adam Frisby 5dc5214c5e * Implemented - Terragen File Format Loader for new Terrain Module. 2008-02-26 16:18:57 +00:00
Jeff Ames 74940c7b1d Update svn properties. 2008-02-26 15:36:17 +00:00
Adam Frisby f8a6ef2d50 * Hooked up replacment TerrainModule, raising land will now be weird as both modules are technically active. Beta software, yada yada yada. Will disable one of them by the end of the day. 2008-02-26 15:21:47 +00:00
Adam Frisby eae7be1e36 * Reimplementing Terrain as Region Modules
* New method involves interfaces for
** Terrain Paint Brushes (ie raise brush, lower brush, etc)
** Terrain Flood Brushes (ie raise area, lower area, etc)
** Terrain Effects (ie erosion, etc) [= W.I.P, not committed]
* Provided sample implementation for Raise Paint and Raise Area brushes.
2008-02-26 14:51:13 +00:00
Adam Frisby 9f5586890a * Another slight tweak to the Voice Chat engine - crash caused by switching to shared module fixed. 2008-02-26 13:25:06 +00:00
Adam Frisby a2c639d668 * Small voice chat fix 2008-02-26 11:32:46 +00:00
Adam Frisby e7b785f9a0 * Updated Voice Chat Server, added support for voice to cross region boundaries providing they are all located on the same simulator. 2008-02-26 11:17:52 +00:00
Adam Frisby 577cc7358a * Fixed a null assignment in voice server. 2008-02-26 10:59:47 +00:00
Adam Frisby 9d2ed9307c * Converted VoiceChatServer into a shared region module - now only one instance is required for the entire simulator, rather than one per region. 2008-02-26 10:58:24 +00:00
Adam Frisby 16d63d9fb8 * Added support for RealXtend Voice Chat as a Region Module to OpenSim Trunk. Enabled via [VoiceChat] enabled=true in OpenSim.ini 2008-02-26 10:46:59 +00:00
Teravus Ovares bf82148152 * Added base thread pool based presence informing to the message server.
* Not ready yet for use.
2008-02-26 09:16:31 +00:00
Teravus Ovares cb828c9824 * More Message server stuff. Still not ready. 2008-02-26 08:31:00 +00:00
Justin Clarke Casey 65862aacea * Start sending "ImageNotFound" packet back to the client if we can't find an image
* This might stop some client's constant requests for unfound textures, which is a candidate for the memory leak
* If a texture is not found then the "Image not found" texture will now be displayed clientside
* If it works, this should resolve mantis 676
* Non texture image requests do not receive this packet yet
* This will require a prebuild
2008-02-25 23:26:35 +00:00
Tedd Hansen dbb205c181 Moved AsyncCommandManager into separate classes under "plugins". 2008-02-25 20:10:17 +00:00
Tedd Hansen 366e607608 eol 2008-02-25 19:53:11 +00:00
Tedd Hansen ce9c74a83c Step 1 in reorganizing AsyncCommandManager 2008-02-25 19:45:34 +00:00
Tedd Hansen 5739e13f5b Initial patch for llSensor*
llSensor, llSensorRepeat, llSensorRemove, llDetectedName, llDetectedKey, llDetectedOwner, llDetectedType, llDetectedPos, llDetectedVel, llDetectedRot
Thank you very much kinoc! :)
2008-02-25 19:34:38 +00:00
Justin Clarke Casey 84c86c7bdd * Resolve Mantis 667 by not passing on textures with no actual data onto TextureSender 2008-02-25 19:10:02 +00:00
lbsa71 5b3897a4af * Caught HttpListenerException and swallowed if with output
* Moved Flush into Close since it's always done in that order.
* Minor renamings
* Reversed if for clarity
2008-02-25 15:36:24 +00:00
Jeff Ames cda8b013ec Updated paths in classaudit script. 2008-02-25 11:53:21 +00:00
Tedd Hansen 66cc8f99f6 I'm the stupidest stupid in the whole world. :)
Fixed a bug in new Prim where I actually ADDED new values to old values instead of directly assigning them... Now that was a waste of time! :P
2008-02-25 11:29:24 +00:00
Teravus Ovares b831a91852 * Message Server Linkages (still not ready for use so don't start it yet) 2008-02-25 06:33:14 +00:00
Jeff Ames 61200b469c Update svn properties. 2008-02-25 01:59:14 +00:00
Tedd Hansen 909796f615 Added limits to Prim.Position.X/Y/Z (0-255) so that your prims won't wander off into eternity 2008-02-24 17:46:28 +00:00
Tedd Hansen 4f4dfa8e82 Fixed startup logo size to match a Win CMD window.
Fixed bugs in new OOP commands.
Prim.Rotation.X += 45;
Prim.Position.X += 10;
Now how do I find the prim I asked to += 10 every 1 second???
2008-02-24 17:29:59 +00:00
Tedd Hansen f10d895105 Ok, so NOW scripts work. New patch to break them coming soon. 2008-02-24 17:01:20 +00:00
Tedd Hansen 8af64c979f By now you all have learned that when I'm committing scripting usually doesn't work, so no big surprise. :)
Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
2008-02-24 16:41:56 +00:00
Tedd Hansen 952c8de189 Forgot to change what class compiled scripts must inherit from to get their commands :) 2008-02-24 16:23:02 +00:00
Tedd Hansen 08131614c9 Implemented object oriented Prim.Position, Prim.Rotation and Prim.Text.
Example:
Prim.Position.X += 10;
2008-02-24 16:16:00 +00:00
Tedd Hansen b533517037 eol 2008-02-24 15:55:04 +00:00
Tedd Hansen 2cd85e15dc Changed so "BuiltIn_Commands" given to scripts is easily extendable. Added new OSSL_BuilIn_Commands class where we can start adding our own modular commands. 2008-02-24 15:45:20 +00:00
Teravus Ovares 95def8c636 * Adds unit test glue to the OdePlugin.
* Adds one unit test. CreateAndDropPhysicalCube.
* More unit tests will be done
* Let me know if this breaks Linux build..
2008-02-24 04:06:01 +00:00
lbsa71 e626288059 * deleted .user file 2008-02-23 20:20:08 +00:00
Jeff Ames 8d57f2e30a Update svn properties. 2008-02-23 13:50:31 +00:00
Teravus Ovares bbb8b66908 * Made Physics updates a teensy bit more responsive. A previous CPU optimization of mine slowed the speed of updates using the 'poll' method in certain circumstances. 2008-02-23 12:46:23 +00:00
Teravus Ovares db264013d4 * One more fix to the selected feature
* Don't act immediately on a physical prim unless it's moving.
* This helps when you're trying to make a box stack and you select the bottom most box.
2008-02-23 12:26:37 +00:00
Teravus Ovares 27508c1ad8 * Added Support within the ODEPlugin for Selected. Which means that;
* When you select a physical prim, it stops while you've got it selected.
* When you move or alter a prim in some manner, it doesn't become collidable until you de-select it
* When you select a prim, it doesn't become temporarily 'phantom' until you make some change to it while it's selected. (this prevents accidental selections in prim floor from causing it to go phantom on you(but don't move it or you'll fall))
* There's one major difference, and that's a physical object won't stop if you don't have permission to edit it.  This prevents people who don't have edit permissions on a prim from stopping it while it's moving.
2008-02-23 11:42:55 +00:00
Tedd Hansen 5eff68e6bb Fix for error message during startup (shared thread started processing region queue before queue objects were fully operational) 2008-02-22 23:45:17 +00:00
Tedd Hansen c485d56512 Trying to fix SVN update error: 2/2 2008-02-22 23:29:46 +00:00
Tedd Hansen a4ad602e1d Trying to fix SVN update error: 1/2 2008-02-22 23:29:12 +00:00
Tedd Hansen 840bf28be6 Removed LaunchSLClient from Prebuild - it can be added to solution on manually by whoever is working on it. :) 2008-02-22 23:21:22 +00:00
Justin Clarke Casey f95ad65189 * Improve alignment of packet queue stats headigns
* Correct asset cache stats table heading
* Correct spelling mistake in AssetCache (thanks ChrisD!)
2008-02-22 23:15:00 +00:00
Justin Clarke Casey fed46ba6a7 * Winnow the debug and info messages associated with stat fetching
* As such, only a request for a non cached asset, the response and failures show up now.
* I know lbsa71 only put these in not long ago, so if they are really still required, I think we should think whether we can move the default log4net level off 'Debug'
2008-02-22 22:54:50 +00:00
Tedd Hansen 46cfc475aa ScriptEngine works again (startup-nully-error gone) 2008-02-22 22:53:19 +00:00
Tedd Hansen f06a6573bb One more: Async LSL command thread is also shared now. 2008-02-22 22:24:12 +00:00
Teravus Ovares 9b675a6888 * Converted the last of the events to the private delegate instance method to avoid race conditions. 2008-02-22 21:18:08 +00:00
Justin Clarke Casey b483faddf2 * Downgrade texture exception to a warning. 2008-02-22 21:13:23 +00:00
Tedd Hansen 0fc6b2a429 Bugfixes - Scripting works again 2008-02-22 20:58:25 +00:00
Justin Clarke Casey 3994a96783 * Oops! Add missing interface 2008-02-22 20:56:28 +00:00
Justin Clarke Casey 30eea2618d * Implement packet queue statistics
* This will show the packets waiting in each queue for each client logged into a region server
* These are displayed using 'show stats' on the region command line
* This is in pursuit of a memory leak.
* This will require a prebuild
2008-02-22 20:50:30 +00:00
Tedd Hansen e741dcde6a Some misplaced code made scripts never start :) 2008-02-22 20:06:44 +00:00
Tedd Hansen 0fb4374c1a Better timing of MaintenanceThread's tasks (uses less CPU)
Updated OpenSim.ini.example
2008-02-22 19:46:13 +00:00
Teravus Ovares 582964800c * Moved all events except gridcomms and regioncomms over to Event Delegate instances to prevent event race conditions 2008-02-22 19:44:46 +00:00
Teravus Ovares ddffcb4673 * Moved the EventManager over to delegate instances to prevent race conditions. 2008-02-22 19:08:24 +00:00
MW b842ab3927 fixed it so that the different types of trees now work (show up in the clients), problem is that we don't seem to be persisting PrimitiveBaseShape.State in the datastore, so after restart of server, they all turn back into pine trees. 2008-02-22 18:27:08 +00:00
Tedd Hansen 42bcd76b36 Bugfixes - wasn't counting threads right++ 2008-02-22 16:15:08 +00:00
Tedd Hansen 879a260498 Minor annoying Exception-bug fixed 2008-02-22 14:53:26 +00:00
Tedd Hansen a43bb10000 Execution threads are now shared between regions too. Default thread count regardless of number of regions is now 3. This will save you around 33 threads for a normal 3x3 region server.
But, this is totally completely untested. So it probably won't work for another patch or five.
2008-02-22 14:09:38 +00:00
Tedd Hansen 3bb0fe098f Maintenance thread in charge of loading/unloading of scripts. 1 thread less per region.
Total so far: 2 threads less per region
Note: Currently causes delay in load/unload of scripts
2008-02-22 13:23:45 +00:00
Tedd Hansen 9f7366210a Now last commit will compile too... The features just keep on coming! 2008-02-22 13:15:01 +00:00
Tedd Hansen a040008cb9 From this commit and a few hours into the future ScriptEngine will be unstable:
* Speeding up ScriptEngine shutdown
* Sharing threads so that minimum total thread count for any amount of regions will be 2. (1 maintenance, 1 script execution)
You can choose more script exec threads if you want of course.
In this commit: Sharing maintenance thread between all regions.
2008-02-22 12:50:24 +00:00
Teravus Ovares ff12395a3d * Relative large ClientView refactoring of packet Events into .Net recommended format. 2008-02-22 11:30:34 +00:00
Tedd Hansen f75e418211 Fixes to ScriptEngine thread cleanup on destructor 2008-02-21 23:43:58 +00:00
Teravus Ovares d4905812bc * Fixed an issue where the client thread was aborted before the UDP server sends a message back to ClientView to close it a second time. (yes we call close twice because there are times when the client closes with a logout and disconnects immediately which causes the UDP server to send a close request to the client thread)
* This update might make things better, it might expose another issue.
2008-02-21 20:22:25 +00:00
Jeff Ames 0103c43697 Update svn properties. 2008-02-21 15:14:39 +00:00
Teravus Ovares 640ad259d4 * A few additional null checks in the Physics Scene and PhysicsActor so we don't try to enumerate dead null ODECharacter objects when things get *really* slow. 2008-02-21 14:51:39 +00:00
Tedd Hansen 89665faeaf ScriptEngine changes in locking. Another step in direction of shared threads. 2008-02-21 11:28:34 +00:00
Tedd Hansen 7102ac7769 "threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging. 2008-02-21 10:43:24 +00:00
Jeff Ames 4a621d106c Remove a couple compiler warnings. 2008-02-21 00:50:09 +00:00
Justin Clarke Casey 0eeb56c61d * Properly guard against the possibility that CopyInventoryItem doesn't get an asset back from the cache 2008-02-20 23:31:33 +00:00
Justin Clarke Casey b0c5ef0b68 * Eliminate AssetCache.CopyAsset()
* Resolve a bad logic bug in AssetCache.GetAsset()
* This may make some asset related things work better (possibly getting main map images will now be improved).
2008-02-20 23:21:51 +00:00
Tedd Hansen 5f7a02fce9 Treads command lists threads, but not thread name (yet) 2008-02-20 21:09:23 +00:00
Justin Clarke Casey 7d7ad4dff2 * Only count download requests for assets which are not already waiting for data from the asset server
* This should stop the constant increase in the download requests statistics
* If you see stat numbers for download requests which are far from what you'd expect, please report
2008-02-20 20:23:03 +00:00
Tedd Hansen 684059afdf div+
threads console command will list all threads. This + yesterdays naming threads patch will give a good overview of what threads we have running.
2008-02-20 20:22:15 +00:00
Teravus Ovares 740ce20d9d * Found the land bug, yay 2008-02-20 20:07:12 +00:00
Justin Clarke Casey f3190810d3 * Properly guard removal of asset request lists on AssetCache.AssetNotFound (my own bug) 2008-02-20 19:13:59 +00:00
Justin Clarke Casey 53d5aeec24 * Remove unused texture dictionaries from AssetCache
* Add documentation to AssetCache
2008-02-20 19:02:04 +00:00
Jeff Ames a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Justin Clarke Casey c66b5a9e71 Report command string on ConsoleBase.RunCommand exception 2008-02-20 17:54:14 +00:00
Teravus Ovares 07774473af * Fixed a long standing race condition in physics events. Could this be the source of the null on multicast_void: error? 2008-02-20 17:50:19 +00:00
Tedd Hansen 416d752829 llSetTimerEvent updated to use ticks instead of DateTime for internal timing. 2008-02-20 17:35:28 +00:00
Justin Clarke Casey 877713999c * Report 'asset not found' situations back to UserTextureDownloadService
* This fixes some of the 'runaway downloads' problem but not all of it
* Also fix up logging messages so texture requests are reported as such rather than as assets
2008-02-20 17:34:10 +00:00
Tedd Hansen 96edcea3ae llSetTimerEvent was setting seconds as milliseconds causing major problems in timed scripts... 2008-02-20 17:14:01 +00:00
lbsa71 4c6e5a5090 * re-enabled AssetNotFound code
* turned script asset fetching asynchronous
2008-02-20 13:11:19 +00:00
MW 4c2e304ce6 Fixed big bug in AgentAssetTransactions, now don't seem to be getting any AbortXfer packets. And the "saving data" message in the client on logout seems to have gone. (So that message was all my fault.) 2008-02-20 11:25:36 +00:00
MW 37b989a8c6 some changes to the initialising of AgentAssetTransactionModule to see if they help with the xfer/grey avatar problems. 2008-02-20 11:10:23 +00:00
lbsa71 fec87ad3d7 * just added a readonly and a comment 2008-02-20 10:10:19 +00:00
MW e7a709068a small change 2008-02-20 10:07:54 +00:00
Teravus Ovares ac60382599 * Added a few more packets to ClientView. Added tendons to the Skeletal Groups Module, made it shared to save on threads. 2008-02-20 09:45:26 +00:00
lbsa71 9be5f9d6cc * Fixed xml loading bug (the xml was scheduled for update before added to a scene)
* Fixed ClickAction situation on the same note (properties shouldn't cause big changes)
* Added some more debug output to AssetCache
2008-02-20 09:38:45 +00:00
lbsa71 bf42637ee8 * Caught 'OPTIONS' verb in BaseHttpServer that would otherwise explode.
(There are actually other non-content requests too, but I didn't know what we wanted to do with them)
2008-02-20 08:04:12 +00:00
Teravus Ovares b77c48e75e * Cleanup of some memory consuming items on ScenePresence.Close().
* Untangled a tangly shutdown loop for the ScenePresence.
* Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
2008-02-20 01:17:21 +00:00
Teravus Ovares 932a132116 * Made a quickupdate method to run through only entities that have scheduled themselves for updates looking for changes. This runs 10 times a second.
* Set the massively slow UpdateEntities method to run every 2 seconds instead of 10 times a second.  This method runs through *all* of the entities can calls the virtual update().  
* Documented some of the code in the scene.Update method.
2008-02-20 00:08:04 +00:00
Justin Clarke Casey ca78c3ef0d Doc correction 2008-02-19 23:44:22 +00:00
Justin Clarke Casey 48e085c774 * Add documentation
* The reason why pending downloads tick ever upwards is because missing assets are never signalled to the TextureSender
* Rectifying this is not straightfoward, but this will constitute the next patch.
* This does not explain the memory leak.
2008-02-19 23:42:30 +00:00
Justin Clarke Casey 9a8c19d67b Putting in eyecatcher lines on OpenSim start as we had previously. This makes it easier to pick out a restart of OpenSim in an appended log file 2008-02-19 20:59:21 +00:00
Justin Clarke Casey b331e96e25 Remove "Loading inventory" messages from item inventory loads 2008-02-19 20:21:25 +00:00
Sean Dague 530cc24884 From: Michael Osias <mosias@us.ibm.com>
This patch implements the llSendRemoteData command and fixes mantis 552,
and possibly 586.
2008-02-19 19:16:21 +00:00
Teravus Ovares cfc9ee4265 * Adds limited support for each hollow type for the supported prim., Cube with a triangle hollow, Cube with a cylinder hollow, cylinder with a triangle hollow, etc.
* More work needs to be done here as several of the profileshape/hollow combinations are rotationally offset from where they render in the client.
2008-02-19 16:01:14 +00:00
Tedd Hansen 47c909ca0a Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug. 2008-02-19 12:02:53 +00:00
Teravus Ovares 62f608b152 *rawfile fix. 2008-02-19 08:57:43 +00:00
Teravus Ovares e789a6bc9b * This patch adds Prism support to the Meshmerizer. Prism is one of the object types in the drop down on the object tab. Positive tapers are slightly incorrect(prim sinks into ground a tiny bit). Everything else that's supported works as expected. Hollow, cut, negative tapers, top shear. 2008-02-19 08:49:38 +00:00
Teravus Ovares 01cf9d8b7e * Committing Ahzz's patch number 620.
* Description SQLITE Inventory Table locks. *Provided by Openlfiegrid.com 
* Provides missing inventory table locks in SQLite.
2008-02-19 00:08:28 +00:00
Dalien Talbot 75fe826d57 A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII! 2008-02-18 23:31:48 +00:00
Teravus Ovares d0b218f667 Committing ahzz's patch #619 - Description:
Patch provided by Openlifegrid.com 
Adds locks around clientCircuits and clientCircuits_reverse Adds existance check on adding to clientCircuits for clients resending UseCircuit packet.
Adds locks around Clientmanager.m_clients for add/remove/tryGet calls
2008-02-18 21:24:34 +00:00
Teravus Ovares 056f3dca2c * Probably fixed the corner freeze bug. On uninitialized avatar, ODEPlugin was trying to set the height of avatar to 127m, which you can imagine is a bit /wrong\ 2008-02-18 20:39:16 +00:00
Justin Clarke Casey 359f84ee43 * Output XmlRpc error message if user server gets a fault response from the region server on login
* This will make it more obvious if one accidentally starts one's region server in standalone rather than grid mode but then tries to login to a grid (as I am wont to do)
* We are now sending back a fault code (-32601) if no xmlrpc method is found rather than an ordinary message
2008-02-18 18:48:55 +00:00
Teravus Ovares 5944d5e7f6 * Fixed a land manager exception or two with Math.Max(255,Math.Min(0,val))
* Trapped a few more into little self contained boxes with padlocks on them.
2008-02-18 18:22:50 +00:00
Justin Clarke Casey b37b71b273 * Make RegionProfileData.RequestSimProfileData static
* Minor documentation bits
2008-02-18 17:31:05 +00:00
Teravus Ovares e292d43b96 * Since default loglevel is debug, I'm commenting out the resending x packet lines instead. If you want to see them, uncomment the lines, alternatively open up the simulator statistics in the client to get a 'bytes unacked' which is the same information, just compressed so it doesn't lag the simulator and make it harder to pick out useful debug information from the console. 2008-02-18 17:30:55 +00:00
Teravus Ovares 4e3547cd12 * Putting the resending x packet into debug mode only. Set your loglevel to debug to see them or pull up the simulator statistics in the client to see the 'un acked packet bytes'. 2008-02-18 17:24:53 +00:00
Justin Clarke Casey 500d259c25 * Do not allow a user to be created if one with the same name already exists 2008-02-18 15:50:18 +00:00
Sean Dague 28c808446d a new attempt at converting to the right types 2008-02-18 15:34:03 +00:00
Sean Dague 5314f397b2 Attempt to fix casting issue introduced by RegionSize constant. I think this
should actually all be uints, but this will hopefully let people log in again.
2008-02-18 15:25:47 +00:00
Justin Clarke Casey ad40ee7307 * Allow create user on standalone even if authentication is off, in case the creator wants to see a starting region for a user
* This also resolves mantis 601
2008-02-18 15:23:18 +00:00
Tedd Hansen c62328950a More exception checks and crash hints
If no scriptengine is specified then don't try to load any.
2008-02-18 14:21:51 +00:00
Sean Dague f47bcb0f98 bring back some script engine debugging, hoping this will help track down the randoms segfaults 2008-02-18 14:17:09 +00:00
Justin Clarke Casey 1cbef0b908 Patch from Michael Osias IBM (jimbo2120)
In his own words: 
If a prim becomes a listener or remote channel and the script is deleted, it cannot become a listener or channel again with a new script.  
This patch fixes that.
2008-02-18 11:14:53 +00:00
MW 5fb1809384 Small change to the IAgentAssetTransactions file that Chi11ken added for me (thanks Chi11ken). when I forgot to commit it on saturday.
[The ComsmsManager will die]
2008-02-18 09:29:22 +00:00
Teravus Ovares 81a00dd68f * Thanks to Ahzz, more verbose error messages on the console and possibly a fix to the b*stard Sakai issue. 2008-02-18 07:22:10 +00:00
Teravus Ovares 27afeaec74 * Added /even more/ debugging messages to the UDP server to help people in resolving the Sakai issue. A few locks a few fixes, nothing that'll solve the problem in itself though. 2008-02-18 05:32:25 +00:00
Charles Krinke 2c81e18fc3 Thank you very much Ahzzmandius for adding the support
to purge the avatars inventory "Trash" folder using the
bizarre tortoiseSVN method of diff/patch.
2008-02-18 03:25:14 +00:00
Charles Krinke 3df36523cb Thank you very much, Hashbox for:
Changed the public IsAdministrator back to protected, 
now checks Config to see whether it is allowed to run or not. 
Defaults to false (not allowed).
To use add the following to OpenSim.ini
[LL-Functions]
AllowosConsoleCommand=true
2008-02-18 03:14:31 +00:00
Teravus Ovares 8edaada1d3 ODE: Tired of floating above the ground after crossing a border? Boy have I got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates! 2008-02-18 01:52:25 +00:00
Charles Krinke e6a74344e7 Thank you Hashbox for adding the
osConsoleCommand Feature to ll-functions.
2008-02-17 21:15:43 +00:00
Teravus Ovares c2d7beb617 * Last bit of cleanup now. As long as you keep physical prim off, you should have a reasonably stable experience with ODE again.
* Physical prim at the simulator edge still seems to have the occasional issue.
2008-02-17 20:40:21 +00:00
Teravus Ovares f80a534eb0 * Various ODE Cleanups 2008-02-17 20:04:28 +00:00
Teravus Ovares 89349a3810 * Disabling physical prim crossings until they get a bit more stable. 2008-02-17 12:10:47 +00:00
Teravus Ovares e33a0c5fc0 * Fixed the Ghost physical hull on deleting a physical Prim
* Fixed a deadlock when there is an exception in the collision and stepping parts of Simulate.
2008-02-17 11:50:15 +00:00
Teravus Ovares 19e0ada93a * Located and destroyed the weird velocity and rotation transfers. It turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR.
* Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore.
* Avatars don't float off either.
2008-02-17 10:41:08 +00:00
Charles Krinke 58c72c409d Thank you very much, ChrisDown for a patch to
remove unnecessary terrain stores at region startup
2008-02-17 02:07:25 +00:00
Charles Krinke df04345e3f Thank you very much, Diva for a patch to increase the
grid server reliability.
2008-02-17 02:03:27 +00:00
Charles Krinke 9e828ab168 Thank you very much, Taoki for additions to pCampBot to improve walking, talking
and adding additional sentences for communications with pCampBot.
2008-02-17 01:57:07 +00:00
Jeff Ames 3b9d332f84 Added copyright notices. 2008-02-17 01:16:40 +00:00
Jeff Ames 0da6dabc15 Added dummy IAgentAssetTransactions to fix compile failure. 2008-02-17 01:00:17 +00:00
MW 5cc0bbd419 Renamed AgentAgentTransactionModule to the correct name of AgentAssetTransactionModule 2008-02-16 13:13:40 +00:00
MW b618802e53 Moved the AgentAssetTransactionsManager (and AgentAssetTransactions) out of CommsManager and into a module (AgentAgentTransactionModule), still needs cleaning up though.
But its one more thing out of the CommsManager. One day we will kill the CommsManager!
2008-02-16 13:01:42 +00:00
MW 694dff3b70 Some changes to remove some of the direct calls to CommsManager from Scene, so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!) 2008-02-16 11:55:09 +00:00
Jeff Ames e8225f2f81 Update svn properties. 2008-02-16 08:35:19 +00:00
Tedd Hansen 5e949d4700 Forgot one small but important line .. ;) 2008-02-16 08:22:29 +00:00
Tedd Hansen 169032b4a4 Fixed ScriptEngine config in OpenSim.ini.example that was out of place.
Added some info to failure on GridServices listening port so people can see what actually went wrong.
Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common.
+ some accumulated patches
2008-02-16 07:53:02 +00:00
Teravus Ovares be6edefcfb * ODE Stability update 4 :D
* Changed the way meshing requests get sent to the ODEPlugin
* Numerous other fixes
2008-02-15 21:35:52 +00:00
Justin Clarke Casey cf9c0135b1 Resolve mantis #572 - terrain help printed multiple times when change-region has not been invoked 2008-02-15 16:05:49 +00:00
Sean Dague 4cc5aac18b be smarter about the size of dynamic textures that we pull in 2008-02-15 15:55:23 +00:00
Sean Dague 2f6e1ac34d allow for 1024x1024 textures through osSetDynamicTextureURL. Follow up patch
to do smarter resize coming this afternoon.
2008-02-15 13:00:47 +00:00
Justin Clarke Casey c769d93206 * Temporary measure of deleting the Mono addin cache dir of addin-db-000/ on every startup to avoid cache corruption problems 2008-02-15 12:50:10 +00:00
MW 23c7c6dabd Fixed bug in AvatarFactoryModule that resulted in removing cloth items, not being persisted. 2008-02-15 12:39:45 +00:00
Jeff Ames e16f9a16c7 Moved LaunchSLClient prebuild.xml into main prebuild.xml 2008-02-15 03:30:15 +00:00
Jeff Ames 25e7f74d29 Move pCampBot prebuild.xml into main prebuild.xml to fix reference errors. Update README. 2008-02-15 03:21:05 +00:00
Jeff Ames 21b623b70e Moved pCampBot to OpenSim/Tools 2008-02-15 02:53:05 +00:00
Jeff Ames 337d2d2a88 Oops. Forgot about Windows users. 2008-02-15 02:51:46 +00:00
Jeff Ames 343f41ac1b Minor syncing of copyright notices. 2008-02-15 02:38:02 +00:00
Jeff Ames b5a9592cc1 Moved LaunchSLClient build system to Prebuild.
Refactored LaunchSLClient code a bit.
2008-02-15 02:37:05 +00:00
Jeff Ames b13836db57 Update svn properties. 2008-02-15 00:43:20 +00:00
Sean Dague 741f753c56 attempt to make our logging at least fail gracefully, we'll see if this helps 2008-02-14 19:29:07 +00:00
Sean Dague 980a926a4b make dynamic textures temporary to try to stop filling up the
asset db.
2008-02-14 19:17:25 +00:00
MW 8ad450f83e More work on trying to get AvatarFactoryModule to play nicely with multiple threads 2008-02-14 18:59:03 +00:00
Adam Frisby e1d9275610 * Fixed accessibility problem on ITerrainChannel 2008-02-14 17:23:29 +00:00
MW 4616563cc4 Added "better" multi thread handling to AvatarFactoryModule, which uses EventWaitHandles, I'm a bit concerned about what effect this might have on performance in a large grid. But I've spent long enough on this problem for one day and as its valentines day, I will be killed and tortured (most likely not in that order) if I don't stop work for the day soon. 2008-02-14 16:38:38 +00:00
Adam Frisby 91d9248fce * Removed some catch-all-ignores from UDPServer in an attempt to look for #305.
* Minor work towards abstracting terrain.
2008-02-14 16:13:53 +00:00
Sean Dague 3a208a3a4f Fix a casting subtlety in moving to constants. Logins should work
again.
2008-02-14 13:28:35 +00:00
lbsa71 2d066c4136 * Took a stab at getting keys to work as intended
[Provided by openlifegrid.com]
2008-02-14 13:09:33 +00:00
lbsa71 cf6e268d6d * Added more debugging output to GridManager to pin down the key exchange weirdness
[Provided by openlifegrid.com]
2008-02-14 13:02:41 +00:00
Adam Frisby 3c22da9efc * Tree Populator Module, use "script tree" to make a growing tree in your sim. 2008-02-14 12:27:24 +00:00
lbsa71 f4c0e45bac * Fixed #564, errors in friend sql
[Provided by openlifegrid.com]
2008-02-14 12:26:42 +00:00
Adam Frisby f3afa68a2a * Made new Framework.Constants class, added RegionSize member.
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14 12:16:33 +00:00
lbsa71 c0d411f427 * Exposed AddHandlers in response to mantis #534. Thanks, kmeisthax! 2008-02-14 11:15:41 +00:00
Justin Clarke Casey 1229503764 Revert the index -> Add changes made in AvatarFactoryModule previously. It appears that in conjunction with MW's locking changes, that two threads may race to create the avatar
appearance in the TryGetAvatarAppearance() method.  Moving off Add will mean the second replaces the first instead of throwing the exception.  This may still not be a good 
permanent solution - more extensively locking or a code rearrangement could be better.  I'm going to leave this in MW's much more familiar hands now.
2008-02-14 11:10:43 +00:00
Teravus Ovares 135a72d6ca * Removed the noise from the console. The last commit seems to have resolved the recent reports of 'argument not a space' on linux. Though, there were about 50 changes :D 2008-02-14 10:07:15 +00:00
Tedd Hansen 44385800cf Changed UserServer create user password input to cleartext so we can see what the all the fuzz/blur is about. Make sure that you hide your monitor and that there are no black vans with large antennas parked outside while you type the password.
Actually, turn off your monitor while typing password. Then press reset button on your computer.
2008-02-14 10:04:14 +00:00
Teravus Ovares bd880f9178 * Another ODE Stability update. This might fix the recent Linux issues with the ODEPlugin. 2008-02-14 09:31:22 +00:00
Jeff Ames 0bb085261b Update svn properties from a bar ftw. Kanpai! 2008-02-14 09:30:49 +00:00
Teravus Ovares e3a711536b * ODE - This fixes a few things and breaks a few more. 2008-02-14 01:57:19 +00:00
Tedd Hansen 5f70b8b922 Added a small but maybe important clue that UserServer is not running. 2008-02-14 01:35:17 +00:00
Jeff Ames 4e005fc225 Cleaned up some typos. 2008-02-14 00:44:21 +00:00
Teravus Ovares 0d14c47c28 * Bigisn ODE Stability update 2 2008-02-14 00:39:08 +00:00
Teravus Ovares 3588d89b2c * Bigish ODE stability Update. Run Prebuild 2008-02-13 23:14:41 +00:00
lbsa71 12e0d8b316 * Fixed another bug in avatarpicker ('surname'/'lastname' mixup)
[Provided by openlifegrid.com]
2008-02-13 21:35:54 +00:00
lbsa71 2c48ceedd8 * Fixed bug in avatarpicker so now you can search on single word
[Provided by openlifegrid.com]
2008-02-13 21:15:05 +00:00
lbsa71 952cdd4166 * Added some more comprehensive log entries on region login.
[Provided by openlifegrid.com]
2008-02-13 21:05:26 +00:00
lbsa71 b05409b03f * Minor guard for null case.
[Provided by openlifegrid.com]
2008-02-13 20:51:59 +00:00
lbsa71 b705ba21f3 * Moved insertUserRow into MSSQLUserData so 'create user' works again
[Provided by openlifegrid.com]
2008-02-13 20:20:52 +00:00
lbsa71 15c6788dc7 * Moved insertRegionRow into MSSQLGridData
* Split table test and creation into table by table
* Debugged table creation Sql
* Added missing CreateUserFriendsTable.sql
2008-02-13 20:08:46 +00:00
Teravus Ovares d9e01bf453 *fixed varchar size typo in createuserfriendstable.sql 2008-02-13 19:10:03 +00:00
Teravus Ovares 2e89c01851 * This fixes mantis 553 (It appears that the exception is thrown when there is a collision with a cylinder that is both hollowed and either tapered or cut. The sequence of actions that reproduce the problem for me are: create a cylinder, hollow to 95%, taper X/Y, then collide it with another object or avatar. Note that the cylinder itself is not marked physical. ) 2008-02-13 19:06:35 +00:00
Justin Clarke Casey df21da6dec * Patch from Dr Schofld's (IBM). In his own words
all TerrainEngine.LoadFromFileX(string filename) methods don't set the dirty bits in heightmap.diff[,] in contrast to the TerrainEngine.LoadFromFileX(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY) cousins. this has the unpleasant drawback that the Scene.SendTerrainUpdate(bool) will not send layer data to the client.

the attached patch fixes all LoadFromFileX(.) methods.

Thanks!

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

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

'clear-assets' is not to be used lightly, as it probably introduces mem inconsistencies and doubling up of textures.
2008-02-09 21:17:47 +00:00
Tedd Hansen 4d376ee630 Added undocumented "modules list" command, lists shared region modules. 2008-02-09 12:08:08 +00:00
Jeff Ames f6e9b9404f Applied patch from mirceakitsune to fix #502 (lower land does the same as raise land) 2008-02-09 10:41:36 +00:00
Teravus Ovares 07d0f558c4 * Fixed nebadon's UserServer crash bug from yesterday.
* Made Estate tools work for estate managers without needing to request admin status First
* Added code to make the Simulator version to be reported in the About box of the client
2008-02-09 07:53:01 +00:00
Jeff Ames fc9bdb6c16 Moved LICENSE.txt into root. 2008-02-09 06:08:55 +00:00
Teravus Ovares c9b5516ca8 * Adds Top Shear support to the Meshmerizer for the Cube prim and the Cylinder prim. 2008-02-09 05:18:52 +00:00
Teravus Ovares fec65b3c69 * Tweaked timing of rapid mesh requests. Helps a race condition. 2008-02-09 04:08:26 +00:00
Justin Clarke Casey d546859bc1 * Change logger to handle [<entry>] where <entry> contains non alphabetic characters
* Change logger to not print extra line if [<entry>] <text> like string is not logged
* Remove more of my previous chatty debugging statements
2008-02-09 01:53:57 +00:00
Justin Clarke Casey a50a8376d6 * In the most basic situations, ClientView and ScenePresence no longer leak memory
* However, I'm no longer sure they were even a big contributory factor (to this particular leak, there are other causes of other leaks).  I need better measurement techniques
* Removed most of my debugging gawp
2008-02-09 01:37:53 +00:00
Justin Clarke Casey 2dc94870aa Mostly debugging verbosity which I shall very shortly comment out.
Just want to try this out on windows quickly.
2008-02-09 00:14:34 +00:00
Teravus Ovares bb5b88d161 * Fixed a situation in ODE where it didn't call the mesher on a cube when you tapered if you didn't have a cut or a hollow. 2008-02-08 23:48:27 +00:00
Justin Clarke Casey 16f8f19a54 * Stop asset transactions hanging around after they've completed
* Still not enough to solve the memory leak, though hopefully this is another step on the path
* All these changes are pretty temporary - this will be addressed with a more fundamental refactor in the future
2008-02-08 23:42:19 +00:00
Teravus Ovares fadf5b479f * Added Taper support to the Meshmerizer for Cube and Cylinder.
* Removed the hull verbosity
2008-02-08 23:28:38 +00:00
Justin Clarke Casey f05f583613 Still chasing logout memory leak. Putting in small changes and temporary light verbosity to this end 2008-02-08 22:39:08 +00:00
Teravus Ovares b63c267f0b * Finished Cylinder in the Meshmerizer. Hollow and Path cut work for it now. Enjoy the new physics-friendly prim type. 2008-02-08 22:11:28 +00:00
Justin Clarke Casey e6cd420f19 refactor - remove unused m_children from EntityBase 2008-02-08 20:11:45 +00:00
Justin Clarke Casey 47353ffe48 Minor refactoring 2008-02-08 19:56:49 +00:00
Justin Clarke Casey 9d95f9bcf4 Minor ScenePresence related refactoring 2008-02-08 19:53:18 +00:00
Adam Frisby a50a26f812 * Dun-dun-dun. JavaScript scripting now actually works. :) 2008-02-08 18:39:30 +00:00
Justin Clarke Casey 24ac86931a update eol-style 2008-02-08 18:18:56 +00:00
Adam Frisby 23e0ef3492 * Made some terrain functions faster computationally. 2008-02-08 18:18:34 +00:00
Adam Frisby a1625a5410 * Applying mantis 339 patches round 2 -- Thanks daedius 2008-02-08 17:54:30 +00:00
Adam Frisby a637473f80 * Adding console spam to help track 'The Steve Bug'. 2008-02-08 17:49:53 +00:00
Sean Dague 62943de68a change counter from 3 => 2 based on feedback from mirceakitsune on mantis
http://opensimulator.org/mantis/bug_view_page.php?bug_id=490
2008-02-08 16:29:01 +00:00
Sean Dague 7b4fb3b8bc From: Kurt Taylor <krtaylor@us.ibm.com>
Attached is a patch for Mantis 25 - this fixes the problem of not having a
touch_start happen for all prims in a linked group.  So, with this, large
builds can now have a single script in the base prim and it will run when
any prim in the linked build is touched.   The problem was that the
objectgrab event was not being propagated to all the prims in the group.
2008-02-08 16:09:24 +00:00
Sean Dague 598c5a95d9 fix the issue found on IRC this morning. The logging call was mistructured
so threw and exception when attempting to log that we missed an asset and
were waiting for it.
2008-02-08 15:29:53 +00:00
MW 5a63047144 small bit of refactoring, 2008-02-08 15:07:29 +00:00
Teravus Ovares 3be2e772ec * Removed a statement that crashes the Meshmerizer if you don't have a specific /dev/ folder 2008-02-08 12:07:39 +00:00
Teravus Ovares 7d77fa6a9d * Okay, fixed the path cut offset, however the inner wall isn't properly 'cut' from the hull, so slightly better support, but still limited. 2008-02-08 11:44:27 +00:00
Teravus Ovares 50acb8e634 * This update adds limited support for Cylinder meshed prim in the Meshmerizer plugin. (Limited because path cut is wrongly offset and while Hollowing works, you can walk through the inside wall.) 2008-02-08 11:32:56 +00:00
Teravus Ovares 1ff4711cfb * Fix: Send Parcel data on region crossing. 2008-02-08 03:20:11 +00:00
Charles Krinke dfca32b046 Missed one event message that needed to be
commented out.
2008-02-08 02:23:57 +00:00
Charles Krinke 2fb541cb2a Make timer events from scripts a little less chatty.
DEBUG is defined by default in the Linux build.
2008-02-08 01:42:56 +00:00
Tedd Hansen 97ec8cba62 Maybe VB.Net will compile now... who knows ;) 2008-02-07 16:37:28 +00:00
Tedd Hansen ba846e62ef Same VB.Net patch done right. 2008-02-07 15:36:58 +00:00
Tedd Hansen c997cc97bb VB.Net compiler might work on Windows now. 2008-02-07 15:31:22 +00:00
Teravus Ovares dba1f476c9 * Fixed negative child agents in the sim stats. 2008-02-07 08:28:48 +00:00
Teravus Ovares 3674257095 * This update contains a bucket-full of network optimizations.
* ParcelProperties are sent only when needed instead of on any movement
* Terse Updates and other temporary data packets are marked unreliable
* After a certain amount of users, the sim actually sends updates on things less
* Experimental
* Tested to 68 avatar with pCampBot  (And it's surprising what actually causes the most lag..  the text chat!)
2008-02-07 08:15:38 +00:00
Teravus Ovares 0e771c8d39 * didn't save :P so, this is the other half to my last commit 2008-02-07 06:11:02 +00:00
Jeff Ames 49622dfbc5 Update version numbers to 0.5 2008-02-07 04:41:08 +00:00
Charles Krinke c076eab633 Additional debugging print on LOGOUT if/else in userServer. 2008-02-07 03:13:30 +00:00
Charles Krinke d6f4656032 Shorten root inventory create folder message. 2008-02-07 03:06:34 +00:00
Teravus Ovares 1b8e89751a * Added the Scripted objectflag if there is a script running in a prim. Remove the flag if you delete all of the scripts in the object. 2008-02-07 01:52:39 +00:00
Sean Dague caa255bcdf make a couple more changes to get us back very close to old color scheme 2008-02-06 20:59:31 +00:00
Justin Clarke Casey aa9d3f7aed * Allow terrain load-tile for RAW files
* Patch from Sophie Lee [webmage] - IBM.  Thanks very much!
2008-02-06 20:47:08 +00:00
Sean Dague 2d7fbf6137 ummm... removed 1 too many newlines, formating a bit better now 2008-02-06 20:34:50 +00:00
Justin Clarke Casey 548bbc97e5 * Chasing down memory leak where memory used by a client is not returned on client logout
* This code may or may not be on the right track, but I want to save my work so far.
2008-02-06 20:34:18 +00:00
Sean Dague b3e85daf02 pass 1 on getting colors back to the console 2008-02-06 20:32:37 +00:00
Adam Frisby f93fdfa5af * Marking off which uses of catch (Exception e) is legit and which are not, for later removal/replacement. 2008-02-06 15:30:02 +00:00
Adam Frisby a37eb62047 * Added debug message to try track down Mantis#305. 2008-02-06 14:39:25 +00:00
Jeff Ames 3b42b5f098 Consolidated LoadAnims and AvatarAnimations constructor.
Fixes locking issues with Animations in ScenePresence (bug #324)
2008-02-06 10:19:30 +00:00
Teravus Ovares 530d24da14 * Fixed script count incrementer. Was decrementing but only incrementing when a script was requested by UUID 2008-02-06 10:11:46 +00:00
Jeff Ames 3a1947f658 Removed super-stealth mode from PasswdPrompt. (Now you can see the prompt) 2008-02-06 10:11:10 +00:00
Teravus Ovares d842699ef3 * Put the script run limiter on the SceneObjectPart as otherwise you can drop scripts in prim and they'll still run with scripts disabled. 2008-02-06 09:53:59 +00:00
Teravus Ovares 9d6ea497e2 * Added the ability to start and stop all scripts in the simulator using the debug tab on the estate tools. This along with the disable physics via the debug tab are persistant across reboots. That means that if it's disabled when you shut down the simulator, the simulator will come up again when you start it up without loading the scripts. Turning them back on is as simple as unchecking 'disable scripts' in the debug tab of the estate tools. 2008-02-06 09:38:14 +00:00
Jeff Ames 4ec4e2cb32 Cleaned up some unreachable code warnings. 2008-02-06 08:31:29 +00:00
Jeff Ames b68d2bd09a Fixed typo in Mag() (Thanks lc_tuco for pointing this out) 2008-02-06 08:26:09 +00:00
Teravus Ovares 9cd9e90e7f * Added Active Scripts to report the number of scripts running to Sim Stats
* Added Script Performance to report the number of functions run per second to Sim Stats.
* Removed a few warnings (@.@ up to 50 now)
2008-02-06 08:03:22 +00:00
Jeff Ames 355d0fdb95 Revert color console changes until a cross-platform method is found. 2008-02-06 07:36:14 +00:00
Jeff Ames d76d604ce9 Added colors back to console output.
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
alondria 52af264948 Fixed regex in LSL2CSConverter so it will properly handle casting to (string) part of vector (eg. vector.z)
This fixes Mantis 388
2008-02-06 02:30:05 +00:00
alondria 31576c8a26 Somehow llList2Float never made it into LSL_BaseClass and LSL_BuiltIn_Commands_Interface - it is now (and foxes Mantis 395) 2008-02-06 02:04:00 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Brian McBee 7a61bcff86 Cut down on the number of packets sent during terraforming. Terraforming should be much more responsive. 2008-02-05 18:27:40 +00:00
alondria 36f7a087e6 Added explicit Quaternion->string and list->string conversions.
Some preliminary work on llSetStatus and llGetStatus.
2008-02-05 15:06:37 +00:00
MW 542cd417c8 Small refactoring on Terrain Update sending, so that other code can force terrain updates to be sent to clients. 2008-02-05 15:03:08 +00:00
MW 33c4631c6d some small changes, like adding a couple of extra methods to IInventoryServices so that a check can be done to see if a inventory set exists for a certain user. 2008-02-05 13:02:03 +00:00
Justin Clarke Casey 80b8630e19 * Fix Mantis 457
* Show stats, users, etc. should now work again on the region console.
2008-02-05 12:37:46 +00:00
Tedd Hansen 1d95f0521d Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
Teravus Ovares ca5aadfbff * Refactored the sound calls to SceneObjectPart
* Fixed a few bugs
* Wrote an example module to make certain event systems more mature.
2008-02-05 05:26:18 +00:00
Jeff Ames 99844ee4c0 Added copyright statements. 2008-02-05 03:20:51 +00:00