Advertisement
WonderCraft

C# main

Jun 9th, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 29.96 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. using System.Diagnostics;
  11. using System.Runtime.Hosting;
  12.  
  13. namespace WonderCraft_Client
  14. {
  15.     public partial class Form1 : Form
  16.     {
  17.         public Form1()
  18.         {
  19.             InitializeComponent();
  20.         }
  21.  
  22.         private void textBox1_TextChanged(object sender, EventArgs e)
  23.         {
  24.  
  25.         }
  26.  
  27.         private void Button1_Click(object sender, EventArgs e)
  28.         {
  29.  
  30.         }
  31.  
  32.         private void InitializeComponent()
  33.         {
  34.             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  35.             this.button1 = new System.Windows.Forms.Button();
  36.             this.button5 = new System.Windows.Forms.Button();
  37.             this.button2 = new System.Windows.Forms.Button();
  38.             this.button3 = new System.Windows.Forms.Button();
  39.             this.button4 = new System.Windows.Forms.Button();
  40.             this.pictureBox1 = new System.Windows.Forms.PictureBox();
  41.             this.Username = new System.Windows.Forms.TextBox();
  42.             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  43.             this.SuspendLayout();
  44.             //
  45.             // button1
  46.             //
  47.             this.button1.BackColor = System.Drawing.Color.Transparent;
  48.             this.button1.BackgroundImage = global::WonderCraft_Client.Properties.Resources.DC1;
  49.             this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  50.             this.button1.Location = new System.Drawing.Point(12, 12);
  51.             this.button1.Name = "button1";
  52.             this.button1.Size = new System.Drawing.Size(57, 55);
  53.             this.button1.TabIndex = 0;
  54.             this.button1.UseVisualStyleBackColor = false;
  55.             this.button1.Click += new System.EventHandler(this.button1_Click_1);
  56.             //
  57.             // button5
  58.             //
  59.             this.button5.BackColor = System.Drawing.Color.Transparent;
  60.             this.button5.BackgroundImage = global::WonderCraft_Client.Properties.Resources.img1;
  61.             this.button5.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  62.             this.button5.Font = new System.Drawing.Font("Showcard Gothic", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  63.             this.button5.Location = new System.Drawing.Point(425, 561);
  64.             this.button5.Name = "button5";
  65.             this.button5.Size = new System.Drawing.Size(237, 76);
  66.             this.button5.TabIndex = 4;
  67.             this.button5.Text = "Játék Indítása";
  68.             this.button5.UseVisualStyleBackColor = false;
  69.             this.button5.Click += new System.EventHandler(this.button5_Click);
  70.             //
  71.             // button2
  72.             //
  73.             this.button2.BackColor = System.Drawing.Color.Transparent;
  74.             this.button2.BackgroundImage = global::WonderCraft_Client.Properties.Resources.YT1;
  75.             this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  76.             this.button2.Location = new System.Drawing.Point(75, 12);
  77.             this.button2.Name = "button2";
  78.             this.button2.Size = new System.Drawing.Size(57, 55);
  79.             this.button2.TabIndex = 5;
  80.             this.button2.UseVisualStyleBackColor = false;
  81.             this.button2.Click += new System.EventHandler(this.button2_Click);
  82.             //
  83.             // button3
  84.             //
  85.             this.button3.BackColor = System.Drawing.Color.Transparent;
  86.             this.button3.BackgroundImage = global::WonderCraft_Client.Properties.Resources.FB1;
  87.             this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  88.             this.button3.ForeColor = System.Drawing.SystemColors.ControlText;
  89.             this.button3.Location = new System.Drawing.Point(201, 12);
  90.             this.button3.Name = "button3";
  91.             this.button3.Size = new System.Drawing.Size(57, 55);
  92.             this.button3.TabIndex = 6;
  93.             this.button3.UseVisualStyleBackColor = false;
  94.             this.button3.Click += new System.EventHandler(this.button3_Click);
  95.             //
  96.             // button4
  97.             //
  98.             this.button4.BackColor = System.Drawing.Color.Transparent;
  99.             this.button4.BackgroundImage = global::WonderCraft_Client.Properties.Resources.IG1;
  100.             this.button4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  101.             this.button4.Location = new System.Drawing.Point(138, 12);
  102.             this.button4.Name = "button4";
  103.             this.button4.Size = new System.Drawing.Size(57, 55);
  104.             this.button4.TabIndex = 7;
  105.             this.button4.UseVisualStyleBackColor = false;
  106.             this.button4.Click += new System.EventHandler(this.button4_Click);
  107.             //
  108.             // pictureBox1
  109.             //
  110.             this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
  111.             this.pictureBox1.BackgroundImage = global::WonderCraft_Client.Properties.Resources.ServerIcon;
  112.             this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  113.             this.pictureBox1.Location = new System.Drawing.Point(288, 140);
  114.             this.pictureBox1.Name = "pictureBox1";
  115.             this.pictureBox1.Size = new System.Drawing.Size(506, 371);
  116.             this.pictureBox1.TabIndex = 8;
  117.             this.pictureBox1.TabStop = false;
  118.             //
  119.             // Username
  120.             //
  121.             this.Username.ForeColor = System.Drawing.Color.Gray;
  122.             this.Username.Location = new System.Drawing.Point(60, 552);
  123.             this.Username.Name = "Username";
  124.             this.Username.Size = new System.Drawing.Size(135, 20);
  125.             this.Username.TabIndex = 9;
  126.             this.Username.Text = "Játékosnév";
  127.             this.Username.Enter += new System.EventHandler(this.Username_Enter);
  128.             this.Username.Leave += new System.EventHandler(this.Username_Leave);
  129.             //
  130.             // Form1
  131.             //
  132.             this.BackgroundImage = global::WonderCraft_Client.Properties.Resources._2;
  133.             this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
  134.             this.ClientSize = new System.Drawing.Size(1141, 674);
  135.             this.Controls.Add(this.Username);
  136.             this.Controls.Add(this.pictureBox1);
  137.             this.Controls.Add(this.button4);
  138.             this.Controls.Add(this.button3);
  139.             this.Controls.Add(this.button2);
  140.             this.Controls.Add(this.button5);
  141.             this.Controls.Add(this.button1);
  142.             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  143.             this.Name = "Form1";
  144.             this.Text = "WonderCraft Client";
  145.             this.Load += new System.EventHandler(this.Form1_Load);
  146.             ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  147.             this.ResumeLayout(false);
  148.             this.PerformLayout();
  149.  
  150.         }
  151.  
  152.         private Button button1;
  153.         private Button button5;
  154.  
  155.         private void button1_Click_1(object sender, EventArgs e)
  156.         {
  157.             System.Diagnostics.Process.Start("https://discord.gg/XBp5nkG");
  158.         }
  159.  
  160.         private void Form1_Load(object sender, EventArgs e)
  161.         {
  162.  
  163.         }
  164.  
  165.         private Button button2;
  166.         private Button button3;
  167.         private Button button4;
  168.  
  169.         private void button2_Click(object sender, EventArgs e)
  170.         {
  171.  
  172.         }
  173.  
  174.         private void button4_Click(object sender, EventArgs e)
  175.         {
  176.  
  177.         }
  178.  
  179.         private void button3_Click(object sender, EventArgs e)
  180.         {
  181.  
  182.         }
  183.  
  184.         private void button5_Click(object sender, EventArgs e)
  185.         {
  186.  
  187.             ProcessStartInfo minecraft = new ProcessStartInfo
  188.             {
  189.                 FileName = @"C:\Program Files\Java\jre1.8.0_121\bin\javaw.exe",
  190.                 CreateNoWindow = false,
  191.                 Arguments = "-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump \" - Djava.library.path = C:" + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "versions" + System.IO.Path.DirectorySeparatorChar + "WonderCraft" + System.IO.Path.DirectorySeparatorChar + "natives\" - Dminecraft.launcher.brand=java-minecraft-launcher -Dminecraft.launcher.version=unknown -cp " + System.IO.Path.DirectorySeparatorChar + "C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "oshi - project" + System.IO.Path.DirectorySeparatorChar + "oshi - core" + System.IO.Path.DirectorySeparatorChar + "1.1" + System.IO.Path.DirectorySeparatorChar + "oshi - core - 1.1.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "net" + System.IO.Path.DirectorySeparatorChar + "java" + System.IO.Path.DirectorySeparatorChar + "dev" + System.IO.Path.DirectorySeparatorChar + "jna" + System.IO.Path.DirectorySeparatorChar + "jna" + System.IO.Path.DirectorySeparatorChar + "4.4.0" + System.IO.Path.DirectorySeparatorChar + "jna - 4.4.0.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "net" + System.IO.Path.DirectorySeparatorChar + "java" + System.IO.Path.DirectorySeparatorChar + "dev" + System.IO.Path.DirectorySeparatorChar + "jna" + System.IO.Path.DirectorySeparatorChar + "platform" + System.IO.Path.DirectorySeparatorChar + "3.4.0" + System.IO.Path.DirectorySeparatorChar + "platform - 3.4.0.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "ibm" + System.IO.Path.DirectorySeparatorChar + "icu" + System.IO.Path.DirectorySeparatorChar + "icu4j - core - mojang" + System.IO.Path.DirectorySeparatorChar + "51.2" + System.IO.Path.DirectorySeparatorChar + "icu4j - core - mojang - 51.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "mojang" + System.IO.Path.DirectorySeparatorChar + "javabridge" + System.IO.Path.DirectorySeparatorChar + "1.0.22" + System.IO.Path.DirectorySeparatorChar + "javabridge - 1.0.22.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "net" + System.IO.Path.DirectorySeparatorChar + "sf" + System.IO.Path.DirectorySeparatorChar + "jopt - simple" + System.IO.Path.DirectorySeparatorChar + "jopt - simple" + System.IO.Path.DirectorySeparatorChar + "5.0.3" + System.IO.Path.DirectorySeparatorChar + "jopt - simple - 5.0.3.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "io" + System.IO.Path.DirectorySeparatorChar + "netty" + System.IO.Path.DirectorySeparatorChar + "netty - all" + System.IO.Path.DirectorySeparatorChar + "4.1.25.Final" + System.IO.Path.DirectorySeparatorChar + "netty - all - 4.1.25.Final.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "google" + System.IO.Path.DirectorySeparatorChar + "guava" + System.IO.Path.DirectorySeparatorChar + "guava" + System.IO.Path.DirectorySeparatorChar + "21.0" + System.IO.Path.DirectorySeparatorChar + "guava - 21.0.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "apache" + System.IO.Path.DirectorySeparatorChar + "commons" + System.IO.Path.DirectorySeparatorChar + "commons - lang3" + System.IO.Path.DirectorySeparatorChar + "3.5" + System.IO.Path.DirectorySeparatorChar + "commons - lang3 - 3.5.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "commons - io" + System.IO.Path.DirectorySeparatorChar + "commons - io" + System.IO.Path.DirectorySeparatorChar + "2.5" + System.IO.Path.DirectorySeparatorChar + "commons - io - 2.5.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "commons - codec" + System.IO.Path.DirectorySeparatorChar + "commons - codec" + System.IO.Path.DirectorySeparatorChar + "1.10" + System.IO.Path.DirectorySeparatorChar + "commons - codec - 1.10.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "net" + System.IO.Path.DirectorySeparatorChar + "java" + System.IO.Path.DirectorySeparatorChar + "jinput" + System.IO.Path.DirectorySeparatorChar + "jinput" + System.IO.Path.DirectorySeparatorChar + "2.0.5" + System.IO.Path.DirectorySeparatorChar + "jinput - 2.0.5.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "net" + System.IO.Path.DirectorySeparatorChar + "java" + System.IO.Path.DirectorySeparatorChar + "jutils" + System.IO.Path.DirectorySeparatorChar + "jutils" + System.IO.Path.DirectorySeparatorChar + "1.0.0" + System.IO.Path.DirectorySeparatorChar + "jutils - 1.0.0.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "mojang" + System.IO.Path.DirectorySeparatorChar + "brigadier" + System.IO.Path.DirectorySeparatorChar + "1.0.17" + System.IO.Path.DirectorySeparatorChar + "brigadier - 1.0.17.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "mojang" + System.IO.Path.DirectorySeparatorChar + "datafixerupper" + System.IO.Path.DirectorySeparatorChar + "2.0.24" + System.IO.Path.DirectorySeparatorChar + "datafixerupper - 2.0.24.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "google" + System.IO.Path.DirectorySeparatorChar + "code" + System.IO.Path.DirectorySeparatorChar + "gson" + System.IO.Path.DirectorySeparatorChar + "gson" + System.IO.Path.DirectorySeparatorChar + "2.8.0" + System.IO.Path.DirectorySeparatorChar + "gson - 2.8.0.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "mojang" + System.IO.Path.DirectorySeparatorChar + "authlib" + System.IO.Path.DirectorySeparatorChar + "1.5.25" + System.IO.Path.DirectorySeparatorChar + "authlib - 1.5.25.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "apache" + System.IO.Path.DirectorySeparatorChar + "commons" + System.IO.Path.DirectorySeparatorChar + "commons - compress" + System.IO.Path.DirectorySeparatorChar + "1.8.1" + System.IO.Path.DirectorySeparatorChar + "commons - compress - 1.8.1.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "apache" + System.IO.Path.DirectorySeparatorChar + "httpcomponents" + System.IO.Path.DirectorySeparatorChar + "httpclient" + System.IO.Path.DirectorySeparatorChar + "4.3.3" + System.IO.Path.DirectorySeparatorChar + "httpclient - 4.3.3.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "commons - logging" + System.IO.Path.DirectorySeparatorChar + "commons - logging" + System.IO.Path.DirectorySeparatorChar + "1.1.3" + System.IO.Path.DirectorySeparatorChar + "commons - logging - 1.1.3.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "apache" + System.IO.Path.DirectorySeparatorChar + "httpcomponents" + System.IO.Path.DirectorySeparatorChar + "httpcore" + System.IO.Path.DirectorySeparatorChar + "4.3.2" + System.IO.Path.DirectorySeparatorChar + "httpcore - 4.3.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "it" + System.IO.Path.DirectorySeparatorChar + "unimi" + System.IO.Path.DirectorySeparatorChar + "dsi" + System.IO.Path.DirectorySeparatorChar + "fastutil" + System.IO.Path.DirectorySeparatorChar + "8.2.1" + System.IO.Path.DirectorySeparatorChar + "fastutil - 8.2.1.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "apache" + System.IO.Path.DirectorySeparatorChar + "logging" + System.IO.Path.DirectorySeparatorChar + "log4j" + System.IO.Path.DirectorySeparatorChar + "log4j - api" + System.IO.Path.DirectorySeparatorChar + "2.8.1" + System.IO.Path.DirectorySeparatorChar + "log4j - api - 2.8.1.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "apache" + System.IO.Path.DirectorySeparatorChar + "logging" + System.IO.Path.DirectorySeparatorChar + "log4j" + System.IO.Path.DirectorySeparatorChar + "log4j - core" + System.IO.Path.DirectorySeparatorChar + "2.8.1" + System.IO.Path.DirectorySeparatorChar + "log4j - core - 2.8.1.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "3.2.2" + System.IO.Path.DirectorySeparatorChar + "lwjgl - 3.2.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "lwjgl - jemalloc" + System.IO.Path.DirectorySeparatorChar + "3.2.2" + System.IO.Path.DirectorySeparatorChar + "lwjgl - jemalloc - 3.2.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "lwjgl - openal" + System.IO.Path.DirectorySeparatorChar + "3.2.2" + System.IO.Path.DirectorySeparatorChar + "lwjgl - openal - 3.2.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "lwjgl - opengl" + System.IO.Path.DirectorySeparatorChar + "3.2.2" + System.IO.Path.DirectorySeparatorChar + "lwjgl - opengl - 3.2.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "lwjgl - glfw" + System.IO.Path.DirectorySeparatorChar + "3.2.2" + System.IO.Path.DirectorySeparatorChar + "lwjgl - glfw - 3.2.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "org" + System.IO.Path.DirectorySeparatorChar + "lwjgl" + System.IO.Path.DirectorySeparatorChar + "lwjgl - stb" + System.IO.Path.DirectorySeparatorChar + "3.2.2" + System.IO.Path.DirectorySeparatorChar + "lwjgl - stb - 3.2.2.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "libraries" + System.IO.Path.DirectorySeparatorChar + "com" + System.IO.Path.DirectorySeparatorChar + "mojang" + System.IO.Path.DirectorySeparatorChar + "text2speech" + System.IO.Path.DirectorySeparatorChar + "1.11.3" + System.IO.Path.DirectorySeparatorChar + "text2speech - 1.11.3.jar; C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "versions" + System.IO.Path.DirectorySeparatorChar + "WonderCraft" + System.IO.Path.DirectorySeparatorChar + "WonderCraft.jar  net.minecraft.client.main.Main --username "+ Username.Text +" --version 1.14.4 --gameDir \"C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft --assetsDir \"C: " + System.IO.Path.DirectorySeparatorChar + "Users" + System.IO.Path.DirectorySeparatorChar + "Home Sweet Home" + System.IO.Path.DirectorySeparatorChar + "AppData" + System.IO.Path.DirectorySeparatorChar + "Roaming" + System.IO.Path.DirectorySeparatorChar + ".wondercraft" + System.IO.Path.DirectorySeparatorChar + "assets" + System.IO.Path.DirectorySeparatorChar + "\" --assetIndex 1.14 --uuid f699187faf2e34e4a4d9b9c5a918b208 --accessToken 1337535510N --userType legacy --versionType release"
  192.             };
  193.             Process.Start(minecraft);
  194.         }
  195.         private IContainer components;
  196.         private PictureBox pictureBox1;
  197.         private TextBox Username;
  198.  
  199.         private void Username_Leave(object sender, EventArgs e)
  200.         {
  201.             if (Username.Text == "")
  202.             {
  203.                 Username.ForeColor = Color.Gray;
  204.                 Username.Text = "Játékosnév";
  205.             }
  206.         }
  207.  
  208.         private void Username_Enter(object sender, EventArgs e)
  209.         {
  210.             if (Username.Text == "Játékosnév")
  211.             {
  212.                 Username.ForeColor = Color.Black;
  213.                 Username.Text = "";
  214.             }
  215.         }
  216.     }
  217. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement