* Added support for people directory searches [acidie]

* TestClient tracks its master through name and UUID now, and verifies identify by UUID [acidie]
* Objects.OnObjectProperties wasn't hooked up to a packet callback previously, fixed now
* Cleaned up the name2key example [acidie]

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1138 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2007-04-23 01:39:14 +00:00
parent 3fbf2ef6aa
commit 9218d12d4c
12 changed files with 344 additions and 151 deletions

View File

@@ -10,8 +10,8 @@ namespace libsecondlife.TestClient
private static void Usage()
{
Console.WriteLine("Usage: " + Environment.NewLine +
"TestClient.exe --first firstname --last lastname --pass password --contact \"youremail\" [--startpos \"sim/x/y/z\"] [--master \"master name\"]" +
Environment.NewLine + "TestClient.exe --file filename --contact \"youremail\" [--master \"master name\"]");
"TestClient.exe --first firstname --last lastname --pass password --contact \"youremail\" [--startpos \"sim/x/y/z\"] [--master \"master name\"] [--masterkey \"master uuid\"]" +
Environment.NewLine + "TestClient.exe --file filename --contact \"youremail\" [--master \"master name\"] [--masterkey \"master uuid\"]");
}
static void Main(string[] args)
@@ -21,13 +21,18 @@ namespace libsecondlife.TestClient
ClientManager manager;
List<LoginDetails> accounts = new List<LoginDetails>();
LoginDetails account;
string master = String.Empty;
string masterName = String.Empty;
LLUUID masterKey = LLUUID.Zero;
string file = String.Empty;
string contact = String.Empty;
if (arguments["masterkey"] != null)
{
masterKey = LLUUID.Parse(arguments["masterkey"]);
}
if (arguments["master"] != null)
{
master = arguments["master"];
masterName = arguments["master"];
}
if (arguments["contact"] != null)
@@ -103,8 +108,11 @@ namespace libsecondlife.TestClient
return;
}
foreach (LoginDetails a in accounts)
a.Master = master;
foreach (LoginDetails a in accounts)
{
a.MasterName = masterName;
a.MasterKey = masterKey;
}
// Login the accounts and run the input loop
if ( arguments["start"] != null ) {