aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-21Implements llGetObjectDetails()alondria3-0/+95
2008-03-21* If a client session requests the same texture more than n times (currently ↵Justin Clarke Casey3-16/+27
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-21Implements llKey2Name().alondria1-1/+12
2008-03-21Comment out an unused 'str' and add a WriteLine to useCharles Krinke2-2/+5
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21Comment out "m_randomizeWater" and "ms" until we use them later.Charles Krinke1-2/+4
2008-03-21Implemented llOverMyLand() and correct llGetOwnerKey() to properly return ↵alondria1-4/+28
the information for the argument key, opposed to the object the script is in.
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 Frisby3-19/+2
2008-03-21* Removed a bad encoder.Adam Frisby1-4/+2
2008-03-21* Converted a large number of ASCII encodings to UTF8.Adam Frisby7-13/+20
* 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 Ovares2-1/+3
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 Casey9-76/+114
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 ↵MW3-3/+3
packetpool, which somewhere through time got lost/reverted
2008-03-20Another poxy patch which consists mainly of logging changes (some already ↵Justin Clarke Casey4-4/+10
commented out) to find out what CAPS is doing
2008-03-19Fix server crash when setting prims physical under basic physics.Jeff Ames1-2/+6
2008-03-19* Adding log debugging messages and making others more explicitJustin Clarke Casey2-9/+36
* 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* Fix for if 782: Locked prims may still be moved by click+drag.Teravus Ovares2-1/+35
* 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* Patch to add llSetLinkPrimitiveParams stubJustin Clarke Casey3-0/+12
* Thanks krtaylor
2008-03-19Thanks Ahzzmandius for fix for overflow in user profile About box or First ↵Jeff Ames1-2/+2
Life About box when using non-ASCII encodings (bug #769).
2008-03-19* Print a warning every 20 times a client requests a texture that it should ↵Justin Clarke Casey1-23/+43
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* Documentation patch from krtaylor. Thanks!Justin Clarke Casey2-0/+8
2008-03-19Fixed some comparisons of LLUUIDs to null.Jeff Ames6-19/+13
Thanks to DrSchofld for pointing this out.
2008-03-18* Add a large amount of extra locking to m_parts in SceneObjectGroup Justin Clarke Casey1-125/+235
* 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* Stop (which currently removes) all scripts in an object when that object ↵Justin Clarke Casey2-0/+14
is deleted from the region
2008-03-18* Stop grid inventory network failures crashing the client sessionJustin Clarke Casey2-13/+56
* 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* Just inserting some exploratory comments into inventory codeJustin Clarke Casey2-0/+16
2008-03-18Formatting cleanup.Jeff Ames13-325/+334
2008-03-18* Applying Mantis Patch #518.2 - State not persisted in MySQL DataStoreAdam Frisby1-0/+35
2008-03-18Formatting cleanup. Minor refactoring.Jeff Ames16-276/+197
2008-03-18* Applied Grumly57 patch for #781; Thanks, Grumly!lbsa713-21/+21
2008-03-18* Remove unused (and somewhat nonsensical) method in PhysicsActorJustin Clarke Casey1-7/+0
* Thanks for DrScofld for drawing attention to this
2008-03-18Patch from DrSchofld (IBM). In his own wordsJustin Clarke Casey1-2/+2
structs (such as LLUUID) are considered values by mono. comparing them against null makes no sense and the mono compiler will flag that as evaluating to always false --- except if "cleverly" disguised. the attached patch fixes such an occurrence in OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/AsyncCommandPlugins/SensorRepeat.cs. [yes, i'm on a crusade against comparing structs against null, go ask jradford from libsl ;-)]
2008-03-18Since we don't yet have a reliable way to release the lock that prevents a ↵Teravus Ovares2-2/+2
user from logging in a second time if they're already registered as logged in; * If a user logs in and they are noted as agentOnline. Set agentOnline = false and send a 'you're already logged in' message to the user asking them to wait 5 minutes. These 5 minutes are not enforced (because there's no foolproof interlock release yet without the grid operator getting a support call for every little sim crash). When the user gets the message, they can log-in immediately after it, but the user can expect weird results if they don't wait 5 minutes and log-in to the region they were in previously.
2008-03-18* Added the ability to type the partial name of a region in the start ↵Teravus Ovares13-5/+338
location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very. * Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18Formatting cleanup.Jeff Ames558-15323/+14795
2008-03-18Added copyright messages. Set svn:eol-style. Minor cleanup.Jeff Ames9-77/+281
2008-03-18Formatting cleanup.Jeff Ames7-190/+117
2008-03-18Building on Joha's update...Teravus Ovares3-10/+60
* Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
2008-03-18Last position will be stored in the DB on logout, and the avatar can ↵Johan Berntsson4-11/+115
continue from the same position in the next login (only with MySQL at the moment)
2008-03-17* Move missing texture request forward so that we don't actually ask the ↵Justin Clarke Casey1-21/+26
AssetCache for it if we know it's missing.
2008-03-17* Inserting code to prepare to fix trash emptying and the edit texture ↵Justin Clarke Casey1-58/+60
inventory (again) * Can't just do this fix since it stops subfolders working (though it appears subfolder renaming may be fubar at the moment)
2008-03-17* More almost completely unproductive log message fiddlingJustin Clarke Casey1-2/+2
2008-03-17* Make it more obvious if local user services are being usedJustin Clarke Casey2-5/+5
* Tell the log whether the sim is started in standalone or grid mode
2008-03-17* DEV: Remove client's CAPS handlers object when they log outJustin Clarke Casey1-1/+6
2008-03-17Fix a few mono compiler warnings. Minor cleanup.Jeff Ames3-5/+5
2008-03-17* Reduce the annoyingness of clients that continually request unfound ↵Justin Clarke Casey1-6/+34
textures (probably for some good reason) by dropping all subsequent requests after the first reply. * Print out a console message every 20 tries rather than every single one. * This weakens the problem but does not eliminate it
2008-03-17Replaced some magic PCode numbers with enum values.Jeff Ames4-5/+9
2008-03-17Replaced some Console.WriteLine calls with writes to log.Jeff Ames4-22/+27
2008-03-17* Remove uninformative exception traces from remoting errorsJustin Clarke Casey1-79/+77
* Indulge in my fetish for console message conformity
2008-03-17From: Alan M Webb <awebb@vnet.ibm.com>Sean Dague6-93/+375
Here's a diff of the changes I have made in support of the following LSL script functions. llSetScriptState llGetScriptState llCSV2List llListRandomize llList2ListStrided llListFindList llResetOtherScript llGetScriptName It was necessary to modify ExecutorBase in support of the ScriptState implementations. I also modified SceneObjectPart and SceneObjectPart.Inventory to corrects a quoting mismatch in the commentary that through off live parsing of the files. I also simplified the State definition at the start of BuiltinCommands.