aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-02Change handler001 through handler009 to moreCharles Krinke1-4/+4
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-02-28* Added a way for the friends module to definitively know if an avatar's ↵Teravus Ovares1-1/+1
root agent is on the instance and if so, which region the avatar's root agent is in.
2008-02-28* OnSignificantClientMovement was never being called. So we got no land ↵Teravus Ovares1-1/+1
updates (fixed)
2008-02-22* Moved all events except gridcomms and regioncomms over to Event Delegate ↵Teravus Ovares1-2/+5
instances to prevent event race conditions
2008-02-20Minor cleanup.Jeff Ames1-10/+2
2008-02-20* Cleanup of some memory consuming items on ScenePresence.Close().Teravus Ovares1-0/+23
* Untangled a tangly shutdown loop for the ScenePresence. * Suggested to the Garbage Collector that this may be a good time to >.>, <.< *gasp* collect the memory.
2008-02-18* Probably fixed the corner freeze bug. On uninitialized avatar, ODEPlugin ↵Teravus Ovares1-3/+9
was trying to set the height of avatar to 127m, which you can imagine is a bit /wrong\
2008-02-18* Thanks to Ahzz, more verbose error messages on the console and possibly a ↵Teravus Ovares1-1/+8
fix to the b*stard Sakai issue.
2008-02-18ODE: Tired of floating above the ground after crossing a border? Boy have I ↵Teravus Ovares1-1/+1
got a solution for you! For a limited time, you can be the right height after border crossings automatically. Just three easy payments of $9.95 and make sure your neighbor is sending child agent updates!
2008-02-17* Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares1-4/+16
turned out to be that the Static PhysicsVector.Zero was transferring velocities between all non fixed objects. Not so static after all :(. Finding it was cruel and unusual punishment from the CLR. * Therefore, when you run through a pile of prim you won't see things rotate when they're not supposed to anymore. * Avatars don't float off either.
2008-02-14* Made new Framework.Constants class, added RegionSize member.Adam Frisby1-14/+9
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize. * Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-13* Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares1-2/+16
(though I still don't recommend it for welcome regions unless object build is off. * Updated the ode.dll for windows with a more reasonable stack space reserve. Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode. * Added internal collision score and am keeping track of 'high usage' prim. * Tweaked collisions some more * Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim). After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however.. non physics things still work, such as logging on to the simulator, etc.
2008-02-12* A bunch of updates to make things more smooth.Teravus Ovares1-1/+1
** Sending the actual TimeDilation to the client now instead of the 62455 constant. The client is *supposed* to use that value to sync with the simulator. (actually sending ushort.maxvalue * TimeDilation) ** Disabling prim that inter-penetrate instead of just not attaching a joint ** Reduced prim spin a 'little' bit, but not *enough* ** Tweaked the TimeDilation algorithm to be closer to 1.0 by default and various changes to the sim stats reporter ** Created a .SetValues method to PhysicsVector so we can simply call the setvalues function instead of .x, .y, .z sets. ** Experimented with a .GetBytes Method on PhysicsActor to be able to use the LLVector3.FromBytes() method. ** Upped the Inter-penetration depth to 0.25 instead of .08.
2008-02-11* Changed child_get_tasks to see_into_this_sim_from_neighbor.Teravus Ovares1-3/+3
* Turned on see_into_this_sim_from_neighbor by default. * Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-09* In the most basic situations, ClientView and ScenePresence no longer leak ↵Justin Clarke Casey1-4/+4
memory * However, I'm no longer sure they were even a big contributory factor (to this particular leak, there are other causes of other leaks). I need better measurement techniques * Removed most of my debugging gawp
2008-02-08Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey1-1/+1
light verbosity to this end
2008-02-08* Fix: Send Parcel data on region crossing.Teravus Ovares1-0/+2
2008-02-07* This update contains a bucket-full of network optimizations.Teravus Ovares1-1/+2
* ParcelProperties are sent only when needed instead of on any movement * Terse Updates and other temporary data packets are marked unreliable * After a certain amount of users, the sim actually sends updates on things less * Experimental * Tested to 68 avatar with pCampBot (And it's surprising what actually causes the most lag.. the text chat!)
2008-02-06* Chasing down memory leak where memory used by a client is not returned on ↵Justin Clarke Casey1-1/+6
client logout * This code may or may not be on the right track, but I want to save my work so far.
2008-02-06Consolidated LoadAnims and AvatarAnimations constructor.Jeff Ames1-14/+2
Fixes locking issues with Animations in ScenePresence (bug #324)
2008-02-05Converted logging to use log4net.Jeff Ames1-6/+8
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-03* Adding the PhysicsCamperBot load testing app to the SVN in it's own ↵Teravus Ovares1-6/+33
folder. You'll have to build it separately to take advantage of it. *read the Readme file*. The bots created by this application roam around amusingly to simulate load. * Be smart, Don't use this on a public grid, lest you get banned permanently.
2008-01-28* Mostly ODE update. Things are a bit more behaved then the last ↵Teravus Ovares1-0/+9
experimental update.
2008-01-25Implemented a suggestion from Mic Bowman regarding border crossing and ↵Teravus Ovares1-1/+4
SignificantClientMovement.
2008-01-24Another try at fixing the Animations problem on region crossing.Brian McBee1-1/+4
2008-01-22* Enabled dead region tracking for ChildAgentDataUpdates Teravus Ovares1-3/+55
** If the region fails 3 times, then ChildAgentDataUpdates no longer get sent to that region * Enabled Child_Get_Tasks in grid mode. * When Child_Get_Tasks is enabled on neighbor regions, the neighbor region uses the client's draw distance to send out prim. This is a lot less likely to flood the client now since the ChildAgentDataUpdate contains both the throttle settings and the draw distance. This means that with this enabled, you can see prim in other regions in grid mode. Very experimental.
2008-01-21Attempt to catch animation fubar on region crossing that causes client hang. ↵Brian McBee1-1/+11
Mantis 319.
2008-01-18* ODE Physics update. fixed weird rotation of the avatar surrogate.Teravus Ovares1-1/+1
* Set the avatar's radius to 0.37m, I think this gives the *best* balance between spaces the avatar can fit, and the ability to climb steps * Fixed a few things * Tweaked some more * Played with gravity (-9.8m/s)
2008-01-16* Fixed standing up so that you're at the new position of the prim if you ↵Teravus Ovares1-3/+6
move the prim and then stand up! * Enter llSetPos elevators and conveyors n' stuff.!
2008-01-16* Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually ↵Teravus Ovares1-1/+43
accurate. * We're only missing, the script related sim stats counters and the Images time counter and the Pending Uploads counter. The rest of them are actually implemented now.
2008-01-12*removed a goofy debug line left inTeravus Ovares1-4/+1
2008-01-12* Added some of the finer control points to POS such asTeravus Ovares1-0/+5
** jumping ** crouching ** landing on prim
2008-01-04* Fixed situation where sometimes your avatar tries to land and gets 'put' ↵Teravus Ovares1-1/+8
80 meters into the air immediately.
2008-01-02* Did a bit of estate work. Added some fields to EstateSettings.xml for ↵Teravus Ovares1-1/+8
estate managers. * You can put UUIDs in those fields to give other users some ability to help manage a sim you own. * Also started decoding the EstateOwnerMessage packet convolutions.
2007-12-27* Optimized usingslbsa711-63/+69
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-27* Added slightly better object sit handlingTeravus Ovares1-14/+96
* Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
2007-12-26* Play the 'landing' animation when landing and minimize the collision ↵Teravus Ovares1-1/+2
protection offset so the animations match up.
2007-12-26* This update includes a wide range of changes to the ODEPlugin for avatar ↵Teravus Ovares1-11/+11
movement, including: ** - avatar can navigate stairs better now ** - avatar can land without shooting into the air ** - excessive collisions with the ground are tempered somewhat and should only shoot the avatar up 20m instead of 200m ** - Try Catched a TextureDownloadModule.cs array out of bounds error with a report that causes it not to crash the sim, however it reports a few important items for tracking it down.
2007-12-26* Removed a debug message I left in thereTeravus Ovares1-1/+7
* Added a few more comments.
2007-12-26* Added the ability to land automatically on prim by pressing the page down ↵Teravus Ovares1-2/+51
button when over them and colliding * Reverted the avatar portion of the inter-penetration physics scene explosion management, it needs more work.
2007-12-20*Ban lines now work if they are enabled grid wide.mingchen1-0/+2
*Restricted lines just give you a friendly warning for now
2007-12-20Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. ↵Jeff Ames1-5/+1
Works with LibSL rev>1532
2007-12-20*Added event called after any movement is handled (OnClientMovement) - will ↵mingchen1-0/+3
be used for parcel banning goodness
2007-12-20*Made a much more network friendly method of ban and pass line sendingmingchen1-1/+6
*Added an event that is triggered when an agent enters a new parcel
2007-12-19Misc. cleanup:Jeff Ames1-12/+24
* added Util.Clip(value, min, max) * modified asset cache's numPackets calculation to use max packet size (600) instead of 1000 * removed a few magic numbers
2007-12-19*Added Ban Lines around parcels for banned avatars, but there is no actual ↵mingchen1-1/+1
blocking done yet. *Made the OnSignificantClientMovement distance from .02 to .45 to make it easier on the server.
2007-12-18* Removed redundant code in RestService.csAdam Frisby1-3/+0
* Removed unchecked TryParse, replaced with Parse as we were not checking for success and could lead to weirdness if an exception is ignored. * Removed unused variable m_newAvatar * Removed several unused try{}catch(Exception e){}'s. * Added null assignment in simpleapp to prevent warning.
2007-12-13Enabled the sit_ground animation. The sit state is not properly set, but it ↵Jeff Ames1-1/+1
looks okay, and doesn't seem to break anything. Just move around to stand up.
2007-12-13Added placeholder for sitting on ground support. Doesn't work yet.Jeff Ames1-2/+9
2007-12-13Fix for #176 (... doesn't appear in chat bubbles). This also gets the viewer ↵Jeff Ames1-17/+0
to handle starting/stopping of the typing animation.