Commit Graph

2362 Commits (2fea38a5f2d0ee71eef998ec6f7bf4351f188bd7)

Author SHA1 Message Date
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