Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Clientless_login
- {
- using SilkroadSecurityApi;
- using System;
- using System.Data;
- using System.ComponentModel;
- using System.Drawing;
- using System.IO;
- using System.Text.RegularExpressions;
- using System.Windows.Forms;
- using System.Data.SqlClient;
- public class Form1 : Form
- {
- private IContainer components = null;
- public Timer Ping;
- private Timer t1 = new Timer();
- private TabControl tabControl1;
- private TabPage tabPage1;
- private Timer timer1;
- private GroupBox groupBox1;
- private GroupBox groupBox3;
- private RadioButton radioButton9;
- private GroupBox groupBox4;
- private Label label6;
- public TextBox timeInMin;
- private RadioButton radioButton8;
- private RadioButton radioButton7;
- private RadioButton radioButton6;
- private RadioButton radioButton5;
- private RadioButton radioButton4;
- private RadioButton radioButton3;
- private RadioButton radioButton2;
- private RadioButton radioButton1;
- private GroupBox groupBox2;
- private TextBox textBox2;
- private Button button6;
- private Button notice_button;
- private TabPage tabPage2;
- private GroupBox groupBox8;
- private GroupBox groupBox7;
- private Label label4;
- public Button button4;
- public ComboBox char_list;
- private GroupBox groupBox11;
- public Button button3;
- public TextBox captcha_text;
- private GroupBox groupBox12;
- public PictureBox pictureBox1;
- private GroupBox groupBox10;
- public Button button2;
- public TextBox pw;
- public TextBox id;
- private Label label2;
- private Label label1;
- private GroupBox groupBox6;
- private Label label7;
- private Label label5;
- public Label server_label;
- public Label player_label;
- private GroupBox groupBox5;
- private Button button5;
- public Button button1;
- public TextBox sversion;
- public TextBox slocale;
- public TextBox gateport;
- public TextBox ip;
- private Label label17;
- private Label label16;
- private Label label15;
- private Label label14;
- private GroupBox groupBox9;
- private TextBox mesaj;
- private Button button7;
- private TextBox dbname;
- private TextBox dbpw;
- private TextBox dbuser;
- private TextBox host;
- private Label label8;
- private Label label9;
- private Label label11;
- private Label label12;
- private GroupBox groupBox13;
- private GroupBox groupBox14;
- public TextBox globalchat;
- public RichTextBox richTextBox1;
- private Button button8;
- private Timer timer2;
- public Form1()
- {
- this.InitializeComponent();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- Packet packet = new Packet(0x6102);
- packet.WriteUInt8((byte)0x16);
- packet.WriteAscii(this.id.Text);
- packet.WriteAscii(this.pw.Text);
- packet.WriteUInt16((ushort)0x40);
- Gateway.SendToServer(packet);
- }
- private void button3_Click(object sender, EventArgs e)
- {
- Captcha.SendCaptcha(this.captcha_text.Text);
- this.Meldung("Entered captcha.", new object[0]);
- }
- private void button4_Click(object sender, EventArgs e)
- {
- }
- private void button5_Click(object sender, EventArgs e)
- {
- Environment.Exit(0);
- }
- private void button6_Click(object sender, EventArgs e)
- {
- this.t1.Stop();
- this.radioButton1.Enabled = true;
- this.radioButton2.Enabled = true;
- this.radioButton3.Enabled = true;
- this.radioButton4.Enabled = true;
- this.radioButton5.Enabled = true;
- this.radioButton6.Enabled = true;
- this.radioButton7.Enabled = true;
- this.radioButton8.Enabled = true;
- this.radioButton9.Enabled = true;
- this.timeInMin.Enabled = true;
- this.notice_button.Enabled = true;
- this.textBox2.Enabled = true;
- this.button6.Enabled = false;
- }
- protected override void Dispose(bool disposing)
- {
- if (disposing && (this.components != null))
- {
- this.components.Dispose();
- }
- base.Dispose(disposing);
- }
- private void Form1_FormClosing(object sender, FormClosingEventArgs e)
- {
- Environment.Exit(0);
- }
- private void Form1_Load(object sender, EventArgs e)
- {
- Globals.MainWindow = this;
- Control.CheckForIllegalCrossThreadCalls = false;
- }
- private void id_TextChanged(object sender, EventArgs e)
- {
- }
- private void InitializeComponent()
- {
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
- this.Ping = new System.Windows.Forms.Timer(this.components);
- this.timer2 = new System.Windows.Forms.Timer(this.components);
- this.tabControl1 = new System.Windows.Forms.TabControl();
- this.tabPage1 = new System.Windows.Forms.TabPage();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.groupBox3 = new System.Windows.Forms.GroupBox();
- this.radioButton9 = new System.Windows.Forms.RadioButton();
- this.groupBox4 = new System.Windows.Forms.GroupBox();
- this.label6 = new System.Windows.Forms.Label();
- this.timeInMin = new System.Windows.Forms.TextBox();
- this.radioButton8 = new System.Windows.Forms.RadioButton();
- this.radioButton7 = new System.Windows.Forms.RadioButton();
- this.radioButton6 = new System.Windows.Forms.RadioButton();
- this.radioButton5 = new System.Windows.Forms.RadioButton();
- this.radioButton4 = new System.Windows.Forms.RadioButton();
- this.radioButton3 = new System.Windows.Forms.RadioButton();
- this.radioButton2 = new System.Windows.Forms.RadioButton();
- this.radioButton1 = new System.Windows.Forms.RadioButton();
- this.groupBox2 = new System.Windows.Forms.GroupBox();
- this.textBox2 = new System.Windows.Forms.TextBox();
- this.button6 = new System.Windows.Forms.Button();
- this.notice_button = new System.Windows.Forms.Button();
- this.timer1 = new System.Windows.Forms.Timer(this.components);
- this.groupBox9 = new System.Windows.Forms.GroupBox();
- this.label12 = new System.Windows.Forms.Label();
- this.label11 = new System.Windows.Forms.Label();
- this.label9 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.host = new System.Windows.Forms.TextBox();
- this.dbuser = new System.Windows.Forms.TextBox();
- this.dbpw = new System.Windows.Forms.TextBox();
- this.dbname = new System.Windows.Forms.TextBox();
- this.button7 = new System.Windows.Forms.Button();
- this.mesaj = new System.Windows.Forms.TextBox();
- this.groupBox5 = new System.Windows.Forms.GroupBox();
- this.label14 = new System.Windows.Forms.Label();
- this.label15 = new System.Windows.Forms.Label();
- this.label16 = new System.Windows.Forms.Label();
- this.label17 = new System.Windows.Forms.Label();
- this.ip = new System.Windows.Forms.TextBox();
- this.gateport = new System.Windows.Forms.TextBox();
- this.slocale = new System.Windows.Forms.TextBox();
- this.sversion = new System.Windows.Forms.TextBox();
- this.button1 = new System.Windows.Forms.Button();
- this.button5 = new System.Windows.Forms.Button();
- this.groupBox6 = new System.Windows.Forms.GroupBox();
- this.player_label = new System.Windows.Forms.Label();
- this.server_label = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.groupBox10 = new System.Windows.Forms.GroupBox();
- this.label1 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.id = new System.Windows.Forms.TextBox();
- this.pw = new System.Windows.Forms.TextBox();
- this.button2 = new System.Windows.Forms.Button();
- this.groupBox11 = new System.Windows.Forms.GroupBox();
- this.groupBox12 = new System.Windows.Forms.GroupBox();
- this.pictureBox1 = new System.Windows.Forms.PictureBox();
- this.captcha_text = new System.Windows.Forms.TextBox();
- this.button3 = new System.Windows.Forms.Button();
- this.groupBox7 = new System.Windows.Forms.GroupBox();
- this.char_list = new System.Windows.Forms.ComboBox();
- this.button4 = new System.Windows.Forms.Button();
- this.label4 = new System.Windows.Forms.Label();
- this.groupBox8 = new System.Windows.Forms.GroupBox();
- this.tabPage2 = new System.Windows.Forms.TabPage();
- this.groupBox13 = new System.Windows.Forms.GroupBox();
- this.groupBox14 = new System.Windows.Forms.GroupBox();
- this.globalchat = new System.Windows.Forms.TextBox();
- this.richTextBox1 = new System.Windows.Forms.RichTextBox();
- this.button8 = new System.Windows.Forms.Button();
- this.tabControl1.SuspendLayout();
- this.tabPage1.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.groupBox3.SuspendLayout();
- this.groupBox4.SuspendLayout();
- this.groupBox2.SuspendLayout();
- this.groupBox9.SuspendLayout();
- this.groupBox5.SuspendLayout();
- this.groupBox6.SuspendLayout();
- this.groupBox10.SuspendLayout();
- this.groupBox11.SuspendLayout();
- this.groupBox12.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
- this.groupBox7.SuspendLayout();
- this.tabPage2.SuspendLayout();
- this.groupBox14.SuspendLayout();
- this.SuspendLayout();
- //
- // Ping
- //
- this.Ping.Enabled = true;
- this.Ping.Interval = 5000;
- this.Ping.Tick += new System.EventHandler(this.Ping_Tick);
- //
- // timer2
- //
- this.timer2.Tick += new System.EventHandler(this.notice_button_Click);
- //
- // tabControl1
- //
- this.tabControl1.Controls.Add(this.tabPage2);
- this.tabControl1.Controls.Add(this.tabPage1);
- this.tabControl1.Location = new System.Drawing.Point(0, 0);
- this.tabControl1.Name = "tabControl1";
- this.tabControl1.SelectedIndex = 0;
- this.tabControl1.Size = new System.Drawing.Size(672, 700);
- this.tabControl1.TabIndex = 34;
- //
- // tabPage1
- //
- this.tabPage1.Controls.Add(this.groupBox1);
- this.tabPage1.Location = new System.Drawing.Point(4, 22);
- this.tabPage1.Name = "tabPage1";
- this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(664, 674);
- this.tabPage1.TabIndex = 0;
- this.tabPage1.Text = "Oyun";
- this.tabPage1.UseVisualStyleBackColor = true;
- this.tabPage1.Click += new System.EventHandler(this.tabPage1_Click);
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.groupBox3);
- this.groupBox1.Controls.Add(this.groupBox2);
- this.groupBox1.Location = new System.Drawing.Point(31, 6);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(398, 300);
- this.groupBox1.TabIndex = 30;
- this.groupBox1.TabStop = false;
- //
- // groupBox3
- //
- this.groupBox3.Controls.Add(this.radioButton9);
- this.groupBox3.Controls.Add(this.groupBox4);
- this.groupBox3.Controls.Add(this.radioButton8);
- this.groupBox3.Controls.Add(this.radioButton7);
- this.groupBox3.Controls.Add(this.radioButton6);
- this.groupBox3.Controls.Add(this.radioButton5);
- this.groupBox3.Controls.Add(this.radioButton4);
- this.groupBox3.Controls.Add(this.radioButton3);
- this.groupBox3.Controls.Add(this.radioButton2);
- this.groupBox3.Controls.Add(this.radioButton1);
- this.groupBox3.Location = new System.Drawing.Point(16, 123);
- this.groupBox3.Name = "groupBox3";
- this.groupBox3.Size = new System.Drawing.Size(365, 171);
- this.groupBox3.TabIndex = 32;
- this.groupBox3.TabStop = false;
- this.groupBox3.Text = "Time settings";
- //
- // radioButton9
- //
- this.radioButton9.AutoSize = true;
- this.radioButton9.Location = new System.Drawing.Point(298, 90);
- this.radioButton9.Name = "radioButton9";
- this.radioButton9.Size = new System.Drawing.Size(51, 17);
- this.radioButton9.TabIndex = 32;
- this.radioButton9.TabStop = true;
- this.radioButton9.Text = "Other";
- this.radioButton9.UseVisualStyleBackColor = true;
- //
- // groupBox4
- //
- this.groupBox4.Controls.Add(this.label6);
- this.groupBox4.Controls.Add(this.timeInMin);
- this.groupBox4.Location = new System.Drawing.Point(16, 114);
- this.groupBox4.Name = "groupBox4";
- this.groupBox4.Size = new System.Drawing.Size(333, 51);
- this.groupBox4.TabIndex = 8;
- this.groupBox4.TabStop = false;
- this.groupBox4.Text = "Other";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.Location = new System.Drawing.Point(13, 23);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(83, 13);
- this.label6.TabIndex = 31;
- this.label6.Text = "Time in minutes:";
- //
- // timeInMin
- //
- this.timeInMin.BackColor = System.Drawing.SystemColors.Menu;
- this.timeInMin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.timeInMin.Location = new System.Drawing.Point(102, 19);
- this.timeInMin.Name = "timeInMin";
- this.timeInMin.Size = new System.Drawing.Size(57, 20);
- this.timeInMin.TabIndex = 30;
- //
- // radioButton8
- //
- this.radioButton8.AutoSize = true;
- this.radioButton8.Location = new System.Drawing.Point(131, 90);
- this.radioButton8.Name = "radioButton8";
- this.radioButton8.Size = new System.Drawing.Size(60, 17);
- this.radioButton8.TabIndex = 7;
- this.radioButton8.TabStop = true;
- this.radioButton8.Text = "4 hours";
- this.radioButton8.UseVisualStyleBackColor = true;
- //
- // radioButton7
- //
- this.radioButton7.AutoSize = true;
- this.radioButton7.Location = new System.Drawing.Point(131, 67);
- this.radioButton7.Name = "radioButton7";
- this.radioButton7.Size = new System.Drawing.Size(114, 17);
- this.radioButton7.TabIndex = 6;
- this.radioButton7.TabStop = true;
- this.radioButton7.Text = "3 hours 30 minutes";
- this.radioButton7.UseVisualStyleBackColor = true;
- //
- // radioButton6
- //
- this.radioButton6.AutoSize = true;
- this.radioButton6.Location = new System.Drawing.Point(131, 44);
- this.radioButton6.Name = "radioButton6";
- this.radioButton6.Size = new System.Drawing.Size(60, 17);
- this.radioButton6.TabIndex = 5;
- this.radioButton6.TabStop = true;
- this.radioButton6.Text = "3 hours";
- this.radioButton6.UseVisualStyleBackColor = true;
- //
- // radioButton5
- //
- this.radioButton5.AutoSize = true;
- this.radioButton5.Location = new System.Drawing.Point(131, 20);
- this.radioButton5.Name = "radioButton5";
- this.radioButton5.Size = new System.Drawing.Size(114, 17);
- this.radioButton5.TabIndex = 4;
- this.radioButton5.TabStop = true;
- this.radioButton5.Text = "2 hours 30 minutes";
- this.radioButton5.UseVisualStyleBackColor = true;
- //
- // radioButton4
- //
- this.radioButton4.AutoSize = true;
- this.radioButton4.Location = new System.Drawing.Point(16, 90);
- this.radioButton4.Name = "radioButton4";
- this.radioButton4.Size = new System.Drawing.Size(60, 17);
- this.radioButton4.TabIndex = 3;
- this.radioButton4.TabStop = true;
- this.radioButton4.Text = "2 hours";
- this.radioButton4.UseVisualStyleBackColor = true;
- //
- // radioButton3
- //
- this.radioButton3.AutoSize = true;
- this.radioButton3.Location = new System.Drawing.Point(16, 67);
- this.radioButton3.Name = "radioButton3";
- this.radioButton3.Size = new System.Drawing.Size(109, 17);
- this.radioButton3.TabIndex = 2;
- this.radioButton3.TabStop = true;
- this.radioButton3.Text = "1 hour 30 minutes";
- this.radioButton3.UseVisualStyleBackColor = true;
- //
- // radioButton2
- //
- this.radioButton2.AutoSize = true;
- this.radioButton2.Location = new System.Drawing.Point(16, 44);
- this.radioButton2.Name = "radioButton2";
- this.radioButton2.Size = new System.Drawing.Size(55, 17);
- this.radioButton2.TabIndex = 1;
- this.radioButton2.TabStop = true;
- this.radioButton2.Text = "1 hour";
- this.radioButton2.UseVisualStyleBackColor = true;
- //
- // radioButton1
- //
- this.radioButton1.AutoSize = true;
- this.radioButton1.Location = new System.Drawing.Point(16, 20);
- this.radioButton1.Name = "radioButton1";
- this.radioButton1.Size = new System.Drawing.Size(76, 17);
- this.radioButton1.TabIndex = 0;
- this.radioButton1.TabStop = true;
- this.radioButton1.Text = "30 minutes";
- this.radioButton1.UseVisualStyleBackColor = true;
- //
- // groupBox2
- //
- this.groupBox2.Controls.Add(this.textBox2);
- this.groupBox2.Controls.Add(this.button6);
- this.groupBox2.Controls.Add(this.notice_button);
- this.groupBox2.Location = new System.Drawing.Point(16, 19);
- this.groupBox2.Name = "groupBox2";
- this.groupBox2.Size = new System.Drawing.Size(365, 98);
- this.groupBox2.TabIndex = 31;
- this.groupBox2.TabStop = false;
- this.groupBox2.Text = "Write your notice";
- //
- // textBox2
- //
- this.textBox2.BackColor = System.Drawing.SystemColors.Menu;
- this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.textBox2.Location = new System.Drawing.Point(6, 19);
- this.textBox2.Name = "textBox2";
- this.textBox2.Size = new System.Drawing.Size(353, 20);
- this.textBox2.TabIndex = 29;
- //
- // button6
- //
- this.button6.Enabled = false;
- this.button6.Location = new System.Drawing.Point(118, 54);
- this.button6.Name = "button6";
- this.button6.Size = new System.Drawing.Size(106, 23);
- this.button6.TabIndex = 30;
- this.button6.Text = "Cancel notice";
- this.button6.UseVisualStyleBackColor = true;
- this.button6.Click += new System.EventHandler(this.button6_Click);
- //
- // notice_button
- //
- this.notice_button.Enabled = false;
- this.notice_button.Location = new System.Drawing.Point(6, 54);
- this.notice_button.Name = "notice_button";
- this.notice_button.Size = new System.Drawing.Size(106, 23);
- this.notice_button.TabIndex = 28;
- this.notice_button.Text = "Start notice";
- this.notice_button.UseVisualStyleBackColor = true;
- this.notice_button.Click += new System.EventHandler(this.notice_button_Click);
- //
- // timer1
- //
- this.timer1.Interval = 10000;
- this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
- //
- // groupBox9
- //
- this.groupBox9.Controls.Add(this.mesaj);
- this.groupBox9.Controls.Add(this.button7);
- this.groupBox9.Controls.Add(this.dbname);
- this.groupBox9.Controls.Add(this.dbpw);
- this.groupBox9.Controls.Add(this.dbuser);
- this.groupBox9.Controls.Add(this.host);
- this.groupBox9.Controls.Add(this.label8);
- this.groupBox9.Controls.Add(this.label9);
- this.groupBox9.Controls.Add(this.label11);
- this.groupBox9.Controls.Add(this.label12);
- this.groupBox9.Location = new System.Drawing.Point(3, 6);
- this.groupBox9.Name = "groupBox9";
- this.groupBox9.Size = new System.Drawing.Size(414, 152);
- this.groupBox9.TabIndex = 21;
- this.groupBox9.TabStop = false;
- this.groupBox9.Text = "SQL Connection";
- //
- // label12
- //
- this.label12.AutoSize = true;
- this.label12.Location = new System.Drawing.Point(6, 101);
- this.label12.Name = "label12";
- this.label12.Size = new System.Drawing.Size(56, 13);
- this.label12.TabIndex = 13;
- this.label12.Text = "Database:";
- //
- // label11
- //
- this.label11.AutoSize = true;
- this.label11.Location = new System.Drawing.Point(6, 75);
- this.label11.Name = "label11";
- this.label11.Size = new System.Drawing.Size(56, 13);
- this.label11.TabIndex = 12;
- this.label11.Text = "Password:";
- this.label11.Click += new System.EventHandler(this.label11_Click);
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.Location = new System.Drawing.Point(6, 49);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(58, 13);
- this.label9.TabIndex = 10;
- this.label9.Text = "Username:";
- this.label9.Click += new System.EventHandler(this.label9_Click);
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.Location = new System.Drawing.Point(6, 22);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(41, 13);
- this.label8.TabIndex = 9;
- this.label8.Text = "Server:";
- this.label8.Click += new System.EventHandler(this.label8_Click);
- //
- // host
- //
- this.host.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.host.ForeColor = System.Drawing.SystemColors.WindowText;
- this.host.Location = new System.Drawing.Point(70, 22);
- this.host.Name = "host";
- this.host.Size = new System.Drawing.Size(157, 20);
- this.host.TabIndex = 17;
- this.host.Text = "xxxx\\SQLEXPRESS";
- this.host.TextChanged += new System.EventHandler(this.host_TextChanged_1);
- //
- // dbuser
- //
- this.dbuser.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.dbuser.ForeColor = System.Drawing.SystemColors.WindowText;
- this.dbuser.Location = new System.Drawing.Point(70, 49);
- this.dbuser.Name = "dbuser";
- this.dbuser.Size = new System.Drawing.Size(157, 20);
- this.dbuser.TabIndex = 18;
- //
- // dbpw
- //
- this.dbpw.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.dbpw.ForeColor = System.Drawing.SystemColors.WindowText;
- this.dbpw.Location = new System.Drawing.Point(70, 75);
- this.dbpw.Name = "dbpw";
- this.dbpw.PasswordChar = '*';
- this.dbpw.Size = new System.Drawing.Size(157, 20);
- this.dbpw.TabIndex = 19;
- this.dbpw.Tag = "Type your password";
- //
- // dbname
- //
- this.dbname.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.dbname.ForeColor = System.Drawing.SystemColors.WindowText;
- this.dbname.Location = new System.Drawing.Point(70, 101);
- this.dbname.Name = "dbname";
- this.dbname.Size = new System.Drawing.Size(157, 20);
- this.dbname.TabIndex = 20;
- this.dbname.Text = "SRO_VT_STORXY";
- //
- // button7
- //
- this.button7.Location = new System.Drawing.Point(233, 19);
- this.button7.Name = "button7";
- this.button7.Size = new System.Drawing.Size(175, 76);
- this.button7.TabIndex = 21;
- this.button7.Text = "Connect";
- this.button7.UseVisualStyleBackColor = true;
- this.button7.Click += new System.EventHandler(this.button7_Click_1);
- //
- // mesaj
- //
- this.mesaj.Enabled = false;
- this.mesaj.Location = new System.Drawing.Point(233, 101);
- this.mesaj.Name = "mesaj";
- this.mesaj.Size = new System.Drawing.Size(175, 20);
- this.mesaj.TabIndex = 22;
- //
- // groupBox5
- //
- this.groupBox5.Controls.Add(this.button5);
- this.groupBox5.Controls.Add(this.button1);
- this.groupBox5.Controls.Add(this.sversion);
- this.groupBox5.Controls.Add(this.slocale);
- this.groupBox5.Controls.Add(this.gateport);
- this.groupBox5.Controls.Add(this.ip);
- this.groupBox5.Controls.Add(this.label17);
- this.groupBox5.Controls.Add(this.label16);
- this.groupBox5.Controls.Add(this.label15);
- this.groupBox5.Controls.Add(this.label14);
- this.groupBox5.Location = new System.Drawing.Point(423, 6);
- this.groupBox5.Name = "groupBox5";
- this.groupBox5.Size = new System.Drawing.Size(169, 152);
- this.groupBox5.TabIndex = 22;
- this.groupBox5.TabStop = false;
- this.groupBox5.Text = "Server Connection";
- //
- // label14
- //
- this.label14.AutoSize = true;
- this.label14.Location = new System.Drawing.Point(6, 22);
- this.label14.Name = "label14";
- this.label14.Size = new System.Drawing.Size(54, 13);
- this.label14.TabIndex = 4;
- this.label14.Text = "Server IP:";
- //
- // label15
- //
- this.label15.AutoSize = true;
- this.label15.Location = new System.Drawing.Point(6, 45);
- this.label15.Name = "label15";
- this.label15.Size = new System.Drawing.Size(29, 13);
- this.label15.TabIndex = 5;
- this.label15.Text = "Port:";
- //
- // label16
- //
- this.label16.AutoSize = true;
- this.label16.Location = new System.Drawing.Point(6, 71);
- this.label16.Name = "label16";
- this.label16.Size = new System.Drawing.Size(42, 13);
- this.label16.TabIndex = 6;
- this.label16.Text = "Locale:";
- //
- // label17
- //
- this.label17.AutoSize = true;
- this.label17.Location = new System.Drawing.Point(6, 97);
- this.label17.Name = "label17";
- this.label17.Size = new System.Drawing.Size(45, 13);
- this.label17.TabIndex = 7;
- this.label17.Text = "Version:";
- //
- // ip
- //
- this.ip.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.ip.Location = new System.Drawing.Point(66, 19);
- this.ip.Name = "ip";
- this.ip.Size = new System.Drawing.Size(95, 20);
- this.ip.TabIndex = 36;
- //
- // gateport
- //
- this.gateport.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.gateport.Location = new System.Drawing.Point(66, 45);
- this.gateport.Name = "gateport";
- this.gateport.Size = new System.Drawing.Size(95, 20);
- this.gateport.TabIndex = 39;
- //
- // slocale
- //
- this.slocale.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.slocale.Location = new System.Drawing.Point(66, 71);
- this.slocale.Name = "slocale";
- this.slocale.Size = new System.Drawing.Size(47, 20);
- this.slocale.TabIndex = 40;
- this.slocale.Text = "22";
- //
- // sversion
- //
- this.sversion.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.sversion.Location = new System.Drawing.Point(66, 97);
- this.sversion.Name = "sversion";
- this.sversion.Size = new System.Drawing.Size(47, 20);
- this.sversion.TabIndex = 41;
- //
- // button1
- //
- this.button1.Location = new System.Drawing.Point(9, 123);
- this.button1.Name = "button1";
- this.button1.Size = new System.Drawing.Size(79, 23);
- this.button1.TabIndex = 42;
- this.button1.Text = "Connect";
- this.button1.UseVisualStyleBackColor = true;
- this.button1.Click += new System.EventHandler(this.button1_Click);
- //
- // button5
- //
- this.button5.Location = new System.Drawing.Point(94, 123);
- this.button5.Name = "button5";
- this.button5.Size = new System.Drawing.Size(67, 23);
- this.button5.TabIndex = 43;
- this.button5.Text = "Exit";
- this.button5.UseVisualStyleBackColor = true;
- this.button5.Click += new System.EventHandler(this.button5_Click_2);
- //
- // groupBox6
- //
- this.groupBox6.Controls.Add(this.label7);
- this.groupBox6.Controls.Add(this.label5);
- this.groupBox6.Controls.Add(this.server_label);
- this.groupBox6.Controls.Add(this.player_label);
- this.groupBox6.Location = new System.Drawing.Point(423, 163);
- this.groupBox6.Name = "groupBox6";
- this.groupBox6.Size = new System.Drawing.Size(169, 77);
- this.groupBox6.TabIndex = 36;
- this.groupBox6.TabStop = false;
- this.groupBox6.Text = "Game Information";
- //
- // player_label
- //
- this.player_label.AutoSize = true;
- this.player_label.Location = new System.Drawing.Point(102, 49);
- this.player_label.Name = "player_label";
- this.player_label.Size = new System.Drawing.Size(30, 13);
- this.player_label.TabIndex = 35;
- this.player_label.Text = "(0/0)";
- this.player_label.Click += new System.EventHandler(this.player_label_Click_1);
- //
- // server_label
- //
- this.server_label.AutoSize = true;
- this.server_label.Location = new System.Drawing.Point(99, 25);
- this.server_label.Name = "server_label";
- this.server_label.Size = new System.Drawing.Size(33, 13);
- this.server_label.TabIndex = 34;
- this.server_label.Text = "None";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.Location = new System.Drawing.Point(6, 25);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(70, 13);
- this.label5.TabIndex = 36;
- this.label5.Text = "Server name:";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.Location = new System.Drawing.Point(6, 49);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(76, 13);
- this.label7.TabIndex = 37;
- this.label7.Text = "Online players:";
- //
- // groupBox10
- //
- this.groupBox10.Controls.Add(this.button2);
- this.groupBox10.Controls.Add(this.pw);
- this.groupBox10.Controls.Add(this.id);
- this.groupBox10.Controls.Add(this.label2);
- this.groupBox10.Controls.Add(this.label1);
- this.groupBox10.Location = new System.Drawing.Point(3, 158);
- this.groupBox10.Name = "groupBox10";
- this.groupBox10.Size = new System.Drawing.Size(182, 101);
- this.groupBox10.TabIndex = 37;
- this.groupBox10.TabStop = false;
- this.groupBox10.Text = "Account Login";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(3, 16);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(58, 13);
- this.label1.TabIndex = 14;
- this.label1.Text = "Username:";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(3, 42);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(56, 13);
- this.label2.TabIndex = 15;
- this.label2.Text = "Password:";
- //
- // id
- //
- this.id.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.id.Location = new System.Drawing.Point(69, 16);
- this.id.Name = "id";
- this.id.Size = new System.Drawing.Size(103, 20);
- this.id.TabIndex = 16;
- //
- // pw
- //
- this.pw.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.pw.Location = new System.Drawing.Point(69, 42);
- this.pw.Name = "pw";
- this.pw.PasswordChar = '*';
- this.pw.Size = new System.Drawing.Size(103, 20);
- this.pw.TabIndex = 17;
- //
- // button2
- //
- this.button2.Location = new System.Drawing.Point(6, 68);
- this.button2.Name = "button2";
- this.button2.Size = new System.Drawing.Size(166, 23);
- this.button2.TabIndex = 18;
- this.button2.Text = "Login";
- this.button2.UseVisualStyleBackColor = true;
- this.button2.Click += new System.EventHandler(this.button2_Click_2);
- //
- // groupBox11
- //
- this.groupBox11.Controls.Add(this.button3);
- this.groupBox11.Controls.Add(this.captcha_text);
- this.groupBox11.Controls.Add(this.groupBox12);
- this.groupBox11.Location = new System.Drawing.Point(191, 159);
- this.groupBox11.Name = "groupBox11";
- this.groupBox11.Size = new System.Drawing.Size(226, 100);
- this.groupBox11.TabIndex = 38;
- this.groupBox11.TabStop = false;
- this.groupBox11.Text = "Captcha";
- //
- // groupBox12
- //
- this.groupBox12.Controls.Add(this.pictureBox1);
- this.groupBox12.Location = new System.Drawing.Point(104, 12);
- this.groupBox12.Name = "groupBox12";
- this.groupBox12.Size = new System.Drawing.Size(116, 82);
- this.groupBox12.TabIndex = 11;
- this.groupBox12.TabStop = false;
- this.groupBox12.Text = "Captcha Box";
- //
- // pictureBox1
- //
- this.pictureBox1.Location = new System.Drawing.Point(7, 19);
- this.pictureBox1.Name = "pictureBox1";
- this.pictureBox1.Size = new System.Drawing.Size(100, 50);
- this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
- this.pictureBox1.TabIndex = 10;
- this.pictureBox1.TabStop = false;
- this.pictureBox1.Click += new System.EventHandler(this.pictureBox1_Click_1);
- //
- // captcha_text
- //
- this.captcha_text.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.captcha_text.Location = new System.Drawing.Point(6, 24);
- this.captcha_text.Name = "captcha_text";
- this.captcha_text.Size = new System.Drawing.Size(92, 20);
- this.captcha_text.TabIndex = 18;
- //
- // button3
- //
- this.button3.Location = new System.Drawing.Point(6, 50);
- this.button3.Name = "button3";
- this.button3.Size = new System.Drawing.Size(92, 44);
- this.button3.TabIndex = 20;
- this.button3.Text = "OK";
- this.button3.UseVisualStyleBackColor = true;
- //
- // groupBox7
- //
- this.groupBox7.Controls.Add(this.label4);
- this.groupBox7.Controls.Add(this.button4);
- this.groupBox7.Controls.Add(this.char_list);
- this.groupBox7.Location = new System.Drawing.Point(3, 259);
- this.groupBox7.Name = "groupBox7";
- this.groupBox7.Size = new System.Drawing.Size(227, 83);
- this.groupBox7.TabIndex = 39;
- this.groupBox7.TabStop = false;
- this.groupBox7.Text = "Character select";
- //
- // char_list
- //
- this.char_list.BackColor = System.Drawing.SystemColors.ButtonFace;
- this.char_list.FormattingEnabled = true;
- this.char_list.Location = new System.Drawing.Point(96, 24);
- this.char_list.Name = "char_list";
- this.char_list.Size = new System.Drawing.Size(125, 21);
- this.char_list.TabIndex = 18;
- //
- // button4
- //
- this.button4.Location = new System.Drawing.Point(9, 51);
- this.button4.Name = "button4";
- this.button4.Size = new System.Drawing.Size(212, 23);
- this.button4.TabIndex = 19;
- this.button4.Text = "Select character";
- this.button4.UseVisualStyleBackColor = true;
- this.button4.Click += new System.EventHandler(this.button4_Click_2);
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.Location = new System.Drawing.Point(6, 24);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(85, 13);
- this.label4.TabIndex = 20;
- this.label4.Text = "Character name:";
- //
- // groupBox8
- //
- this.groupBox8.Location = new System.Drawing.Point(236, 259);
- this.groupBox8.Name = "groupBox8";
- this.groupBox8.Size = new System.Drawing.Size(181, 81);
- this.groupBox8.TabIndex = 40;
- this.groupBox8.TabStop = false;
- this.groupBox8.Text = "Character Information";
- //
- // tabPage2
- //
- this.tabPage2.Controls.Add(this.button8);
- this.tabPage2.Controls.Add(this.groupBox14);
- this.tabPage2.Controls.Add(this.groupBox13);
- this.tabPage2.Controls.Add(this.groupBox8);
- this.tabPage2.Controls.Add(this.groupBox7);
- this.tabPage2.Controls.Add(this.groupBox11);
- this.tabPage2.Controls.Add(this.groupBox10);
- this.tabPage2.Controls.Add(this.groupBox6);
- this.tabPage2.Controls.Add(this.groupBox5);
- this.tabPage2.Controls.Add(this.groupBox9);
- this.tabPage2.ImeMode = System.Windows.Forms.ImeMode.Off;
- this.tabPage2.Location = new System.Drawing.Point(4, 22);
- this.tabPage2.Name = "tabPage2";
- this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(664, 674);
- this.tabPage2.TabIndex = 1;
- this.tabPage2.Text = "Home";
- this.tabPage2.UseVisualStyleBackColor = true;
- this.tabPage2.Click += new System.EventHandler(this.tabPage2_Click);
- //
- // groupBox13
- //
- this.groupBox13.Location = new System.Drawing.Point(423, 246);
- this.groupBox13.Name = "groupBox13";
- this.groupBox13.Size = new System.Drawing.Size(169, 279);
- this.groupBox13.TabIndex = 41;
- this.groupBox13.TabStop = false;
- this.groupBox13.Text = "Events Status";
- //
- // groupBox14
- //
- this.groupBox14.Controls.Add(this.globalchat);
- this.groupBox14.Controls.Add(this.richTextBox1);
- this.groupBox14.Location = new System.Drawing.Point(3, 348);
- this.groupBox14.Name = "groupBox14";
- this.groupBox14.Size = new System.Drawing.Size(414, 240);
- this.groupBox14.TabIndex = 42;
- this.groupBox14.TabStop = false;
- this.groupBox14.Text = "Events Log";
- //
- // globalchat
- //
- this.globalchat.BackColor = System.Drawing.SystemColors.Window;
- this.globalchat.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.globalchat.ForeColor = System.Drawing.SystemColors.InfoText;
- this.globalchat.Location = new System.Drawing.Point(6, 183);
- this.globalchat.Multiline = true;
- this.globalchat.Name = "globalchat";
- this.globalchat.ReadOnly = true;
- this.globalchat.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
- this.globalchat.Size = new System.Drawing.Size(402, 46);
- this.globalchat.TabIndex = 27;
- //
- // richTextBox1
- //
- this.richTextBox1.BackColor = System.Drawing.SystemColors.InactiveCaptionText;
- this.richTextBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
- this.richTextBox1.Location = new System.Drawing.Point(6, 19);
- this.richTextBox1.Name = "richTextBox1";
- this.richTextBox1.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.ForcedVertical;
- this.richTextBox1.Size = new System.Drawing.Size(402, 158);
- this.richTextBox1.TabIndex = 28;
- this.richTextBox1.Text = "";
- this.richTextBox1.TextChanged += new System.EventHandler(this.richTextBox1_TextChanged_1);
- //
- // button8
- //
- this.button8.Location = new System.Drawing.Point(423, 531);
- this.button8.Name = "button8";
- this.button8.Size = new System.Drawing.Size(169, 46);
- this.button8.TabIndex = 43;
- this.button8.Text = "About";
- this.button8.UseVisualStyleBackColor = true;
- this.button8.Click += new System.EventHandler(this.button8_Click_2);
- //
- // Form1
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.BackColor = System.Drawing.SystemColors.ControlLightLight;
- this.ClientSize = new System.Drawing.Size(603, 611);
- this.Controls.Add(this.tabControl1);
- this.ForeColor = System.Drawing.SystemColors.WindowText;
- this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
- this.MaximizeBox = false;
- this.MaximumSize = new System.Drawing.Size(619, 649);
- this.MinimumSize = new System.Drawing.Size(619, 649);
- this.Name = "Form1";
- this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
- this.Text = "Storxy Events Tool V1.1";
- this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
- this.Load += new System.EventHandler(this.Form1_Load);
- this.tabControl1.ResumeLayout(false);
- this.tabPage1.ResumeLayout(false);
- this.groupBox1.ResumeLayout(false);
- this.groupBox3.ResumeLayout(false);
- this.groupBox3.PerformLayout();
- this.groupBox4.ResumeLayout(false);
- this.groupBox4.PerformLayout();
- this.groupBox2.ResumeLayout(false);
- this.groupBox2.PerformLayout();
- this.groupBox9.ResumeLayout(false);
- this.groupBox9.PerformLayout();
- this.groupBox5.ResumeLayout(false);
- this.groupBox5.PerformLayout();
- this.groupBox6.ResumeLayout(false);
- this.groupBox6.PerformLayout();
- this.groupBox10.ResumeLayout(false);
- this.groupBox10.PerformLayout();
- this.groupBox11.ResumeLayout(false);
- this.groupBox11.PerformLayout();
- this.groupBox12.ResumeLayout(false);
- this.groupBox12.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
- this.groupBox7.ResumeLayout(false);
- this.groupBox7.PerformLayout();
- this.tabPage2.ResumeLayout(false);
- this.groupBox14.ResumeLayout(false);
- this.groupBox14.PerformLayout();
- this.ResumeLayout(false);
- }
- public void Meldung(string msg, params object[] values)
- {
- msg = string.Format(msg, values);
- Globals.MainWindow.globalchat.AppendText(msg + "\r\n");
- }
- private void notice_button_Click(object sender, EventArgs e)
- {
- if ((((this.radioButton1.Checked || this.radioButton2.Checked) || (this.radioButton3.Checked || this.radioButton4.Checked)) || ((this.radioButton5.Checked || this.radioButton6.Checked) || (this.radioButton7.Checked || this.radioButton8.Checked))) || this.radioButton9.Checked)
- {
- if (this.radioButton1.Checked)
- {
- this.t1.Interval = 0x1b7740;
- }
- if (this.radioButton2.Checked)
- {
- this.t1.Interval = 0x36ee80;
- }
- if (this.radioButton3.Checked)
- {
- this.t1.Interval = 0x5265c0;
- }
- if (this.radioButton4.Checked)
- {
- this.t1.Interval = 0x6ddd00;
- }
- if (this.radioButton5.Checked)
- {
- this.t1.Interval = 0x895440;
- }
- if (this.radioButton6.Checked)
- {
- this.t1.Interval = 0xa4cb80;
- }
- if (this.radioButton7.Checked)
- {
- this.t1.Interval = 0xc042c0;
- }
- if (this.radioButton8.Checked)
- {
- this.t1.Interval = 0xdbba00;
- }
- if (this.radioButton9.Checked)
- {
- if (this.timeInMin.Text == "")
- {
- MessageBox.Show("You need to type a time in the Textbox.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- return;
- }
- int num2 = Convert.ToInt32(this.timeInMin.Text);
- int num = int.Parse(this.timeInMin.Text) * 0xea60;
- this.t1.Interval = num;
- }
- this.t1.Tick += new EventHandler(this.t1_Tick);
- this.t1.Start();
- this.notice_button.Enabled = false;
- this.button6.Enabled = false;
- this.radioButton1.Enabled = false;
- this.radioButton2.Enabled = false;
- this.radioButton3.Enabled = false;
- this.radioButton4.Enabled = false;
- this.radioButton5.Enabled = false;
- this.radioButton6.Enabled = false;
- this.radioButton7.Enabled = false;
- this.radioButton8.Enabled = false;
- this.radioButton9.Enabled = false;
- this.timeInMin.Enabled = false;
- this.textBox2.Enabled = false;
- this.button6.Enabled = true;
- }
- else
- {
- MessageBox.Show("You need to select a time !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- }
- }
- private void Ping_Tick(object sender, EventArgs e)
- {
- if (Globals.Server != Globals.ServerEnum.None)
- {
- Packet packet = new Packet(0x2002);
- if (Globals.Server == Globals.ServerEnum.Gateway)
- {
- Gateway.SendToServer(packet);
- }
- else if (Globals.Server == Globals.ServerEnum.Agent)
- {
- Agent.Send(packet);
- }
- }
- }
- private void t1_Tick(object sender, EventArgs e)
- {
- string text = this.textBox2.Text;
- Packet packet = new Packet(0x7025);
- packet.WriteUInt8((byte)7);
- packet.WriteUInt8((byte)0);
- packet.WriteAscii(text);
- Agent.Send(packet);
- }
- private void timeInMin_TextChanged(object sender, EventArgs e)
- {
- TextBox box = sender as TextBox;
- if (box != null)
- {
- string text = box.Text;
- if (!Regex.IsMatch(text, "^[0-9]*$"))
- {
- box.TextChanged -= new EventHandler(this.timeInMin_TextChanged);
- if (box.TextLength == 1)
- {
- box.ResetText();
- }
- else
- {
- box.ResetText();
- box.AppendText(text.Substring(0, text.Length - 1));
- }
- box.TextChanged += new EventHandler(this.timeInMin_TextChanged);
- }
- }
- }
- private void button7_Click(object sender, EventArgs e)
- {
- timer1.Enabled = true;
- }
- private void button8_Click(object sender, EventArgs e)
- {
- timer1.Enabled = false;
- }
- private void timer1_Tick(object sender, EventArgs e)
- {
- String connectionstring = "Data Source=" + host.Text + ";Initial Catalog=" + dbname.Text + ";Integrated Security=false; User ID = " + dbuser.Text + "; Password = " + dbpw.Text + ";";
- using (SqlConnection con = new SqlConnection(connectionstring))
- {
- con.Open();
- string query = "SELECT top 1* from PlusNotice where sent = '0' ORDER BY date";
- using (SqlCommand cmd = new SqlCommand(query, con))
- {
- using (SqlDataReader reader = cmd.ExecuteReader())
- {
- while (reader.Read())
- {
- mesaj.Text = (string)reader["message"];
- }
- }
- }
- }
- using (SqlConnection conn = new SqlConnection(connectionstring))
- {
- conn.Open();
- using (SqlCommand cmd = new SqlCommand("update PlusNotice set sent = '1' where message = @mesaj", conn))
- {
- cmd.Parameters.Add("@mesaj", mesaj.Text);
- cmd.ExecuteNonQuery();
- //rows number of record got inserted
- }
- }
- if (string.IsNullOrEmpty(mesaj.Text))
- {
- }
- else
- {
- string sending = mesaj.Text;
- Packet packet = new Packet(0x7025);
- packet.WriteUInt8((byte)7);
- packet.WriteUInt8((byte)0);
- packet.WriteAscii(sending);
- Agent.Send(packet);
- mesaj.Text = "";
- }
- }
- private void groupBox5_Enter(object sender, EventArgs e)
- {
- }
- private void tabPage2_Click(object sender, EventArgs e)
- {
- }
- private void ip_TextChanged(object sender, EventArgs e)
- {
- }
- private void groupBox6_Enter(object sender, EventArgs e)
- {
- }
- private void button8_Click_1(object sender, EventArgs e)
- {
- }
- private void label17_Click(object sender, EventArgs e)
- {
- }
- private void gateport_TextChanged(object sender, EventArgs e)
- {
- }
- private void player_label_Click(object sender, EventArgs e)
- {
- }
- private void sversion_TextChanged(object sender, EventArgs e)
- {
- }
- private void dbpw_TextChanged(object sender, EventArgs e)
- {
- }
- private void dbname_TextChanged(object sender, EventArgs e)
- {
- }
- private void button5_Click_1(object sender, EventArgs e)
- {
- Environment.Exit(0);
- }
- private void checkBox1_CheckedChanged(object sender, EventArgs e)
- {
- }
- private void checkBox1_CheckedChanged_1(object sender, EventArgs e)
- {
- }
- private void player_label_Click_1(object sender, EventArgs e)
- {
- }
- private void pictureBox1_Click(object sender, EventArgs e)
- {
- }
- private void groupBox7_Enter(object sender, EventArgs e)
- {
- }
- private void label2_Click(object sender, EventArgs e)
- {
- }
- private void pw_TextChanged(object sender, EventArgs e)
- {
- }
- private void label1_Click(object sender, EventArgs e)
- {
- }
- private void button2_Click_1(object sender, EventArgs e)
- {
- Packet packet = new Packet(0x6102);
- packet.WriteUInt8((byte)0x16);
- packet.WriteAscii(this.id.Text);
- packet.WriteAscii(this.pw.Text);
- packet.WriteUInt16((ushort)0x40);
- Gateway.SendToServer(packet);
- }
- private void char_list_SelectedIndexChanged(object sender, EventArgs e)
- {
- }
- private void char_list_SelectedIndexChanged_1(object sender, EventArgs e)
- {
- }
- private void button4_Click_1(object sender, EventArgs e)
- {
- Packet packet = new Packet(0x7001);
- packet.WriteAscii(this.char_list.SelectedItem);
- Agent.Send(packet);
- this.Meldung("Selectet char.", new object[0]);
- this.notice_button.Enabled = true;
- this.button6.Enabled = true;
- this.button2.Enabled = false;
- this.button1.Enabled = false;
- this.button3.Enabled = false;
- }
- private void label3_Click(object sender, EventArgs e)
- {
- }
- private void tabPage1_Click(object sender, EventArgs e)
- {
- }
- private void pictureBox1_Click_1(object sender, EventArgs e)
- {
- }
- private void captcha_text_TextChanged(object sender, EventArgs e)
- {
- }
- private void button3_Click_1(object sender, EventArgs e)
- {
- Captcha.SendCaptcha(this.captcha_text.Text);
- this.Meldung("Entered captcha.", new object[0]);
- }
- private void groupBox8_Enter(object sender, EventArgs e)
- {
- }
- private void mesaj_TextChanged(object sender, EventArgs e)
- {
- }
- private void host_TextChanged(object sender, EventArgs e)
- {
- }
- private void label8_Click(object sender, EventArgs e)
- {
- }
- private void label9_Click(object sender, EventArgs e)
- {
- }
- private void label11_Click(object sender, EventArgs e)
- {
- }
- private void textBox1_TextChanged(object sender, EventArgs e)
- {
- }
- private void host_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void button7_Click_1(object sender, EventArgs e)
- {
- timer1.Enabled = true ;
- }
- private void label14_Click(object sender, EventArgs e)
- {
- }
- private void ip_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void gateport_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void button5_Click_2(object sender, EventArgs e)
- {
- Environment.Exit(0);
- }
- private void id_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void pw_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void button2_Click_2(object sender, EventArgs e)
- {
- Packet packet = new Packet(0x6102);
- packet.WriteUInt8((byte)0x16);
- packet.WriteAscii(this.id.Text);
- packet.WriteAscii(this.pw.Text);
- packet.WriteUInt16((ushort)0x40);
- Gateway.SendToServer(packet);
- MessageBox.Show("Logged In successfully");
- }
- private void captcha_text_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void button4_Click_2(object sender, EventArgs e)
- {
- Packet packet = new Packet(0x7001);
- packet.WriteAscii(this.char_list.SelectedItem);
- Agent.Send(packet);
- this.Meldung("Selectet char.", new object[0]);
- this.notice_button.Enabled = true;
- this.button6.Enabled = true;
- this.button2.Enabled = false;
- this.button1.Enabled = false;
- this.button3.Enabled = false;
- }
- private void button1_Click(object sender, EventArgs e)
- {
- MessageBox.Show("Server Connected successfully");
- }
- private void richTextBox1_TextChanged(object sender, EventArgs e)
- {
- }
- private void globalchat_TextChanged(object sender, EventArgs e)
- {
- }
- private void richTextBox1_TextChanged_1(object sender, EventArgs e)
- {
- }
- private void button8_Click_2(object sender, EventArgs e)
- {
- MessageBox.Show("Storxy Event Tool V1.1 \n Skype: Storxy1337");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement