aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Start passing around a region server's http port in RegionInfo.Justin Clarke Casey2008-03-231-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
* *Moved LandManagement into its own region module (spiffy!)mingchen2008-03-221-2/+2
|
* * First draft resolution of mantis 777, 734, 389 - scripts do not save in ↵Justin Clarke Casey2008-03-201-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.
* Formatting cleanup.Jeff Ames2008-03-181-61/+59
|
* Formatting cleanup.Jeff Ames2008-03-181-26/+26
|
* * The rest of the fix necessary for mantis #766 - terse updates brokenJustin Clarke Casey2008-03-141-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
* * As yet incomplete fix for mantis #766 - terse updates brokenJustin Clarke Casey2008-03-141-1/+9
| | | | | | | * Currently, terse updates are back, and extremely rapid linking and delinking will only break occasionally * More work to do here
* * You can leave godmode if you want now.Teravus Ovares2008-03-141-2/+12
| | | | | * Fixed a compile error.
* * Preliminary work with the ODEPlugin to collect collision data.Teravus Ovares2008-03-141-0/+1
|
* * Fix Mantis 761 (linking and delinking prims rapidly caused prims to ↵Justin Clarke Casey2008-03-131-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
* * Removed more compiler warnings, dead code, etc.Adam Frisby2008-03-051-2/+0
|
* Change SceneObjectPart.LocalID to .LocalId to be case matchingSean Dague2008-03-051-1/+1
| | | | | | with SceneObjectGroup.LocalId (and hence reduce confusion).
* Merged 3Di code that provides scene and avatar serialization, and plugin ↵Johan Berntsson2008-03-041-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.
* Change handler001 through handler009 to moreCharles Krinke2008-03-021-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.
* * Added a way for the friends module to definitively know if an avatar's ↵Teravus Ovares2008-02-281-1/+1
| | | | root agent is on the instance and if so, which region the avatar's root agent is in.
* * OnSignificantClientMovement was never being called. So we got no land ↵Teravus Ovares2008-02-281-1/+1
| | | | updates (fixed)
* * Moved all events except gridcomms and regioncomms over to Event Delegate ↵Teravus Ovares2008-02-221-2/+5
| | | | instances to prevent event race conditions
* Minor cleanup.Jeff Ames2008-02-201-10/+2
|
* * Cleanup of some memory consuming items on ScenePresence.Close().Teravus Ovares2008-02-201-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.
* * Probably fixed the corner freeze bug. On uninitialized avatar, ODEPlugin ↵Teravus Ovares2008-02-181-3/+9
| | | | was trying to set the height of avatar to 127m, which you can imagine is a bit /wrong\
* * Thanks to Ahzz, more verbose error messages on the console and possibly a ↵Teravus Ovares2008-02-181-1/+8
| | | | fix to the b*stard Sakai issue.
* ODE: Tired of floating above the ground after crossing a border? Boy have I ↵Teravus Ovares2008-02-181-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!
* * Located and destroyed the weird velocity and rotation transfers. It ↵Teravus Ovares2008-02-171-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.
* * Made new Framework.Constants class, added RegionSize member.Adam Frisby2008-02-141-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.
* * Made physical prim stable enough for the general population to turn on. ↵Teravus Ovares2008-02-131-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.
* * A bunch of updates to make things more smooth.Teravus Ovares2008-02-121-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.
* * Changed child_get_tasks to see_into_this_sim_from_neighbor.Teravus Ovares2008-02-111-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.
* * In the most basic situations, ClientView and ScenePresence no longer leak ↵Justin Clarke Casey2008-02-091-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
* Still chasing logout memory leak. Putting in small changes and temporary ↵Justin Clarke Casey2008-02-081-1/+1
| | | | light verbosity to this end
* * Fix: Send Parcel data on region crossing.Teravus Ovares2008-02-081-0/+2
|
* * This update contains a bucket-full of network optimizations.Teravus Ovares2008-02-071-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!)
* * Chasing down memory leak where memory used by a client is not returned on ↵Justin Clarke Casey2008-02-061-1/+6
| | | | | | | | client logout * This code may or may not be on the right track, but I want to save my work so far.
* Consolidated LoadAnims and AvatarAnimations constructor.Jeff Ames2008-02-061-14/+2
| | | | | Fixes locking issues with Animations in ScenePresence (bug #324)
* Converted logging to use log4net.Jeff Ames2008-02-051-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.
* * Adding the PhysicsCamperBot load testing app to the SVN in it's own ↵Teravus Ovares2008-02-031-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.
* * Mostly ODE update. Things are a bit more behaved then the last ↵Teravus Ovares2008-01-281-0/+9
| | | | experimental update.
* Implemented a suggestion from Mic Bowman regarding border crossing and ↵Teravus Ovares2008-01-251-1/+4
| | | | SignificantClientMovement.
* Another try at fixing the Animations problem on region crossing.Brian McBee2008-01-241-1/+4
|
* * Enabled dead region tracking for ChildAgentDataUpdates Teravus Ovares2008-01-221-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.
* Attempt to catch animation fubar on region crossing that causes client hang. ↵Brian McBee2008-01-211-1/+11
| | | | Mantis 319.
* * ODE Physics update. fixed weird rotation of the avatar surrogate.Teravus Ovares2008-01-181-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)
* * Fixed standing up so that you're at the new position of the prim if you ↵Teravus Ovares2008-01-161-3/+6
| | | | | | | move the prim and then stand up! * Enter llSetPos elevators and conveyors n' stuff.!
* * Added Agent Time, Pending Downloads, and made Agent Updates/Sec actually ↵Teravus Ovares2008-01-161-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.
* *removed a goofy debug line left inTeravus Ovares2008-01-121-4/+1
|
* * Added some of the finer control points to POS such asTeravus Ovares2008-01-121-0/+5
| | | | | | | ** jumping ** crouching ** landing on prim
* * Fixed situation where sometimes your avatar tries to land and gets 'put' ↵Teravus Ovares2008-01-041-1/+8
| | | | 80 meters into the air immediately.
* * Did a bit of estate work. Added some fields to EstateSettings.xml for ↵Teravus Ovares2008-01-021-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.
* * Optimized usingslbsa712007-12-271-63/+69
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Added slightly better object sit handlingTeravus Ovares2007-12-271-14/+96
| | | | | | | | * Added sit handling for sit targets * Implemented llSitTarget() * Implemented llAvatarOnSitTarget() * Sit targets do not persist sim restart.
* * Play the 'landing' animation when landing and minimize the collision ↵Teravus Ovares2007-12-261-1/+2
| | | | protection offset so the animations match up.