* Renamed SLProxy to GridProxy and fixed prebuild config to break it up into library and exe
* Renamed all other examples containing SL to Grid* git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1977 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -33,12 +33,12 @@ using System.Data;
|
||||
using OpenMetaverse;
|
||||
using OpenMetaverse.Packets;
|
||||
|
||||
namespace SLAccountant
|
||||
namespace GridAccountant
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for Form1.
|
||||
/// </summary>
|
||||
public class frmSLAccountant : System.Windows.Forms.Form
|
||||
public class frmGridAccountant : System.Windows.Forms.Form
|
||||
{
|
||||
private System.Windows.Forms.GroupBox grpLogin;
|
||||
private System.Windows.Forms.TextBox txtPassword;
|
||||
@@ -69,7 +69,7 @@ namespace SLAccountant
|
||||
|
||||
private GridClient Client;
|
||||
|
||||
public frmSLAccountant()
|
||||
public frmGridAccountant()
|
||||
{
|
||||
//
|
||||
// Required for Windows Form Designer support
|
||||
@@ -318,7 +318,7 @@ namespace SLAccountant
|
||||
this.colUuid.Text = "UUID";
|
||||
this.colUuid.Width = 150;
|
||||
//
|
||||
// frmSLAccountant
|
||||
// frmGridAccountant
|
||||
//
|
||||
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
|
||||
this.ClientSize = new System.Drawing.Size(592, 437);
|
||||
@@ -334,9 +334,9 @@ namespace SLAccountant
|
||||
this.Controls.Add(this.lblName);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.grpLogin);
|
||||
this.Name = "frmSLAccountant";
|
||||
this.Text = "SL Accountant";
|
||||
this.Load += new System.EventHandler(this.frmSLAccountant_Load);
|
||||
this.Name = "frmGridAccountant";
|
||||
this.Text = "Grid Accountant";
|
||||
this.Load += new System.EventHandler(this.frmGridAccountant_Load);
|
||||
this.grpLogin.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -349,7 +349,7 @@ namespace SLAccountant
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
frmSLAccountant frm = new frmSLAccountant();
|
||||
frmGridAccountant frm = new frmGridAccountant();
|
||||
frm.ShowDialog();
|
||||
}
|
||||
|
||||
@@ -389,7 +389,7 @@ namespace SLAccountant
|
||||
}
|
||||
}
|
||||
|
||||
private void frmSLAccountant_Load(object sender, System.EventArgs e)
|
||||
private void frmGridAccountant_Load(object sender, System.EventArgs e)
|
||||
{
|
||||
Client = new GridClient();
|
||||
|
||||
@@ -461,7 +461,7 @@ namespace SLAccountant
|
||||
txtFirstName.Enabled = txtLastName.Enabled = txtPassword.Enabled = false;
|
||||
|
||||
LoginParams loginParams = Client.Network.DefaultLoginParams(txtFirstName.Text, txtLastName.Text,
|
||||
txtPassword.Text, "slaccountant", "1.0.0");
|
||||
txtPassword.Text, "GridAccountant", "1.0.0");
|
||||
Client.Network.BeginLogin(loginParams);
|
||||
}
|
||||
else
|
||||
@@ -513,7 +513,7 @@ namespace SLAccountant
|
||||
}
|
||||
|
||||
Client.Self.GiveAvatarMoney(new LLUUID(lstFind.SelectedItems[0].SubItems[2].Text),
|
||||
amount, "SLAccountant payment");
|
||||
amount, "GridAccountant payment");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -320,7 +320,7 @@
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="$this.Name">
|
||||
<value>frmSLAccountant</value>
|
||||
<value>frmGridAccountant</value>
|
||||
</data>
|
||||
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>Private</value>
|
||||
@@ -30,9 +30,9 @@ using System.Threading;
|
||||
using OpenMetaverse;
|
||||
using OpenMetaverse.Packets;
|
||||
|
||||
namespace sldump
|
||||
namespace PacketDump
|
||||
{
|
||||
class sldump
|
||||
class PacketDump
|
||||
{
|
||||
static bool LoginSuccess = false;
|
||||
static AutoResetEvent LoginEvent = new AutoResetEvent(false);
|
||||
@@ -65,7 +65,7 @@ namespace sldump
|
||||
|
||||
if (args.Length == 0 || (args.Length < 4 && args[0] != "--printmap"))
|
||||
{
|
||||
Console.WriteLine("Usage: sldump [--printmap] [--decrypt] [inputfile] [outputfile] "
|
||||
Console.WriteLine("Usage: PacketDump [--printmap] [--decrypt] [inputfile] [outputfile] "
|
||||
+ "[--protocol] [firstname] [lastname] [password] [seconds (0 for infinite)]");
|
||||
return;
|
||||
}
|
||||
@@ -117,8 +117,7 @@ namespace sldump
|
||||
client.Network.OnDisconnected += new NetworkManager.DisconnectedCallback(DisconnectHandler);
|
||||
|
||||
client.Network.OnLogin += new NetworkManager.LoginCallback(Network_OnLogin);
|
||||
client.Network.BeginLogin(client.Network.DefaultLoginParams(args[0], args[1], args[2], "sldump",
|
||||
"contact@OpenMetaverse.org"));
|
||||
client.Network.BeginLogin(client.Network.DefaultLoginParams(args[0], args[1], args[2], "PacketDump", "1.0.0"));
|
||||
|
||||
LoginEvent.WaitOne();
|
||||
|
||||
Reference in New Issue
Block a user