aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Quick fix. Re-enabled some code which registers the Terrain Module's ↵Adam Frisby2008-03-301-1/+1
| | | | Commander with the scene (whoops).
* **Big ass update warning**Adam Frisby2008-03-3013-46/+645
| | | | | | | | * Renamed plugin console message, to send a message to a plugin, use either "plugin <message>", or any unrecognised message will be sent ("plugin" sends explicitly) This replaces the old "script <message>". * Terrain commands - "terrain <command>" now works again. "Script terrain <command>" does not. Many of the commands have now been reimplemented, eg load-tile. However some have new syntax. * New console command handler, you can now use things like "terrain help" or "terrain save help". See TerrainModule.cs for an example of how to use the new "Commander" class. * Commander class - advanced processing of console input and also enables a script API to be generated from registered console commands.
* This update has good news and bad news, first the bad.Teravus Ovares2008-03-302-8/+25
| | | | | | | | | | * This update breaks inter-region communications, sorry. * You will need to run prebuild. Next, the good; * This update solves the unexpected binary element when Linux simulators inform windows simulators and vice versa. So Linux Simulators and Windows simulators are 100% compatible again. * This update introduces an Integer in the prim crossing method to tell the receiving simulator which XML method to use to load the prim that crossed the border. If the receiving prim doesn't support the method, the prim crossing fails and no prims are lost. That being said, it's best to update all your simulators to this revision at once.
* * Minor log message fix per mantis 829Justin Clarke Casey2008-03-291-1/+1
|
* Re-enabled terrain texture generation for the world map. Adam can clean up/ ↵MW2008-03-295-13/+80
| | | | | | | | sort it out when he gets time. Most likely doesn't really work in grid mode as the generated textures are marked as temporary and I don't think they are updated to the asset server. We have to either live with these textures being sent to the asset server, and manually clean them out from time to time or wait until there is some asset management system in place. Also currently the texture is only generated at region startup, it is not updated after terraforming.
* attempt to fix mantis # 779. MW2008-03-281-2/+8
|
* From: Michael Osias <mosias@us.ibm.com>Sean Dague2008-03-282-9/+16
| | | | | | | | | | | | | | | | This patch implements llMessageLinked. I had to make a change to llGetLinkNumber to return m_host.LinkNum + 1 for link sets of more than 1 prim, or 0 for a single object, since according to: http://rpgstats.com/wiki/index.php?title=LlMessageLinked linksets with 2 or more prims start the link numbering at 1, but a single prims link number is 0.
* Removing redundant codeJohan Berntsson2008-03-261-5/+0
|
* * Massaging CAPS setup/teardown log messagesJustin Clarke Casey2008-03-253-6/+6
| | | | | | * Leaving quite a few debug messages in for now to help deal with bugs arising
* * Print out the exception stacks of resolution failures, temporarilyJustin Clarke Casey2008-03-251-2/+3
|
* * Temporary hack to swallow neighbour contact problems on startup (in ↵Justin Clarke Casey2008-03-251-1/+4
| | | | | | | | response to osgrid issues) * Not sure what the effect will be, but can't be any worse than the current constant sim crashes.
* checking that these two files are commented outMW2008-03-252-3/+3
|
* Moved Avatar appearance Factory to its own project so that the reference to ↵MW2008-03-254-14/+37
| | | | | | | MySQLDatabaseMapper could be removed from Region.Environment. Added a using OpenSim.Framework.Data statement to MySQLDatabaseMapper , to try to fix the build problem that has been reported on the mailing list.
* * Tear down CAPS and http handlers when an agent leaves a region (via ↵Justin Clarke Casey2008-03-253-11/+48
| | | | crossing, teleport or logout)
* * Use Face normal to offset new prim instead of the hard coded pos.Z += ↵Teravus Ovares2008-03-252-2/+2
| | | | | | | 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. ) ( Remove ray caster Verbosity )
* * Use Face normal to offset new prim instead of the hard coded pos.Z += ↵Teravus Ovares2008-03-252-2/+7
| | | | 0.25f; This allows proper positioning of prim based on the face you click. ( Yes, you can click the bottom face of a prim that's above you, and the new prim appears directly below it. )
* * Remove old CAPS http listeners when a client logs out from a sceneJustin Clarke Casey2008-03-251-1/+2
| | | | | | * Not yet removing listeners when a client leaves a region without logging out
* * On Ray casting. Now returning the face normal of the collision face.Teravus Ovares2008-03-252-4/+4
|
* * Refactored out circular reference in Region.Environment <-> ↵lbsa712008-03-253-12/+15
| | | | | | | Framework.Data.Base We REALLY need to get the db layer sorted soon...
* Comment out unused private methods.Jeff Ames2008-03-254-156/+161
|
* Fix a few compiler warnings.Jeff Ames2008-03-252-3/+1
|
* * Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares2008-03-252-0/+39
| | | | | | | * It doesn't generate at_target events, because they don't exist yet in the script engine. * The Tau is different, however, compatible with scripts I tested. * Not perfect... but pretty good.
* Minor formatting / svn properties cleanup.Jeff Ames2008-03-251-16/+16
|
* * Added llApplyImpulse in the local frame.Teravus Ovares2008-03-241-4/+20
|
* * OBB: Flipped the -y face normal so ray casting against the -y face ↵Teravus Ovares2008-03-241-4/+4
| | | | correctly results in the point of collision.
* * Inflate my commits with yet another snippet of documentation... (j/k)Justin Clarke Casey2008-03-241-1/+2
|
* * Put in tiny doc snippet while I rememberJustin Clarke Casey2008-03-241-0/+3
|
* * Clean up Scene.AddCapsHandler(). There was a race condition warning, but ↵Justin Clarke Casey2008-03-242-37/+17
| | | | | | | | | I don't think this is now relevant... * Remove some now extraneous CAPS related messages
* From: Michael Osias <mosias@us.ibm.com>Justin Clarke Casey2008-03-241-113/+146
| | | | | | | | Fixes mantis 771 - multiple uses of llListen cause duplicate events Thanks Michael!
* * Refactor: Genericise request limit strategies and move to ↵Justin Clarke Casey2008-03-241-60/+30
| | | | OpenSim.Framework.Communications.Limit
* * Start passing around a region server's http port in RegionInfo.Justin Clarke Casey2008-03-232-3/+4
| | | | | | | | | | | * This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default (9000) port. * If you are running a region server, this may only work properly once your grid server upgrades to this revision * PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision. However if it does, the instability will persist until the grid and region (and possibly all the region's neighbours) have upgraded to this revision. * This revision also adds extra login related messages, both for success and failure conditions
* Implements llGetParcelPrimOwners()alondria2008-03-231-0/+14
|
* * Added a little more stability for getting the object list from the parcel ↵Teravus Ovares2008-03-232-5/+31
| | | | | | | box. (previously it crashed my simulator) * Found and gracefully handled a few situations where null references occur. (m_rootPart again!)
* * Implements Oriented Bounding Box raytracing.Teravus Ovares2008-03-233-51/+247
| | | | | | * It's not perfect, but it's good enough. (rarely erroneously returns a backface collision) * After updating to this revision, rez a prim on another prim and watch it appear where you'd expect it to appear.
* Update svn properties.Jeff Ames2008-03-225-1963/+1963
|
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-2212-1868/+2013
|
* Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). alondria2008-03-221-2/+16
|
* * Miscellaneous comment before I found out that mantis 807 probably isn't an ↵Justin Clarke Casey2008-03-221-2/+6
| | | | issue worth fixing.
* * Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey2008-03-221-3/+20
| | | | SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
* * Downgrade 'texture not found' message to DEBUG and stop putting out ↵Justin Clarke Casey2008-03-221-7/+7
| | | | | | | | | | 'already dispatched' message completely temporarily * I believe that if the Linden client has not started to receive a texture after 15 seconds, it re-requests it. * My hypothesis is that the texture packets are often still in the texture queue (esp. if the client has just cleared its cache), so another load of packets get added... * If this is the cause, resolution is going to be rather complicated.
* * Reducing spam on console so we only notify once if we're dropping repeated ↵Justin Clarke Casey2008-03-221-22/+29
| | | | | | | | requests for missing textures * Also minor logic change so that we actually do retry missing texture requests (we weren't before)
* * Minor log message changeJustin Clarke Casey2008-03-221-1/+1
|
* * Tell the user what the new terrain commands format is if they try to ↵Justin Clarke Casey2008-03-221-1/+4
| | | | | | | | execute a deprecated one * As per CharlieO's suggestion in #806. Thanks!
* * Committing some math to discover the Oriented Bounding Box and decomposing ↵Teravus Ovares2008-03-221-0/+113
| | | | | | | it into planes and normals. * No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
* Remove a couple more compiler warnings by commenting unused variables.Charles Krinke2008-03-211-2/+6
| | | | | This takes us down to 15 compiler warnings on a VS2005 C# build.
* * Small adjust to last commit's logging so we only print out one warning ↵Justin Clarke Casey2008-03-211-3/+6
| | | | when we start dropping requests
* * If a client session requests the same texture more than n times (currently ↵Justin Clarke Casey2008-03-211-11/+19
| | | | | | | | | | | | n=5), we now drop the subsequent requests * This may improve region memory usage * This is a short-term response to a problem whereby some clients keep requesting the same texture even after we've sent it * This treats the symptom rather than the cause. * n can be adjusted by changing the constant at the top of UserTextureDownloadService if necessary
* Comment out an unused 'str' and add a WriteLine to useCharles Krinke2008-03-211-1/+4
| | | | | an "Exception e" with e.ToString() to eliminate 2 warnings.
* * Updated ray tracing code. It's now good enough to use when the XYZ ↵Teravus Ovares2008-03-213-1/+40
| | | | | | | | | vector components of the scale have a difference of less then 4.5 meters. * When a new prim is created and raytracing is called for, raytrace from the camera position to the ground in the direction of the Norm(RayEnd - RayStart). * If we got a hit based on our camera, create the new prim at the edge of the prim we hit. * Don't raytrace if the difference between any component of the vector exceeds 4.5meters.
* * Removed more encoding faults.Adam Frisby2008-03-212-7/+1
|