aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-14Pulled out HelloNeighbour into its own service, INeighbourService, which may ↵diva1-5/+11
get more functions as we go along. It's a very simple service and service connectors, and it served primarily to establish the design of services that dependent on Scenes and that must always have a local connector. More refactoring coming, as this showed how to do it right.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-31Add copyright headers, formatting cleanup, ignore some generated files.Jeff Ames1-1/+1
2009-05-23* Implements automatic loopback handling for standalone regions. Adam Frisby1-7/+22
* This /should/ make OpenSim behave properly when hosting behind a NAT router and utilizing port forwarding (but the router doesn't support Loopback)
2009-05-23* Breaks OpenSim.. err I mean.. adds NAT translation support to ↵Adam Frisby1-0/+17
EnableSimulator EventQueue methods. * NB: This may actually break logins on certain regions. Shake well before consuming.
2009-05-05- moving banned check and public/private check toDr Scofield1-3/+8
Scene.NewUserConnection() - adding reason reporting this enforces estate bans very early on and prevents us from circulating client objects that we'd then have to retract once we realize that the client is not allowed into the region
2009-03-17* minor: remove compiler warningJustin Clarke Casey1-1/+1
2009-03-05* Replace Scene.GetLandHeight() with a straight query to Scene.Heightmap ↵Justin Clarke Casey1-1/+1
(which is used in other contexts)
2009-02-22Mantis#3218. Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke1-7/+7
* Added log4net dependency to physxplugin in prebuild.xml. * Added missing m_log fields to classes. * Replaced Console.WriteLine with appropriate m_log.Xxxx * Tested that nant test target runs succesfully. * Tested that local opensim sandbox starts up without errors.
2009-02-20THE BIG ANTI-REMOTING SCHLEP -- StartRemoting is no more. Sims in older ↵diva1-16/+0
versions will have a hard time communicating with sims on this release and later, especially if they haven't transitioned to RESTComms at all. There's still some cleanup to do on assorted data structures, but the main functional change here is that sims no longer listen on remoting ports.
2009-02-18Stops animations on Teleports, to conform with what the viewer does.diva1-0/+3
2009-02-18Fixes height on Basic Physics in local teleports. Plus some small refactoring.diva1-1/+2
2009-02-18Adds support for preserving animations on region crossings and TPs. diva1-2/+5
Known issue: after TP, the self client doesn't see the animations going, but others can see them. So there's a bug there (TPs only, crossings seem to be all fine). Untested: did not test animation overriders; only tested playing animations from the viewer.
2009-02-14Moved RegionUp to REST/LocalComms. The original functionality has been ↵diva1-4/+6
entirely maintained, although it will have to be revisited soon, because it's buggy.
2009-02-13And finally... region crossings entirely over RESTComms/LocalComms. No more ↵diva1-54/+66
remoting for agent movements. WARNING: This breaks region crossing compatibility with previous versions.
2009-02-13Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames1-4/+0
warnings. Fix some m_log declarations.
2009-02-12Makes region crossings asynchronous. Moved the bulk of the original code out ↵diva1-0/+170
of ScenePresence and into SceneCommunicationService, where it should be (next to RequestTeleportToLocation). No changes in the crossing mechanism itself, yet. But this change opens the way to doing crossings as slowly as it needs to be, outside the simulator Update loop. Note: weirdnesses may occur!
2009-02-08* Removed the duplicate AddCapsHandler that existed in ↵diva1-2/+2
ScenePresence.MakeRootAgent; CAPs are already in place when this runs. * Moved MoveAgentIntoRegion further down in the CompleteMovement method. * changed a couple of methods from protected to public in SceneCommunicationService
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-17/+10
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2009-01-21* refactor: Extract caps related code from scene and put into a region moduleJustin Clarke Casey1-5/+8
* No functional changes in this revision
2009-01-21* minor: move connection success log message so that it doesn't get printed ↵Justin Clarke Casey1-1/+1
again if a duplicate use circuit code packet comes in
2009-01-19* minor: Just some minor log elaboration to reveal in the logs where a ↵Justin Clarke Casey1-2/+9
teleport is being directed rather than just its position
2009-01-18Getting rid of the CheckRegion call during TPs. This seems to be not just ↵diva1-12/+1
useless, but sometimes problematic (mantis #2999). Initial tests indicate that this call is not necessary. Let's see if this stands in the wild.
2009-01-16* Rig up enough infrastructure to actually perform a successful 'standalone' ↵Justin Clarke Casey1-2/+2
teleport unit test with checks that the scene presence disappeared from sceneA and appeared in sceneB * However, I'm not convinced that the actual process in the test completely reflects reality, and a lot of stuff had to be rigged up (which should get resolved over time)
2009-01-15* Add new unit test for simple teleport in a standalone.Justin Clarke Casey1-1/+1
* Does not yet check results.
2009-01-14* minor: Change around more debugging messagesJustin Clarke Casey1-3/+3
2009-01-06* prune and regrade log messages relating to client login and logoutJustin Clarke Casey1-2/+0
2009-01-06* Rename GetRandomCapsPath() to GetRandomCapsObjectPath() to fit in with ↵Justin Clarke Casey1-4/+3
terminology used elsewhere * Last build break was probably a Bamboo failure - hopefully this should succeed
2009-01-06* Move common string aggregation for caps seed path to a method in CapsUtilJustin Clarke Casey1-4/+6
2009-01-06* minor: Move GetRandomCapsPath() to a CapsUtil classJustin Clarke Casey1-2/+3
2009-01-03Another interregion comms change that will not work well with previous ↵diva1-2/+4
versions. This commit moves InformRegionOfChildAgent from OGS1 to RESTComms, effectively having the complete child agent life cycle over REST: create=POST, update=PUT, close=DELETE. Additional changes include more functions in the IHyperlink interface, and some refactorings in the HG code for better reuse in RESTComms.
2009-01-03Split agent updates into two messages: full update and position+camera ↵diva1-4/+4
update. They're both sent over HTTP PUT. The full update is sent on TPs, for now; later it will also be sent on region crossings.
2009-01-01Major changes in interregion communications. This breaks compatibility with ↵diva1-32/+74
older versions, and may result is all sorts of weirdnesses when interacting with sims in older versions. Changes: - Introducing synchronous Teleports. Now the receiving region calls back the sending region after the client has been made a root agent there, that is, after client sends CompleteMovement to the destination. - SendCloseAgent moved from OGS1 Remoting to RESTComms.
2008-12-31Added a SendChildAgentDataUpdate call on Teleports, so that the agent at the ↵diva1-15/+25
destination will have all the necessary information.
2008-12-29Final part for implementing SendChildAgentDataUpdate with modules. This is ↵diva1-11/+18
the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim.
2008-12-22Fix for attachment crossing on TPs. Now that we're letting the viewer have ↵diva1-6/+8
control over MakeRoot at the destination, we need to pass the attachments after that. Attachment crossing requires a root agent at the destination.
2008-12-22This commit is a major change on the TP process. Several things were wrong ↵diva1-53/+71
and/or broken. (a) ExpectAvatarCrossing is redundant (and bad) because the client triggers the same method on the receiving region after it receives TeleportFinish. (b) At least two of the *Async methods in SceneCommunicationService weren't asynchronous at all; I made them be asynchronous. Crossing fingers...
2008-12-21Slowing TPs down a bit further.diva1-4/+4
2008-12-20Slowing things down even more on TPs, to see if that helps the European ↵diva1-2/+5
folks connected to osgrid.
2008-12-20This reduces DNS lookups in TPs by a factor of 4. Let's see if this fixes ↵diva1-6/+18
some of the crashes experienced by ppl in Europe connected to OSGrid. If DNS lookup does not resolve, they may experience a substantial increase in "Region not available", but they shouldn't crash.
2008-12-20Slowing things down a little bit in TPs, with a couple of extra Thread.Sleep ↵diva1-1/+5
to give enough time for the destination to set up CAPs for the incoming agent before sending EAC to the client.
2008-12-18Removing a check in Teleports. This check should be there, I think, but it ↵diva1-20/+22
may be causing problems right now.
2008-12-17* minor: Comment out "Informing neighbours" debug message that pops up ↵Justin Clarke Casey1-1/+1
whenever some aspect of the avatar changes. * with Diva's blessing ;)
2008-12-17* remove mono compiler warningsJustin Clarke Casey1-17/+17
* should work - the last compile failure looks like a random glitch...
2008-12-15Bug fix in new child agents management. Thanks DigiDaz for helping identify ↵diva1-57/+74
this issue. We need to update all child agents whenever the root agent crosses regions. The update now includes child agents in common neighbours. This is so that those get updated with the seeds of the new child agents that are spawned from the receiving region. This also fixes some timing issues. We need to close child agents from the originating region before we update child agents in the receiving region.
2008-12-14Mantis#2725. Thank you kindly, Diva, for a patch that:Charles Krinke1-66/+200
Adds missing protocol pieces for EstablishAgentCommunication event which allows the client to activate CAPS and the EQ for child agents.
2008-12-10Applying diva's revert patch. Reverts closing child agents and makesMelanie Thielker1-15/+4
TP more reliable again.
2008-12-03Remove the bandaid (fast rip)Melanie Thielker1-9/+9
2008-12-03Apply Diva's bandaid to OpenSim's scraped knee.Melanie Thielker1-9/+9
2008-12-01* minor: remove 2 mono compiler warningsJustin Clarke Casey1-1/+1