Commit Graph

4009 Commits (9b696a1d5c92594fb3f220b9348a739b7cce8d6d)

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