aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-03-23* Start passing around a region server's http port in RegionInfo.Justin Clarke Casey1-2/+2
* 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-22*Moved LandManagement into its own region module (spiffy!)mingchen1-2/+2
2008-03-20* First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey1-1/+10
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-18Formatting cleanup.Jeff Ames1-61/+59
2008-03-18Formatting cleanup.Jeff Ames1-26/+26
2008-03-14* The rest of the fix necessary for mantis #766 - terse updates brokenJustin Clarke Casey1-9/+3
* Even very rapid linking/delinking should now behave normally. Terse updates still occur as before * Hopefully this ends the recent linking problems - please let us know if there are more
2008-03-14* As yet incomplete fix for mantis #766 - terse updates brokenJustin Clarke Casey1-1/+9
* Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally * More work to do here
2008-03-14* You can leave godmode if you want now.Teravus Ovares1-2/+12
* Fixed a compile error.
2008-03-14* Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares1-0/+1
2008-03-13* Fix Mantis 761 (linking and delinking prims rapidly caused prims to ↵Justin Clarke Casey1-10/+20
'disappear') * Root cause was that if two updates occurred in the same second of time, the second one was never sent * Linking/delinking appears to be okay now
2008-03-05* Removed more compiler warnings, dead code, etc.Adam Frisby1-2/+0
2008-03-05Change SceneObjectPart.LocalID to .LocalId to be case matchingSean Dague1-1/+1
with SceneObjectGroup.LocalId (and hence reduce confusion).
2008-03-04Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson1-4/+412
support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim.
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.