Now We need to test to see if we can login

This commit is contained in:
MW
2007-05-29 18:07:17 +00:00
parent 4d0261ed22
commit b2f16fd4e1
5 changed files with 37 additions and 8 deletions

View File

@@ -28,7 +28,7 @@ namespace OpenSim.world
public void SendInitialPosition()
{
this.ControllingClient.SendAvatarData(this.regionData, this.firstname, this.lastname, this.uuid, this.localid, new LLVector3(128, 128, 100));
}
public void SendOurAppearance()
@@ -38,7 +38,7 @@ namespace OpenSim.world
public void SendOurAppearance(IClientAPI OurClient)
{
this.ControllingClient.SendWearables(this.Wearables);
}
public void SendAppearanceToOtherAgent(Avatar avatarInfo)

View File

@@ -50,6 +50,8 @@ namespace OpenSim.world
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "Avatar.cs - Loading details from grid (DUMMY)");
ControllingClient = TheClient;
this.firstname = ControllingClient.FirstName;
this.lastname = ControllingClient.LastName;
localid = 8880000 + (this.m_world._localNumber++);
Pos = ControllingClient.StartPos;
visualParams = new byte[218];
@@ -67,10 +69,10 @@ namespace OpenSim.world
this.avatarAppearanceTexture = new LLObject.TextureEntry(new LLUUID("00000000-0000-0000-5005-000000000005"));
/*
//register for events
ControllingClient.OnRequestWearables += new GenericCall(this.SendOurAppearance);
ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance);*/
//ControllingClient.OnSetAppearance += new SetAppearance(this.SetAppearance);
ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.CompleteMovement);
ControllingClient.OnCompleteMovementToRegion += new GenericCall2(this.SendInitialPosition);
/* ControllingClient.OnAgentUpdate += new GenericCall3(this.HandleAgentUpdate);