From 13f141a4d521fc15618c2983c989805d9174b969 Mon Sep 17 00:00:00 2001 From: Mic Bowman Date: Mon, 25 Apr 2011 15:36:59 -0700 Subject: [PATCH 01/23] Fix the totals shown by show throttle --- OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs index 50f1e2c87e..ca5501d875 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs @@ -183,7 +183,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP // Create a token bucket throttle for this client that has the scene token bucket as a parent m_throttleClient = new AdaptiveTokenBucket(parentThrottle, rates.Total, rates.AdaptiveThrottlesEnabled); // Create a token bucket throttle for the total categary with the client bucket as a throttle - m_throttleCategory = new TokenBucket(m_throttleClient, rates.Total); + m_throttleCategory = new TokenBucket(m_throttleClient, 0); // Create an array of token buckets for this clients different throttle categories m_throttleCategories = new TokenBucket[THROTTLE_CATEGORY_COUNT]; From b9bca893efaeea3dd76dd3cb2082c181e5510b59 Mon Sep 17 00:00:00 2001 From: Mic Bowman Date: Mon, 25 Apr 2011 16:13:16 -0700 Subject: [PATCH 02/23] Removed debug message in the token bucket code --- OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs b/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs index 2ec79abd16..29fd1a409a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/TokenBucket.cs @@ -365,7 +365,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP if (m_enabled) { - m_log.WarnFormat("[TOKENBUCKET] Adaptive throttle enabled"); + // m_log.DebugFormat("[TOKENBUCKET] Adaptive throttle enabled"); MaxDripRate = maxDripRate; AdjustedDripRate = m_minimumFlow; } From 037373b825235235e89112abe81f985efa052c2a Mon Sep 17 00:00:00 2001 From: dahlia Date: Mon, 25 Apr 2011 17:11:54 -0700 Subject: [PATCH 03/23] recover from unhandled exception from bad rotation data while processing entity updates in LLClientView.cs --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 1f7e66dabb..0f7f666c60 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -4764,7 +4764,15 @@ namespace OpenSim.Region.ClientStack.LindenUDP data.RelativePosition.ToBytes(objectData, 0); data.Velocity.ToBytes(objectData, 12); data.Acceleration.ToBytes(objectData, 24); - data.RotationOffset.ToBytes(objectData, 36); + try + { + data.RotationOffset.ToBytes(objectData, 36); + } + catch (Exception e) + { + m_log.Warn("[LLClientView]: exception converting quaternion to bytes, using Quaternion.Identity. Exception: " + e.ToString()); + OpenMetaverse.Quaternion.Identity.ToBytes(objectData, 36); + } data.AngularVelocity.ToBytes(objectData, 48); ObjectUpdatePacket.ObjectDataBlock update = new ObjectUpdatePacket.ObjectDataBlock(); From e579a990b4466fcecc11a9b8c6ad74cc70530e5c Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 25 Apr 2011 18:59:01 -0700 Subject: [PATCH 04/23] Removed stale client components: MXP and VWoHTTP. --- .../Client/MXP/ClientStack/MXPClientView.cs | 1728 ----------------- OpenSim/Client/MXP/MXPModule.cs | 131 -- OpenSim/Client/MXP/MXPUtil.cs | 42 - .../MXP/PacketHandler/MXPPacketServer.cs | 561 ------ .../VWoHTTP/ClientStack/VWHClientView.cs | 1231 ------------ OpenSim/Client/VWoHTTP/VWoHTTPModule.cs | 133 -- bin/MXP.dll | Bin 114688 -> 0 bytes bin/protobuf-net.dll | Bin 107008 -> 0 bytes prebuild.xml | 63 - 9 files changed, 3889 deletions(-) delete mode 100644 OpenSim/Client/MXP/ClientStack/MXPClientView.cs delete mode 100644 OpenSim/Client/MXP/MXPModule.cs delete mode 100644 OpenSim/Client/MXP/MXPUtil.cs delete mode 100644 OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs delete mode 100644 OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs delete mode 100644 OpenSim/Client/VWoHTTP/VWoHTTPModule.cs delete mode 100644 bin/MXP.dll delete mode 100644 bin/protobuf-net.dll diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs deleted file mode 100644 index a604a2ee63..0000000000 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ /dev/null @@ -1,1728 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSimulator Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Net; -using System.Reflection; -using System.Text; -using log4net; -using MXP; -using MXP.Messages; -using OpenMetaverse; -using OpenMetaverse.Packets; -using OpenSim.Framework; -using OpenSim.Framework.Client; -using Packet=OpenMetaverse.Packets.Packet; -using MXP.Extentions.OpenMetaverseFragments.Proto; -using MXP.Util; -using MXP.Fragments; -using MXP.Common.Proto; -using OpenSim.Region.Framework.Scenes; - -namespace OpenSim.Client.MXP.ClientStack -{ - public class MXPClientView : IClientAPI, IClientCore - { - internal static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - - #region Constants - private Vector3 FORWARD = new Vector3(1, 0, 0); - private Vector3 BACKWARD = new Vector3(-1, 0, 0); - private Vector3 LEFT = new Vector3(0, 1, 0); - private Vector3 RIGHT = new Vector3(0, -1, 0); - private Vector3 UP = new Vector3(0, 0, 1); - private Vector3 DOWN = new Vector3(0, 0, -1); - #endregion - - #region Fields - private readonly Session m_session; - private readonly UUID m_sessionID; - private readonly UUID m_userID; - private readonly IScene m_scene; - private readonly string m_firstName; - private readonly string m_lastName; -// private int m_objectsToSynchronize = 0; -// private int m_objectsSynchronized = -1; - - private Vector3 m_startPosition=new Vector3(128f, 128f, 128f); - #endregion - - #region Properties - - public Session Session - { - get { return m_session; } - } - - public Vector3 StartPos - { - get { return m_startPosition; } - set { m_startPosition = value; } - } - - public UUID AgentId - { - get { return m_userID; } - } - - public UUID SessionId - { - get { return m_sessionID; } - } - - public UUID SecureSessionId - { - get { return m_sessionID; } - } - - public UUID ActiveGroupId - { - get { return UUID.Zero; } - } - - public string ActiveGroupName - { - get { return ""; } - } - - public ulong ActiveGroupPowers - { - get { return 0; } - } - - public ulong GetGroupPowers(UUID groupID) - { - return 0; - } - - public bool IsGroupMember(UUID GroupID) - { - return false; - } - - public string FirstName - { - get { return m_firstName; } - } - - public string LastName - { - get { return m_lastName; } - } - - public IScene Scene - { - get { return m_scene; } - } - - public int NextAnimationSequenceNumber - { - get { return 0; } - } - - public string Name - { - get { return FirstName; } - } - - public bool IsActive - { - get { return Session.SessionState == SessionState.Connected; } - set - { - if (!value) - Stop(); - } - } - - public bool IsLoggingOut - { - get { return false ; } - set { } - } - - #endregion - - #region Constructors - public MXPClientView(Session mxpSession, UUID mxpSessionID, UUID userID, IScene mxpHostBubble, string mxpFirstName, string mxpLastName) - { - this.m_session = mxpSession; - this.m_userID = userID; - this.m_firstName = mxpFirstName; - this.m_lastName = mxpLastName; - this.m_scene = mxpHostBubble; - this.m_sessionID = mxpSessionID; - } - #endregion - - #region MXP Incoming Message Processing - - public void MXPPRocessMessage(Message message) - { - if (message.GetType() == typeof(ModifyRequestMessage)) - { - MXPProcessModifyRequest((ModifyRequestMessage)message); - } - else - { - m_log.Warn("[MXP ClientStack] Received messaged unhandled: " + message); - } - } - - private void MXPProcessModifyRequest(ModifyRequestMessage modifyRequest) - { - ObjectFragment objectFragment=modifyRequest.ObjectFragment; - if (objectFragment.ObjectId == m_userID.Guid) - { - OmAvatarExt avatarExt = modifyRequest.GetExtension(); - - AgentUpdateArgs agentUpdate = new AgentUpdateArgs(); - agentUpdate.AgentID = new UUID(objectFragment.ObjectId); - agentUpdate.SessionID = m_sessionID; - agentUpdate.State = (byte)avatarExt.State; - - Quaternion avatarOrientation = FromOmQuaternion(objectFragment.Orientation); - if (avatarOrientation.X == 0 && avatarOrientation.Y == 0 && avatarOrientation.Z == 0 && avatarOrientation.W == 0) - { - avatarOrientation = Quaternion.Identity; - } - Vector3 avatarLocation=FromOmVector(objectFragment.Location); - - if (avatarExt.MovementDirection != null) - { - Vector3 direction = FromOmVector(avatarExt.MovementDirection); - - direction = direction * Quaternion.Inverse(avatarOrientation); - - if ((direction - FORWARD).Length() < 0.5) - { - agentUpdate.ControlFlags += (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS; - } - if ((direction - BACKWARD).Length() < 0.5) - { - agentUpdate.ControlFlags += (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_NEG; - } - if ((direction - LEFT).Length() < 0.5) - { - agentUpdate.ControlFlags += (uint)AgentManager.ControlFlags.AGENT_CONTROL_LEFT_POS; - } - if ((direction - RIGHT).Length() < 0.5) - { - agentUpdate.ControlFlags += (uint)AgentManager.ControlFlags.AGENT_CONTROL_LEFT_NEG; - } - if ((direction - UP).Length() < 0.5) - { - agentUpdate.ControlFlags += (uint)AgentManager.ControlFlags.AGENT_CONTROL_UP_POS; - } - if ((direction - DOWN).Length() < 0.5) - { - agentUpdate.ControlFlags += (uint)AgentManager.ControlFlags.AGENT_CONTROL_UP_NEG; - } - - } - if (avatarExt.TargetOrientation != null) - { - agentUpdate.BodyRotation = FromOmQuaternion(avatarExt.TargetOrientation); - } - else - { - agentUpdate.BodyRotation = FromOmQuaternion(objectFragment.Orientation); - } - - if (avatarExt.Body != null) - { - foreach (OmBipedBoneOrientation boneOrientation in avatarExt.Body.BipedBoneOrientations) - { - if (boneOrientation.Bone == OmBipedBones.Head) - { - agentUpdate.HeadRotation = FromOmQuaternion(boneOrientation.Orientation); - } - } - } - else - { - agentUpdate.HeadRotation = Quaternion.Identity; - } - - if (avatarExt.Camera != null) - { - Quaternion cameraOrientation = FromOmQuaternion(avatarExt.Camera.Orientation); - agentUpdate.CameraCenter = FromOmVector(avatarExt.Camera.Location); - agentUpdate.CameraAtAxis = FORWARD * cameraOrientation; - agentUpdate.CameraLeftAxis = LEFT * cameraOrientation; - agentUpdate.CameraUpAxis = UP * cameraOrientation; - } - else - { - agentUpdate.CameraCenter = avatarLocation; - agentUpdate.CameraAtAxis = FORWARD * avatarOrientation; - agentUpdate.CameraLeftAxis = LEFT * avatarOrientation; - agentUpdate.CameraUpAxis = UP * avatarOrientation; - } - - OnAgentUpdate(this, agentUpdate); - - ModifyResponseMessage modifyResponse = new ModifyResponseMessage(); - modifyResponse.FailureCode = MxpResponseCodes.SUCCESS; - modifyResponse.RequestMessageId = modifyRequest.MessageId; - m_session.Send(modifyResponse); - } - else - { - ModifyResponseMessage modifyResponse = new ModifyResponseMessage(); - modifyResponse.FailureCode = MxpResponseCodes.UNAUTHORIZED_OPERATION; - modifyResponse.RequestMessageId = modifyRequest.MessageId; - m_session.Send(modifyResponse); - } - } - - #endregion - - #region MXP Outgoing Message Processing - -// private void MXPSendPrimitive(uint localID, UUID ownerID, Vector3 acc, Vector3 rvel, PrimitiveBaseShape primShape, Vector3 pos, UUID objectID, Vector3 vel, Quaternion rotation, uint flags, string text, byte[] textColor, uint parentID, byte[] particleSystem, byte clickAction, byte material, byte[] textureanim) -// { -// String typeName = ToOmType(primShape.PCode); -// m_log.Info("[MXP ClientStack] Transmitting Primitive" + typeName); -// -// PerceptionEventMessage pe = new PerceptionEventMessage(); -// pe.ObjectFragment.ObjectId = objectID.Guid; -// -// pe.ObjectFragment.ParentObjectId = Guid.Empty; -// -// // Resolving parent UUID. -// OpenSim.Region.Framework.Scenes.Scene scene = (OpenSim.Region.Framework.Scenes.Scene)Scene; -// if (scene.Entities.ContainsKey(parentID)) -// { -// pe.ObjectFragment.ParentObjectId = scene.Entities[parentID].UUID.Guid; -// } -// -// pe.ObjectFragment.ObjectIndex = localID; -// pe.ObjectFragment.ObjectName = typeName + " Object"; -// pe.ObjectFragment.OwnerId = ownerID.Guid; -// pe.ObjectFragment.TypeId = Guid.Empty; -// pe.ObjectFragment.TypeName = typeName; -// pe.ObjectFragment.Acceleration = ToOmVector(acc); -// pe.ObjectFragment.AngularAcceleration=new MsdQuaternion4f(); -// pe.ObjectFragment.AngularVelocity = ToOmQuaternion(rvel); -// pe.ObjectFragment.BoundingSphereRadius = primShape.Scale.Length(); -// -// pe.ObjectFragment.Location = ToOmVector(pos); -// -// pe.ObjectFragment.Mass = 1.0f; -// pe.ObjectFragment.Orientation = ToOmQuaternion(rotation); -// pe.ObjectFragment.Velocity =ToOmVector(vel); -// -// OmSlPrimitiveExt ext = new OmSlPrimitiveExt(); -// -// if (!((primShape.PCode == (byte)PCode.NewTree) || (primShape.PCode == (byte)PCode.Tree) || (primShape.PCode == (byte)PCode.Grass))) -// { -// -// ext.PathBegin = primShape.PathBegin; -// ext.PathEnd = primShape.PathEnd; -// ext.PathScaleX = primShape.PathScaleX; -// ext.PathScaleY = primShape.PathScaleY; -// ext.PathShearX = primShape.PathShearX; -// ext.PathShearY = primShape.PathShearY; -// ext.PathSkew = primShape.PathSkew; -// ext.ProfileBegin = primShape.ProfileBegin; -// ext.ProfileEnd = primShape.ProfileEnd; -// ext.PathCurve = primShape.PathCurve; -// ext.ProfileCurve = primShape.ProfileCurve; -// ext.ProfileHollow = primShape.ProfileHollow; -// ext.PathRadiusOffset = primShape.PathRadiusOffset; -// ext.PathRevolutions = primShape.PathRevolutions; -// ext.PathTaperX = primShape.PathTaperX; -// ext.PathTaperY = primShape.PathTaperY; -// ext.PathTwist = primShape.PathTwist; -// ext.PathTwistBegin = primShape.PathTwistBegin; -// -// -// } -// -// ext.UpdateFlags = flags; -// ext.ExtraParams = primShape.ExtraParams; -// ext.State = primShape.State; -// ext.TextureEntry = primShape.TextureEntry; -// ext.TextureAnim = textureanim; -// ext.Scale = ToOmVector(primShape.Scale); -// ext.Text = text; -// ext.TextColor = ToOmColor(textColor); -// ext.PSBlock = particleSystem; -// ext.ClickAction = clickAction; -// ext.Material = material; -// -// pe.SetExtension(ext); -// -// Session.Send(pe); -// -// if (m_objectsSynchronized != -1) -// { -// m_objectsSynchronized++; -// -// if (m_objectsToSynchronize >= m_objectsSynchronized) -// { -// SynchronizationEndEventMessage synchronizationEndEventMessage = new SynchronizationEndEventMessage(); -// Session.Send(synchronizationEndEventMessage); -// m_objectsSynchronized = -1; -// } -// } -// } - - public void MXPSendAvatarData(string participantName, UUID ownerID, UUID parentId, UUID avatarID, uint avatarLocalID, Vector3 position, Quaternion rotation) - { - m_log.Info("[MXP ClientStack] Transmitting Avatar Data " + participantName); - - PerceptionEventMessage pe = new PerceptionEventMessage(); - - pe.ObjectFragment.ObjectId = avatarID.Guid; - pe.ObjectFragment.ParentObjectId = parentId.Guid; - pe.ObjectFragment.ObjectIndex = avatarLocalID; - pe.ObjectFragment.ObjectName = participantName; - pe.ObjectFragment.OwnerId = ownerID.Guid; - pe.ObjectFragment.TypeId = Guid.Empty; - pe.ObjectFragment.TypeName = "Avatar"; - pe.ObjectFragment.Acceleration = new MsdVector3f(); - pe.ObjectFragment.AngularAcceleration = new MsdQuaternion4f(); - pe.ObjectFragment.AngularVelocity = new MsdQuaternion4f(); - - pe.ObjectFragment.BoundingSphereRadius = 1.0f; // TODO Fill in appropriate value - - pe.ObjectFragment.Location = ToOmVector(position); - - pe.ObjectFragment.Mass = 1.0f; // TODO Fill in appropriate value - pe.ObjectFragment.Orientation = ToOmQuaternion(rotation); - pe.ObjectFragment.Velocity = new MsdVector3f(); - - Session.Send(pe); - } - - public void MXPSendTerrain(float[] map) - { - m_log.Info("[MXP ClientStack] Transmitting terrain for " + m_scene.RegionInfo.RegionName); - - PerceptionEventMessage pe = new PerceptionEventMessage(); - - // Hacking terrain object uuid to zero and index to hashcode of regionuuid - pe.ObjectFragment.ObjectId = m_scene.RegionInfo.RegionSettings.RegionUUID.Guid; - pe.ObjectFragment.ObjectIndex = (uint)(m_scene.RegionInfo.RegionSettings.RegionUUID.GetHashCode() + ((long)int.MaxValue) / 2); - pe.ObjectFragment.ParentObjectId = UUID.Zero.Guid; - pe.ObjectFragment.ObjectName = "Terrain of " + m_scene.RegionInfo.RegionName; - pe.ObjectFragment.OwnerId = m_scene.RegionInfo.EstateSettings.EstateOwner.Guid; - pe.ObjectFragment.TypeId = Guid.Empty; - pe.ObjectFragment.TypeName = "Terrain"; - pe.ObjectFragment.Acceleration = new MsdVector3f(); - pe.ObjectFragment.AngularAcceleration = new MsdQuaternion4f(); - pe.ObjectFragment.AngularVelocity = new MsdQuaternion4f(); - pe.ObjectFragment.BoundingSphereRadius = 128f; - - pe.ObjectFragment.Location = new MsdVector3f(); - - pe.ObjectFragment.Mass = 1.0f; - pe.ObjectFragment.Orientation = new MsdQuaternion4f(); - pe.ObjectFragment.Velocity = new MsdVector3f(); - - OmBitmapTerrainExt terrainExt = new OmBitmapTerrainExt(); - terrainExt.Width = 256; - terrainExt.Height = 256; - terrainExt.WaterLevel = (float) m_scene.RegionInfo.RegionSettings.WaterHeight; - terrainExt.Offset = 0; - terrainExt.Scale = 10; - terrainExt.HeightMap = CompressUtil.CompressHeightMap(map, 0, 10); - - pe.SetExtension(terrainExt); - - Session.Send(pe); - } - - public void MXPSendSynchronizationBegin(int objectCount) - { -// m_objectsToSynchronize = objectCount; -// m_objectsSynchronized = 0; - SynchronizationBeginEventMessage synchronizationBeginEventMessage = new SynchronizationBeginEventMessage(); - synchronizationBeginEventMessage.ObjectCount = (uint)objectCount; - Session.Send(synchronizationBeginEventMessage); - } - - #endregion - - #region MXP Conversions - - private MsdVector3f ToOmVector(Vector3 value) - { - MsdVector3f encodedValue = new MsdVector3f(); - encodedValue.X = value.X; - encodedValue.Y = value.Y; - encodedValue.Z = value.Z; - return encodedValue; - } - - private MsdQuaternion4f ToOmQuaternion(Vector3 value) - { - Quaternion quaternion=Quaternion.CreateFromEulers(value); - MsdQuaternion4f encodedValue = new MsdQuaternion4f(); - encodedValue.X = quaternion.X; - encodedValue.Y = quaternion.Y; - encodedValue.Z = quaternion.Z; - encodedValue.W = quaternion.W; - return encodedValue; - } - - private MsdQuaternion4f ToOmQuaternion(Quaternion value) - { - MsdQuaternion4f encodedValue = new MsdQuaternion4f(); - encodedValue.X = value.X; - encodedValue.Y = value.Y; - encodedValue.Z = value.Z; - encodedValue.W = value.W; - return encodedValue; - } - - private Vector3 FromOmVector(MsdVector3f vector) - { - return new Vector3(vector.X, vector.Y, vector.Z); - } - -// private Vector3 FromOmVector(float[] vector) -// { -// return new Vector3(vector[0], vector[1], vector[2]); -// } - - private Quaternion FromOmQuaternion(MsdQuaternion4f quaternion) - { - return new Quaternion(quaternion.X, quaternion.Y, quaternion.Z, quaternion.W); - } - -// private Quaternion FromOmQuaternion(float[] quaternion) -// { -// return new Quaternion(quaternion[0], quaternion[1], quaternion[2], quaternion[3]); -// } - - private MsdColor4f ToOmColor(byte[] value) - { - MsdColor4f encodedValue = new MsdColor4f(); - encodedValue.R = value[0]; - encodedValue.G = value[1]; - encodedValue.B = value[2]; - encodedValue.A = value[3]; - return encodedValue; - } - - private string ToOmType(byte value) - { - if (value == (byte)PCodeEnum.Avatar) - { - return "Avatar"; - } - if (value == (byte)PCodeEnum.Grass) - { - return "Grass"; - } - if (value == (byte)PCodeEnum.NewTree) - { - return "NewTree"; - } - if (value == (byte)PCodeEnum.ParticleSystem) - { - return "ParticleSystem"; - } - if (value == (byte)PCodeEnum.Primitive) - { - return "Primitive"; - } - if (value == (byte)PCodeEnum.Tree) - { - return "Tree"; - } - throw new Exception("Unsupported PCode value: " + value); - } - - #endregion - - #region OpenSim Event Handlers - - #pragma warning disable 67 - public event GenericMessage OnGenericMessage; - public event ImprovedInstantMessage OnInstantMessage; - public event ChatMessage OnChatFromClient; - public event TextureRequest OnRequestTexture; - public event RezObject OnRezObject; - public event ModifyTerrain OnModifyTerrain; - public event BakeTerrain OnBakeTerrain; - public event EstateChangeInfo OnEstateChangeInfo; - public event SetAppearance OnSetAppearance; - public event AvatarNowWearing OnAvatarNowWearing; - public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv; - public event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv; - public event UUIDNameRequest OnDetachAttachmentIntoInv; - public event ObjectAttach OnObjectAttach; - public event ObjectDeselect OnObjectDetach; - public event ObjectDrop OnObjectDrop; - public event StartAnim OnStartAnim; - public event StopAnim OnStopAnim; - public event LinkObjects OnLinkObjects; - public event DelinkObjects OnDelinkObjects; - public event RequestMapBlocks OnRequestMapBlocks; - public event RequestMapName OnMapNameRequest; - public event TeleportLocationRequest OnTeleportLocationRequest; - public event DisconnectUser OnDisconnectUser; - public event RequestAvatarProperties OnRequestAvatarProperties; - public event SetAlwaysRun OnSetAlwaysRun; - public event TeleportLandmarkRequest OnTeleportLandmarkRequest; - public event DeRezObject OnDeRezObject; - public event Action OnRegionHandShakeReply; - public event GenericCall1 OnRequestWearables; - public event GenericCall1 OnCompleteMovementToRegion; - public event UpdateAgent OnPreAgentUpdate; - public event UpdateAgent OnAgentUpdate; - public event AgentRequestSit OnAgentRequestSit; - public event AgentSit OnAgentSit; - public event AvatarPickerRequest OnAvatarPickerRequest; - public event Action OnRequestAvatarsData; - public event AddNewPrim OnAddPrim; - public event FetchInventory OnAgentDataUpdateRequest; - public event TeleportLocationRequest OnSetStartLocationRequest; - public event RequestGodlikePowers OnRequestGodlikePowers; - public event GodKickUser OnGodKickUser; - public event ObjectDuplicate OnObjectDuplicate; - public event ObjectDuplicateOnRay OnObjectDuplicateOnRay; - public event GrabObject OnGrabObject; - public event DeGrabObject OnDeGrabObject; - public event MoveObject OnGrabUpdate; - public event SpinStart OnSpinStart; - public event SpinObject OnSpinUpdate; - public event SpinStop OnSpinStop; - public event UpdateShape OnUpdatePrimShape; - public event ObjectExtraParams OnUpdateExtraParams; - public event ObjectRequest OnObjectRequest; - public event ObjectSelect OnObjectSelect; - public event ObjectDeselect OnObjectDeselect; - public event GenericCall7 OnObjectDescription; - public event GenericCall7 OnObjectName; - public event GenericCall7 OnObjectClickAction; - public event GenericCall7 OnObjectMaterial; - public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily; - public event UpdatePrimFlags OnUpdatePrimFlags; - public event UpdatePrimTexture OnUpdatePrimTexture; - public event UpdateVector OnUpdatePrimGroupPosition; - public event UpdateVector OnUpdatePrimSinglePosition; - public event UpdatePrimRotation OnUpdatePrimGroupRotation; - public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition; - public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation; - public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation; - public event UpdateVector OnUpdatePrimScale; - public event UpdateVector OnUpdatePrimGroupScale; - public event StatusChange OnChildAgentStatus; - public event GenericCall2 OnStopMovement; - public event Action OnRemoveAvatar; - public event ObjectPermissions OnObjectPermissions; - public event CreateNewInventoryItem OnCreateNewInventoryItem; - public event LinkInventoryItem OnLinkInventoryItem; - public event CreateInventoryFolder OnCreateNewInventoryFolder; - public event UpdateInventoryFolder OnUpdateInventoryFolder; - public event MoveInventoryFolder OnMoveInventoryFolder; - public event FetchInventoryDescendents OnFetchInventoryDescendents; - public event PurgeInventoryDescendents OnPurgeInventoryDescendents; - public event FetchInventory OnFetchInventory; - public event RequestTaskInventory OnRequestTaskInventory; - public event UpdateInventoryItem OnUpdateInventoryItem; - public event CopyInventoryItem OnCopyInventoryItem; - public event MoveInventoryItem OnMoveInventoryItem; - public event RemoveInventoryFolder OnRemoveInventoryFolder; - public event RemoveInventoryItem OnRemoveInventoryItem; - public event UDPAssetUploadRequest OnAssetUploadRequest; - public event XferReceive OnXferReceive; - public event RequestXfer OnRequestXfer; - public event ConfirmXfer OnConfirmXfer; - public event AbortXfer OnAbortXfer; - public event RezScript OnRezScript; - public event UpdateTaskInventory OnUpdateTaskInventory; - public event MoveTaskInventory OnMoveTaskItem; - public event RemoveTaskInventory OnRemoveTaskItem; - public event RequestAsset OnRequestAsset; - public event UUIDNameRequest OnNameFromUUIDRequest; - public event ParcelAccessListRequest OnParcelAccessListRequest; - public event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest; - public event ParcelPropertiesRequest OnParcelPropertiesRequest; - public event ParcelDivideRequest OnParcelDivideRequest; - public event ParcelJoinRequest OnParcelJoinRequest; - public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest; - public event ParcelSelectObjects OnParcelSelectObjects; - public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest; - public event ParcelAbandonRequest OnParcelAbandonRequest; - public event ParcelGodForceOwner OnParcelGodForceOwner; - public event ParcelReclaim OnParcelReclaim; - public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest; - public event ParcelDeedToGroup OnParcelDeedToGroup; - public event RegionInfoRequest OnRegionInfoRequest; - public event EstateCovenantRequest OnEstateCovenantRequest; - public event FriendActionDelegate OnApproveFriendRequest; - public event FriendActionDelegate OnDenyFriendRequest; - public event FriendshipTermination OnTerminateFriendship; - public event GrantUserFriendRights OnGrantUserRights; - public event MoneyTransferRequest OnMoneyTransferRequest; - public event EconomyDataRequest OnEconomyDataRequest; - public event MoneyBalanceRequest OnMoneyBalanceRequest; - public event UpdateAvatarProperties OnUpdateAvatarProperties; - public event ParcelBuy OnParcelBuy; - public event RequestPayPrice OnRequestPayPrice; - public event ObjectSaleInfo OnObjectSaleInfo; - public event ObjectBuy OnObjectBuy; - public event BuyObjectInventory OnBuyObjectInventory; - public event RequestTerrain OnRequestTerrain; - public event RequestTerrain OnUploadTerrain; - public event ObjectIncludeInSearch OnObjectIncludeInSearch; - public event UUIDNameRequest OnTeleportHomeRequest; - public event ScriptAnswer OnScriptAnswer; - public event AgentSit OnUndo; - public event AgentSit OnRedo; - public event LandUndo OnLandUndo; - public event ForceReleaseControls OnForceReleaseControls; - public event GodLandStatRequest OnLandStatRequest; - public event DetailedEstateDataRequest OnDetailedEstateDataRequest; - public event SetEstateFlagsRequest OnSetEstateFlagsRequest; - public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture; - public event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture; - public event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights; - public event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest; - public event SetRegionTerrainSettings OnSetRegionTerrainSettings; - public event EstateRestartSimRequest OnEstateRestartSimRequest; - public event EstateChangeCovenantRequest OnEstateChangeCovenantRequest; - public event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest; - public event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest; - public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest; - public event EstateDebugRegionRequest OnEstateDebugRegionRequest; - public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest; - public event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest; - public event UUIDNameRequest OnUUIDGroupNameRequest; - public event RegionHandleRequest OnRegionHandleRequest; - public event ParcelInfoRequest OnParcelInfoRequest; - public event RequestObjectPropertiesFamily OnObjectGroupRequest; - public event ScriptReset OnScriptReset; - public event GetScriptRunning OnGetScriptRunning; - public event SetScriptRunning OnSetScriptRunning; - public event UpdateVector OnAutoPilotGo; - public event TerrainUnacked OnUnackedTerrain; - public event ActivateGesture OnActivateGesture; - public event DeactivateGesture OnDeactivateGesture; - public event ObjectOwner OnObjectOwner; - public event DirPlacesQuery OnDirPlacesQuery; - public event DirFindQuery OnDirFindQuery; - public event DirLandQuery OnDirLandQuery; - public event DirPopularQuery OnDirPopularQuery; - public event DirClassifiedQuery OnDirClassifiedQuery; - public event EventInfoRequest OnEventInfoRequest; - public event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime; - public event MapItemRequest OnMapItemRequest; - public event OfferCallingCard OnOfferCallingCard; - public event AcceptCallingCard OnAcceptCallingCard; - public event DeclineCallingCard OnDeclineCallingCard; - public event SoundTrigger OnSoundTrigger; - public event StartLure OnStartLure; - public event TeleportLureRequest OnTeleportLureRequest; - public event NetworkStats OnNetworkStatsUpdate; - public event ClassifiedInfoRequest OnClassifiedInfoRequest; - public event ClassifiedInfoUpdate OnClassifiedInfoUpdate; - public event ClassifiedDelete OnClassifiedDelete; - public event ClassifiedDelete OnClassifiedGodDelete; - public event EventNotificationAddRequest OnEventNotificationAddRequest; - public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest; - public event EventGodDelete OnEventGodDelete; - public event ParcelDwellRequest OnParcelDwellRequest; - public event UserInfoRequest OnUserInfoRequest; - public event UpdateUserInfo OnUpdateUserInfo; - public event ViewerEffectEventHandler OnViewerEffect; - public event Action OnLogout; - public event Action OnConnectionClosed; - public event RetrieveInstantMessages OnRetrieveInstantMessages; - public event PickDelete OnPickDelete; - public event PickGodDelete OnPickGodDelete; - public event PickInfoUpdate OnPickInfoUpdate; - public event AvatarNotesUpdate OnAvatarNotesUpdate; - public event MuteListRequest OnMuteListRequest; - public event AvatarInterestUpdate OnAvatarInterestUpdate; - public event FindAgentUpdate OnFindAgent; - public event TrackAgentUpdate OnTrackAgent; - public event NewUserReport OnUserReport; - public event SaveStateHandler OnSaveState; - public event GroupAccountSummaryRequest OnGroupAccountSummaryRequest; - public event GroupAccountDetailsRequest OnGroupAccountDetailsRequest; - public event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest; - public event FreezeUserUpdate OnParcelFreezeUser; - public event EjectUserUpdate OnParcelEjectUser; - public event ParcelBuyPass OnParcelBuyPass; - public event ParcelGodMark OnParcelGodMark; - public event GroupActiveProposalsRequest OnGroupActiveProposalsRequest; - public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest; - public event SimWideDeletesDelegate OnSimWideDeletes; - public event SendPostcard OnSendPostcard; - public event MuteListEntryUpdate OnUpdateMuteListEntry; - public event MuteListEntryRemove OnRemoveMuteListEntry; - public event GodlikeMessage onGodlikeMessage; - public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate; - - public event PlacesQuery OnPlacesQuery; - - #pragma warning restore 67 - - #endregion - - #region OpenSim ClientView Public Methods - // Do we need this? - public bool SendLogoutPacketWhenClosing - { - set { } - } - - public uint CircuitCode - { - get { return m_sessionID.CRC(); } - } - - public IPEndPoint RemoteEndPoint - { - get { return Session.RemoteEndPoint; } - } - - public void SetDebugPacketLevel(int newDebug) - { - //m_debugLevel = newDebug; - } - - public void InPacket(object NewPack) - { - //throw new System.NotImplementedException(); - } - - public void ProcessInPacket(Packet NewPack) - { - //throw new System.NotImplementedException(); - } - - public void OnClean() - { - if (OnLogout != null) - OnLogout(this); - - if (OnConnectionClosed != null) - OnConnectionClosed(this); - } - - public void Close() - { - m_log.Info("[MXP ClientStack] Close Called"); - - // Tell the client to go - SendLogoutPacket(); - - // Let MXPPacketServer clean it up - if (Session.SessionState != SessionState.Disconnected) - { - Session.SetStateDisconnected(); - } - - } - - public void Kick(string message) - { - Close(); - } - - public void Start() - { - Scene.AddNewClient(this); - - // Mimicking LLClientView which gets always set appearance from client. - OpenSim.Region.Framework.Scenes.Scene scene=(OpenSim.Region.Framework.Scenes.Scene)Scene; - AvatarAppearance appearance; - scene.GetAvatarAppearance(this,out appearance); - OnSetAppearance(this, appearance.Texture, (byte[])appearance.VisualParams.Clone()); - } - - public void Stop() - { - // Nor this - } - - public void SendWearables(AvatarWearable[] wearables, int serial) - { - // Need to translate to MXP somehow - } - - public void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry) - { - // Need to translate to MXP somehow - } - - public void SendStartPingCheck(byte seq) - { - // Need to translate to MXP somehow - } - - public void SendKillObject(ulong regionHandle, uint localID) - { - DisappearanceEventMessage de = new DisappearanceEventMessage(); - de.ObjectIndex = localID; - - Session.Send(de); - } - - public void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs) - { - // Need to translate to MXP somehow - } - - public void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) - { - m_log.Info("[MXP ClientStack] Completing Handshake to Region"); - - if (OnRegionHandShakeReply != null) - { - OnRegionHandShakeReply(this); - } - - if (OnCompleteMovementToRegion != null) - { - OnCompleteMovementToRegion(this); - } - - // Need to translate to MXP somehow - } - - public void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source, byte audible) - { - ActionEventMessage chatActionEvent = new ActionEventMessage(); - chatActionEvent.ActionFragment.ActionName = "Chat"; - chatActionEvent.ActionFragment.SourceObjectId = fromAgentID.Guid; - chatActionEvent.ActionFragment.ObservationRadius = 180.0f; - chatActionEvent.ActionFragment.ExtensionDialect = "TEXT"; - chatActionEvent.SetPayloadData(Util.UTF8.GetBytes(message)); - - Session.Send(chatActionEvent); - } - - public void SendInstantMessage(GridInstantMessage im) - { - // Need to translate to MXP somehow - } - - public void SendGenericMessage(string method, List message) - { - } - - public void SendGenericMessage(string method, List message) - { - // Need to translate to MXP somehow - } - - public void SendLayerData(float[] map) - { - MXPSendTerrain(map); - } - - public void SendLayerData(int px, int py, float[] map) - { - } - - public void SendWindData(Vector2[] windSpeeds) - { - // Need to translate to MXP somehow - } - - public void SendCloudData(float[] cloudCover) - { - // Need to translate to MXP somehow - } - - public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) - { - //throw new System.NotImplementedException(); - } - - public void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint) - { - //throw new System.NotImplementedException(); - } - - public AgentCircuitData RequestClientInfo() - { - AgentCircuitData clientinfo = new AgentCircuitData(); - clientinfo.AgentID = AgentId; - clientinfo.Appearance = new AvatarAppearance(); - clientinfo.BaseFolder = UUID.Zero; - clientinfo.CapsPath = ""; - clientinfo.child = false; - clientinfo.ChildrenCapSeeds = new Dictionary(); - clientinfo.circuitcode = CircuitCode; - clientinfo.firstname = FirstName; - clientinfo.InventoryFolder = UUID.Zero; - clientinfo.lastname = LastName; - clientinfo.SecureSessionID = SecureSessionId; - clientinfo.SessionID = SessionId; - clientinfo.startpos = StartPos; - - return clientinfo; - } - - public void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL) - { - // TODO: We'll want to get this one working. - // Need to translate to MXP somehow - } - - public void SendMapBlock(List mapBlocks, uint flag) - { - // Need to translate to MXP somehow - } - - public void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags) - { - //throw new System.NotImplementedException(); - } - - public void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL) - { - // Need to translate to MXP somehow - } - - public void SendTeleportFailed(string reason) - { - // Need to translate to MXP somehow - } - - public void SendTeleportStart(uint flags) - { - // Need to translate to MXP somehow - } - - public void SendTeleportProgress(uint flags, string message) - { - } - - public void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance) - { - // Need to translate to MXP somehow - } - - public void SendPayPrice(UUID objectID, int[] payPrice) - { - // Need to translate to MXP somehow - } - - public void SendCoarseLocationUpdate(List users, List CoarseLocations) - { - // Minimap function, not used. - } - - public void SetChildAgentThrottle(byte[] throttle) - { - // Need to translate to MXP somehow - } - - public void SendAvatarDataImmediate(ISceneEntity avatar) - { - //ScenePresence presence=((Scene)this.Scene).GetScenePresence(avatarID); - ScenePresence presence = (ScenePresence)avatar; - UUID ownerID = presence.UUID; - MXPSendAvatarData(presence.Firstname + " " + presence.Lastname, ownerID, UUID.Zero, presence.UUID, presence.LocalId, presence.AbsolutePosition, presence.Rotation); - } - - public void SendPrimUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags) - { - //MovementEventMessage me = new MovementEventMessage(); - //me.ObjectIndex = data.LocalID; - //me.Location = ToOmVector(data.Position); - //me.Orientation = ToOmQuaternion(data.Rotation); - - //MXPSendPrimitive(data.localID, data.ownerID, data.acc, data.rvel, data.primShape, data.pos, data.objectID, data.vel, - // data.rotation, (uint)data.flags, data.text, data.color, data.parentID, data.particleSystem, data.clickAction, - // data.material, data.textureanim); - - //Session.Send(me); - - throw new System.NotImplementedException(); - } - - public void ReprioritizeUpdates() - { - } - - public void FlushPrimUpdates() - { - } - - public void SendInventoryFolderDetails(UUID ownerID, UUID folderID, List items, List folders, int version, bool fetchFolders, bool fetchItems) - { - // Need to translate to MXP somehow - } - - public void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item) - { - // Need to translate to MXP somehow - } - - public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId) - { - // Need to translate to MXP somehow - } - - public void SendRemoveInventoryItem(UUID itemID) - { - // Need to translate to MXP somehow - } - - public void SendTakeControls(int controls, bool passToAgent, bool TakeControls) - { - // Need to translate to MXP somehow - } - - public void SendTaskInventory(UUID taskID, short serial, byte[] fileName) - { - // Need to translate to MXP somehow - } - - public void SendBulkUpdateInventory(InventoryNodeBase node) - { - // Need to translate to MXP somehow - } - - public void SendXferPacket(ulong xferID, uint packet, byte[] data) - { - // SL Specific, Ignore. (Remove from IClient) - } - - public void SendAbortXferPacket(ulong xferID) - { - - } - - - public void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit, int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor, int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay, int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent) - { - // SL Specific, Ignore. (Remove from IClient) - } - - public void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List Data) - { - // Need to translate to MXP somehow - } - - public void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle) - { - // Need to translate to MXP somehow - // TODO: This may need doing - involves displaying the users avatar name - } - - public void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID) - { - // Need to translate to MXP somehow - } - - public void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain, byte flags) - { - // Need to translate to MXP somehow - } - - public void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain) - { - // Need to translate to MXP somehow - } - - public void SendAttachedSoundGainChange(UUID objectID, float gain) - { - // Need to translate to MXP somehow - } - - public void SendNameReply(UUID profileId, string firstname, string lastname) - { - // SL Specific - } - - public void SendAlertMessage(string message) - { - SendChatMessage(message, 0, Vector3.Zero, "System", UUID.Zero, 0, 0); - } - - public void SendAgentAlertMessage(string message, bool modal) - { - SendChatMessage(message, 0, Vector3.Zero, "System" + (modal ? " Notice" : ""), UUID.Zero, 0, 0); - } - - public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url) - { - // TODO: Probably can do this better - SendChatMessage("Please visit: " + url, 0, Vector3.Zero, objectname, UUID.Zero, 0, 0); - } - - public void SendDialog(string objectname, UUID objectID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels) - { - // TODO: Probably can do this better - SendChatMessage("Dialog: " + msg, 0, Vector3.Zero, objectname, UUID.Zero, 0, 0); - } - - public bool AddMoney(int debit) - { - SendChatMessage("You were paid: " + debit, 0, Vector3.Zero, "System", UUID.Zero, 0, 0); - return true; - } - - public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, float OrbitalPosition) - { - // Need to translate to MXP somehow - // Send a light object? - } - - public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks) - { - // Need to translate to MXP somehow - } - - public void SendViewerTime(int phase) - { - // Need to translate to MXP somehow - } - - public UUID GetDefaultAnimation(string name) - { - return UUID.Zero; - } - - public void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, byte[] charterMember, string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID) - { - // Need to translate to MXP somehow - } - - public void SendScriptQuestion(UUID taskID, string taskName, string ownerName, UUID itemID, int question) - { - // Need to translate to MXP somehow - } - - public void SendHealth(float health) - { - // Need to translate to MXP somehow - } - - public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID) - { - // Need to translate to MXP somehow - } - - public void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID) - { - // Need to translate to MXP somehow - } - - public void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args) - { - // Need to translate to MXP somehow - } - - public void SendEstateCovenantInformation(UUID covenant) - { - // Need to translate to MXP somehow - } - - public void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, string abuseEmail, UUID estateOwner) - { - // Need to translate to MXP somehow - } - - public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, ILandObject lo, float simObjectBonusFactor, int parcelObjectCapacity, int simObjectCapacity, uint regionFlags) - { - // Need to translate to MXP somehow - } - - public void SendLandAccessListData(List avatars, uint accessFlag, int localLandID) - { - // Need to translate to MXP somehow - } - - public void SendForceClientSelectObjects(List objectIDs) - { - // Need to translate to MXP somehow - } - - public void SendLandObjectOwners(LandData land, List groups, Dictionary ownersAndCount) - { - // Need to translate to MXP somehow - } - - public void SendCameraConstraint(Vector4 ConstraintPlane) - { - - } - - public void SendLandParcelOverlay(byte[] data, int sequence_id) - { - // Need to translate to MXP somehow - } - - public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) - { - // Need to translate to MXP somehow - } - - public void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID, byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight, byte mediaLoop) - { - // Need to translate to MXP somehow - } - - public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) - { - // Need to translate to MXP somehow - } - - public void SendConfirmXfer(ulong xferID, uint PacketID) - { - // Need to translate to MXP somehow - } - - public void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName) - { - // Need to translate to MXP somehow - } - - public void SendInitiateDownload(string simFileName, string clientFileName) - { - // Need to translate to MXP somehow - } - - public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec) - { - // Need to translate to MXP somehow - } - - public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData) - { - // Need to translate to MXP somehow - } - - public void SendImageNotFound(UUID imageid) - { - // Need to translate to MXP somehow - } - - public void SendShutdownConnectionNotice() - { - // Need to translate to MXP somehow - } - - public void SendSimStats(SimStats stats) - { - // Need to translate to MXP somehow - } - - public void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags) - { - //throw new System.NotImplementedException(); - } - - public void SendObjectPropertiesReply(ISceneEntity entity) - { - //throw new System.NotImplementedException(); - } - - public void SendAgentOffline(UUID[] agentIDs) - { - // Need to translate to MXP somehow (Friends List) - } - - public void SendAgentOnline(UUID[] agentIDs) - { - // Need to translate to MXP somehow (Friends List) - } - - public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook) - { - // Need to translate to MXP somehow - } - - public void SendAdminResponse(UUID Token, uint AdminLevel) - { - // Need to translate to MXP somehow - } - - public void SendGroupMembership(GroupMembershipData[] GroupMembership) - { - // Need to translate to MXP somehow - } - - public void SendGroupNameReply(UUID groupLLUID, string GroupName) - { - // Need to translate to MXP somehow - } - - public void SendJoinGroupReply(UUID groupID, bool success) - { - // Need to translate to MXP somehow - } - - public void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success) - { - // Need to translate to MXP somehow - } - - public void SendLeaveGroupReply(UUID groupID, bool success) - { - // Need to translate to MXP somehow - } - - public void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia) - { - // Need to translate to MXP somehow - } - - public void SendScriptRunningReply(UUID objectID, UUID itemID, bool running) - { - // Need to translate to MXP somehow - } - - public void SendAsset(AssetRequestToClient req) - { - // Need to translate to MXP somehow - } - - public void SendTexture(AssetBase TextureAsset) - { - // Need to translate to MXP somehow - } - - public byte[] GetThrottlesPacked(float multiplier) - { - // LL Specific, get out of IClientAPI - - const int singlefloat = 4; - float tResend = multiplier; - float tLand = multiplier; - float tWind = multiplier; - float tCloud = multiplier; - float tTask = multiplier; - float tTexture = multiplier; - float tAsset = multiplier; - - byte[] throttles = new byte[singlefloat * 7]; - int i = 0; - Buffer.BlockCopy(BitConverter.GetBytes(tResend), 0, throttles, singlefloat * i, singlefloat); - i++; - Buffer.BlockCopy(BitConverter.GetBytes(tLand), 0, throttles, singlefloat * i, singlefloat); - i++; - Buffer.BlockCopy(BitConverter.GetBytes(tWind), 0, throttles, singlefloat * i, singlefloat); - i++; - Buffer.BlockCopy(BitConverter.GetBytes(tCloud), 0, throttles, singlefloat * i, singlefloat); - i++; - Buffer.BlockCopy(BitConverter.GetBytes(tTask), 0, throttles, singlefloat * i, singlefloat); - i++; - Buffer.BlockCopy(BitConverter.GetBytes(tTexture), 0, throttles, singlefloat * i, singlefloat); - i++; - Buffer.BlockCopy(BitConverter.GetBytes(tAsset), 0, throttles, singlefloat * i, singlefloat); - - return throttles; - } - - public void SendBlueBoxMessage(UUID FromAvatarID, string FromAvatarName, string Message) - { - SendChatMessage(Message, 0, Vector3.Zero, FromAvatarName, UUID.Zero, 0, 0); - } - - public void SendLogoutPacket() - { - LeaveRequestMessage lrm = new LeaveRequestMessage(); - Session.Send(lrm); - } - - public EndPoint GetClientEP() - { - return null; - } - - public ClientInfo GetClientInfo() - { - return null; - //throw new System.NotImplementedException(); - } - - public void SetClientInfo(ClientInfo info) - { - //throw new System.NotImplementedException(); - } - - public void SetClientOption(string option, string value) - { - // Need to translate to MXP somehow - } - - public string GetClientOption(string option) - { - // Need to translate to MXP somehow - return ""; - } - - public void Terminate() - { - Close(); - } - - public void SendSetFollowCamProperties(UUID objectID, SortedDictionary parameters) - { - // Need to translate to MXP somehow - } - - public void SendClearFollowCamProperties(UUID objectID) - { - // Need to translate to MXP somehow - } - - public void SendRegionHandle(UUID regoinID, ulong handle) - { - // Need to translate to MXP somehow - } - - public void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y) - { - // Need to translate to MXP somehow - } - - public void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt) - { - // Need to translate to MXP somehow - } - - public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendDirLandReply(UUID queryID, DirLandReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data) - { - // Need to translate to MXP somehow - } - - public void SendEventInfoReply(EventData info) - { - // Need to translate to MXP somehow - } - - public void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags) - { - // Need to translate to MXP somehow - } - - public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data) - { - // Need to translate to MXP somehow - } - - public void SendOfferCallingCard(UUID srcID, UUID transactionID) - { - // Need to translate to MXP somehow - } - - public void SendAcceptCallingCard(UUID transactionID) - { - // Need to translate to MXP somehow - } - - public void SendDeclineCallingCard(UUID transactionID) - { - // Need to translate to MXP somehow - } - - public void SendTerminateFriend(UUID exFriendID) - { - // Need to translate to MXP somehow - } - - public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name) - { - // Need to translate to MXP somehow - } - - public void SendClassifiedInfoReply(UUID classifiedID, UUID creatorID, uint creationDate, uint expirationDate, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, string simName, Vector3 globalPos, string parcelName, byte classifiedFlags, int price) - { - // Need to translate to MXP somehow - } - - public void SendAgentDropGroup(UUID groupID) - { - // Need to translate to MXP somehow - } - - public void SendAvatarNotesReply(UUID targetID, string text) - { - // Need to translate to MXP somehow - } - - public void SendAvatarPicksReply(UUID targetID, Dictionary picks) - { - // Need to translate to MXP somehow - } - - public void SendAvatarClassifiedReply(UUID targetID, Dictionary classifieds) - { - // Need to translate to MXP somehow - } - - public void SendParcelDwellReply(int localID, UUID parcelID, float dwell) - { - // Need to translate to MXP somehow - } - - public void SendUserInfoReply(bool imViaEmail, bool visible, string email) - { - // Need to translate to MXP somehow - } - - public void KillEndDone() - { - Stop(); - } - - public bool AddGenericPacketHandler(string MethodName, GenericMessage handler) - { - // Need to translate to MXP somehow - return true; - } - - #endregion - - #region IClientCore - - public bool TryGet(out T iface) - { - iface = default(T); - return false; - } - - public T Get() - { - return default(T); - } - - public void Disconnect(string reason) - { - Kick(reason); - Close(); - } - - public void Disconnect() - { - Close(); - } - - #endregion - - public void SendCreateGroupReply(UUID groupID, bool success, string message) - { - } - - public void RefreshGroupMembership() - { - } - - public void SendUseCachedMuteList() - { - } - - public void SendMuteListUpdate(string filename) - { - } - - public void SendPickInfoReply(UUID pickID,UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled) - { - } - - public void SendRebakeAvatarTextures(UUID textureID) - { - } - - public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) - { - } - - public void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt) - { - } - - public void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier) - { - } - - public void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt) - { - } - - public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes) - { - } - - public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) - { - } - - public void SendChangeUserRights(UUID agentID, UUID friendID, int rights) - { - } - - public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId) - { - } - - public void StopFlying(ISceneEntity presence) - { - } - - public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) - { - } - } -} diff --git a/OpenSim/Client/MXP/MXPModule.cs b/OpenSim/Client/MXP/MXPModule.cs deleted file mode 100644 index 0b442cca15..0000000000 --- a/OpenSim/Client/MXP/MXPModule.cs +++ /dev/null @@ -1,131 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSimulator Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Reflection; -using System.Text; -using System.Timers; -using log4net; -using MXP; -using Nini.Config; -using OpenMetaverse; -using OpenSim.Client.MXP.PacketHandler; -using OpenSim.Region.Framework.Interfaces; -using OpenSim.Region.Framework.Scenes; - -namespace OpenSim.Client.MXP -{ - - /** - * MXP Client Module which adds MXP support to client / region communication. - */ - public class MXPModule : IRegionModule - { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - - private MXPPacketServer m_server; - - private IConfigSource m_config; - private int m_port = 1253; - private Timer m_ticker; - - private readonly Dictionary m_scenes = new Dictionary(); - private bool m_shutdown; - - public void Initialise(Scene scene, IConfigSource source) - { - if (!m_scenes.ContainsKey(scene.RegionInfo.RegionID)) - m_scenes.Add(scene.RegionInfo.RegionID, scene); - - m_config = source; - } - - public void PostInitialise() - { - if (m_config.Configs["MXP"] != null) - { - IConfig con = m_config.Configs["MXP"]; - - if (!con.GetBoolean("Enabled", false)) - return; - - m_port = con.GetInt("Port", m_port); - - m_server = new MXPPacketServer(m_port, m_scenes,m_config.Configs["StandAlone"].GetBoolean("accounts_authenticate",true)); - - m_ticker = new Timer(100); - m_ticker.AutoReset = false; - m_ticker.Elapsed += ticker_Elapsed; - - lock (m_ticker) - m_ticker.Start(); - - m_log.Info("[MXP ClientStack] MXP Enabled and Listening"); - } - } - - void ticker_Elapsed(object sender, ElapsedEventArgs e) - { - try - { - m_server.Process(); - } - catch (Exception ex) - { - m_log.Error("[MXP ClientStack]: Unhandled exception in process loop: " + ex.ToString() + " :" + ex.StackTrace.ToString()); - } - - if (!m_shutdown) - { - lock (m_ticker) - m_ticker.Start(); - } - } - - public void Close() - { - m_shutdown = true; - if (m_ticker != null) - { - lock (m_ticker) - m_ticker.Stop(); - } - } - - public string Name - { - get { return "MXP ClientStack Module"; } - } - - public bool IsSharedModule - { - get { return true; } - } - - } -} diff --git a/OpenSim/Client/MXP/MXPUtil.cs b/OpenSim/Client/MXP/MXPUtil.cs deleted file mode 100644 index 3387145c22..0000000000 --- a/OpenSim/Client/MXP/MXPUtil.cs +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSimulator Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Text; -using OpenMetaverse; - -namespace OpenSim.Client.MXP -{ - public static class MXPUtil - { - public static string GenerateMXPURL(string server, int port, UUID bubbleID, Vector3 location) - { - return string.Format("mxp://{0}:{1}/{2}/{3}", server, port, bubbleID.Guid, location); - } - } -} diff --git a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs b/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs deleted file mode 100644 index dcecb8b384..0000000000 --- a/OpenSim/Client/MXP/PacketHandler/MXPPacketServer.cs +++ /dev/null @@ -1,561 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSimulator Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -/* This file borrows heavily from MXPServer.cs - the reference MXPServer - * See http://www.bubblecloud.org for a copy of the original file and - * implementation details. */ - -using System; -using System.Collections.Generic; -using System.Reflection; -using System.Threading; -using log4net; -using MXP; -using MXP.Messages; -using OpenMetaverse; -using OpenSim.Client.MXP.ClientStack; -using OpenSim.Framework; -using OpenSim.Region.Framework.Scenes; -using OpenSim.Framework.Communications; -using OpenSim.Services.Interfaces; -using System.Security.Cryptography; - -namespace OpenSim.Client.MXP.PacketHandler -{ - public class MXPPacketServer - { - internal static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - - #region Fields - - private readonly List m_clients = new List(); - private readonly Dictionary m_scenes; - private readonly Transmitter m_transmitter; - -// private readonly Thread m_clientThread; - - private readonly IList m_sessions = new List(); - private readonly IList m_sessionsToClient = new List(); - private readonly IList m_sessionsToRemove = new List(); - - private readonly int m_port; -// private readonly bool m_accountsAuthenticate; - - private readonly String m_programName; - private readonly byte m_programMajorVersion; - private readonly byte m_programMinorVersion; - - #endregion - - #region Constructors - - public MXPPacketServer(int port, Dictionary scenes, bool accountsAuthenticate) - { - m_port = port; -// m_accountsAuthenticate = accountsAuthenticate; - - m_scenes = scenes; - - m_programMinorVersion = 63; - m_programMajorVersion = 0; - m_programName = "OpenSimulator"; - - m_transmitter = new Transmitter(port); - - StartListener(); - } - - public void StartListener() - { - m_log.Info("[MXP ClientStack] Transmitter starting on UDP server port: " + m_port); - m_transmitter.Startup(); - m_log.Info("[MXP ClientStack] Transmitter started. MXP version: "+MxpConstants.ProtocolMajorVersion+"."+MxpConstants.ProtocolMinorVersion+" Source Revision: "+MxpConstants.ProtocolSourceRevision); - } - - #endregion - - #region Properties - - /// - /// Number of sessions pending. (Process() accepts pending sessions). - /// - public int PendingSessionCount - { - get - { - return m_transmitter.PendingSessionCount; - } - } - /// - /// Number of connected sessions. - /// - public int SessionCount - { - get - { - return m_sessions.Count; - } - } - /// - /// Property reflecting whether client transmitter threads are alive. - /// - public bool IsTransmitterAlive - { - get - { - return m_transmitter != null && m_transmitter.IsAlive; - } - } - /// - /// Number of packets sent. - /// - public ulong PacketsSent - { - get - { - return m_transmitter != null ? m_transmitter.PacketsSent : 0; - } - } - /// - /// Number of packets received. - /// - public ulong PacketsReceived - { - get - { - return m_transmitter != null ? m_transmitter.PacketsReceived : 0; - } - } - /// - /// Bytes client has received so far. - /// - public ulong BytesReceived - { - get - { - return m_transmitter != null ? m_transmitter.BytesReceived : 0; - } - } - /// - /// Bytes client has sent so far. - /// - public ulong BytesSent - { - get - { - return m_transmitter != null ? m_transmitter.BytesSent : 0; - } - } - /// - /// Number of bytes received (bytes per second) during past second. - /// - public double ReceiveRate - { - get - { - return m_transmitter != null ? m_transmitter.ReceiveRate : 0; - } - } - /// - /// Number of bytes sent (bytes per second) during past second. - /// - public double SendRate - { - get - { - return m_transmitter != null ? m_transmitter.SendRate : 0; - } - } - - #endregion - - #region Session Management - - public void Disconnect(Session session) - { - if (session.IsConnected) - { - Message message = MessageFactory.Current.ReserveMessage(typeof(LeaveRequestMessage)); - session.Send(message); - MessageFactory.Current.ReleaseMessage(message); - } - else - { - throw new Exception("Not connected."); - } - } - - #endregion - - #region Processing - - public void Process() - { - ProcessMessages(); - Clean(); - } - - public void Clean() - { - foreach (MXPClientView clientView in m_clients) - { - if (clientView.Session.SessionState == SessionState.Disconnected) - { - m_sessionsToRemove.Add(clientView); - } - } - - foreach (MXPClientView clientView in m_sessionsToRemove) - { - clientView.Scene.RemoveClient(clientView.AgentId); - clientView.OnClean(); - m_clients.Remove(clientView); - m_sessions.Remove(clientView.Session); - } - - m_sessionsToRemove.Clear(); - } - - public void ProcessMessages() - { - if (m_transmitter.PendingSessionCount > 0) - { - Session tmp = m_transmitter.AcceptPendingSession(); - m_sessions.Add(tmp); - m_sessionsToClient.Add(tmp); - - } - - List tmpRemove = new List(); - - foreach (Session session in m_sessionsToClient) - { - while (session.AvailableMessages > 0) - { - Message message = session.Receive(); - - if (message.GetType() == typeof (JoinRequestMessage)) - { - - JoinRequestMessage joinRequestMessage = (JoinRequestMessage) message; - - m_log.Info("[MXP ClientStack]: Session join request: " + session.SessionId + " (" + - (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + - session.RemoteEndPoint.Port + ")"); - - try - { - - if (joinRequestMessage.BubbleId == Guid.Empty) - { - foreach (Scene scene in m_scenes.Values) - { - if (scene.RegionInfo.RegionName == joinRequestMessage.BubbleName) - { - m_log.Info("[MXP ClientStack]: Resolved region by name: " + joinRequestMessage.BubbleName + " (" + scene.RegionInfo.RegionID + ")"); - joinRequestMessage.BubbleId = scene.RegionInfo.RegionID.Guid; - } - } - } - - if (joinRequestMessage.BubbleId == Guid.Empty) - { - m_log.Warn("[MXP ClientStack]: Failed to resolve region by name: " + joinRequestMessage.BubbleName); - } - - UUID sceneId = new UUID(joinRequestMessage.BubbleId); - - bool regionExists = true; - if (!m_scenes.ContainsKey(sceneId)) - { - m_log.Info("[MXP ClientStack]: No such region: " + sceneId); - regionExists = false; - } - - UUID userId = UUID.Zero; - UserAccount account = null; - bool authorized = regionExists ? AuthoriseUser(joinRequestMessage.ParticipantName, - joinRequestMessage.ParticipantPassphrase, - new UUID(joinRequestMessage.BubbleId), out account) - : false; - - if (authorized) - { - Scene scene = m_scenes[sceneId]; - UUID mxpSessionID = UUID.Random(); - - string reason; - - m_log.Debug("[MXP ClientStack]: Session join request success: " + session.SessionId + " (" + - (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + - session.RemoteEndPoint.Port + ")"); - - m_log.Debug("[MXP ClientStack]: Attaching UserAgent to UserProfile..."); - UUID secureSession = UUID.Zero; - AttachUserAgentToUserProfile(account, session, mxpSessionID, sceneId, out secureSession); - m_log.Debug("[MXP ClientStack]: Attached UserAgent to UserProfile."); - m_log.Debug("[MXP ClientStack]: Preparing Scene to Connection..."); - if (!PrepareSceneForConnection(mxpSessionID, secureSession, sceneId, account, out reason)) - { - m_log.DebugFormat("[MXP ClientStack]: Scene refused connection: {0}", reason); - DeclineConnection(session, joinRequestMessage); - tmpRemove.Add(session); - continue; - } - m_log.Debug("[MXP ClientStack]: Prepared Scene to Connection."); - m_log.Debug("[MXP ClientStack]: Accepting connection..."); - AcceptConnection(session, joinRequestMessage, mxpSessionID, userId); - m_log.Info("[MXP ClientStack]: Accepted connection."); - - m_log.Debug("[MXP ClientStack]: Creating ClientView...."); - MXPClientView client = new MXPClientView(session, mxpSessionID, userId, scene, account.FirstName, account.LastName); - m_clients.Add(client); - m_log.Debug("[MXP ClientStack]: Created ClientView."); - - client.MXPSendSynchronizationBegin(m_scenes[new UUID(joinRequestMessage.BubbleId)].SceneContents.GetTotalObjectsCount()); - - m_log.Debug("[MXP ClientStack]: Starting ClientView..."); - try - { - client.Start(); - m_log.Debug("[MXP ClientStack]: Started ClientView."); - } - catch (Exception e) - { - m_log.Error(e); - } - - m_log.Debug("[MXP ClientStack]: Connected"); - } - else - { - m_log.Info("[MXP ClientStack]: Session join request failure: " + session.SessionId + " (" + - (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + - session.RemoteEndPoint.Port + ")"); - - DeclineConnection(session, joinRequestMessage); - } - } - catch (Exception e) - { - m_log.Error("[MXP ClientStack]: Session join request failure: " + session.SessionId + " (" + - (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + - session.RemoteEndPoint.Port + "): "+e.ToString()+" :"+e.StackTrace.ToString()); - } - tmpRemove.Add(session); - } - } - } - - foreach (Session session in tmpRemove) - { - m_sessionsToClient.Remove(session); - } - - foreach (MXPClientView clientView in m_clients) - { - int messagesProcessedCount = 0; - Session session = clientView.Session; - - while (session.AvailableMessages > 0) - { - Message message = session.Receive(); - - if (message.GetType() == typeof(LeaveRequestMessage)) - { - LeaveResponseMessage leaveResponseMessage = (LeaveResponseMessage)MessageFactory.Current.ReserveMessage( - typeof(LeaveResponseMessage)); - - m_log.Debug("[MXP ClientStack]: Session leave request: " + session.SessionId + " (" + (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + session.RemoteEndPoint.Port + ")"); - - leaveResponseMessage.RequestMessageId = message.MessageId; - leaveResponseMessage.FailureCode = 0; - session.Send(leaveResponseMessage); - - if (session.SessionState != SessionState.Disconnected) - { - session.SetStateDisconnected(); - } - - m_log.Debug("[MXP ClientStack]: Removing Client from Scene"); - //clientView.Scene.RemoveClient(clientView.AgentId); - } - if (message.GetType() == typeof(LeaveResponseMessage)) - { - LeaveResponseMessage leaveResponseMessage = (LeaveResponseMessage)message; - - m_log.Debug("[MXP ClientStack]: Session leave response: " + session.SessionId + " (" + (session.IsIncoming ? "from" : "to") + " " + session.RemoteEndPoint.Address + ":" + session.RemoteEndPoint.Port + ")"); - - if (leaveResponseMessage.FailureCode == 0) - { - session.SetStateDisconnected(); - } - - m_log.Debug("[MXP ClientStack]: Removing Client from Scene"); - //clientView.Scene.RemoveClient(clientView.AgentId); - } - else - { - clientView.MXPPRocessMessage(message); - } - - MessageFactory.Current.ReleaseMessage(message); - messagesProcessedCount++; - if (messagesProcessedCount > 1000) - { - break; - } - } - } - } - - private void AcceptConnection(Session session, JoinRequestMessage joinRequestMessage, UUID mxpSessionID, UUID userId) - { - JoinResponseMessage joinResponseMessage = (JoinResponseMessage)MessageFactory.Current.ReserveMessage( - typeof(JoinResponseMessage)); - - joinResponseMessage.RequestMessageId = joinRequestMessage.MessageId; - joinResponseMessage.FailureCode = MxpResponseCodes.SUCCESS; - - joinResponseMessage.BubbleId = joinRequestMessage.BubbleId; - joinResponseMessage.ParticipantId = userId.Guid; - joinResponseMessage.AvatarId = userId.Guid; - joinResponseMessage.BubbleAssetCacheUrl = "http://" + - NetworkUtil.GetHostFor(session.RemoteEndPoint.Address, - m_scenes[ - new UUID(joinRequestMessage.BubbleId)]. - RegionInfo. - ExternalHostName) + ":" + - m_scenes[new UUID(joinRequestMessage.BubbleId)].RegionInfo. - HttpPort + "/assets/"; - - joinResponseMessage.BubbleName = m_scenes[new UUID(joinRequestMessage.BubbleId)].RegionInfo.RegionName; - - joinResponseMessage.BubbleRange = 128; - joinResponseMessage.BubblePerceptionRange = 128 + 256; - joinResponseMessage.BubbleRealTime = 0; - joinResponseMessage.ProgramName = m_programName; - joinResponseMessage.ProgramMajorVersion = m_programMajorVersion; - joinResponseMessage.ProgramMinorVersion = m_programMinorVersion; - joinResponseMessage.ProtocolMajorVersion = MxpConstants.ProtocolMajorVersion; - joinResponseMessage.ProtocolMinorVersion = MxpConstants.ProtocolMinorVersion; - joinResponseMessage.ProtocolSourceRevision = MxpConstants.ProtocolSourceRevision; - - session.Send(joinResponseMessage); - - session.SetStateConnected(); - } - - private void DeclineConnection(Session session, Message joinRequestMessage) - { - JoinResponseMessage joinResponseMessage = (JoinResponseMessage)MessageFactory.Current.ReserveMessage(typeof(JoinResponseMessage)); - - joinResponseMessage.RequestMessageId = joinRequestMessage.MessageId; - joinResponseMessage.FailureCode = MxpResponseCodes.UNAUTHORIZED_OPERATION; - - joinResponseMessage.ProgramName = m_programName; - joinResponseMessage.ProgramMajorVersion = m_programMajorVersion; - joinResponseMessage.ProgramMinorVersion = m_programMinorVersion; - joinResponseMessage.ProtocolMajorVersion = MxpConstants.ProtocolMajorVersion; - joinResponseMessage.ProtocolMinorVersion = MxpConstants.ProtocolMinorVersion; - joinResponseMessage.ProtocolSourceRevision = MxpConstants.ProtocolSourceRevision; - - session.Send(joinResponseMessage); - - session.SetStateDisconnected(); - } - - public bool AuthoriseUser(string participantName, string password, UUID sceneId, out UserAccount account) - { - string firstName = ""; - string lastName = ""; - account = null; - - string[] nameParts = participantName.Split(' '); - if (nameParts.Length != 2) - { - m_log.Error("[MXP ClientStack]: Login failed as user name is not formed of first and last name separated by space: " + participantName); - return false; - } - firstName = nameParts[0]; - lastName = nameParts[1]; - - account = m_scenes[sceneId].UserAccountService.GetUserAccount(m_scenes[sceneId].RegionInfo.ScopeID, firstName, lastName); - if (account != null) - return (m_scenes[sceneId].AuthenticationService.Authenticate(account.PrincipalID, password, 1) != string.Empty); - - return false; - } - - private void AttachUserAgentToUserProfile(UserAccount account, Session session, UUID sessionId, UUID sceneId, out UUID secureSessionId) - { - secureSessionId = UUID.Random(); - Scene scene = m_scenes[sceneId]; - scene.PresenceService.LoginAgent(account.PrincipalID.ToString(), sessionId, secureSessionId); - } - - private bool PrepareSceneForConnection(UUID sessionId, UUID secureSessionId, UUID sceneId, UserAccount account, out string reason) - { - Scene scene = m_scenes[sceneId]; - - AgentCircuitData agent = new AgentCircuitData(); - agent.AgentID = account.PrincipalID; - agent.firstname = account.FirstName; - agent.lastname = account.LastName; - agent.SessionID = sessionId; - agent.SecureSessionID = secureSessionId; - agent.circuitcode = sessionId.CRC(); - agent.BaseFolder = UUID.Zero; - agent.InventoryFolder = UUID.Zero; - agent.startpos = new Vector3(0, 0, 0); // TODO Fill in region start position - agent.CapsPath = "http://localhost/"; - agent.Appearance = scene.AvatarService.GetAppearance(account.PrincipalID); - - if (agent.Appearance == null) - { - m_log.WarnFormat("[INTER]: Appearance not found for {0} {1}. Creating default.", agent.firstname, agent.lastname); - agent.Appearance = new AvatarAppearance(); - } - - return scene.NewUserConnection(agent, 0, out reason); - } - - public void PrintDebugInformation() - { - m_log.Info("[MXP ClientStack]: Statistics report"); - m_log.Info("Pending Sessions: " + PendingSessionCount); - m_log.Info("Sessions: " + SessionCount + " (Clients: " + m_clients.Count + " )"); - m_log.Info("Transmitter Alive?: " + IsTransmitterAlive); - m_log.Info("Packets Sent/Received: " + PacketsSent + " / " + PacketsReceived); - m_log.Info("Bytes Sent/Received: " + BytesSent + " / " + BytesReceived); - m_log.Info("Send/Receive Rate (bps): " + SendRate + " / " + ReceiveRate); - } - - #endregion - - } -} diff --git a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs b/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs deleted file mode 100644 index d8cd0acbd9..0000000000 --- a/OpenSim/Client/VWoHTTP/ClientStack/VWHClientView.cs +++ /dev/null @@ -1,1231 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSimulator Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Drawing; -using System.Drawing.Imaging; -using System.IO; -using System.Net; -using System.Text; -using OpenMetaverse; -using OpenMetaverse.Imaging; -using OpenMetaverse.Packets; -using OpenSim.Framework; -using OpenSim.Framework.Servers; -using OpenSim.Framework.Servers.HttpServer; -using OpenSim.Region.Framework.Scenes; - -namespace OpenSim.Client.VWoHTTP.ClientStack -{ - class VWHClientView : IClientAPI - { - private Scene m_scene; - - - public bool ProcessInMsg(OSHttpRequest req, OSHttpResponse resp) - { - // 0 1 2 3 - // http://simulator.com:9000/vwohttp/sessionid/methodname/param - string[] urlparts = req.Url.AbsolutePath.Split(new char[] {'/'}, StringSplitOptions.RemoveEmptyEntries); - - UUID sessionID; - // Check for session - if (!UUID.TryParse(urlparts[1], out sessionID)) - return false; - // Check we match session - if (sessionID != SessionId) - return false; - - string method = urlparts[2]; - - string param = String.Empty; - if (urlparts.Length > 3) - param = urlparts[3]; - - bool found; - - switch (method.ToLower()) - { - case "textures": - found = ProcessTextureRequest(param, resp); - break; - default: - found = false; - break; - } - - return found; - } - - private bool ProcessTextureRequest(string param, OSHttpResponse resp) - { - UUID assetID; - if (!UUID.TryParse(param, out assetID)) - return false; - - AssetBase asset = m_scene.AssetService.Get(assetID.ToString()); - - if (asset == null) - return false; - - ManagedImage tmp; - Image imgData; - byte[] jpegdata; - - OpenJPEG.DecodeToImage(asset.Data, out tmp, out imgData); - - using (MemoryStream ms = new MemoryStream()) - { - imgData.Save(ms, ImageFormat.Jpeg); - jpegdata = ms.GetBuffer(); - } - - resp.ContentType = "image/jpeg"; - resp.ContentLength = jpegdata.Length; - resp.StatusCode = 200; - resp.Body.Write(jpegdata, 0, jpegdata.Length); - - return true; - } - - public VWHClientView(UUID sessionID, UUID agentID, string agentName, Scene scene) - { - m_scene = scene; - } - - #region Implementation of IClientAPI - - public Vector3 StartPos - { - get { throw new System.NotImplementedException(); } - set { throw new System.NotImplementedException(); } - } - - public UUID AgentId - { - get { throw new System.NotImplementedException(); } - } - - public UUID SessionId - { - get { throw new System.NotImplementedException(); } - } - - public UUID SecureSessionId - { - get { throw new System.NotImplementedException(); } - } - - public UUID ActiveGroupId - { - get { throw new System.NotImplementedException(); } - } - - public string ActiveGroupName - { - get { throw new System.NotImplementedException(); } - } - - public ulong ActiveGroupPowers - { - get { throw new System.NotImplementedException(); } - } - - public ulong GetGroupPowers(UUID groupID) - { - throw new System.NotImplementedException(); - } - - public bool IsGroupMember(UUID GroupID) - { - throw new System.NotImplementedException(); - } - - public string FirstName - { - get { throw new System.NotImplementedException(); } - } - - public string LastName - { - get { throw new System.NotImplementedException(); } - } - - public IScene Scene - { - get { throw new System.NotImplementedException(); } - } - - public int NextAnimationSequenceNumber - { - get { throw new System.NotImplementedException(); } - } - - public string Name - { - get { throw new System.NotImplementedException(); } - } - - public bool IsActive - { - get { throw new System.NotImplementedException(); } - set { throw new System.NotImplementedException(); } - } - public bool IsLoggingOut - { - get { throw new System.NotImplementedException(); } - set { throw new System.NotImplementedException(); } - } - public bool SendLogoutPacketWhenClosing - { - set { throw new System.NotImplementedException(); } - } - - public uint CircuitCode - { - get { throw new System.NotImplementedException(); } - } - - public IPEndPoint RemoteEndPoint - { - get { throw new System.NotImplementedException(); } - } - - public event GenericMessage OnGenericMessage = delegate { }; - public event ImprovedInstantMessage OnInstantMessage = delegate { }; - public event ChatMessage OnChatFromClient = delegate { }; - public event TextureRequest OnRequestTexture = delegate { }; - public event RezObject OnRezObject = delegate { }; - public event ModifyTerrain OnModifyTerrain = delegate { }; - public event BakeTerrain OnBakeTerrain = delegate { }; - public event EstateChangeInfo OnEstateChangeInfo = delegate { }; - public event SetAppearance OnSetAppearance = delegate { }; - public event AvatarNowWearing OnAvatarNowWearing = delegate { }; - public event RezSingleAttachmentFromInv OnRezSingleAttachmentFromInv = delegate { return new UUID(); }; - public event RezMultipleAttachmentsFromInv OnRezMultipleAttachmentsFromInv = delegate { }; - public event UUIDNameRequest OnDetachAttachmentIntoInv = delegate { }; - public event ObjectAttach OnObjectAttach = delegate { }; - public event ObjectDeselect OnObjectDetach = delegate { }; - public event ObjectDrop OnObjectDrop = delegate { }; - public event StartAnim OnStartAnim = delegate { }; - public event StopAnim OnStopAnim = delegate { }; - public event LinkObjects OnLinkObjects = delegate { }; - public event DelinkObjects OnDelinkObjects = delegate { }; - public event RequestMapBlocks OnRequestMapBlocks = delegate { }; - public event RequestMapName OnMapNameRequest = delegate { }; - public event TeleportLocationRequest OnTeleportLocationRequest = delegate { }; - public event DisconnectUser OnDisconnectUser = delegate { }; - public event RequestAvatarProperties OnRequestAvatarProperties = delegate { }; - public event SetAlwaysRun OnSetAlwaysRun = delegate { }; - public event TeleportLandmarkRequest OnTeleportLandmarkRequest = delegate { }; - public event DeRezObject OnDeRezObject = delegate { }; - public event Action OnRegionHandShakeReply = delegate { }; - public event GenericCall1 OnRequestWearables = delegate { }; - public event GenericCall1 OnCompleteMovementToRegion = delegate { }; - public event UpdateAgent OnPreAgentUpdate; - public event UpdateAgent OnAgentUpdate = delegate { }; - public event AgentRequestSit OnAgentRequestSit = delegate { }; - public event AgentSit OnAgentSit = delegate { }; - public event AvatarPickerRequest OnAvatarPickerRequest = delegate { }; - public event Action OnRequestAvatarsData = delegate { }; - public event AddNewPrim OnAddPrim = delegate { }; - public event FetchInventory OnAgentDataUpdateRequest = delegate { }; - public event TeleportLocationRequest OnSetStartLocationRequest = delegate { }; - public event RequestGodlikePowers OnRequestGodlikePowers = delegate { }; - public event GodKickUser OnGodKickUser = delegate { }; - public event ObjectDuplicate OnObjectDuplicate = delegate { }; - public event ObjectDuplicateOnRay OnObjectDuplicateOnRay = delegate { }; - public event GrabObject OnGrabObject = delegate { }; - public event DeGrabObject OnDeGrabObject = delegate { }; - public event MoveObject OnGrabUpdate = delegate { }; - public event SpinStart OnSpinStart = delegate { }; - public event SpinObject OnSpinUpdate = delegate { }; - public event SpinStop OnSpinStop = delegate { }; - public event UpdateShape OnUpdatePrimShape = delegate { }; - public event ObjectExtraParams OnUpdateExtraParams = delegate { }; - public event ObjectRequest OnObjectRequest = delegate { }; - public event ObjectSelect OnObjectSelect = delegate { }; - public event ObjectDeselect OnObjectDeselect = delegate { }; - public event GenericCall7 OnObjectDescription = delegate { }; - public event GenericCall7 OnObjectName = delegate { }; - public event GenericCall7 OnObjectClickAction = delegate { }; - public event GenericCall7 OnObjectMaterial = delegate { }; - public event RequestObjectPropertiesFamily OnRequestObjectPropertiesFamily = delegate { }; - public event UpdatePrimFlags OnUpdatePrimFlags = delegate { }; - public event UpdatePrimTexture OnUpdatePrimTexture = delegate { }; - public event UpdateVector OnUpdatePrimGroupPosition = delegate { }; - public event UpdateVector OnUpdatePrimSinglePosition = delegate { }; - public event UpdatePrimRotation OnUpdatePrimGroupRotation = delegate { }; - public event UpdatePrimSingleRotation OnUpdatePrimSingleRotation = delegate { }; - public event UpdatePrimSingleRotationPosition OnUpdatePrimSingleRotationPosition = delegate { }; - public event UpdatePrimGroupRotation OnUpdatePrimGroupMouseRotation = delegate { }; - public event UpdateVector OnUpdatePrimScale = delegate { }; - public event UpdateVector OnUpdatePrimGroupScale = delegate { }; - public event StatusChange OnChildAgentStatus = delegate { }; - public event GenericCall2 OnStopMovement = delegate { }; - public event Action OnRemoveAvatar = delegate { }; - public event ObjectPermissions OnObjectPermissions = delegate { }; - public event CreateNewInventoryItem OnCreateNewInventoryItem = delegate { }; - public event LinkInventoryItem OnLinkInventoryItem = delegate { }; - public event CreateInventoryFolder OnCreateNewInventoryFolder = delegate { }; - public event UpdateInventoryFolder OnUpdateInventoryFolder = delegate { }; - public event MoveInventoryFolder OnMoveInventoryFolder = delegate { }; - public event FetchInventoryDescendents OnFetchInventoryDescendents = delegate { }; - public event PurgeInventoryDescendents OnPurgeInventoryDescendents = delegate { }; - public event FetchInventory OnFetchInventory = delegate { }; - public event RequestTaskInventory OnRequestTaskInventory = delegate { }; - public event UpdateInventoryItem OnUpdateInventoryItem = delegate { }; - public event CopyInventoryItem OnCopyInventoryItem = delegate { }; - public event MoveInventoryItem OnMoveInventoryItem = delegate { }; - public event RemoveInventoryFolder OnRemoveInventoryFolder = delegate { }; - public event RemoveInventoryItem OnRemoveInventoryItem = delegate { }; - public event UDPAssetUploadRequest OnAssetUploadRequest = delegate { }; - public event XferReceive OnXferReceive = delegate { }; - public event RequestXfer OnRequestXfer = delegate { }; - public event ConfirmXfer OnConfirmXfer = delegate { }; - public event AbortXfer OnAbortXfer = delegate { }; - public event RezScript OnRezScript = delegate { }; - public event UpdateTaskInventory OnUpdateTaskInventory = delegate { }; - public event MoveTaskInventory OnMoveTaskItem = delegate { }; - public event RemoveTaskInventory OnRemoveTaskItem = delegate { }; - public event RequestAsset OnRequestAsset = delegate { }; - public event UUIDNameRequest OnNameFromUUIDRequest = delegate { }; - public event ParcelAccessListRequest OnParcelAccessListRequest = delegate { }; - public event ParcelAccessListUpdateRequest OnParcelAccessListUpdateRequest = delegate { }; - public event ParcelPropertiesRequest OnParcelPropertiesRequest = delegate { }; - public event ParcelDivideRequest OnParcelDivideRequest = delegate { }; - public event ParcelJoinRequest OnParcelJoinRequest = delegate { }; - public event ParcelPropertiesUpdateRequest OnParcelPropertiesUpdateRequest = delegate { }; - public event ParcelSelectObjects OnParcelSelectObjects = delegate { }; - public event ParcelObjectOwnerRequest OnParcelObjectOwnerRequest = delegate { }; - public event ParcelAbandonRequest OnParcelAbandonRequest = delegate { }; - public event ParcelGodForceOwner OnParcelGodForceOwner = delegate { }; - public event ParcelReclaim OnParcelReclaim = delegate { }; - public event ParcelReturnObjectsRequest OnParcelReturnObjectsRequest = delegate { }; - public event ParcelDeedToGroup OnParcelDeedToGroup = delegate { }; - public event RegionInfoRequest OnRegionInfoRequest = delegate { }; - public event EstateCovenantRequest OnEstateCovenantRequest = delegate { }; - public event FriendActionDelegate OnApproveFriendRequest = delegate { }; - public event FriendActionDelegate OnDenyFriendRequest = delegate { }; - public event FriendshipTermination OnTerminateFriendship = delegate { }; - public event GrantUserFriendRights OnGrantUserRights = delegate { }; - public event MoneyTransferRequest OnMoneyTransferRequest = delegate { }; - public event EconomyDataRequest OnEconomyDataRequest = delegate { }; - public event MoneyBalanceRequest OnMoneyBalanceRequest = delegate { }; - public event UpdateAvatarProperties OnUpdateAvatarProperties = delegate { }; - public event ParcelBuy OnParcelBuy = delegate { }; - public event RequestPayPrice OnRequestPayPrice = delegate { }; - public event ObjectSaleInfo OnObjectSaleInfo = delegate { }; - public event ObjectBuy OnObjectBuy = delegate { }; - public event BuyObjectInventory OnBuyObjectInventory = delegate { }; - public event RequestTerrain OnRequestTerrain = delegate { }; - public event RequestTerrain OnUploadTerrain = delegate { }; - public event ObjectIncludeInSearch OnObjectIncludeInSearch = delegate { }; - public event UUIDNameRequest OnTeleportHomeRequest = delegate { }; - public event ScriptAnswer OnScriptAnswer = delegate { }; - public event AgentSit OnUndo = delegate { }; - public event AgentSit OnRedo = delegate { }; - public event LandUndo OnLandUndo = delegate { }; - public event ForceReleaseControls OnForceReleaseControls = delegate { }; - public event GodLandStatRequest OnLandStatRequest = delegate { }; - public event DetailedEstateDataRequest OnDetailedEstateDataRequest = delegate { }; - public event SetEstateFlagsRequest OnSetEstateFlagsRequest = delegate { }; - public event SetEstateTerrainBaseTexture OnSetEstateTerrainBaseTexture = delegate { }; - public event SetEstateTerrainDetailTexture OnSetEstateTerrainDetailTexture = delegate { }; - public event SetEstateTerrainTextureHeights OnSetEstateTerrainTextureHeights = delegate { }; - public event CommitEstateTerrainTextureRequest OnCommitEstateTerrainTextureRequest = delegate { }; - public event SetRegionTerrainSettings OnSetRegionTerrainSettings = delegate { }; - public event EstateRestartSimRequest OnEstateRestartSimRequest = delegate { }; - public event EstateChangeCovenantRequest OnEstateChangeCovenantRequest = delegate { }; - public event UpdateEstateAccessDeltaRequest OnUpdateEstateAccessDeltaRequest = delegate { }; - public event SimulatorBlueBoxMessageRequest OnSimulatorBlueBoxMessageRequest = delegate { }; - public event EstateBlueBoxMessageRequest OnEstateBlueBoxMessageRequest = delegate { }; - public event EstateDebugRegionRequest OnEstateDebugRegionRequest = delegate { }; - public event EstateTeleportOneUserHomeRequest OnEstateTeleportOneUserHomeRequest = delegate { }; - public event EstateTeleportAllUsersHomeRequest OnEstateTeleportAllUsersHomeRequest = delegate { }; - public event UUIDNameRequest OnUUIDGroupNameRequest = delegate { }; - public event RegionHandleRequest OnRegionHandleRequest = delegate { }; - public event ParcelInfoRequest OnParcelInfoRequest = delegate { }; - public event RequestObjectPropertiesFamily OnObjectGroupRequest = delegate { }; - public event ScriptReset OnScriptReset = delegate { }; - public event GetScriptRunning OnGetScriptRunning = delegate { }; - public event SetScriptRunning OnSetScriptRunning = delegate { }; - public event UpdateVector OnAutoPilotGo = delegate { }; - public event TerrainUnacked OnUnackedTerrain = delegate { }; - public event ActivateGesture OnActivateGesture = delegate { }; - public event DeactivateGesture OnDeactivateGesture = delegate { }; - public event ObjectOwner OnObjectOwner = delegate { }; - public event DirPlacesQuery OnDirPlacesQuery = delegate { }; - public event DirFindQuery OnDirFindQuery = delegate { }; - public event DirLandQuery OnDirLandQuery = delegate { }; - public event DirPopularQuery OnDirPopularQuery = delegate { }; - public event DirClassifiedQuery OnDirClassifiedQuery = delegate { }; - public event EventInfoRequest OnEventInfoRequest = delegate { }; - public event ParcelSetOtherCleanTime OnParcelSetOtherCleanTime = delegate { }; - public event MapItemRequest OnMapItemRequest = delegate { }; - public event OfferCallingCard OnOfferCallingCard = delegate { }; - public event AcceptCallingCard OnAcceptCallingCard = delegate { }; - public event DeclineCallingCard OnDeclineCallingCard = delegate { }; - public event SoundTrigger OnSoundTrigger = delegate { }; - public event StartLure OnStartLure = delegate { }; - public event TeleportLureRequest OnTeleportLureRequest = delegate { }; - public event NetworkStats OnNetworkStatsUpdate = delegate { }; - public event ClassifiedInfoRequest OnClassifiedInfoRequest = delegate { }; - public event ClassifiedInfoUpdate OnClassifiedInfoUpdate = delegate { }; - public event ClassifiedDelete OnClassifiedDelete = delegate { }; - public event ClassifiedDelete OnClassifiedGodDelete = delegate { }; - public event EventNotificationAddRequest OnEventNotificationAddRequest = delegate { }; - public event EventNotificationRemoveRequest OnEventNotificationRemoveRequest = delegate { }; - public event EventGodDelete OnEventGodDelete = delegate { }; - public event ParcelDwellRequest OnParcelDwellRequest = delegate { }; - public event UserInfoRequest OnUserInfoRequest = delegate { }; - public event UpdateUserInfo OnUpdateUserInfo = delegate { }; - public event RetrieveInstantMessages OnRetrieveInstantMessages = delegate { }; - public event PickDelete OnPickDelete = delegate { }; - public event PickGodDelete OnPickGodDelete = delegate { }; - public event PickInfoUpdate OnPickInfoUpdate = delegate { }; - public event AvatarNotesUpdate OnAvatarNotesUpdate = delegate { }; - public event MuteListRequest OnMuteListRequest = delegate { }; - public event AvatarInterestUpdate OnAvatarInterestUpdate = delegate { }; - public event PlacesQuery OnPlacesQuery = delegate { }; - public event FindAgentUpdate OnFindAgent = delegate { }; - public event TrackAgentUpdate OnTrackAgent = delegate { }; - public event NewUserReport OnUserReport = delegate { }; - public event SaveStateHandler OnSaveState = delegate { }; - public event GroupAccountSummaryRequest OnGroupAccountSummaryRequest = delegate { }; - public event GroupAccountDetailsRequest OnGroupAccountDetailsRequest = delegate { }; - public event GroupAccountTransactionsRequest OnGroupAccountTransactionsRequest = delegate { }; - public event FreezeUserUpdate OnParcelFreezeUser = delegate { }; - public event EjectUserUpdate OnParcelEjectUser = delegate { }; - public event ParcelBuyPass OnParcelBuyPass = delegate { }; - public event ParcelGodMark OnParcelGodMark = delegate { }; - public event GroupActiveProposalsRequest OnGroupActiveProposalsRequest = delegate { }; - public event GroupVoteHistoryRequest OnGroupVoteHistoryRequest = delegate { }; - public event SimWideDeletesDelegate OnSimWideDeletes = delegate { }; - public event SendPostcard OnSendPostcard = delegate { }; - public event MuteListEntryUpdate OnUpdateMuteListEntry = delegate { }; - public event MuteListEntryRemove OnRemoveMuteListEntry = delegate { }; - public event GodlikeMessage onGodlikeMessage = delegate { }; - public event GodUpdateRegionInfoUpdate OnGodUpdateRegionInfoUpdate = delegate { }; - - - - public void SetDebugPacketLevel(int newDebug) - { - throw new System.NotImplementedException(); - } - - public void InPacket(object NewPack) - { - throw new System.NotImplementedException(); - } - - public void ProcessInPacket(Packet NewPack) - { - throw new System.NotImplementedException(); - } - - public void Close() - { - throw new System.NotImplementedException(); - } - - public void Kick(string message) - { - throw new System.NotImplementedException(); - } - - public void Start() - { - throw new System.NotImplementedException(); - } - - public void Stop() - { - throw new System.NotImplementedException(); - } - - public void SendWearables(AvatarWearable[] wearables, int serial) - { - throw new System.NotImplementedException(); - } - - public void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry) - { - throw new System.NotImplementedException(); - } - - public void SendStartPingCheck(byte seq) - { - throw new System.NotImplementedException(); - } - - public void SendKillObject(ulong regionHandle, uint localID) - { - throw new System.NotImplementedException(); - } - - public void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs) - { - throw new System.NotImplementedException(); - } - - public void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) - { - throw new System.NotImplementedException(); - } - - public void SendChatMessage(string message, byte type, Vector3 fromPos, string fromName, UUID fromAgentID, byte source, byte audible) - { - throw new System.NotImplementedException(); - } - - public void SendInstantMessage(GridInstantMessage im) - { - throw new System.NotImplementedException(); - } - - public void SendGenericMessage(string method, List message) - { - } - - public void SendGenericMessage(string method, List message) - { - throw new System.NotImplementedException(); - } - - public void SendLayerData(float[] map) - { - throw new System.NotImplementedException(); - } - - public void SendLayerData(int px, int py, float[] map) - { - throw new System.NotImplementedException(); - } - - public void SendWindData(Vector2[] windSpeeds) - { - throw new System.NotImplementedException(); - } - - public void SendCloudData(float[] cloudCover) - { - throw new System.NotImplementedException(); - } - - public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) - { - throw new System.NotImplementedException(); - } - - public void InformClientOfNeighbour(ulong neighbourHandle, IPEndPoint neighbourExternalEndPoint) - { - throw new System.NotImplementedException(); - } - - public AgentCircuitData RequestClientInfo() - { - throw new System.NotImplementedException(); - } - - public void CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL) - { - throw new System.NotImplementedException(); - } - - public void SendMapBlock(List mapBlocks, uint flag) - { - throw new System.NotImplementedException(); - } - - public void SendLocalTeleport(Vector3 position, Vector3 lookAt, uint flags) - { - throw new System.NotImplementedException(); - } - - public void SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL) - { - throw new System.NotImplementedException(); - } - - public void SendTeleportFailed(string reason) - { - throw new System.NotImplementedException(); - } - - public void SendTeleportStart(uint flags) - { - throw new System.NotImplementedException(); - } - - public void SendTeleportProgress(uint flags, string message) - { - throw new System.NotImplementedException(); - } - - public void SendMoneyBalance(UUID transaction, bool success, byte[] description, int balance) - { - throw new System.NotImplementedException(); - } - - public void SendPayPrice(UUID objectID, int[] payPrice) - { - throw new System.NotImplementedException(); - } - - public void SendCoarseLocationUpdate(List users, List CoarseLocations) - { - throw new System.NotImplementedException(); - } - - public void SetChildAgentThrottle(byte[] throttle) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarDataImmediate(ISceneEntity avatar) - { - throw new System.NotImplementedException(); - } - - public void SendPrimUpdate(ISceneEntity entity, PrimUpdateFlags updateFlags) - { - throw new System.NotImplementedException(); - } - - public void ReprioritizeUpdates() - { - throw new System.NotImplementedException(); - } - - public void FlushPrimUpdates() - { - throw new System.NotImplementedException(); - } - - public void SendInventoryFolderDetails(UUID ownerID, UUID folderID, List items, List folders, int version, bool fetchFolders, bool fetchItems) - { - throw new System.NotImplementedException(); - } - - public void SendInventoryItemDetails(UUID ownerID, InventoryItemBase item) - { - throw new System.NotImplementedException(); - } - - public void SendInventoryItemCreateUpdate(InventoryItemBase Item, uint callbackId) - { - throw new System.NotImplementedException(); - } - - public void SendRemoveInventoryItem(UUID itemID) - { - throw new System.NotImplementedException(); - } - - public void SendTakeControls(int controls, bool passToAgent, bool TakeControls) - { - throw new System.NotImplementedException(); - } - - public void SendTaskInventory(UUID taskID, short serial, byte[] fileName) - { - throw new System.NotImplementedException(); - } - - public void SendBulkUpdateInventory(InventoryNodeBase node) - { - throw new System.NotImplementedException(); - } - - public void SendXferPacket(ulong xferID, uint packet, byte[] data) - { - throw new System.NotImplementedException(); - } - - public virtual void SendAbortXferPacket(ulong xferID) - { - throw new System.NotImplementedException(); - } - - public void SendEconomyData(float EnergyEfficiency, int ObjectCapacity, int ObjectCount, int PriceEnergyUnit, int PriceGroupCreate, int PriceObjectClaim, float PriceObjectRent, float PriceObjectScaleFactor, int PriceParcelClaim, float PriceParcelClaimFactor, int PriceParcelRent, int PricePublicObjectDecay, int PricePublicObjectDelete, int PriceRentLight, int PriceUpload, int TeleportMinPrice, float TeleportPriceExponent) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List Data) - { - throw new System.NotImplementedException(); - } - - public void SendAgentDataUpdate(UUID agentid, UUID activegroupid, string firstname, string lastname, ulong grouppowers, string groupname, string grouptitle) - { - throw new System.NotImplementedException(); - } - - public void SendPreLoadSound(UUID objectID, UUID ownerID, UUID soundID) - { - throw new System.NotImplementedException(); - } - - public void SendPlayAttachedSound(UUID soundID, UUID objectID, UUID ownerID, float gain, byte flags) - { - throw new System.NotImplementedException(); - } - - public void SendTriggeredSound(UUID soundID, UUID ownerID, UUID objectID, UUID parentID, ulong handle, Vector3 position, float gain) - { - throw new System.NotImplementedException(); - } - - public void SendAttachedSoundGainChange(UUID objectID, float gain) - { - throw new System.NotImplementedException(); - } - - public void SendNameReply(UUID profileId, string firstname, string lastname) - { - throw new System.NotImplementedException(); - } - - public void SendAlertMessage(string message) - { - throw new System.NotImplementedException(); - } - - public void SendAgentAlertMessage(string message, bool modal) - { - throw new System.NotImplementedException(); - } - - public void SendLoadURL(string objectname, UUID objectID, UUID ownerID, bool groupOwned, string message, string url) - { - throw new System.NotImplementedException(); - } - - public void SendDialog(string objectname, UUID objectID, string ownerFirstName, string ownerLastName, string msg, UUID textureID, int ch, string[] buttonlabels) - { - throw new System.NotImplementedException(); - } - - public bool AddMoney(int debit) - { - throw new System.NotImplementedException(); - } - - public void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, float OrbitalPosition) - { - throw new System.NotImplementedException(); - } - - public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks) - { - throw new System.NotImplementedException(); - } - - public void SendViewerTime(int phase) - { - throw new System.NotImplementedException(); - } - - public UUID GetDefaultAnimation(string name) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarProperties(UUID avatarID, string aboutText, string bornOn, byte[] charterMember, string flAbout, uint flags, UUID flImageID, UUID imageID, string profileURL, UUID partnerID) - { - throw new System.NotImplementedException(); - } - - public void SendScriptQuestion(UUID taskID, string taskName, string ownerName, UUID itemID, int question) - { - throw new System.NotImplementedException(); - } - - public void SendHealth(float health) - { - throw new System.NotImplementedException(); - } - - public void SendEstateList(UUID invoice, int code, UUID[] Data, uint estateID) - { - throw new System.NotImplementedException(); - } - - public void SendBannedUserList(UUID invoice, EstateBan[] banlist, uint estateID) - { - throw new System.NotImplementedException(); - } - - public void SendRegionInfoToEstateMenu(RegionInfoForEstateMenuArgs args) - { - throw new System.NotImplementedException(); - } - - public void SendEstateCovenantInformation(UUID covenant) - { - throw new System.NotImplementedException(); - } - - public void SendDetailedEstateData(UUID invoice, string estateName, uint estateID, uint parentEstate, uint estateFlags, uint sunPosition, UUID covenant, string abuseEmail, UUID estateOwner) - { - throw new System.NotImplementedException(); - } - - public void SendLandProperties(int sequence_id, bool snap_selection, int request_result, ILandObject lo, float simObjectBonusFactor, int parcelObjectCapacity, int simObjectCapacity, uint regionFlags) - { - throw new System.NotImplementedException(); - } - - public void SendLandAccessListData(List avatars, uint accessFlag, int localLandID) - { - throw new System.NotImplementedException(); - } - - public void SendForceClientSelectObjects(List objectIDs) - { - throw new System.NotImplementedException(); - } - - public void SendCameraConstraint(Vector4 ConstraintPlane) - { - - } - - public void SendLandObjectOwners(LandData land, List groups, Dictionary ownersAndCount) - { - throw new System.NotImplementedException(); - } - - public void SendLandParcelOverlay(byte[] data, int sequence_id) - { - throw new System.NotImplementedException(); - } - - public void SendParcelMediaCommand(uint flags, ParcelMediaCommandEnum command, float time) - { - throw new System.NotImplementedException(); - } - - public void SendParcelMediaUpdate(string mediaUrl, UUID mediaTextureID, byte autoScale, string mediaType, string mediaDesc, int mediaWidth, int mediaHeight, byte mediaLoop) - { - throw new System.NotImplementedException(); - } - - public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) - { - throw new System.NotImplementedException(); - } - - public void SendConfirmXfer(ulong xferID, uint PacketID) - { - throw new System.NotImplementedException(); - } - - public void SendXferRequest(ulong XferID, short AssetType, UUID vFileID, byte FilePath, byte[] FileName) - { - throw new System.NotImplementedException(); - } - - public void SendInitiateDownload(string simFileName, string clientFileName) - { - throw new System.NotImplementedException(); - } - - public void SendImageFirstPart(ushort numParts, UUID ImageUUID, uint ImageSize, byte[] ImageData, byte imageCodec) - { - throw new System.NotImplementedException(); - } - - public void SendImageNextPart(ushort partNumber, UUID imageUuid, byte[] imageData) - { - throw new System.NotImplementedException(); - } - - public void SendImageNotFound(UUID imageid) - { - throw new System.NotImplementedException(); - } - - public void SendShutdownConnectionNotice() - { - throw new System.NotImplementedException(); - } - - public void SendSimStats(SimStats stats) - { - throw new System.NotImplementedException(); - } - - public void SendObjectPropertiesFamilyData(ISceneEntity Entity, uint RequestFlags) - { - throw new System.NotImplementedException(); - } - - public void SendObjectPropertiesReply(ISceneEntity entity) - { - throw new System.NotImplementedException(); - } - - public void SendAgentOffline(UUID[] agentIDs) - { - throw new System.NotImplementedException(); - } - - public void SendAgentOnline(UUID[] agentIDs) - { - throw new System.NotImplementedException(); - } - - public void SendSitResponse(UUID TargetID, Vector3 OffsetPos, Quaternion SitOrientation, bool autopilot, Vector3 CameraAtOffset, Vector3 CameraEyeOffset, bool ForceMouseLook) - { - throw new System.NotImplementedException(); - } - - public void SendAdminResponse(UUID Token, uint AdminLevel) - { - throw new System.NotImplementedException(); - } - - public void SendGroupMembership(GroupMembershipData[] GroupMembership) - { - throw new System.NotImplementedException(); - } - - public void SendGroupNameReply(UUID groupLLUID, string GroupName) - { - throw new System.NotImplementedException(); - } - - public void SendJoinGroupReply(UUID groupID, bool success) - { - throw new System.NotImplementedException(); - } - - public void SendEjectGroupMemberReply(UUID agentID, UUID groupID, bool success) - { - throw new System.NotImplementedException(); - } - - public void SendLeaveGroupReply(UUID groupID, bool success) - { - throw new System.NotImplementedException(); - } - - public void SendCreateGroupReply(UUID groupID, bool success, string message) - { - throw new System.NotImplementedException(); - } - - public void SendLandStatReply(uint reportType, uint requestFlags, uint resultCount, LandStatReportItem[] lsrpia) - { - throw new System.NotImplementedException(); - } - - public void SendScriptRunningReply(UUID objectID, UUID itemID, bool running) - { - throw new System.NotImplementedException(); - } - - public void SendAsset(AssetRequestToClient req) - { - throw new System.NotImplementedException(); - } - - public void SendTexture(AssetBase TextureAsset) - { - throw new System.NotImplementedException(); - } - - public byte[] GetThrottlesPacked(float multiplier) - { - throw new System.NotImplementedException(); - } - - public event ViewerEffectEventHandler OnViewerEffect; - public event Action OnLogout; - public event Action OnConnectionClosed; - public void SendBlueBoxMessage(UUID FromAvatarID, string FromAvatarName, string Message) - { - throw new System.NotImplementedException(); - } - - public void SendLogoutPacket() - { - throw new System.NotImplementedException(); - } - - public EndPoint GetClientEP() - { - return null; - } - - public ClientInfo GetClientInfo() - { - throw new System.NotImplementedException(); - } - - public void SetClientInfo(ClientInfo info) - { - throw new System.NotImplementedException(); - } - - public void SetClientOption(string option, string value) - { - throw new System.NotImplementedException(); - } - - public string GetClientOption(string option) - { - throw new System.NotImplementedException(); - } - - public void Terminate() - { - throw new System.NotImplementedException(); - } - - public void SendSetFollowCamProperties(UUID objectID, SortedDictionary parameters) - { - throw new System.NotImplementedException(); - } - - public void SendClearFollowCamProperties(UUID objectID) - { - throw new System.NotImplementedException(); - } - - public void SendRegionHandle(UUID regoinID, ulong handle) - { - throw new System.NotImplementedException(); - } - - public void SendParcelInfo(RegionInfo info, LandData land, UUID parcelID, uint x, uint y) - { - throw new System.NotImplementedException(); - } - - public void SendScriptTeleportRequest(string objName, string simName, Vector3 pos, Vector3 lookAt) - { - throw new System.NotImplementedException(); - } - - public void SendDirPlacesReply(UUID queryID, DirPlacesReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendDirPeopleReply(UUID queryID, DirPeopleReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendDirEventsReply(UUID queryID, DirEventsReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendDirGroupsReply(UUID queryID, DirGroupsReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendDirClassifiedReply(UUID queryID, DirClassifiedReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendDirLandReply(UUID queryID, DirLandReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendDirPopularReply(UUID queryID, DirPopularReplyData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendEventInfoReply(EventData info) - { - throw new System.NotImplementedException(); - } - - public void SendMapItemReply(mapItemReply[] replies, uint mapitemtype, uint flags) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarGroupsReply(UUID avatarID, GroupMembershipData[] data) - { - throw new System.NotImplementedException(); - } - - public void SendOfferCallingCard(UUID srcID, UUID transactionID) - { - throw new System.NotImplementedException(); - } - - public void SendAcceptCallingCard(UUID transactionID) - { - throw new System.NotImplementedException(); - } - - public void SendDeclineCallingCard(UUID transactionID) - { - throw new System.NotImplementedException(); - } - - public void SendTerminateFriend(UUID exFriendID) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarClassifiedReply(UUID targetID, UUID[] classifiedID, string[] name) - { - throw new System.NotImplementedException(); - } - - public void SendClassifiedInfoReply(UUID classifiedID, UUID creatorID, uint creationDate, uint expirationDate, uint category, string name, string description, UUID parcelID, uint parentEstate, UUID snapshotID, string simName, Vector3 globalPos, string parcelName, byte classifiedFlags, int price) - { - throw new System.NotImplementedException(); - } - - public void SendAgentDropGroup(UUID groupID) - { - throw new System.NotImplementedException(); - } - - public void RefreshGroupMembership() - { - throw new System.NotImplementedException(); - } - - public void SendAvatarNotesReply(UUID targetID, string text) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarPicksReply(UUID targetID, Dictionary picks) - { - throw new System.NotImplementedException(); - } - - public void SendPickInfoReply(UUID pickID, UUID creatorID, bool topPick, UUID parcelID, string name, string desc, UUID snapshotID, string user, string originalName, string simName, Vector3 posGlobal, int sortOrder, bool enabled) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarClassifiedReply(UUID targetID, Dictionary classifieds) - { - throw new System.NotImplementedException(); - } - - public void SendAvatarInterestUpdate(IClientAPI client, uint wantmask, string wanttext, uint skillsmask, string skillstext, string languages) - { - throw new System.NotImplementedException(); - } - - public void SendParcelDwellReply(int localID, UUID parcelID, float dwell) - { - throw new System.NotImplementedException(); - } - - public void SendUserInfoReply(bool imViaEmail, bool visible, string email) - { - throw new System.NotImplementedException(); - } - - public void SendUseCachedMuteList() - { - throw new System.NotImplementedException(); - } - - public void SendMuteListUpdate(string filename) - { - throw new System.NotImplementedException(); - } - - public void KillEndDone() - { - throw new System.NotImplementedException(); - } - - public bool AddGenericPacketHandler(string MethodName, GenericMessage handler) - { - throw new System.NotImplementedException(); - } - - #endregion - - public void SendRebakeAvatarTextures(UUID textureID) - { - } - - public void SendAvatarInterestsReply(UUID avatarID, uint wantMask, string wantText, uint skillsMask, string skillsText, string languages) - { - } - - public void SendGroupAccountingDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID, int amt) - { - } - - public void SendGroupAccountingSummary(IClientAPI sender,UUID groupID, uint moneyAmt, int totalTier, int usedTier) - { - } - - public void SendGroupTransactionsSummaryDetails(IClientAPI sender,UUID groupID, UUID transactionID, UUID sessionID,int amt) - { - } - - public void SendGroupVoteHistory(UUID groupID, UUID transactionID, GroupVoteHistory[] Votes) - { - } - - public void SendGroupActiveProposals(UUID groupID, UUID transactionID, GroupActiveProposals[] Proposals) - { - } - - public void SendChangeUserRights(UUID agentID, UUID friendID, int rights) - { - } - - public void SendTextBoxRequest(string message, int chatChannel, string objectname, string ownerFirstName, string ownerLastName, UUID objectId) - { - } - - public void StopFlying(ISceneEntity presence) - { - } - - public void SendPlacesReply(UUID queryID, UUID transactionID, PlacesReplyData[] data) - { - } - } -} diff --git a/OpenSim/Client/VWoHTTP/VWoHTTPModule.cs b/OpenSim/Client/VWoHTTP/VWoHTTPModule.cs deleted file mode 100644 index 31385ba0b2..0000000000 --- a/OpenSim/Client/VWoHTTP/VWoHTTPModule.cs +++ /dev/null @@ -1,133 +0,0 @@ -/* - * Copyright (c) Contributors, http://opensimulator.org/ - * See CONTRIBUTORS.TXT for a full list of copyright holders. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * * Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * * Neither the name of the OpenSimulator Project nor the - * names of its contributors may be used to endorse or promote products - * derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY - * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES - * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -using System; -using System.Collections.Generic; -using System.Text; -using Nini.Config; -using OpenMetaverse; -using OpenSim.Client.VWoHTTP.ClientStack; -using OpenSim.Framework; -using OpenSim.Framework.Servers; -using OpenSim.Framework.Servers.HttpServer; -using OpenSim.Region.Framework.Interfaces; -using OpenSim.Region.Framework.Scenes; - -namespace OpenSim.Client.VWoHTTP -{ - class VWoHTTPModule : IRegionModule, IHttpAgentHandler - { - private bool m_disabled = true; - - private IHttpServer m_httpd; - - private readonly List m_scenes = new List(); - - private Dictionary m_clients = new Dictionary(); - - #region Implementation of IRegionModule - - public void Initialise(Scene scene, IConfigSource source) - { - if (m_disabled) - return; - - m_scenes.Add(scene); - - m_httpd = MainServer.Instance; - } - - public void PostInitialise() - { - if (m_disabled) - return; - - m_httpd.AddAgentHandler("vwohttp", this); - } - - public void Close() - { - if (m_disabled) - return; - - m_httpd.RemoveAgentHandler("vwohttp", this); - } - - public string Name - { - get { return "VWoHTTP ClientStack"; } - } - - public bool IsSharedModule - { - get { return true; } - } - - #endregion - - #region Implementation of IHttpAgentHandler - - public bool Handle(OSHttpRequest req, OSHttpResponse resp) - { - string[] urlparts = req.Url.AbsolutePath.Split(new char[] {'/'}, StringSplitOptions.RemoveEmptyEntries); - - if (urlparts.Length < 2) - return false; - - if (urlparts[1] == "connect") - { - UUID sessID = UUID.Random(); - - VWHClientView client = new VWHClientView(sessID, UUID.Random(), "VWoHTTPClient", m_scenes[0]); - - m_clients.Add(sessID, client); - - return true; - } - else - { - if (urlparts.Length < 3) - return false; - - UUID sessionID; - if (!UUID.TryParse(urlparts[1], out sessionID)) - return false; - - if (!m_clients.ContainsKey(sessionID)) - return false; - - return m_clients[sessionID].ProcessInMsg(req, resp); - } - } - - public bool Match(OSHttpRequest req, OSHttpResponse resp) - { - return req.Url.ToString().Contains("vwohttp"); - } - - #endregion - } -} diff --git a/bin/MXP.dll b/bin/MXP.dll deleted file mode 100644 index 99e90c879c6747a1bdd19c50d472f7a5861590a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 114688 zcmeFa34E2s^*%oDd)M3~kekGtKp+YGg%D&Bji9oKiaYMO?}~z6Nw8IKu0^Y8D~i^o zXmKf`bwhEjR$H+m?iIJXQ>%Vktkzn!ttrg%AOu@ud~b31NNSETu1Xs z?YU#y4?m&#$iq)OF*mRIh@+d^Pd>5vxD%VF?Y>v@3Av+=9#vVH8myvcY-h|aPQ=`l zx@$)-wl|GCpxj9sbD?8Qv!!lxv%asy)0ni-tE}E6P=EX98Us52B4+a00tCZRx;}*G z{hJ)KJKrF8G&7>>- z{1D`@QSBY=N8(*{W7^4c4W6OD$tbQ-?MKhafswiz=q!9IO8BORf_?Y;T@HMg1K;Jq zcRBD~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bW)Port%Fbro#^B*b&ADoNsE~$ zD9nFhoC!fMKX1VHeu+~Z=x7jiV!&b4NS!rA^3}OWeuHBYCqJm;TrdtJKki8_t$Uz3 zo%}&M*e4>`GKk;f;4eHYhxmdx$svpnebYPHir+p3AqBmX4(*g~0i16@=V%FhpAY$T zw$3D-Umb{42V$uHz9wp6j5lur2J5d5Q)4(ae5Iwt0g@^OV0z=8!9 zEU;jK1q&=#V8H?l7Fe*rf&~^Vuwa4zjuyC63VPxHt#mxs!ry`g7A&w}fdvaJSYW{d c3l>yr0MA#wfdBvi diff --git a/bin/protobuf-net.dll b/bin/protobuf-net.dll deleted file mode 100644 index 057a41109423e6ac6fc71ad4899ec645ab6c6f0d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 107008 zcmc${33yw@6*fG&_v&i(BFmO+Ifg%&7FfkJ7ip_EdV09}C6jka{94gdR|nJZn}38mljf6wPcbLX5n zbLPyMnKSF1yWingC|fDz;P>&zN~N3yZ{2|Bvy?NQwGf&M;kKK2* zHSzjK9^H1q>DL9*)>|jOdi`TR-9Bk;|HS&88m)JJ{_!EZOuFEJ^S^)P17~jk+i~A~ z=Fn%q`Sm;d?Ymy>Jb3EeYkJOl;=q?`uK)exU+R73t~IldT|eW6ZNi6KTld)K&iU!r zlYcn=jf>a)W!FjXKD_6W()~BybGS7;RjJl&qf*gq6P()#=C*=XD%owR1;`Dwkgz*r zB|J|bNFm-zKch4d@l;Jd6OL>UhEdxsHUn93+}Nh3NV>l!5?;5o_pJtJa}yIxIJr=6 zl4TcBecjwlYZdr9b~Z$454#Yv7IcQJfj68x6qH|z6otfn%9t+akvgWmzvHnTVlDV85$NUHo@Jn{=IYf#`pf*Z;YGi;D< zF$>ywIMWpjx7GJe03ESq*iXl57Pjf=rtPXJFn+pUxLU$YGe)J^XrxI+H-#*}?vW4m zzyk`|X4%^+k0-K{uvSs{RNLk(avg2k+~-))d?+<=fu-E2YYjd`L6{>qhr(F}ES`gu zESDJoljura@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v z$J@dkY`Sq+f9HbV0>^&FyAuxc1|VjAn)}b(5B2T>Grt+6Rd>9pbe7g@?U60wkM4xq zLQnm|;!b+2r211poVJf{<=3riYwr%iCh)i4=s)Pk()}Q!pyH!SlFWzmZG0Zrn+%r0 zC92#H+(x$p{|`7s#}4ED+P?3Xzz6aFdh53bIq8l+{jk&B$N!7;)wsX3zl+#ckiER~ Omxl5G5&a+Hz<&d+^P;-| diff --git a/prebuild.xml b/prebuild.xml index 33a6b5005b..1102c11c09 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -1959,69 +1959,6 @@ - - - - - - ../../../bin/ - - - - - ../../../bin/ - - - - ../../../bin/ - - - - - - - - - - - - - - - - - - - - - - ../../../bin/ - - - - - ../../../bin/ - - - - ../../../bin/ - - - - - - - - - - - - - - - - - From 1505fbb647f72803efd39aa5e38ad39e6811f6fb Mon Sep 17 00:00:00 2001 From: Mic Bowman Date: Tue, 26 Apr 2011 08:54:05 -0700 Subject: [PATCH 05/23] Add back the high prioritization for other avatars in the BestAvatarResponsiveness prioritizer. --- OpenSim/Region/Framework/Scenes/Prioritizer.cs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Prioritizer.cs b/OpenSim/Region/Framework/Scenes/Prioritizer.cs index a7637c041c..4595a29c66 100644 --- a/OpenSim/Region/Framework/Scenes/Prioritizer.cs +++ b/OpenSim/Region/Framework/Scenes/Prioritizer.cs @@ -165,18 +165,20 @@ namespace OpenSim.Region.Framework.Scenes { if (!presence.IsChildAgent) { + // All avatars other than our own go into pqueue 1 + if (entity is ScenePresence) + return 1; + if (entity is SceneObjectPart) { + // Attachments are high priority, + if (((SceneObjectPart)entity).ParentGroup.RootPart.IsAttachment) + return 1; + // Non physical prims are lower priority than physical prims PhysicsActor physActor = ((SceneObjectPart)entity).ParentGroup.RootPart.PhysActor; if (physActor == null || !physActor.IsPhysical) pqueue++; - - // Attachments are high priority, - // MIC: shouldn't these already be in the highest priority queue already - // since their root position is same as the avatars? - if (((SceneObjectPart)entity).ParentGroup.RootPart.IsAttachment) - pqueue = 1; } } } From 16f6f55f2d203f9ef40fba85860bb9dbd416bd0f Mon Sep 17 00:00:00 2001 From: dahlia Date: Tue, 26 Apr 2011 16:22:44 -0700 Subject: [PATCH 06/23] network traffic reduction - decrease update frequency for moving avatars when velocity is unchanged --- .../Region/Framework/Scenes/ScenePresence.cs | 34 +++++++++++++------ 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index ef0eb89fc9..e4413a95c9 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -2340,12 +2340,14 @@ namespace OpenSim.Region.Framework.Scenes #region Update Client(s) + /// /// Sends a location update to the client connected to this scenePresence /// /// public void SendTerseUpdateToClient(IClientAPI remoteClient) { + // If the client is inactive, it's getting its updates from another // server. if (remoteClient.IsActive) @@ -2358,8 +2360,8 @@ namespace OpenSim.Region.Framework.Scenes //m_log.DebugFormat("[SCENEPRESENCE]: TerseUpdate: Pos={0} Rot={1} Vel={2}", m_pos, m_bodyRot, m_velocity); remoteClient.SendPrimUpdate( - this, - PrimUpdateFlags.Position | PrimUpdateFlags.Rotation | PrimUpdateFlags.Velocity + this, + PrimUpdateFlags.Position | PrimUpdateFlags.Rotation | PrimUpdateFlags.Velocity | PrimUpdateFlags.Acceleration | PrimUpdateFlags.AngularVelocity); m_scene.StatsReporter.AddAgentTime(Util.EnvironmentTickCountSubtract(m_perfMonMS)); @@ -2367,16 +2369,31 @@ namespace OpenSim.Region.Framework.Scenes } } + + // vars to support reduced update frequency when velocity is unchanged + private Vector3 lastVelocitySentToAllClients = Vector3.Zero; + private int lastTerseUpdateToAllClientsTick = Util.EnvironmentTickCount(); + /// /// Send a location/velocity/accelleration update to all agents in scene /// public void SendTerseUpdateToAllClients() { - m_perfMonMS = Util.EnvironmentTickCount(); - - m_scene.ForEachClient(SendTerseUpdateToClient); + int currentTick = Util.EnvironmentTickCount(); - m_scene.StatsReporter.AddAgentTime(Util.EnvironmentTickCountSubtract(m_perfMonMS)); + // decrease update frequency when avatar is moving but velocity is not changing + if (m_velocity.Length() < 0.01f + || Vector3.Distance(lastVelocitySentToAllClients, m_velocity) > 0.01f + || currentTick - lastTerseUpdateToAllClientsTick > 1500) + { + m_perfMonMS = currentTick; + lastVelocitySentToAllClients = m_velocity; + lastTerseUpdateToAllClientsTick = currentTick; + + m_scene.ForEachClient(SendTerseUpdateToClient); + + m_scene.StatsReporter.AddAgentTime(Util.EnvironmentTickCountSubtract(m_perfMonMS)); + } } public void SendCoarseLocations(List coarseLocations, List avatarUUIDs) @@ -3268,10 +3285,7 @@ namespace OpenSim.Region.Framework.Scenes m_updateflag = true; - // The magic constant 0.95f seems to make walking feel less jerky, - // probably because it hackishly accounts for the overall latency of - // these Velocity updates -- Diva - Velocity = force * .95F; + Velocity = force; m_forceToApply = null; } From d722f22102f1f7ca618cc220e79c5f2097f84a32 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 27 Apr 2011 01:53:57 +0100 Subject: [PATCH 07/23] adjust freeswitch grid connector to port 8003 to agree with the default 8003 used in OpenSim.ini.example Adjusting to 8003 seems sensible since this service doesn't need to be exposed to viewers. --- bin/Robust.HG.ini.example | 2 +- bin/Robust.ini.example | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index e2e9624831..daeb068332 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example @@ -21,7 +21,7 @@ ; * [[@]/][:] ; * [Startup] -ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" +ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8003/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" ; * This is common for all services, it's the network setup for the entire ; * server instance, if none is specified above diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example index 4d16236044..9c391eaa25 100644 --- a/bin/Robust.ini.example +++ b/bin/Robust.ini.example @@ -13,7 +13,7 @@ ; * [[@]/][:] ; * [Startup] -ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8002/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" +ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8003/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" ; * This is common for all services, it's the network setup for the entire ; * server instance, if none is specified above From 1b43c05c3d8444faca0126bf195df0b0d99b6e83 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 27 Apr 2011 02:05:16 +0100 Subject: [PATCH 08/23] Change default ini.example port used by Freeswitch in grid settings to 8004. This is to facilitate running Freeswitch in a separate ROBUST shell, as on grid setups there can be quite a lot of traffic flowing between FreeSWITCH and ROBUST. However, running in a spearate shell is not mandatory. --- bin/OpenSim.ini.example | 2 +- bin/Robust.HG.ini.example | 2 +- bin/Robust.ini.example | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index fbaa590aed..5389b4455a 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -626,7 +626,7 @@ ; LocalServiceModule = OpenSim.Services.Connectors.dll:RemoteFreeswitchConnector ;; If using a remote connector, specify the server URL - ; FreeswitchServiceURL = http://my.grid.server:8003/fsapi + ; FreeswitchServiceURL = http://my.grid.server:8004/fsapi [FreeswitchService] diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index daeb068332..f2f2a66992 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example @@ -21,7 +21,7 @@ ; * [[@]/][:] ; * [Startup] -ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8003/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" +ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector,8002/OpenSim.Server.Handlers.dll:GatekeeperServiceInConnector,8002/OpenSim.Server.Handlers.dll:UserAgentServerConnector,HGInventoryService@8002/OpenSim.Server.Handlers.dll:XInventoryInConnector,HGAssetService@8002/OpenSim.Server.Handlers.dll:AssetServiceConnector,8002/OpenSim.Server.Handlers.dll:HeloServiceInConnector" ; * This is common for all services, it's the network setup for the entire ; * server instance, if none is specified above diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example index 9c391eaa25..aef0596a03 100644 --- a/bin/Robust.ini.example +++ b/bin/Robust.ini.example @@ -13,7 +13,7 @@ ; * [[@]/][:] ; * [Startup] -ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8003/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" +ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003/OpenSim.Server.Handlers.dll:XInventoryInConnector,8004/OpenSim.Server.Handlers.dll:FreeswitchServerConnector,8003/OpenSim.Server.Handlers.dll:GridServiceConnector,8002/OpenSim.Server.Handlers.dll:GridInfoServerInConnector,8003/OpenSim.Server.Handlers.dll:AuthenticationServiceConnector,8002/OpenSim.Server.Handlers.dll:OpenIdServerConnector,8003/OpenSim.Server.Handlers.dll:AvatarServiceConnector,8002/OpenSim.Server.Handlers.dll:LLLoginServiceInConnector,8003/OpenSim.Server.Handlers.dll:PresenceServiceConnector,8003/OpenSim.Server.Handlers.dll:UserAccountServiceConnector,8003/OpenSim.Server.Handlers.dll:GridUserServiceConnector,8003/OpenSim.Server.Handlers.dll:FriendsServiceConnector" ; * This is common for all services, it's the network setup for the entire ; * server instance, if none is specified above From 12010849b822ad5db564ac9894b84de0c96d72b2 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 27 Apr 2011 02:25:49 +0100 Subject: [PATCH 09/23] Bump minimum required mono to 2.4.3 from 2.4.2. OpenSim fails at runtime below 2.4.3 due to unimplemented ServicePointManager.get_ServerCertificateValidationCallback() --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 391a6599d1..72702a231d 100644 --- a/README.txt +++ b/README.txt @@ -37,7 +37,7 @@ Now see the "Configuring OpenSim" section === Running OpenSim on Linux === ================================ -You will need Mono >= 2.4.2 to run OpenSim. On some Linux distributions you +You will need Mono >= 2.4.3 to run OpenSim. On some Linux distributions you may need to install additional packages. See http://opensimulator.org/wiki/Dependencies for more information. From e0576b56d376d6bc7b9c5c3818acbdbcdb0dc56f Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Wed, 27 Apr 2011 07:02:37 -0700 Subject: [PATCH 10/23] Thank you Snoopy for a patch that adds some filtering to client versions allowed at login and HG-login times. NOTE: additional (optional) configuration variables in [LoginService] and [GatekeeperService]. See .examples. --- .../HypergridService/GatekeeperService.cs | 39 +++++++++++++++++- .../Services/LLLoginService/LLLoginService.cs | 40 +++++++++++++++++-- bin/Robust.HG.ini.example | 33 +++++++++++++++ bin/Robust.ini.example | 17 ++++++++ .../StandaloneCommon.ini.example | 34 ++++++++++++++++ 5 files changed, 158 insertions(+), 5 deletions(-) diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index b66bfed42f..9385b8df74 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs @@ -29,6 +29,7 @@ using System; using System.Collections.Generic; using System.Net; using System.Reflection; +using System.Text.RegularExpressions; using OpenSim.Framework; using OpenSim.Services.Interfaces; @@ -57,6 +58,9 @@ namespace OpenSim.Services.HypergridService private static IUserAgentService m_UserAgentService; private static ISimulationService m_SimulationService; + protected string m_AllowedClients = string.Empty; + protected string m_DeniedClients = string.Empty; + private static UUID m_ScopeID; private static bool m_AllowTeleportsToAnyRegion; private static string m_ExternalName; @@ -104,6 +108,9 @@ namespace OpenSim.Services.HypergridService else if (simulationService != string.Empty) m_SimulationService = ServerUtils.LoadPlugin(simulationService, args); + m_AllowedClients = serverConfig.GetString("AllowedClients", string.Empty); + m_DeniedClients = serverConfig.GetString("DeniedClients", string.Empty); + if (m_GridService == null || m_PresenceService == null || m_SimulationService == null) throw new Exception("Unable to load a required plugin, Gatekeeper Service cannot function."); @@ -181,8 +188,36 @@ namespace OpenSim.Services.HypergridService string authURL = string.Empty; if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) authURL = aCircuit.ServiceURLs["HomeURI"].ToString(); - m_log.DebugFormat("[GATEKEEPER SERVICE]: Request to login foreign agent {0} {1} @ {2} ({3}) at destination {4}", - aCircuit.firstname, aCircuit.lastname, authURL, aCircuit.AgentID, destination.RegionName); + m_log.InfoFormat("[GATEKEEPER SERVICE]: Login request for {0} {1} @ {2} ({3}) at {4} using viewer {5}, channel {6}, IP {7}, Mac {8}, Id0 {9}", + aCircuit.firstname, aCircuit.lastname, authURL, aCircuit.AgentID, destination.RegionName, + aCircuit.Viewer, aCircuit.Channel, aCircuit.IPAddress, aCircuit.Mac, aCircuit.Id0); + + // + // Check client + // + if (m_AllowedClients != string.Empty) + { + Regex arx = new Regex(m_AllowedClients); + Match am = arx.Match(aCircuit.Viewer); + + if (!am.Success) + { + m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is not allowed", aCircuit.Viewer); + return false; + } + } + + if (m_DeniedClients != string.Empty) + { + Regex drx = new Regex(m_DeniedClients); + Match dm = drx.Match(aCircuit.Viewer); + + if (dm.Success) + { + m_log.InfoFormat("[GATEKEEPER SERVICE]: Login failed, reason: client {0} is denied", aCircuit.Viewer); + return false; + } + } // // Authenticate the user diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index d364aa4b9f..9bcc3dd225 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs @@ -77,7 +77,11 @@ namespace OpenSim.Services.LLLoginService protected string m_MapTileURL; protected string m_SearchURL; + protected string m_AllowedClients; + protected string m_DeniedClients; + IConfig m_LoginServerConfig; + IConfig m_ClientsConfig; public LLLoginService(IConfigSource config, ISimulationService simService, ILibraryService libraryService) { @@ -105,7 +109,10 @@ namespace OpenSim.Services.LLLoginService m_GatekeeperURL = m_LoginServerConfig.GetString("GatekeeperURI", string.Empty); m_MapTileURL = m_LoginServerConfig.GetString("MapTileURL", string.Empty); m_SearchURL = m_LoginServerConfig.GetString("SearchURL", string.Empty); - + + m_AllowedClients = m_LoginServerConfig.GetString("AllowedClients", string.Empty); + m_DeniedClients = m_LoginServerConfig.GetString("DeniedClients", string.Empty); + // These are required; the others aren't if (accountService == string.Empty || authService == string.Empty) throw new Exception("LoginService is missing service specifications"); @@ -215,10 +222,37 @@ namespace OpenSim.Services.LLLoginService bool success = false; UUID session = UUID.Random(); - m_log.InfoFormat("[LLOGIN SERVICE]: Login request for {0} {1} from {2} with user agent {3} starting in {4}", - firstName, lastName, clientIP.Address.ToString(), clientVersion, startLocation); + m_log.InfoFormat("[LLOGIN SERVICE]: Login request for {0} {1} at {2} using viewer {3}, channel {4}, IP {5}, Mac {6}, Id0 {7}", + firstName, lastName, startLocation, clientVersion, channel, clientIP.Address.ToString(), mac, id0); try { + // + // Check client + // + if (m_AllowedClients != string.Empty) + { + Regex arx = new Regex(m_AllowedClients); + Match am = arx.Match(clientVersion); + + if (!am.Success) + { + m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: client {0} is not allowed", clientVersion); + return LLFailedLoginResponse.LoginBlockedProblem; + } + } + + if (m_DeniedClients != string.Empty) + { + Regex drx = new Regex(m_DeniedClients); + Match dm = drx.Match(clientVersion); + + if (dm.Success) + { + m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: client {0} is denied", clientVersion); + return LLFailedLoginResponse.LoginBlockedProblem; + } + } + // // Get the account and check that it exists // diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index f2f2a66992..572497c0b3 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example @@ -197,6 +197,23 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003 SRV_AssetServerURI = "http://127.0.0.1:8002" SRV_ProfileServerURI = "http://127.0.0.1:8002/user" + ;; Regular expressions for controlling which client versions are accepted/denied. + ;; An empty string means nothing is checked. + ;; + ;; Example 1: allow only these 3 types of clients (any version of them) + ;; AllowedClients = "Imprudence|Hippo|Second Life" + ;; + ;; Example 2: allow all clients except these + ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" + ;; + ;; Note that these are regular expressions, so every character counts. + ;; Also note that this is very weak security and should not be trusted as a reliable means + ;; for keeping bad clients out; modified clients can fake their identifiers. + ;; + ;; + ;AllowedClients = "" + ;DeniedClients = "" + [GridInfoService] ; These settings are used to return information on a get_grid_info call. ; Client launcher scripts and third-party clients make use of this to @@ -256,6 +273,22 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003 ; If you run this gatekeeper server behind a proxy, set this to true ; HasProxy = false + ;; Regular expressions for controlling which client versions are accepted/denied. + ;; An empty string means nothing is checked. + ;; + ;; Example 1: allow only these 3 types of clients (any version of them) + ;; AllowedClients = "Imprudence|Hippo|Second Life" + ;; + ;; Example 2: allow all clients except these + ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" + ;; + ;; Note that these are regular expressions, so every character counts. + ;; Also note that this is very weak security and should not be trusted as a reliable means + ;; for keeping bad clients out; modified clients can fake their identifiers. + ;; + ;; + ;AllowedClients = "" + ;DeniedClients = "" [UserAgentService] LocalServiceModule = "OpenSim.Services.HypergridService.dll:UserAgentService" diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example index aef0596a03..047e9eeed6 100644 --- a/bin/Robust.ini.example +++ b/bin/Robust.ini.example @@ -176,6 +176,23 @@ ServiceConnectors = "8003/OpenSim.Server.Handlers.dll:AssetServiceConnector,8003 ; If you run this login server behind a proxy, set this to true ; HasProxy = false + ;; Regular expressions for controlling which client versions are accepted/denied. + ;; An empty string means nothing is checked. + ;; + ;; Example 1: allow only these 3 types of clients (any version of them) + ;; AllowedClients = "Imprudence|Hippo|Second Life" + ;; + ;; Example 2: allow all clients except these + ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" + ;; + ;; Note that these are regular expressions, so every character counts. + ;; Also note that this is very weak security and should not be trusted as a reliable means + ;; for keeping bad clients out; modified clients can fake their identifiers. + ;; + ;; + ;AllowedClients = "" + ;DeniedClients = "" + [GridInfoService] ; These settings are used to return information on a get_grid_info call. ; Client launcher scripts and third-party clients make use of this to diff --git a/bin/config-include/StandaloneCommon.ini.example b/bin/config-include/StandaloneCommon.ini.example index dcebd63184..67efa11564 100644 --- a/bin/config-include/StandaloneCommon.ini.example +++ b/bin/config-include/StandaloneCommon.ini.example @@ -83,6 +83,23 @@ SRV_AssetServerURI = "http://127.0.0.1:9000" SRV_ProfileServerURI = "http://127.0.0.1:9000" + ;; Regular expressions for controlling which client versions are accepted/denied. + ;; An empty string means nothing is checked. + ;; + ;; Example 1: allow only these 3 types of clients (any version of them) + ;; AllowedClients = "Imprudence|Hippo|Second Life" + ;; + ;; Example 2: allow all clients except these + ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" + ;; + ;; Note that these are regular expressions, so every character counts. + ;; Also note that this is very weak security and should not be trusted as a reliable means + ;; for keeping bad clients out; modified clients can fake their identifiers. + ;; + ;; + ;AllowedClients = "" + ;DeniedClients = "" + [GatekeeperService] ExternalName = "http://127.0.0.1:9000" @@ -90,6 +107,23 @@ ; If false, HG TPs happen only to the Default regions specified in [GridService] section AllowTeleportsToAnyRegion = true + ;; Regular expressions for controlling which client versions are accepted/denied. + ;; An empty string means nothing is checked. + ;; + ;; Example 1: allow only these 3 types of clients (any version of them) + ;; AllowedClients = "Imprudence|Hippo|Second Life" + ;; + ;; Example 2: allow all clients except these + ;; DeniedClients = "Twisted|Crawler|Cryolife|FuckLife|StreetLife|GreenLife|AntiLife|KORE-Phaze|Synlyfe|Purple Second Life|SecondLi |Emerald" + ;; + ;; Note that these are regular expressions, so every character counts. + ;; Also note that this is very weak security and should not be trusted as a reliable means + ;; for keeping bad clients out; modified clients can fake their identifiers. + ;; + ;; + ;AllowedClients = "" + ;DeniedClients = "" + [GridInfoService] ; These settings are used to return information on a get_grid_info call. ; Client launcher scripts and third-party clients make use of this to From 5e3893ca5c8c985bf9b2a1e1dbc94d48a4eb3e96 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Wed, 27 Apr 2011 23:57:26 +0100 Subject: [PATCH 11/23] add the executable bit to all bundled DLLs so that these are preserved when using git or untarring releases under cygwin on windows Mono doesn't care if the --- bin/Axiom.MathLib.dll | Bin bin/BulletDotNET.dll | Bin bin/C5.dll | Bin bin/CSJ2K.dll | Bin bin/Community.CsharpSqlite.Sqlite.dll | Bin bin/Community.CsharpSqlite.dll | Bin bin/CookComputing.XmlRpcV2.dll | Bin bin/DotNetOpenId.dll | Bin bin/DotNetOpenMail.dll | Bin bin/Fadd.Globalization.Yaml.dll | Bin bin/Fadd.dll | Bin bin/GlynnTucker.Cache.dll | Bin bin/Google.ProtocolBuffers.dll | Bin bin/HttpServer.dll | Bin bin/HttpServer_OpenSim.dll | Bin bin/Iesi.Collections.dll | Bin bin/Kds.Serialization.dll | Bin bin/Modified.XnaDevRu.BulletX.dll | Bin bin/Mono.Addins.CecilReflector.dll | Bin bin/Mono.Addins.Setup.dll | Bin bin/Mono.Addins.dll | Bin bin/Mono.Data.Sqlite.dll | Bin bin/Mono.Data.SqliteClient.dll | Bin bin/MonoXnaCompactMaths.dll | Bin bin/MySql.Data.dll | Bin bin/NDesk.Options.dll | Bin bin/Newtonsoft.Json.Net20.dll | Bin bin/Nini.dll | Bin bin/Npgsql.dll | Bin bin/Ode.NET.dll | Bin bin/OpenMetaverse.StructuredData.dll | Bin bin/OpenMetaverse.dll | Bin bin/OpenMetaverseTypes.dll | Bin bin/PhysX-wrapper.dll | Bin bin/PhysX_Wrapper_Dotnet.dll | Bin bin/PrimMesher.dll | Bin bin/PumaCode.SvnDotNet.dll | Bin bin/Tools.dll | Bin bin/Warp3D.dll | Bin bin/XMLRPC.dll | Bin bin/libbulletnet.dll | Bin bin/libdb_dotNET43.dll | Bin bin/log4net.dll | Bin bin/nunit.framework.dll | Bin bin/ode.dll | Bin bin/openjpeg-dotnet-x86_64.dll | Bin bin/openjpeg-dotnet.dll | Bin bin/xunit.dll | Bin bin/zlib.net.dll | Bin 49 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 bin/Axiom.MathLib.dll mode change 100644 => 100755 bin/BulletDotNET.dll mode change 100644 => 100755 bin/C5.dll mode change 100644 => 100755 bin/CSJ2K.dll mode change 100644 => 100755 bin/Community.CsharpSqlite.Sqlite.dll mode change 100644 => 100755 bin/Community.CsharpSqlite.dll mode change 100644 => 100755 bin/CookComputing.XmlRpcV2.dll mode change 100644 => 100755 bin/DotNetOpenId.dll mode change 100644 => 100755 bin/DotNetOpenMail.dll mode change 100644 => 100755 bin/Fadd.Globalization.Yaml.dll mode change 100644 => 100755 bin/Fadd.dll mode change 100644 => 100755 bin/GlynnTucker.Cache.dll mode change 100644 => 100755 bin/Google.ProtocolBuffers.dll mode change 100644 => 100755 bin/HttpServer.dll mode change 100644 => 100755 bin/HttpServer_OpenSim.dll mode change 100644 => 100755 bin/Iesi.Collections.dll mode change 100644 => 100755 bin/Kds.Serialization.dll mode change 100644 => 100755 bin/Modified.XnaDevRu.BulletX.dll mode change 100644 => 100755 bin/Mono.Addins.CecilReflector.dll mode change 100644 => 100755 bin/Mono.Addins.Setup.dll mode change 100644 => 100755 bin/Mono.Addins.dll mode change 100644 => 100755 bin/Mono.Data.Sqlite.dll mode change 100644 => 100755 bin/Mono.Data.SqliteClient.dll mode change 100644 => 100755 bin/MonoXnaCompactMaths.dll mode change 100644 => 100755 bin/MySql.Data.dll mode change 100644 => 100755 bin/NDesk.Options.dll mode change 100644 => 100755 bin/Newtonsoft.Json.Net20.dll mode change 100644 => 100755 bin/Nini.dll mode change 100644 => 100755 bin/Npgsql.dll mode change 100644 => 100755 bin/Ode.NET.dll mode change 100644 => 100755 bin/OpenMetaverse.StructuredData.dll mode change 100644 => 100755 bin/OpenMetaverse.dll mode change 100644 => 100755 bin/OpenMetaverseTypes.dll mode change 100644 => 100755 bin/PhysX-wrapper.dll mode change 100644 => 100755 bin/PhysX_Wrapper_Dotnet.dll mode change 100644 => 100755 bin/PrimMesher.dll mode change 100644 => 100755 bin/PumaCode.SvnDotNet.dll mode change 100644 => 100755 bin/Tools.dll mode change 100644 => 100755 bin/Warp3D.dll mode change 100644 => 100755 bin/XMLRPC.dll mode change 100644 => 100755 bin/libbulletnet.dll mode change 100644 => 100755 bin/libdb_dotNET43.dll mode change 100644 => 100755 bin/log4net.dll mode change 100644 => 100755 bin/nunit.framework.dll mode change 100644 => 100755 bin/ode.dll mode change 100644 => 100755 bin/openjpeg-dotnet-x86_64.dll mode change 100644 => 100755 bin/openjpeg-dotnet.dll mode change 100644 => 100755 bin/xunit.dll mode change 100644 => 100755 bin/zlib.net.dll diff --git a/bin/Axiom.MathLib.dll b/bin/Axiom.MathLib.dll old mode 100644 new mode 100755 diff --git a/bin/BulletDotNET.dll b/bin/BulletDotNET.dll old mode 100644 new mode 100755 diff --git a/bin/C5.dll b/bin/C5.dll old mode 100644 new mode 100755 diff --git a/bin/CSJ2K.dll b/bin/CSJ2K.dll old mode 100644 new mode 100755 diff --git a/bin/Community.CsharpSqlite.Sqlite.dll b/bin/Community.CsharpSqlite.Sqlite.dll old mode 100644 new mode 100755 diff --git a/bin/Community.CsharpSqlite.dll b/bin/Community.CsharpSqlite.dll old mode 100644 new mode 100755 diff --git a/bin/CookComputing.XmlRpcV2.dll b/bin/CookComputing.XmlRpcV2.dll old mode 100644 new mode 100755 diff --git a/bin/DotNetOpenId.dll b/bin/DotNetOpenId.dll old mode 100644 new mode 100755 diff --git a/bin/DotNetOpenMail.dll b/bin/DotNetOpenMail.dll old mode 100644 new mode 100755 diff --git a/bin/Fadd.Globalization.Yaml.dll b/bin/Fadd.Globalization.Yaml.dll old mode 100644 new mode 100755 diff --git a/bin/Fadd.dll b/bin/Fadd.dll old mode 100644 new mode 100755 diff --git a/bin/GlynnTucker.Cache.dll b/bin/GlynnTucker.Cache.dll old mode 100644 new mode 100755 diff --git a/bin/Google.ProtocolBuffers.dll b/bin/Google.ProtocolBuffers.dll old mode 100644 new mode 100755 diff --git a/bin/HttpServer.dll b/bin/HttpServer.dll old mode 100644 new mode 100755 diff --git a/bin/HttpServer_OpenSim.dll b/bin/HttpServer_OpenSim.dll old mode 100644 new mode 100755 diff --git a/bin/Iesi.Collections.dll b/bin/Iesi.Collections.dll old mode 100644 new mode 100755 diff --git a/bin/Kds.Serialization.dll b/bin/Kds.Serialization.dll old mode 100644 new mode 100755 diff --git a/bin/Modified.XnaDevRu.BulletX.dll b/bin/Modified.XnaDevRu.BulletX.dll old mode 100644 new mode 100755 diff --git a/bin/Mono.Addins.CecilReflector.dll b/bin/Mono.Addins.CecilReflector.dll old mode 100644 new mode 100755 diff --git a/bin/Mono.Addins.Setup.dll b/bin/Mono.Addins.Setup.dll old mode 100644 new mode 100755 diff --git a/bin/Mono.Addins.dll b/bin/Mono.Addins.dll old mode 100644 new mode 100755 diff --git a/bin/Mono.Data.Sqlite.dll b/bin/Mono.Data.Sqlite.dll old mode 100644 new mode 100755 diff --git a/bin/Mono.Data.SqliteClient.dll b/bin/Mono.Data.SqliteClient.dll old mode 100644 new mode 100755 diff --git a/bin/MonoXnaCompactMaths.dll b/bin/MonoXnaCompactMaths.dll old mode 100644 new mode 100755 diff --git a/bin/MySql.Data.dll b/bin/MySql.Data.dll old mode 100644 new mode 100755 diff --git a/bin/NDesk.Options.dll b/bin/NDesk.Options.dll old mode 100644 new mode 100755 diff --git a/bin/Newtonsoft.Json.Net20.dll b/bin/Newtonsoft.Json.Net20.dll old mode 100644 new mode 100755 diff --git a/bin/Nini.dll b/bin/Nini.dll old mode 100644 new mode 100755 diff --git a/bin/Npgsql.dll b/bin/Npgsql.dll old mode 100644 new mode 100755 diff --git a/bin/Ode.NET.dll b/bin/Ode.NET.dll old mode 100644 new mode 100755 diff --git a/bin/OpenMetaverse.StructuredData.dll b/bin/OpenMetaverse.StructuredData.dll old mode 100644 new mode 100755 diff --git a/bin/OpenMetaverse.dll b/bin/OpenMetaverse.dll old mode 100644 new mode 100755 diff --git a/bin/OpenMetaverseTypes.dll b/bin/OpenMetaverseTypes.dll old mode 100644 new mode 100755 diff --git a/bin/PhysX-wrapper.dll b/bin/PhysX-wrapper.dll old mode 100644 new mode 100755 diff --git a/bin/PhysX_Wrapper_Dotnet.dll b/bin/PhysX_Wrapper_Dotnet.dll old mode 100644 new mode 100755 diff --git a/bin/PrimMesher.dll b/bin/PrimMesher.dll old mode 100644 new mode 100755 diff --git a/bin/PumaCode.SvnDotNet.dll b/bin/PumaCode.SvnDotNet.dll old mode 100644 new mode 100755 diff --git a/bin/Tools.dll b/bin/Tools.dll old mode 100644 new mode 100755 diff --git a/bin/Warp3D.dll b/bin/Warp3D.dll old mode 100644 new mode 100755 diff --git a/bin/XMLRPC.dll b/bin/XMLRPC.dll old mode 100644 new mode 100755 diff --git a/bin/libbulletnet.dll b/bin/libbulletnet.dll old mode 100644 new mode 100755 diff --git a/bin/libdb_dotNET43.dll b/bin/libdb_dotNET43.dll old mode 100644 new mode 100755 diff --git a/bin/log4net.dll b/bin/log4net.dll old mode 100644 new mode 100755 diff --git a/bin/nunit.framework.dll b/bin/nunit.framework.dll old mode 100644 new mode 100755 diff --git a/bin/ode.dll b/bin/ode.dll old mode 100644 new mode 100755 diff --git a/bin/openjpeg-dotnet-x86_64.dll b/bin/openjpeg-dotnet-x86_64.dll old mode 100644 new mode 100755 diff --git a/bin/openjpeg-dotnet.dll b/bin/openjpeg-dotnet.dll old mode 100644 new mode 100755 diff --git a/bin/xunit.dll b/bin/xunit.dll old mode 100644 new mode 100755 diff --git a/bin/zlib.net.dll b/bin/zlib.net.dll old mode 100644 new mode 100755 From 50aa93137d052c643a6ed44c32f0b4c5b32da79e Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 28 Apr 2011 00:59:21 +0100 Subject: [PATCH 12/23] Fix a bug where physical objects rezzed with an initial velocity by script do not receive this velocity. This is a minimal fix for the 0.7.1 release, pending a non copy/paste solution. This hopefully addresses http://opensimulator.org/mantis/view.php?id=5457 The bug was introduced in commit 3ba5eeb --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 0f85925c78..0b2b01a944 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -2039,6 +2039,12 @@ namespace OpenSim.Region.Framework.Scenes if (rot != null) group.UpdateGroupRotationR((Quaternion)rot); + // TODO: This needs to be refactored with the similar code in + // SceneGraph.AddNewSceneObject(SceneObjectGroup sceneObject, bool attachToBackup, Vector3 pos, Quaternion rot, Vector3 vel) + // possibly by allowing this method to take a null rotation. + if (group.RootPart.PhysActor != null && group.RootPart.PhysActor.IsPhysical && vel != Vector3.Zero) + group.RootPart.ApplyImpulse((vel * group.GetMass()), false); + // We can only call this after adding the scene object, since the scene object references the scene // to find out if scripts should be activated at all. group.CreateScriptInstances(param, true, DefaultScriptEngine, 3); From 7ecf6895842eff93155e49d2f7fa4cd833510726 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 28 Apr 2011 07:28:29 -0700 Subject: [PATCH 13/23] Thank you MrMonkE for a patch that seems to bring the MSSQL data layer up to speed with 0.7.x. --- .../Data/MSSQL/MSSQLGenericTableHandler.cs | 6 +- OpenSim/Data/MSSQL/MSSQLMigration.cs | 3 +- OpenSim/Data/MSSQL/MSSQLSimulationData.cs | 25 ++-- .../Data/MSSQL/Resources/AuthStore.migrations | 8 +- .../Data/MSSQL/Resources/Avatar.migrations | 25 +++- .../MSSQL/Resources/FriendsStore.migrations | 4 +- .../Data/MSSQL/Resources/GridStore.migrations | 13 ++ .../MSSQL/Resources/InventoryStore.migrations | 9 +- .../Data/MSSQL/Resources/Presence.migrations | 17 +-- .../MSSQL/Resources/RegionStore.migrations | 119 +++++++++++++++++- .../MSSQL/Resources/UserAccount.migrations | 2 +- 11 files changed, 199 insertions(+), 32 deletions(-) diff --git a/OpenSim/Data/MSSQL/MSSQLGenericTableHandler.cs b/OpenSim/Data/MSSQL/MSSQLGenericTableHandler.cs index 6a5d6eb58a..f5492b3050 100644 --- a/OpenSim/Data/MSSQL/MSSQLGenericTableHandler.cs +++ b/OpenSim/Data/MSSQL/MSSQLGenericTableHandler.cs @@ -56,15 +56,15 @@ namespace OpenSim.Data.MSSQL string realm, string storeName) { m_Realm = realm; + + m_ConnectionString = connectionString; if (storeName != String.Empty) { - Assembly assem = GetType().Assembly; - m_ConnectionString = connectionString; using (SqlConnection conn = new SqlConnection(m_ConnectionString)) { conn.Open(); - Migration m = new Migration(conn, assem, storeName); + Migration m = new Migration(conn, GetType().Assembly, storeName); m.Update(); } diff --git a/OpenSim/Data/MSSQL/MSSQLMigration.cs b/OpenSim/Data/MSSQL/MSSQLMigration.cs index aea31c9eaa..cd395b84d1 100644 --- a/OpenSim/Data/MSSQL/MSSQLMigration.cs +++ b/OpenSim/Data/MSSQL/MSSQLMigration.cs @@ -61,7 +61,8 @@ namespace OpenSim.Data.MSSQL } catch { - // Something went wrong, so we're version 0 + // Return -1 to indicate table does not exist + return -1; } } return version; diff --git a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs index 80ec65e246..5155e567e6 100644 --- a/OpenSim/Data/MSSQL/MSSQLSimulationData.cs +++ b/OpenSim/Data/MSSQL/MSSQLSimulationData.cs @@ -492,12 +492,11 @@ ELSE using (SqlConnection conn = new SqlConnection(m_connectionString)) using (SqlCommand cmd = new SqlCommand(sql, conn)) { + conn.Open(); foreach (TaskInventoryItem taskItem in items) { cmd.Parameters.AddRange(CreatePrimInventoryParameters(taskItem)); - conn.Open(); cmd.ExecuteNonQuery(); - cmd.Parameters.Clear(); } } @@ -1154,9 +1153,9 @@ VALUES PrimitiveBaseShape baseShape = new PrimitiveBaseShape(); baseShape.Scale = new Vector3( - Convert.ToSingle(shapeRow["ScaleX"]), - Convert.ToSingle(shapeRow["ScaleY"]), - Convert.ToSingle(shapeRow["ScaleZ"])); + (float)Convert.ToDouble(shapeRow["ScaleX"]), + (float)Convert.ToDouble(shapeRow["ScaleY"]), + (float)Convert.ToDouble(shapeRow["ScaleZ"])); // paths baseShape.PCode = Convert.ToByte(shapeRow["PCode"]); @@ -1193,8 +1192,11 @@ VALUES { } - if (!(shapeRow["Media"] is System.DBNull)) + if (!(shapeRow["Media"] is System.DBNull) ) + { baseShape.Media = PrimitiveBaseShape.MediaList.FromXml((string)shapeRow["Media"]); + } + return baseShape; } @@ -1573,7 +1575,16 @@ VALUES parameters.Add(_Database.CreateParameter("Texture", s.TextureEntry)); parameters.Add(_Database.CreateParameter("ExtraParams", s.ExtraParams)); parameters.Add(_Database.CreateParameter("State", s.State)); - parameters.Add(_Database.CreateParameter("Media", null == s.Media ? null : s.Media.ToXml())); + + if(null == s.Media ) + { + parameters.Add(_Database.CreateParameter("Media", DBNull.Value)); + } + else + { + parameters.Add(_Database.CreateParameter("Media", s.Media.ToXml())); + } + return parameters.ToArray(); } diff --git a/OpenSim/Data/MSSQL/Resources/AuthStore.migrations b/OpenSim/Data/MSSQL/Resources/AuthStore.migrations index 5b90ca3d36..eb9129645f 100644 --- a/OpenSim/Data/MSSQL/Resources/AuthStore.migrations +++ b/OpenSim/Data/MSSQL/Resources/AuthStore.migrations @@ -22,7 +22,11 @@ COMMIT BEGIN TRANSACTION -INSERT INTO auth (UUID, passwordHash, passwordSalt, webLoginKey, accountType) SELECT [UUID] AS UUID, [passwordHash] AS passwordHash, [passwordSalt] AS passwordSalt, [webLoginKey] AS webLoginKey, 'UserAccount' as [accountType] FROM users; +IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[users]') AND type in (N'U')) + INSERT INTO auth (UUID, passwordHash, passwordSalt, webLoginKey, accountType) SELECT [UUID] AS UUID, [passwordHash] AS passwordHash, [passwordSalt] AS passwordSalt, [webLoginKey] AS webLoginKey, 'UserAccount' as [accountType] FROM users; + +COMMIT + + -COMMIT \ No newline at end of file diff --git a/OpenSim/Data/MSSQL/Resources/Avatar.migrations b/OpenSim/Data/MSSQL/Resources/Avatar.migrations index 759e939caf..5364153363 100644 --- a/OpenSim/Data/MSSQL/Resources/Avatar.migrations +++ b/OpenSim/Data/MSSQL/Resources/Avatar.migrations @@ -13,5 +13,28 @@ PRIMARY KEY CLUSTERED ) ON [PRIMARY] +COMMIT + +:VERSION 2 + +BEGIN TRANSACTION + +CREATE TABLE dbo.Tmp_Avatars + ( + PrincipalID uniqueidentifier NOT NULL, + [Name] varchar(32) NOT NULL, + Value text NOT NULL DEFAULT '', + ) ON [PRIMARY] + TEXTIMAGE_ON [PRIMARY] + +IF EXISTS(SELECT * FROM dbo.Avatars) + EXEC('INSERT INTO dbo.Tmp_Avatars (PrincipalID, Name, Value) + SELECT PrincipalID, CONVERT(text, Name), Value FROM dbo.Avatars WITH (HOLDLOCK TABLOCKX)') + +DROP TABLE dbo.Avatars + +EXECUTE sp_rename N'dbo.Tmp_Avatars', N'Avatars', 'OBJECT' + +COMMIT + -COMMIT \ No newline at end of file diff --git a/OpenSim/Data/MSSQL/Resources/FriendsStore.migrations b/OpenSim/Data/MSSQL/Resources/FriendsStore.migrations index f981a91999..4d8ab0f622 100644 --- a/OpenSim/Data/MSSQL/Resources/FriendsStore.migrations +++ b/OpenSim/Data/MSSQL/Resources/FriendsStore.migrations @@ -15,6 +15,8 @@ COMMIT BEGIN TRANSACTION -INSERT INTO Friends (PrincipalID, Friend, Flags, Offered) SELECT [ownerID], [friendID], [friendPerms], 0 FROM userfriends; +IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[userfriends]') AND type in (N'U')) +INSERT INTO Friends (PrincipalID, Friend, Flags, Offered) +SELECT [ownerID], [friendID], [friendPerms], 0 FROM userfriends; COMMIT \ No newline at end of file diff --git a/OpenSim/Data/MSSQL/Resources/GridStore.migrations b/OpenSim/Data/MSSQL/Resources/GridStore.migrations index d2ca27a071..c6342fcdfd 100644 --- a/OpenSim/Data/MSSQL/Resources/GridStore.migrations +++ b/OpenSim/Data/MSSQL/Resources/GridStore.migrations @@ -222,4 +222,17 @@ ALTER TABLE [regions] ADD [Token] varchar(255) NOT NULL DEFAULT 0; COMMIT +:VERSION 8 +BEGIN TRANSACTION +ALTER TABLE regions ALTER COLUMN regionName VarChar(128) + +DROP INDEX IX_regions_name ON dbo.regions +ALTER TABLE regions ALTER COLUMN regionName VarChar(128) null + +CREATE NONCLUSTERED INDEX IX_regions_name ON dbo.regions + ( + regionName + ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] + +COMMIT \ No newline at end of file diff --git a/OpenSim/Data/MSSQL/Resources/InventoryStore.migrations b/OpenSim/Data/MSSQL/Resources/InventoryStore.migrations index e2a8d5709b..4a3cb27312 100644 --- a/OpenSim/Data/MSSQL/Resources/InventoryStore.migrations +++ b/OpenSim/Data/MSSQL/Resources/InventoryStore.migrations @@ -238,7 +238,10 @@ alter table inventoryitems COMMIT - - - +:VERSION 8 +ALTER TABLE inventoryitems +ADD CONSTRAINT DF_inventoryitems_creatorID +DEFAULT '00000000-0000-0000-0000-000000000000' FOR creatorID + +:GO \ No newline at end of file diff --git a/OpenSim/Data/MSSQL/Resources/Presence.migrations b/OpenSim/Data/MSSQL/Resources/Presence.migrations index 35f78e1f52..bcb6328434 100644 --- a/OpenSim/Data/MSSQL/Resources/Presence.migrations +++ b/OpenSim/Data/MSSQL/Resources/Presence.migrations @@ -7,14 +7,7 @@ CREATE TABLE [Presence] ( [RegionID] uniqueidentifier NOT NULL, [SessionID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', [SecureSessionID] uniqueidentifier NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000', -[Online] char(5) NOT NULL DEFAULT 'false', -[Login] char(16) NOT NULL DEFAULT '0', -[Logout] char(16) NOT NULL DEFAULT '0', -[Position] char(64) NOT NULL DEFAULT '<0,0,0>', -[LookAt] char(64) NOT NULL DEFAULT '<0,0,0>', -[HomeRegionID] uniqueidentifier NOT NULL, -[HomePosition] CHAR(64) NOT NULL DEFAULT '<0,0,0>', -[HomeLookAt] CHAR(64) NOT NULL DEFAULT '<0,0,0>', + ) ON [PRIMARY] @@ -27,4 +20,12 @@ BEGIN TRANSACTION CREATE UNIQUE INDEX SessionID ON Presence(SessionID); CREATE INDEX UserID ON Presence(UserID); +COMMIT + +:VERSION 2 + +BEGIN TRANSACTION + +ALTER TABLE Presence ADD LastSeen DateTime + COMMIT \ No newline at end of file diff --git a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations index e2e8cbb117..340b63dec3 100644 --- a/OpenSim/Data/MSSQL/Resources/RegionStore.migrations +++ b/OpenSim/Data/MSSQL/Resources/RegionStore.migrations @@ -1,4 +1,3 @@ - :VERSION 1 CREATE TABLE [dbo].[prims]( @@ -926,11 +925,121 @@ ALTER TABLE regionsettings ADD loaded_creation_datetime int NOT NULL default 0 COMMIT :VERSION 24 --- Added post 0.7 BEGIN TRANSACTION -ALTER TABLE prims ADD COLUMN MediaURL varchar(255) -ALTER TABLE primshapes ADD COLUMN Media TEXT +ALTER TABLE prims ADD MediaURL varchar(255) +ALTER TABLE primshapes ADD Media TEXT NULL -COMMIT \ No newline at end of file +COMMIT + +:VERSION 25 + +BEGIN TRANSACTION +CREATE TABLE "regionwindlight" ( + "region_id" varchar(36) NOT NULL DEFAULT '000000-0000-0000-0000-000000000000', + "water_color_r" [float] NOT NULL DEFAULT '4.000000', + "water_color_g" [float] NOT NULL DEFAULT '38.000000', + "water_color_b" [float] NOT NULL DEFAULT '64.000000', + "water_fog_density_exponent" [float] NOT NULL DEFAULT '4.0', + "underwater_fog_modifier" [float] NOT NULL DEFAULT '0.25', + "reflection_wavelet_scale_1" [float] NOT NULL DEFAULT '2.0', + "reflection_wavelet_scale_2" [float] NOT NULL DEFAULT '2.0', + "reflection_wavelet_scale_3" [float] NOT NULL DEFAULT '2.0', + "fresnel_scale" [float] NOT NULL DEFAULT '0.40', + "fresnel_offset" [float] NOT NULL DEFAULT '0.50', + "refract_scale_above" [float] NOT NULL DEFAULT '0.03', + "refract_scale_below" [float] NOT NULL DEFAULT '0.20', + "blur_multiplier" [float] NOT NULL DEFAULT '0.040', + "big_wave_direction_x" [float] NOT NULL DEFAULT '1.05', + "big_wave_direction_y" [float] NOT NULL DEFAULT '-0.42', + "little_wave_direction_x" [float] NOT NULL DEFAULT '1.11', + "little_wave_direction_y" [float] NOT NULL DEFAULT '-1.16', + "normal_map_texture" varchar(36) NOT NULL DEFAULT '822ded49-9a6c-f61c-cb89-6df54f42cdf4', + "horizon_r" [float] NOT NULL DEFAULT '0.25', + "horizon_g" [float] NOT NULL DEFAULT '0.25', + "horizon_b" [float] NOT NULL DEFAULT '0.32', + "horizon_i" [float] NOT NULL DEFAULT '0.32', + "haze_horizon" [float] NOT NULL DEFAULT '0.19', + "blue_density_r" [float] NOT NULL DEFAULT '0.12', + "blue_density_g" [float] NOT NULL DEFAULT '0.22', + "blue_density_b" [float] NOT NULL DEFAULT '0.38', + "blue_density_i" [float] NOT NULL DEFAULT '0.38', + "haze_density" [float] NOT NULL DEFAULT '0.70', + "density_multiplier" [float] NOT NULL DEFAULT '0.18', + "distance_multiplier" [float] NOT NULL DEFAULT '0.8', + "max_altitude" int NOT NULL DEFAULT '1605', + "sun_moon_color_r" [float] NOT NULL DEFAULT '0.24', + "sun_moon_color_g" [float] NOT NULL DEFAULT '0.26', + "sun_moon_color_b" [float] NOT NULL DEFAULT '0.30', + "sun_moon_color_i" [float] NOT NULL DEFAULT '0.30', + "sun_moon_position" [float] NOT NULL DEFAULT '0.317', + "ambient_r" [float] NOT NULL DEFAULT '0.35', + "ambient_g" [float] NOT NULL DEFAULT '0.35', + "ambient_b" [float] NOT NULL DEFAULT '0.35', + "ambient_i" [float] NOT NULL DEFAULT '0.35', + "east_angle" [float] NOT NULL DEFAULT '0.00', + "sun_glow_focus" [float] NOT NULL DEFAULT '0.10', + "sun_glow_size" [float] NOT NULL DEFAULT '1.75', + "scene_gamma" [float] NOT NULL DEFAULT '1.00', + "star_brightness" [float] NOT NULL DEFAULT '0.00', + "cloud_color_r" [float] NOT NULL DEFAULT '0.41', + "cloud_color_g" [float] NOT NULL DEFAULT '0.41', + "cloud_color_b" [float] NOT NULL DEFAULT '0.41', + "cloud_color_i" [float] NOT NULL DEFAULT '0.41', + "cloud_x" [float] NOT NULL DEFAULT '1.00', + "cloud_y" [float] NOT NULL DEFAULT '0.53', + "cloud_density" [float] NOT NULL DEFAULT '1.00', + "cloud_coverage" [float] NOT NULL DEFAULT '0.27', + "cloud_scale" [float] NOT NULL DEFAULT '0.42', + "cloud_detail_x" [float] NOT NULL DEFAULT '1.00', + "cloud_detail_y" [float] NOT NULL DEFAULT '0.53', + "cloud_detail_density" [float] NOT NULL DEFAULT '0.12', + "cloud_scroll_x" [float] NOT NULL DEFAULT '0.20', + "cloud_scroll_x_lock" tinyint NOT NULL DEFAULT '0', + "cloud_scroll_y" [float] NOT NULL DEFAULT '0.01', + "cloud_scroll_y_lock" tinyint NOT NULL DEFAULT '0', + "draw_classic_clouds" tinyint NOT NULL DEFAULT '1', + PRIMARY KEY ("region_id") +) + +COMMIT TRANSACTION + +:VERSION 26 + +BEGIN TRANSACTION + +ALTER TABLE regionsettings ADD map_tile_ID CHAR(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000' + +COMMIT + +:VERSION 27 #--------------------- + +BEGIN TRANSACTION +ALTER TABLE land ADD MediaType VARCHAR(32) NOT NULL DEFAULT 'none/none' +ALTER TABLE land ADD MediaDescription VARCHAR(255) NOT NULL DEFAULT '' +ALTER TABLE land ADD MediaSize VARCHAR(16) NOT NULL DEFAULT '0,0' +ALTER TABLE land ADD MediaLoop bit NOT NULL DEFAULT 0 +ALTER TABLE land ADD ObscureMusic bit NOT NULL DEFAULT 0 +ALTER TABLE land ADD ObscureMedia bit NOT NULL DEFAULT 0 +COMMIT + +:VERSION 28 #--------------------- + +BEGIN TRANSACTION + +ALTER TABLE prims +ADD CONSTRAINT DF_prims_CreatorID +DEFAULT '00000000-0000-0000-0000-000000000000' +FOR CreatorID + +ALTER TABLE prims ALTER COLUMN CreatorID uniqueidentifier NOT NULL + +ALTER TABLE primitems +ADD CONSTRAINT DF_primitems_CreatorID +DEFAULT '00000000-0000-0000-0000-000000000000' +FOR CreatorID + +ALTER TABLE primitems ALTER COLUMN CreatorID uniqueidentifier NOT NULL + +COMMIT diff --git a/OpenSim/Data/MSSQL/Resources/UserAccount.migrations b/OpenSim/Data/MSSQL/Resources/UserAccount.migrations index 8534e235c9..a81704dcd6 100644 --- a/OpenSim/Data/MSSQL/Resources/UserAccount.migrations +++ b/OpenSim/Data/MSSQL/Resources/UserAccount.migrations @@ -19,7 +19,7 @@ CREATE TABLE [UserAccounts] ( :VERSION 2 BEGIN TRANSACTION - +IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[users]') AND type in (N'U')) INSERT INTO UserAccounts (PrincipalID, ScopeID, FirstName, LastName, Email, ServiceURLs, Created) SELECT [UUID] AS PrincipalID, '00000000-0000-0000-0000-000000000000' AS ScopeID, username AS FirstName, lastname AS LastName, From 5c227da4971b4a43246dbef02dfb84ae744daa82 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 28 Apr 2011 07:36:34 -0700 Subject: [PATCH 14/23] Added MrMonkE to the contributors. Fixed contributors. --- CONTRIBUTORS.txt | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index ef00c19b04..246c669f4a 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -1,34 +1,36 @@ The following people have contributed to OpenSim (Thank you for your effort!) -Add your name in here if you have committed to OpenSim - = Current OpenSim Developers (in very rough order of appearance) = These folks represent the current core team for OpenSim, and are the people that make the day to day of OpenSim happen. +* justincc +* chi11ken (Genkii) +* dahlia +* Melanie Thielker +* Diva (Crista Lopes, University of California, Irvine) +* Dan Lake (Intel) +* Marck +* Mic Bowman (Intel) +* BlueWall (James Hughes) + += Core Developers Following the White Rabbit = +Core developers who have temporarily (we hope) gone chasing the white rabbit. +They are in all similar to the active core developers, except that they haven't +been that active lately, so their voting rights are awaiting their come back. + * MW (Tribal Media AB) * Adam Frisby (DeepThink Pty Ltd) -* MingChen (DeepThink Pty Ltd) * lbsa71 (Tribal Media AB) -* Sean Dague / sdague (IBM) -* Tedd -* justincc * Teravus (w3z) -* Johan Berntsson (3Di) * Ckrinke (Charles Krinke) -* chi11ken (Genkii) -* adjohn (Genkii) * Dr Scofield aka Dirk Husemann (IBM Research - Zurich) -* dahlia * mikem (3Di) -* Melanie Thielker * Homer_Horwitz -* idb (Ian Brown) -* Diva (Crista Lopes, University of California, Irvine) * nlin (3Di) * Arthur Rodrigo S Valadares (IBM) -* BlueWall (James Hughes) +* John Hurliman = Past Open Sim Developers = These folks are alumns of the OpenSim core group, but are now @@ -44,6 +46,12 @@ where we are today. * Dalien * Darok * Alondria +* Sean Dague / sdague (IBM) +* Tedd +* MingChen (DeepThink Pty Ltd) +* adjohn (Genkii) +* idb (Ian Brown) +* Johan Berntsson (3Di) = Additional OpenSim Contributors = @@ -102,6 +110,7 @@ what it is today. * Misterblue (Intel) * Mircea Kitsune * mpallari +* MrMonkE * nornalbion * Omar Vera Ustariz (IBM) * openlifegrid.com From 549dc5aeb9e693f1f575896796d19b03ec3a732f Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 28 Apr 2011 08:58:04 -0700 Subject: [PATCH 15/23] Eliminated sAgentCircuitData, a data structure that has been obsolete for quite some time. --- OpenSim/Framework/AgentCircuitData.cs | 69 ------------------- OpenSim/Framework/ClientInfo.cs | 2 +- .../ClientStack/LindenUDP/LLClientView.cs | 2 +- 3 files changed, 2 insertions(+), 71 deletions(-) diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index 3dbc215d46..dbd47d392a 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs @@ -151,27 +151,6 @@ namespace OpenSim.Framework { } - /// - /// Create AgentCircuitData from a Serializable AgentCircuitData - /// - /// - public AgentCircuitData(sAgentCircuitData cAgent) - { - AgentID = new UUID(cAgent.AgentID); - SessionID = new UUID(cAgent.SessionID); - SecureSessionID = new UUID(cAgent.SecureSessionID); - startpos = new Vector3(cAgent.startposx, cAgent.startposy, cAgent.startposz); - firstname = cAgent.firstname; - lastname = cAgent.lastname; - circuitcode = cAgent.circuitcode; - child = cAgent.child; - InventoryFolder = new UUID(cAgent.InventoryFolder); - BaseFolder = new UUID(cAgent.BaseFolder); - CapsPath = cAgent.CapsPath; - ChildrenCapSeeds = cAgent.ChildrenCapSeeds; - Viewer = cAgent.Viewer; - } - /// /// Pack AgentCircuitData into an OSDMap for transmission over LLSD XML or LLSD json /// @@ -369,52 +348,4 @@ namespace OpenSim.Framework } - /// - /// Serializable Agent Circuit Data - /// - [Serializable] - public class sAgentCircuitData - { - public Guid AgentID; - public Guid BaseFolder; - public string CapsPath = String.Empty; - public Dictionary ChildrenCapSeeds; - public bool child; - public uint circuitcode; - public string firstname; - public Guid InventoryFolder; - public string lastname; - public Guid SecureSessionID; - public Guid SessionID; - public float startposx; - public float startposy; - public float startposz; - public string Viewer; - public string Channel; - public string Mac; - public string Id0; - - public sAgentCircuitData() - { - } - - public sAgentCircuitData(AgentCircuitData cAgent) - { - AgentID = cAgent.AgentID.Guid; - SessionID = cAgent.SessionID.Guid; - SecureSessionID = cAgent.SecureSessionID.Guid; - startposx = cAgent.startpos.X; - startposy = cAgent.startpos.Y; - startposz = cAgent.startpos.Z; - firstname = cAgent.firstname; - lastname = cAgent.lastname; - circuitcode = cAgent.circuitcode; - child = cAgent.child; - InventoryFolder = cAgent.InventoryFolder.Guid; - BaseFolder = cAgent.BaseFolder.Guid; - CapsPath = cAgent.CapsPath; - ChildrenCapSeeds = cAgent.ChildrenCapSeeds; - Viewer = cAgent.Viewer; - } - } } diff --git a/OpenSim/Framework/ClientInfo.cs b/OpenSim/Framework/ClientInfo.cs index fbd18b5636..8292c6aa0b 100644 --- a/OpenSim/Framework/ClientInfo.cs +++ b/OpenSim/Framework/ClientInfo.cs @@ -34,7 +34,7 @@ namespace OpenSim.Framework [Serializable] public class ClientInfo { - public sAgentCircuitData agentcircuit; + public AgentCircuitData agentcircuit; public Dictionary needAck; diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 22bad99641..43903ce1bd 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -11635,7 +11635,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP info.userEP = m_userEndPoint; info.proxyEP = null; - info.agentcircuit = new sAgentCircuitData(RequestClientInfo()); + info.agentcircuit = RequestClientInfo(); return info; } From 35f190cc920d3c6fd94c48928d29e15a9b143abf Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 28 Apr 2011 09:06:57 -0700 Subject: [PATCH 16/23] One less [Serializable] -- ClientInfo. --- OpenSim/Framework/ClientInfo.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/OpenSim/Framework/ClientInfo.cs b/OpenSim/Framework/ClientInfo.cs index 8292c6aa0b..62acb70566 100644 --- a/OpenSim/Framework/ClientInfo.cs +++ b/OpenSim/Framework/ClientInfo.cs @@ -31,7 +31,6 @@ using System.Net; namespace OpenSim.Framework { - [Serializable] public class ClientInfo { public AgentCircuitData agentcircuit; From cd7517ccb9d522f5fecd57523285a0b17c147620 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 28 Apr 2011 22:59:12 +0100 Subject: [PATCH 17/23] Stop CHANGED_INVENTORY firing twice if a notecard is edited in prim. Addresses http://opensimulator.org/mantis/view.php?id=5444 Fix is to stop the asset transaction calling UpdateInventoryItem() since the caller is doing it anyway, which is more correct. This did not effect scripts. --- .../Agent/AssetTransaction/AgentAssetsTransactions.cs | 9 +++++---- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 4 ++++ .../Region/Framework/Scenes/SceneObjectPartInventory.cs | 7 +++++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs index 771038e1af..9d8082bd33 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AgentAssetsTransactions.cs @@ -41,8 +41,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction /// public class AgentAssetTransactions { -// private static readonly ILog m_log = LogManager.GetLogger( -// MethodBase.GetCurrentMethod().DeclaringType); +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); // Fields private bool m_dumpAssetsToFile; @@ -149,6 +148,10 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction if (asset != null) { +// m_log.DebugFormat( +// "[AGENT ASSETS TRANSACTIONS]: Updating item {0} in {1} for transaction {2}", +// item.Name, part.Name, transactionID); + asset.FullID = UUID.Random(); asset.Name = item.Name; asset.Description = item.Description; @@ -156,8 +159,6 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction item.AssetID = asset.FullID; m_Scene.AssetService.Store(asset); - - part.Inventory.UpdateInventoryItem(item); } } } diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 0b2b01a944..b0f0de62bb 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -1430,6 +1430,10 @@ namespace OpenSim.Region.Framework.Scenes } else // Updating existing item with new perms etc { +// m_log.DebugFormat( +// "[PRIM INVENTORY]: Updating item {0} in {1} for UpdateTaskInventory()", +// currentItem.Name, part.Name); + IAgentAssetTransactions agentTransactions = this.RequestModuleInterface(); if (agentTransactions != null) { diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 3281eabd33..3b60f8c6da 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs @@ -693,8 +693,9 @@ namespace OpenSim.Region.Framework.Scenes { TaskInventoryItem it = GetInventoryItem(item.ItemID); if (it != null) - { +// m_log.DebugFormat("[PRIM INVENTORY]: Updating item {0} in {1}", item.Name, m_part.Name); + item.ParentID = m_part.UUID; item.ParentPartID = m_part.UUID; @@ -711,14 +712,16 @@ namespace OpenSim.Region.Framework.Scenes m_items[item.ItemID] = item; m_inventorySerial++; } - + if (fireScriptEvents) m_part.TriggerScriptChangedEvent(Changed.INVENTORY); + if (considerChanged) { HasInventoryChanged = true; m_part.ParentGroup.HasGroupChanged = true; } + return true; } else From 9892e115ccdcc8567087041917fb5c7694aa8836 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 28 Apr 2011 20:19:54 -0700 Subject: [PATCH 18/23] Fatpack message on agent transfers: 1 message only (UpdateAgent) containing the agent and all attachments. Preserves backwards compatibility -- older sims get passed attachments one by one. Meaning that I finally introduced versioning in the simulation service. --- OpenSim/Framework/ChildAgentDataUpdate.cs | 57 +++++++- .../Framework/Tests/MundaneFrameworkTests.cs | 2 +- .../Avatar/Attachments/AttachmentsModule.cs | 13 +- .../EntityTransfer/EntityTransferModule.cs | 61 +++++---- .../EntityTransfer/HGEntityTransferModule.cs | 5 +- .../Simulation/LocalSimulationConnector.cs | 6 +- .../Simulation/RemoteSimulationConnector.cs | 7 +- OpenSim/Region/Framework/Scenes/Scene.cs | 4 +- .../Framework/Scenes/SceneObjectGroup.cs | 2 + .../Region/Framework/Scenes/ScenePresence.cs | 124 ++++-------------- .../Handlers/Simulation/AgentHandlers.cs | 9 +- .../Simulation/SimulationServiceConnector.cs | 21 +-- .../Services/Interfaces/ISimulationService.cs | 2 +- 13 files changed, 157 insertions(+), 156 deletions(-) diff --git a/OpenSim/Framework/ChildAgentDataUpdate.cs b/OpenSim/Framework/ChildAgentDataUpdate.cs index ce0b2fb784..a626b82302 100644 --- a/OpenSim/Framework/ChildAgentDataUpdate.cs +++ b/OpenSim/Framework/ChildAgentDataUpdate.cs @@ -62,7 +62,7 @@ namespace OpenSim.Framework UUID AgentID { get; set; } OSDMap Pack(); - void Unpack(OSDMap map); + void Unpack(OSDMap map, IScene scene); } /// @@ -122,7 +122,7 @@ namespace OpenSim.Framework return args; } - public void Unpack(OSDMap args) + public void Unpack(OSDMap args, IScene scene) { if (args.ContainsKey("region_handle")) UInt64.TryParse(args["region_handle"].AsString(), out RegionHandle); @@ -329,6 +329,10 @@ namespace OpenSim.Framework public string CallbackURI; + // These two must have the same Count + public List AttachmentObjects; + public List AttachmentObjectStates; + public virtual OSDMap Pack() { m_log.InfoFormat("[CHILDAGENTDATAUPDATE] Pack data"); @@ -441,7 +445,30 @@ namespace OpenSim.Framework if ((CallbackURI != null) && (!CallbackURI.Equals(""))) args["callback_uri"] = OSD.FromString(CallbackURI); + // Attachment objects for fatpack messages + if (AttachmentObjects != null) + { + int i = 0; + OSDArray attObjs = new OSDArray(AttachmentObjects.Count); + foreach (ISceneObject so in AttachmentObjects) + { + OSDMap info = new OSDMap(4); + info["sog"] = OSD.FromString(so.ToXml2()); + info["extra"] = OSD.FromString(so.ExtraToXmlString()); + info["modified"] = OSD.FromBoolean(so.HasGroupChanged); + try + { + info["state"] = OSD.FromString(AttachmentObjectStates[i++]); + } + catch (IndexOutOfRangeException e) + { + m_log.WarnFormat("[CHILD AGENT DATA]: scrtips list is shorter than object list."); + } + attObjs.Add(info); + } + args["attach_objects"] = attObjs; + } return args; } @@ -450,7 +477,7 @@ namespace OpenSim.Framework /// Avoiding reflection makes it painful to write, but that's the price! /// /// - public virtual void Unpack(OSDMap args) + public virtual void Unpack(OSDMap args, IScene scene) { m_log.InfoFormat("[CHILDAGENTDATAUPDATE] Unpack data"); @@ -628,6 +655,26 @@ namespace OpenSim.Framework if (args["callback_uri"] != null) CallbackURI = args["callback_uri"].AsString(); + + // Attachment objects + if (args["attach_objects"] != null && args["attach_objects"].Type == OSDType.Array) + { + OSDArray attObjs = (OSDArray)(args["attach_objects"]); + AttachmentObjects = new List(); + AttachmentObjectStates = new List(); + foreach (OSD o in attObjs) + { + if (o.Type == OSDType.Map) + { + OSDMap info = (OSDMap)o; + ISceneObject so = scene.DeserializeObject(info["sog"].AsString()); + so.ExtraFromXmlString(info["extra"].AsString()); + so.HasGroupChanged = info["modified"].AsBoolean(); + AttachmentObjects.Add(so); + AttachmentObjectStates.Add(info["state"].AsString()); + } + } + } } public AgentData() @@ -655,9 +702,9 @@ namespace OpenSim.Framework return base.Pack(); } - public override void Unpack(OSDMap map) + public override void Unpack(OSDMap map, IScene scene) { - base.Unpack(map); + base.Unpack(map, scene); } } } diff --git a/OpenSim/Framework/Tests/MundaneFrameworkTests.cs b/OpenSim/Framework/Tests/MundaneFrameworkTests.cs index e7f8bfc1f0..76de6be267 100644 --- a/OpenSim/Framework/Tests/MundaneFrameworkTests.cs +++ b/OpenSim/Framework/Tests/MundaneFrameworkTests.cs @@ -115,7 +115,7 @@ namespace OpenSim.Framework.Tests position2 = new AgentPosition(); Assert.IsFalse(position2.AgentID == position1.AgentID, "Test Error, position2 should be a blank uninitialized AgentPosition"); - position2.Unpack(position1.Pack()); + position2.Unpack(position1.Pack(), null); Assert.IsTrue(position2.AgentID == position1.AgentID, "Agent ID didn't unpack the same way it packed"); Assert.IsTrue(position2.Position == position1.Position, "Position didn't unpack the same way it packed"); diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index ff262648e5..520d794e74 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -562,14 +562,13 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments /// /// /// - /// + /// /// - protected void AttachToAgent(ScenePresence avatar, SceneObjectGroup so, uint attachmentpoint, Vector3 AttachOffset, bool silent) + protected void AttachToAgent(ScenePresence avatar, SceneObjectGroup so, uint attachmentpoint, Vector3 attachOffset, bool silent) { - // don't attach attachments to child agents - if (avatar.IsChildAgent) return; -// m_log.DebugFormat("[ATTACHMENTS MODULE]: Adding attachment {0} to avatar {1}", Name, avatar.Name); + m_log.DebugFormat("[ATTACHMENTS MODULE]: Adding attachment {0} to avatar {1} in pt {2} pos {3} {4}", Name, avatar.Name, + attachmentpoint, attachOffset, so.RootPart.AttachedPos); so.DetachFromBackup(); @@ -590,8 +589,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments so.RootPart.PhysActor = null; } - so.AbsolutePosition = AttachOffset; - so.RootPart.AttachedPos = AttachOffset; + so.AbsolutePosition = attachOffset; + so.RootPart.AttachedPos = attachOffset; so.RootPart.IsAttachment = true; so.RootPart.SetParentLocalId(avatar.LocalId); diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index c88be7ddb0..10547857f7 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -285,11 +285,13 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer } string reason; - if (!m_aScene.SimulationService.QueryAccess(finalDestination, sp.ControllingClient.AgentId, Vector3.Zero, out reason)) + string version; + if (!m_aScene.SimulationService.QueryAccess(finalDestination, sp.ControllingClient.AgentId, Vector3.Zero, out version, out reason)) { sp.ControllingClient.SendTeleportFailed("Teleport failed: " + reason); return; } + m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Destination is running version {0}", version); sp.ControllingClient.SendTeleportStart(teleportFlags); @@ -371,20 +373,6 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer capsPath = finalDestination.ServerURI + CapsUtil.GetCapsSeedPath(agentCircuit.CapsPath); } - // Expect avatar crossing is a heavy-duty function at the destination. - // That is where MakeRoot is called, which fetches appearance and inventory. - // Plus triggers OnMakeRoot, which spawns a series of asynchronous updates. - //m_commsProvider.InterRegion.ExpectAvatarCrossing(reg.RegionHandle, avatar.ControllingClient.AgentId, - // position, false); - - //{ - // avatar.ControllingClient.SendTeleportFailed("Problem with destination."); - // // We should close that agent we just created over at destination... - // List lst = new List(); - // lst.Add(reg.RegionHandle); - // SendCloseChildAgentAsync(avatar.UUID, lst); - // return; - //} SetInTransit(sp.UUID); @@ -426,7 +414,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer // TeleportFinish makes the client send CompleteMovementIntoRegion (at the destination), which // trigers a whole shebang of things there, including MakeRoot. So let's wait for confirmation - // that the client contacted the destination before we send the attachments and close things here. + // that the client contacted the destination before we close things here. if (!WaitForCallback(sp.UUID)) { m_log.WarnFormat( @@ -437,14 +425,20 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer return; } - // CrossAttachmentsIntoNewRegion is a synchronous call. We shouldn't need to wait after it - CrossAttachmentsIntoNewRegion(finalDestination, sp, true); + // For backwards compatibility + if (version == "Unknown" || version == string.Empty) + { + // CrossAttachmentsIntoNewRegion is a synchronous call. We shouldn't need to wait after it + m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Old simulator, sending attachments one by one..."); + CrossAttachmentsIntoNewRegion(finalDestination, sp, true); + } + + // May need to logout or other cleanup + AgentHasMovedAway(sp, logout); // Well, this is it. The agent is over there. KillEntity(sp.Scene, sp.LocalId); - // May need to logout or other cleanup - AgentHasMovedAway(sp.ControllingClient.SessionId, logout); // Now let's make it officially a child agent sp.MakeChildAgent(); @@ -513,8 +507,13 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer } - protected virtual void AgentHasMovedAway(UUID sessionID, bool logout) + protected virtual void AgentHasMovedAway(ScenePresence sp, bool logout) { + foreach (SceneObjectGroup sop in sp.Attachments) + { + sop.Scene.DeleteSceneObject(sop, true); + } + sp.Attachments.Clear(); } protected void KillEntity(Scene scene, uint localID) @@ -784,7 +783,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer GridRegion neighbourRegion = scene.GridService.GetRegionByPosition(scene.RegionInfo.ScopeID, (int)x, (int)y); string reason; - if (!scene.SimulationService.QueryAccess(neighbourRegion, agent.ControllingClient.AgentId, newpos, out reason)) + string version; + if (!scene.SimulationService.QueryAccess(neighbourRegion, agent.ControllingClient.AgentId, newpos, out version, out reason)) { agent.ControllingClient.SendAlertMessage("Cannot region cross into banned parcel"); if (r == null) @@ -804,7 +804,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer agent.InTransit(); CrossAgentToNewRegionDelegate d = CrossAgentToNewRegionAsync; - d.BeginInvoke(agent, newpos, neighbourx, neighboury, neighbourRegion, isFlying, CrossAgentToNewRegionCompleted, d); + d.BeginInvoke(agent, newpos, neighbourx, neighboury, neighbourRegion, isFlying, version, CrossAgentToNewRegionCompleted, d); return true; } @@ -861,17 +861,17 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer icon.EndInvoke(iar); } - public delegate ScenePresence CrossAgentToNewRegionDelegate(ScenePresence agent, Vector3 pos, uint neighbourx, uint neighboury, GridRegion neighbourRegion, bool isFlying); + public delegate ScenePresence CrossAgentToNewRegionDelegate(ScenePresence agent, Vector3 pos, uint neighbourx, uint neighboury, GridRegion neighbourRegion, bool isFlying, string version); /// /// This Closes child agents on neighbouring regions /// Calls an asynchronous method to do so.. so it doesn't lag the sim. /// - protected ScenePresence CrossAgentToNewRegionAsync(ScenePresence agent, Vector3 pos, uint neighbourx, uint neighboury, GridRegion neighbourRegion, bool isFlying) + protected ScenePresence CrossAgentToNewRegionAsync(ScenePresence agent, Vector3 pos, uint neighbourx, uint neighboury, GridRegion neighbourRegion, bool isFlying, string version) { ulong neighbourHandle = Utils.UIntsToLong((uint)(neighbourx * Constants.RegionSize), (uint)(neighboury * Constants.RegionSize)); - m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Crossing agent {0} {1} to {2}-{3}", agent.Firstname, agent.Lastname, neighbourx, neighboury); + m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Crossing agent {0} {1} to {2}-{3} running version {4}", agent.Firstname, agent.Lastname, neighbourx, neighboury, version); Scene m_scene = agent.Scene; @@ -945,7 +945,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer agent.SendOtherAgentsAvatarDataToMe(); agent.SendOtherAgentsAppearanceToMe(); - CrossAttachmentsIntoNewRegion(neighbourRegion, agent, true); + // Backwards compatibility + if (version == "Unknown" || version == string.Empty) + { + m_log.DebugFormat("[ENTITY TRANSFER MODULE]: Old neighbor, passing attachments one by one..."); + CrossAttachmentsIntoNewRegion(neighbourRegion, agent, true); + } + + AgentHasMovedAway(agent, false); // the user may change their profile information in other region, // so the userinfo in UserProfileCache is not reliable any more, delete it diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs index 79e76b4cbf..5c53f787bf 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs @@ -142,11 +142,12 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer return false; } - protected override void AgentHasMovedAway(UUID sessionID, bool logout) + protected override void AgentHasMovedAway(ScenePresence sp, bool logout) { + base.AgentHasMovedAway(sp, logout); if (logout) // Log them out of this grid - m_aScene.PresenceService.LogoutAgent(sessionID); + m_aScene.PresenceService.LogoutAgent(sp.ControllingClient.SessionId); } protected override bool CreateAgent(ScenePresence sp, GridRegion reg, GridRegion finalDestination, AgentCircuitData agentCircuit, uint teleportFlags, out string reason, out bool logout) diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs index a298b65820..2cf02b5544 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs @@ -41,6 +41,9 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation public class LocalSimulationConnectorModule : ISharedRegionModule, ISimulationService { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + // Version of this service + private const string m_Version = "SIMULATION/0.1"; + private List m_sceneList = new List(); private IEntityTransferModule m_AgentTransferModule; @@ -257,9 +260,10 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation return false; } - public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string reason) + public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string version, out string reason) { reason = "Communications failure"; + version = m_Version; if (destination == null) return false; diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs index 67f4d6030c..7858f2afd3 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs @@ -229,19 +229,20 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Simulation } - public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string reason) + public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string version, out string reason) { reason = "Communications failure"; + version = "Unknown"; if (destination == null) return false; // Try local first - if (m_localBackend.QueryAccess(destination, id, position, out reason)) + if (m_localBackend.QueryAccess(destination, id, position, out version, out reason)) return true; // else do the remote thing if (!m_localBackend.IsLocalRegion(destination.RegionHandle)) - return m_remoteConnector.QueryAccess(destination, id, position, out reason); + return m_remoteConnector.QueryAccess(destination, id, position, out version, out reason); return false; diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 01de82451f..696c6ee453 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2316,7 +2316,9 @@ namespace OpenSim.Region.Framework.Scenes /// public bool IncomingCreateObject(ISceneObject sog) { - //m_log.Debug(" >>> IncomingCreateObject(sog) <<< " + ((SceneObjectGroup)sog).AbsolutePosition + " deleted? " + ((SceneObjectGroup)sog).IsDeleted); + //m_log.DebugFormat(" >>> IncomingCreateObject(sog) <<< {0} deleted? {1} isAttach? {2}", ((SceneObjectGroup)sog).AbsolutePosition, + // ((SceneObjectGroup)sog).IsDeleted, ((SceneObjectGroup)sog).RootPart.IsAttachment); + SceneObjectGroup newObject; try { diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 19a95062b4..bccbe683f7 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -3361,6 +3361,8 @@ namespace OpenSim.Region.Framework.Scenes { SceneObjectGroup sog = Copy(false); sog.m_isDeleted = false; + sog.RootPart.IsAttachment = false; + sog.RootPart.GroupPosition = sog.RootPart.AttachedPos; return sog; } diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e4413a95c9..507fc50f99 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3078,54 +3078,6 @@ namespace OpenSim.Region.Framework.Scenes cAgent.Appearance = new AvatarAppearance(m_appearance); -/* - try - { - // We might not pass the Wearables in all cases... - // They're only needed so that persistent changes to the appearance - // are preserved in the new region where the user is moving to. - // But in Hypergrid we might not let this happen. - int i = 0; - UUID[] wears = new UUID[m_appearance.Wearables.Length * 2]; - foreach (AvatarWearable aw in m_appearance.Wearables) - { - if (aw != null) - { - wears[i++] = aw.ItemID; - wears[i++] = aw.AssetID; - } - else - { - wears[i++] = UUID.Zero; - wears[i++] = UUID.Zero; - } - } - cAgent.Wearables = wears; - - cAgent.VisualParams = m_appearance.VisualParams; - - if (m_appearance.Texture != null) - cAgent.AgentTextures = m_appearance.Texture.GetBytes(); - } - catch (Exception e) - { - m_log.Warn("[SCENE PRESENCE]: exception in CopyTo " + e.Message); - } - - //Attachments - List attPoints = m_appearance.GetAttachedPoints(); - if (attPoints != null) - { - //m_log.DebugFormat("[SCENE PRESENCE]: attachments {0}", attPoints.Count); - int i = 0; - AvatarAttachment[] attachs = new AvatarAttachment[attPoints.Count]; - foreach (int point in attPoints) - { - attachs[i++] = new AvatarAttachment(point, m_appearance.GetAttachedItem(point), m_appearance.GetAttachedAsset(point)); - } - cAgent.Attachments = attachs; - } -*/ lock (scriptedcontrols) { ControllerData[] controls = new ControllerData[scriptedcontrols.Count]; @@ -3145,9 +3097,21 @@ namespace OpenSim.Region.Framework.Scenes } catch { } - // cAgent.GroupID = ?? - // Groups??? - + // Attachment objects + if (m_attachments != null && m_attachments.Count > 0) + { + cAgent.AttachmentObjects = new List(); + cAgent.AttachmentObjectStates = new List(); + IScriptModule se = m_scene.RequestModuleInterface(); + foreach (SceneObjectGroup sog in m_attachments) + { + // We need to make a copy and pass that copy + // because of transfers withn the same sim + ISceneObject clone = sog.CloneForNewScene(); + cAgent.AttachmentObjects.Add(clone); + cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot()); + } + } } public void CopyFrom(AgentData cAgent) @@ -3188,50 +3152,6 @@ namespace OpenSim.Region.Framework.Scenes AddToPhysicalScene(isFlying); } -/* - uint i = 0; - try - { - if (cAgent.Wearables == null) - cAgent.Wearables = new UUID[0]; - AvatarWearable[] wears = new AvatarWearable[cAgent.Wearables.Length / 2]; - for (uint n = 0; n < cAgent.Wearables.Length; n += 2) - { - UUID itemId = cAgent.Wearables[n]; - UUID assetId = cAgent.Wearables[n + 1]; - wears[i++] = new AvatarWearable(itemId, assetId); - } - // m_appearance.Wearables = wears; - Primitive.TextureEntry textures = null; - if (cAgent.AgentTextures != null && cAgent.AgentTextures.Length > 1) - textures = new Primitive.TextureEntry(cAgent.AgentTextures, 0, cAgent.AgentTextures.Length); - - byte[] visuals = null; - - if ((cAgent.VisualParams != null) && (cAgent.VisualParams.Length < AvatarAppearance.VISUALPARAM_COUNT)) - visuals = (byte[])cAgent.VisualParams.Clone(); - - m_appearance = new AvatarAppearance(cAgent.AgentID,wears,textures,visuals); - } - catch (Exception e) - { - m_log.Warn("[SCENE PRESENCE]: exception in CopyFrom " + e.Message); - } - - // Attachments - try - { - if (cAgent.Attachments != null) - { - m_appearance.ClearAttachments(); - foreach (AvatarAttachment att in cAgent.Attachments) - { - m_appearance.SetAttachment(att.AttachPoint, att.ItemID, att.AssetID); - } - } - } - catch { } -*/ try { lock (scriptedcontrols) @@ -3261,8 +3181,18 @@ namespace OpenSim.Region.Framework.Scenes } catch { } - //cAgent.GroupID = ?? - //Groups??? + if (cAgent.AttachmentObjects != null && cAgent.AttachmentObjects.Count > 0) + { + m_attachments = new List(); + int i = 0; + foreach (ISceneObject so in cAgent.AttachmentObjects) + { + ((SceneObjectGroup)so).LocalId = 0; + ((SceneObjectGroup)so).RootPart.UpdateFlag = 0; + so.SetState(cAgent.AttachmentObjectStates[i++], m_scene); + m_scene.IncomingCreateObject(so); + } + } } public bool CopyAgent(out IAgentData agent) diff --git a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs index 372a59c038..8b6fb4f5c1 100644 --- a/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs +++ b/OpenSim/Server/Handlers/Simulation/AgentHandlers.cs @@ -50,6 +50,7 @@ namespace OpenSim.Server.Handlers.Simulation public class AgentHandler { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private ISimulationService m_SimulationService; protected bool m_Proxy = false; @@ -275,7 +276,7 @@ namespace OpenSim.Server.Handlers.Simulation AgentData agent = new AgentData(); try { - agent.Unpack(args); + agent.Unpack(args, m_SimulationService.GetScene(destination.RegionHandle)); } catch (Exception ex) { @@ -295,7 +296,7 @@ namespace OpenSim.Server.Handlers.Simulation AgentPosition agent = new AgentPosition(); try { - agent.Unpack(args); + agent.Unpack(args, m_SimulationService.GetScene(destination.RegionHandle)); } catch (Exception ex) { @@ -342,7 +343,8 @@ namespace OpenSim.Server.Handlers.Simulation destination.RegionID = regionID; string reason; - bool result = m_SimulationService.QueryAccess(destination, id, position, out reason); + string version; + bool result = m_SimulationService.QueryAccess(destination, id, position, out version, out reason); responsedata["int_response_code"] = HttpStatusCode.OK; @@ -350,6 +352,7 @@ namespace OpenSim.Server.Handlers.Simulation resp["success"] = OSD.FromBoolean(result); resp["reason"] = OSD.FromString(reason); + resp["version"] = OSD.FromString(version); responsedata["str_response_string"] = OSDParser.SerializeJsonString(resp); } diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 93b3ae62a9..415b4f0d37 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs @@ -241,7 +241,7 @@ namespace OpenSim.Services.Connectors.Simulation if (args != null) { agent = new CompleteAgentData(); - agent.Unpack(args); + agent.Unpack(args, null); return true; } } @@ -256,9 +256,10 @@ namespace OpenSim.Services.Connectors.Simulation /// /// - public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string reason) + public bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string version, out string reason) { reason = "Failed to contact destination"; + version = "Unknown"; // m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess start, position={0}", position); @@ -274,23 +275,27 @@ namespace OpenSim.Services.Connectors.Simulation try { OSDMap result = WebUtil.ServiceOSDRequest(uri, request, "QUERYACCESS", 10000); - bool success = result["success"].AsBoolean(); - reason = result["reason"].AsString(); + OSDMap data = (OSDMap)result["_Result"]; - //m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1}", uri, success); + bool success = result["success"].AsBoolean(); + reason = data["reason"].AsString(); + if (data["version"] != null) + version = data["version"].AsString(); + + m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1} version {2} ({3})", uri, success, version, data["version"].AsString()); if (!success) { - if (result.ContainsKey("Message")) + if (data.ContainsKey("Message")) { - string message = result["Message"].AsString(); + string message = data["Message"].AsString(); if (message == "Service request failed: [MethodNotAllowed] MethodNotAllowed") // Old style region { m_log.Info("[REMOTE SIMULATION CONNECTOR]: The above web util error was caused by a TP to a sim that doesn't support QUERYACCESS and can be ignored"); return true; } - reason = result["Message"]; + reason = data["Message"]; } else { diff --git a/OpenSim/Services/Interfaces/ISimulationService.cs b/OpenSim/Services/Interfaces/ISimulationService.cs index 55c9cc5717..5f9ce6d8b8 100644 --- a/OpenSim/Services/Interfaces/ISimulationService.cs +++ b/OpenSim/Services/Interfaces/ISimulationService.cs @@ -67,7 +67,7 @@ namespace OpenSim.Services.Interfaces bool RetrieveAgent(GridRegion destination, UUID id, out IAgentData agent); - bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string reason); + bool QueryAccess(GridRegion destination, UUID id, Vector3 position, out string version, out string reason); /// /// Message from receiving region to departing region, telling it got contacted by the client. From e462b926acc2810303d4ce5fc00f494f4765a7ad Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 29 Apr 2011 08:01:44 -0700 Subject: [PATCH 19/23] Minor improvement in version checking (Simulation service) --- .../Connectors/Simulation/SimulationServiceConnector.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs index 415b4f0d37..7545db8200 100644 --- a/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs +++ b/OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs @@ -279,7 +279,7 @@ namespace OpenSim.Services.Connectors.Simulation bool success = result["success"].AsBoolean(); reason = data["reason"].AsString(); - if (data["version"] != null) + if (data["version"] != null && data["version"].AsString() != string.Empty) version = data["version"].AsString(); m_log.DebugFormat("[REMOTE SIMULATION CONNECTOR]: QueryAccess to {0} returned {1} version {2} ({3})", uri, success, version, data["version"].AsString()); From 73caa4e94abc920269c2eba8423be49192ef184b Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 29 Apr 2011 08:42:51 -0700 Subject: [PATCH 20/23] Minor correction to yesterday's changes. Make normal prim crossing (no attach) work well again. --- OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 2 -- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index bccbe683f7..19a95062b4 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -3361,8 +3361,6 @@ namespace OpenSim.Region.Framework.Scenes { SceneObjectGroup sog = Copy(false); sog.m_isDeleted = false; - sog.RootPart.IsAttachment = false; - sog.RootPart.GroupPosition = sog.RootPart.AttachedPos; return sog; } diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 507fc50f99..fe4a7d1fa7 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3108,6 +3108,9 @@ namespace OpenSim.Region.Framework.Scenes // We need to make a copy and pass that copy // because of transfers withn the same sim ISceneObject clone = sog.CloneForNewScene(); + // Attachment module assumes that GroupPosition holds the offsets...! + ((SceneObjectGroup)clone).RootPart.GroupPosition = sog.RootPart.AttachedPos; + ((SceneObjectGroup)clone).RootPart.IsAttachment = false; cAgent.AttachmentObjects.Add(clone); cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot()); } From d565041e163d3bb47d6f5e3b7432871ee24edc13 Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Fri, 29 Apr 2011 15:49:10 -0700 Subject: [PATCH 21/23] Fix crash when [Mesh] section is missing from configuration files --- OpenSim/Region/Physics/Meshing/Meshmerizer.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs index 64774d8ee5..f89b824614 100644 --- a/OpenSim/Region/Physics/Meshing/Meshmerizer.cs +++ b/OpenSim/Region/Physics/Meshing/Meshmerizer.cs @@ -88,7 +88,8 @@ namespace OpenSim.Region.Physics.Meshing decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache"); cacheSculptMaps = start_config.GetBoolean("CacheSculptMaps", cacheSculptMaps); - useMeshiesPhysicsMesh = mesh_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh); + if(mesh_config != null) + useMeshiesPhysicsMesh = mesh_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh); try { From 0d49611f6db017da16b6099c440b6c1e2b2218b9 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 29 Apr 2011 15:52:06 -0700 Subject: [PATCH 22/23] Remove the scripts of the attachments in the departing region and recreate them if fail. --- .../Framework/EntityTransfer/EntityTransferModule.cs | 12 ++++++++++-- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 ++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 10547857f7..b985fbb371 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -479,7 +479,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer // Fail. Reset it back sp.IsChildAgent = false; - + ReInstantiateScripts(sp); ResetFromTransit(sp.UUID); EnableChildAgents(sp); @@ -930,6 +930,7 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer if (!WaitForCallback(agent.UUID)) { m_log.Debug("[ENTITY TRANSFER MODULE]: Callback never came in crossing agent"); + ReInstantiateScripts(agent); ResetFromTransit(agent.UUID); // Yikes! We should just have a ref to scene here. @@ -1756,7 +1757,14 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer return false; } - + protected void ReInstantiateScripts(ScenePresence sp) + { + sp.Attachments.ForEach(delegate(SceneObjectGroup sog) + { + sog.CreateScriptInstances(0, false, sp.Scene.DefaultScriptEngine, 0); + sog.ResumeScripts(); + }); + } #endregion } diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index fe4a7d1fa7..9b9d9dabc8 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3113,6 +3113,8 @@ namespace OpenSim.Region.Framework.Scenes ((SceneObjectGroup)clone).RootPart.IsAttachment = false; cAgent.AttachmentObjects.Add(clone); cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot()); + // Let's remove the scripts of the original object here + sog.RemoveScriptInstances(true); } } } From 4d5d6222f7edd7cd9c659571f280076c863a0fb1 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Fri, 29 Apr 2011 17:09:48 -0700 Subject: [PATCH 23/23] Delaying starting the scripts on TPs and crossings until the agent is root. --- OpenSim/Region/Framework/Scenes/Scene.cs | 22 ++++------ .../Region/Framework/Scenes/ScenePresence.cs | 41 +++++++++++++++---- 2 files changed, 40 insertions(+), 23 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 696c6ee453..2cbe4dc7fd 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -1229,7 +1229,6 @@ namespace OpenSim.Region.Framework.Scenes // Increment the frame counter ++Frame; - try { // Check if any objects have reached their targets @@ -2336,9 +2335,13 @@ namespace OpenSim.Region.Framework.Scenes return false; } - newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject)); - - newObject.ResumeScripts(); + // For attachments, we need to wait until the agent is root + // before we restart the scripts, or else some functions won't work. + if (!newObject.IsAttachment) + { + newObject.RootPart.ParentGroup.CreateScriptInstances(0, false, DefaultScriptEngine, GetStateSource(newObject)); + newObject.ResumeScripts(); + } // Do this as late as possible so that listeners have full access to the incoming object EventManager.TriggerOnIncomingSceneObject(newObject); @@ -2455,17 +2458,8 @@ namespace OpenSim.Region.Framework.Scenes ScenePresence sp = GetScenePresence(sog.OwnerID); if (sp != null) - { - AgentCircuitData aCircuit = m_authenticateHandler.GetAgentCircuitData(sp.UUID); + return sp.GetStateSource(); - if (aCircuit != null && (aCircuit.teleportFlags != (uint)TeleportFlags.Default)) - { - // This will get your attention - //m_log.Error("[XXX] Triggering CHANGED_TELEPORT"); - - return 5; // StateSource.Teleporting - } - } return 2; // StateSource.PrimCrossing } diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 9b9d9dabc8..1aac09ddbf 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -840,6 +840,9 @@ namespace OpenSim.Region.Framework.Scenes //m_log.DebugFormat("[SCENE]: known regions in {0}: {1}", Scene.RegionInfo.RegionName, KnownChildRegionHandles.Count); + bool wasChild = m_isChildAgent; + m_isChildAgent = false; + IGroupsModule gm = m_scene.RequestModuleInterface(); if (gm != null) m_grouptitle = gm.GetGroupTitle(m_uuid); @@ -929,14 +932,21 @@ namespace OpenSim.Region.Framework.Scenes // Animator.SendAnimPack(); m_scene.SwapRootAgentCount(false); - - //CachedUserInfo userInfo = m_scene.CommsManager.UserProfileCacheService.GetUserDetails(m_uuid); - //if (userInfo != null) - // userInfo.FetchInventory(); - //else - // m_log.ErrorFormat("[SCENE]: Could not find user info for {0} when making it a root agent", m_uuid); - - m_isChildAgent = false; + + // The initial login scene presence is already root when it gets here + // and it has already rezzed the attachments and started their scripts. + // We do the following only for non-login agents, because their scripts + // haven't started yet. + if (wasChild) + { + m_log.DebugFormat("[SCENE PRESENCE]: Restarting scripts in attachments..."); + // Resume scripts + Attachments.ForEach(delegate(SceneObjectGroup sog) + { + sog.RootPart.ParentGroup.CreateScriptInstances(0, false, m_scene.DefaultScriptEngine, GetStateSource()); + sog.ResumeScripts(); + }); + } // send the animations of the other presences to me m_scene.ForEachScenePresence(delegate(ScenePresence presence) @@ -948,6 +958,20 @@ namespace OpenSim.Region.Framework.Scenes m_scene.EventManager.TriggerOnMakeRootAgent(this); } + public int GetStateSource() + { + AgentCircuitData aCircuit = m_scene.AuthenticateHandler.GetAgentCircuitData(UUID); + + if (aCircuit != null && (aCircuit.teleportFlags != (uint)TeleportFlags.Default)) + { + // This will get your attention + //m_log.Error("[XXX] Triggering CHANGED_TELEPORT"); + + return 5; // StateSource.Teleporting + } + return 2; // StateSource.PrimCrossing + } + /// /// This turns a root agent into a child agent /// when an agent departs this region for a neighbor, this gets called. @@ -1139,7 +1163,6 @@ namespace OpenSim.Region.Framework.Scenes AbsolutePosition = pos; } - m_isChildAgent = false; bool m_flying = ((m_AgentControlFlags & AgentManager.ControlFlags.AGENT_CONTROL_FLY) != 0); MakeRootAgent(AbsolutePosition, m_flying);