mirror of
https://github.com/TechplexEngineer/plexview.git
synced 2026-07-31 04:07:24 +00:00
I wish I could figure out how to have PlexVie be out of the LibOMV tree but its just not working die to a DLL not found exception about libopenjpeg. (Yes the dll is in the bin folder) This will do for now
29 lines
968 B
C#
29 lines
968 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using OpenMetaverse;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class WaitForLoginCommand : Command
|
|
{
|
|
public WaitForLoginCommand(TestClient testClient)
|
|
{
|
|
Name = "waitforlogin";
|
|
Description = "Waits until all bots that are currently attempting to login have succeeded or failed";
|
|
Category = CommandCategory.TestClient;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
while (ClientManager.Instance.PendingLogins > 0)
|
|
{
|
|
System.Threading.Thread.Sleep(1000);
|
|
Logger.Log("Pending logins: " + ClientManager.Instance.PendingLogins, Helpers.LogLevel.Info);
|
|
}
|
|
|
|
return "All pending logins have completed, currently tracking " + ClientManager.Instance.Clients.Count + " bots";
|
|
}
|
|
}
|
|
}
|