aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-28attempt to fix mantis # 779. MW1-2/+8
2008-03-28From: Michael Osias <mosias@us.ibm.com>Sean Dague2-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.
2008-03-26Removing redundant codeJohan Berntsson1-5/+0
2008-03-25* Massaging CAPS setup/teardown log messagesJustin Clarke Casey3-6/+6
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25* Print out the exception stacks of resolution failures, temporarilyJustin Clarke Casey1-2/+3
2008-03-25* Temporary hack to swallow neighbour contact problems on startup (in ↵Justin Clarke Casey1-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.
2008-03-25checking that these two files are commented outMW2-3/+3
2008-03-25Moved Avatar appearance Factory to its own project so that the reference to ↵MW4-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.
2008-03-25* Tear down CAPS and http handlers when an agent leaves a region (via ↵Justin Clarke Casey3-11/+48
crossing, teleport or logout)
2008-03-25* Use Face normal to offset new prim instead of the hard coded pos.Z += ↵Teravus Ovares2-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 )
2008-03-25* Use Face normal to offset new prim instead of the hard coded pos.Z += ↵Teravus Ovares2-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. )
2008-03-25* Remove old CAPS http listeners when a client logs out from a sceneJustin Clarke Casey1-1/+2
* Not yet removing listeners when a client leaves a region without logging out
2008-03-25* On Ray casting. Now returning the face normal of the collision face.Teravus Ovares2-4/+4
2008-03-25* Refactored out circular reference in Region.Environment <-> ↵lbsa713-12/+15
Framework.Data.Base We REALLY need to get the db layer sorted soon...
2008-03-25Comment out unused private methods.Jeff Ames4-156/+161
2008-03-25Fix a few compiler warnings.Jeff Ames2-3/+1
2008-03-25* Adds llMoveToTarget and llStopMoveToTarget support to the ODEPlugin.Teravus Ovares2-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.
2008-03-25Minor formatting / svn properties cleanup.Jeff Ames1-16/+16
2008-03-24* Added llApplyImpulse in the local frame.Teravus Ovares1-4/+20
2008-03-24* OBB: Flipped the -y face normal so ray casting against the -y face ↵Teravus Ovares1-4/+4
correctly results in the point of collision.
2008-03-24* Inflate my commits with yet another snippet of documentation... (j/k)Justin Clarke Casey1-1/+2
2008-03-24* Put in tiny doc snippet while I rememberJustin Clarke Casey1-0/+3
2008-03-24* Clean up Scene.AddCapsHandler(). There was a race condition warning, but ↵Justin Clarke Casey2-37/+17
I don't think this is now relevant... * Remove some now extraneous CAPS related messages
2008-03-24From: Michael Osias <mosias@us.ibm.com>Justin Clarke Casey1-113/+146
Fixes mantis 771 - multiple uses of llListen cause duplicate events Thanks Michael!
2008-03-24* Refactor: Genericise request limit strategies and move to ↵Justin Clarke Casey1-60/+30
OpenSim.Framework.Communications.Limit
2008-03-23* Start passing around a region server's http port in RegionInfo.Justin Clarke Casey2-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
2008-03-23Implements llGetParcelPrimOwners()alondria1-0/+14
2008-03-23* Added a little more stability for getting the object list from the parcel ↵Teravus Ovares2-5/+31
box. (previously it crashed my simulator) * Found and gracefully handled a few situations where null references occur. (m_rootPart again!)
2008-03-23* Implements Oriented Bounding Box raytracing.Teravus Ovares3-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.
2008-03-22Update svn properties.Jeff Ames5-1963/+1963
2008-03-22*Moved LandManagement into its own region module (spiffy!)mingchen12-1868/+2013
2008-03-22Implements llLoopSound(), llStopSound(), and llAdjustSoundVolume(). alondria1-2/+16
2008-03-22* Miscellaneous comment before I found out that mantis 807 probably isn't an ↵Justin Clarke Casey1-2/+6
issue worth fixing.
2008-03-22* Catch the occasional resolution exception that comes out of ↵Justin Clarke Casey1-3/+20
SceneCommunicationService.EnableChildAgents so we can see what hostname is failing
2008-03-22* Downgrade 'texture not found' message to DEBUG and stop putting out ↵Justin Clarke Casey1-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.
2008-03-22* Reducing spam on console so we only notify once if we're dropping repeated ↵Justin Clarke Casey1-22/+29
requests for missing textures * Also minor logic change so that we actually do retry missing texture requests (we weren't before)
2008-03-22* Minor log message changeJustin Clarke Casey1-1/+1
2008-03-22* Tell the user what the new terrain commands format is if they try to ↵Justin Clarke Casey1-1/+4
execute a deprecated one * As per CharlieO's suggestion in #806. Thanks!
2008-03-22* Committing some math to discover the Oriented Bounding Box and decomposing ↵Teravus Ovares1-0/+113
it into planes and normals. * No obvious functionality difference as the Ray-cast code is incomplete for OBB right now.
2008-03-21Remove a couple more compiler warnings by commenting unused variables.Charles Krinke1-2/+6
This takes us down to 15 compiler warnings on a VS2005 C# build.
2008-03-21* Small adjust to last commit's logging so we only print out one warning ↵Justin Clarke Casey1-3/+6
when we start dropping requests
2008-03-21* If a client session requests the same texture more than n times (currently ↵Justin Clarke Casey1-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
2008-03-21Comment out an unused 'str' and add a WriteLine to useCharles Krinke1-1/+4
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21* Updated ray tracing code. It's now good enough to use when the XYZ ↵Teravus Ovares3-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.
2008-03-21* Removed more encoding faults.Adam Frisby2-7/+1
2008-03-21* Converted a large number of ASCII encodings to UTF8.Adam Frisby3-3/+5
* We should not be using ASCII anywhere except for legacy compatibility reasons. * A large number of UTF8 Encoders are being used in places where we should be using Util.StringToField instead. These have been tagged with // ENCODING FAULT * This should fix Mantis#799 - Japanese Profile Text does not work.
2008-03-21* Fix for #499: linked primsets don't rotate properly when using a door ↵Teravus Ovares1-1/+1
script that works OK on SL * Fix for #693: llSetRot malfunction in linked prims causing instance of invisible prim
2008-03-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey4-49/+85
non-home regions * Should work in multi-region standalone and grid modes * This should also solve other non-home region caps issues (map requests, RC client inventory requests, etc) * We now pass CAPS information on to the destination region on region crossing, and set up a CAPS object when an agent becomes a master * Current limitation is that this will only work if your http_listener_port is 9000 * This is a very early code cut (lots of bad practice, hard coding and inefficiency). However, I wanted to get this out there for feedback and my own sanity. Next few patches will clean up the mess.
2008-03-20Added back a fix that lbsa71 did aqes ago to fix a buffer overflow in the ↵MW1-1/+1
packetpool, which somewhere through time got lost/reverted
2008-03-20Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey1-2/+1
commented out) to find out what CAPS is doing