Everything changed. Clever commit message TBA

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@952 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-02-06 00:08:51 +00:00
parent 5c9c96c9c2
commit f8534129a1
17 changed files with 868 additions and 1043 deletions

View File

@@ -86,22 +86,30 @@ namespace libsecondlife.TestClient
client.SimPrims = SimPrims;
client.Master = account.Master;
bool check = false;
if ( this.startpos.sim != null ) {
if ( this.startpos.x == 0 || this.startpos.y == 0 || this.startpos.z == 0 ) {
if (this.startpos.sim != null)
{
if (this.startpos.x == 0 || this.startpos.y == 0 || this.startpos.z == 0)
{
this.startpos.x = 128;
this.startpos.y = 128;
this.startpos.z = 1;
}
string startLoc = NetworkManager.StartLocation(this.startpos.sim, this.startpos.x, this.startpos.y, this.startpos.z);
string startLoc = NetworkManager.StartLocation(this.startpos.sim, this.startpos.x, this.startpos.y,
this.startpos.z);
Console.WriteLine(startLoc);
client.Network.Login(account.FirstName, account.LastName, account.Password, "TestClient", startLoc, contactPerson, false);
} else {
client.Network.Login(account.FirstName, account.LastName, account.Password, "TestClient", contactPerson);
client.Network.Login(account.FirstName, account.LastName, account.Password, "TestClient", startLoc,
contactPerson, false);
}
if ( ! check ) {
Console.WriteLine("Failed to login " + account.FirstName + " " + account.LastName + ": " + client.Network.LoginError);
else
{
if (!client.Network.Login(account.FirstName, account.LastName, account.Password, "TestClient",
contactPerson))
{
Console.WriteLine("Failed to login " + account.FirstName + " " + account.LastName + ": " +
client.Network.LoginError);
}
}
if (client.Network.Connected)