Initial commit

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
This commit is contained in:
Blake Bourque
2015-06-18 22:15:24 -04:00
commit 0bb2dff347
382 changed files with 273704 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
using System;
using OpenMetaverse;
namespace PlexView
{
public class PlexView
{
public PlexView (string[] args)
{
GridClient client = new GridClient();
client.Settings.LOGIN_SERVER = "http://login.osgrid.org/";
if (client.Network.Login("", "", "", "FirstBot", "1.0"))
{
// Yay we made it! let's print out the message of the day
Console.WriteLine("You have successfully logged into Second Life!\n The Message of the day is {0}\nPress any Key to Logout",
client.Network.LoginMessage);
Console.ReadLine(); // Wait for user to press a key before we continue
client.Network.Logout(); // Lets logout since we're done here
}
else
{
// tell the user why the login failed
Console.WriteLine("We were unable to login to Second Life, The Login Server said: {0}",
client.Network.LoginMessage);
}
Console.WriteLine("Press Any Key to Exit");
Console.ReadLine(); // Wait for user to press a key before we exit
}
}
}