• Ищем качественного (не новичок) разработчиков Xenforo для этого форума! В идеале, чтобы ты был фулл стек программистом. Если у тебя есть что показать, то свяжись с нами по контактным данным: https://t.me/DREDD

C# free minecraft cheat loader

Забаненный
Забаненный
Статус
Оффлайн
Регистрация
16 Дек 2023
Сообщения
139
Реакции
2
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
 |[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
 /$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
 \_______/ \______/ |[B]/       \____[/B]/ |[B]/      \_____[/B]/
                                                          
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
 
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
|[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
/$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
\_______/ \______/ |[B]/       \[B][B][/B]/ |[B]/      \_[/B][/B][/B]/
                                                        
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
Окей давай я напишу проблемы этого лоудера

1. Отсутствие проверки доступности файлов/папок перед использованием
2. Нету проверки Java на компьютере, то есть лоудер мягко сказано отпидорасит если Java 17 не установлена, проще уже было сделать на чтение jre как раз таки в лоудере
3. Сообственно протекта в этом лоудере и нету поэтому разницы от других форумов не вижу...
 
Окей давай я напишу проблемы этого лоудера

1. Отсутствие проверки доступности файлов/папок перед использованием
2. Нету проверки Java на компьютере, то есть лоудер мягко сказано отпидорасит если Java 17 не установлена, проще уже было сделать на чтение jre как раз таки в лоудере
3. Сообственно протекта в этом лоудере и нету поэтому разницы от других форумов не вижу...
ахуеть
 
Окей давай я напишу проблемы этого лоудера

1. Отсутствие проверки доступности файлов/папок перед использованием
2. Нету проверки Java на компьютере, то есть лоудер мягко сказано отпидорасит если Java 17 не установлена, проще уже было сделать на чтение jre как раз таки в лоудере
3. Сообственно протекта в этом лоудере и нету поэтому разницы от других форумов не вижу...
ебать ты захотел
 
Может у тебя есть другие аргументы? Или я тут не заметил скрытый протект который загружает с сайта классы?
ебать ты захотел
Ну, протекта нет, проверки на целестность файлов и проверки на джавы нету - встроенной тоже нету. Зачем тогда такой лоудер то нужен
 
Может у тебя есть другие аргументы? Или я тут не заметил скрытый протект который загружает с сайта классы?

Ну, протекта нет, проверки на целестность файлов и проверки на джавы нету - встроенной тоже нету. Зачем тогда такой лоудер то нужен
ну сделай
 
А мне это зачем? Он написал, что сделал не "отвратительный" лоудер. Я сразу сказал на ошибки и сообственно ту же проверку джавы не сложно сделать

C#:
Expand Collapse Copy
static bool IsJavaInstalled()
{
    const string javaKey = @"SOFTWARE\JavaSoft\Java Runtime Environment";

    using (var baseKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64))
    using (var javaKey32 = baseKey.OpenSubKey(javaKey))
    using (var baseKey2 = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32))
    using (var javaKey64 = baseKey2.OpenSubKey(javaKey))
    {
        return javaKey32 != null || javaKey64 != null;
    }
}

легко подобное можно подключить и уже было бы лучше
 
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
|[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
/$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
\_______/ \______/ |[B]/       \[B][B][/B]/ |[B]/      \_[/B][/B][/B]/
                                                         
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
А что изменилось когда у тебя в лоадере защиты нету никакой от слова совсем даже блять крипта какого-то и лоадер написан на шарпе, блять его никто юзать не будет нахуя ты это запостил
так он прав, это мусор
 
Бля пиздец, больше сказать нечего! А можешь сделать, чтобы вся эта хуета работала (a.k.a. minecraft client) запускалась из памяти? Типо этого
Пожалуйста, авторизуйтесь для просмотра ссылки.
 
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
|[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
/$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
\_______/ \______/ |[B]/       \[B][B][/B]/ |[B]/      \_[/B][/B][/B]/
                                                         
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
где взять
айдишник
гугл диска?
 
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
|[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
/$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
\_______/ \______/ |[B]/       \[B][B][/B]/ |[B]/      \_[/B][/B][/B]/
                                                         
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
как это пофиксить
1714610130251.png
 
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
|[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
/$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
\_______/ \______/ |[B]/       \[B][B][/B]/ |[B]/      \_[/B][/B][/B]/
                                                         
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
сделай пж туториа как делать на гуглс диск установщик я прост тупой не шарю за c#
 
Console.Write("[>] Загрузка файла клиента");
AnimateLoading(5);
Console.WriteLine();
DownloadMinecraftJar(MinecraftJarPath);
}

Console.Clear();

string version = "1.16";
string accessToken = "0";

string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
Directory.CreateDirectory(tempDir);
CopyDirectory(Path.Combine(CelestialPath, "natives"), tempDir);

ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = "java";
startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{CelestialPath}\\assets\" --assetIndex {version} --userProperties {{}}";
startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
startInfo.UseShellExecute = false;
startInfo.CreateNoWindow = true;
startInfo.RedirectStandardInput = true;

try
{
Process process = Process.Start(startInfo);
process.StandardInput.Close();
Console.WriteLine("[>] Minecraft успешно запущен.");
}
catch (Exception ex)
{
Console.WriteLine("[X] Ошибка при запуске Minecraft: " + ex.Message);
}
}

static bool IsInternetConnected()
{
try
{
using (var client = new WebClient())
{
using (var stream = client.OpenRead("
Пожалуйста, авторизуйтесь для просмотра ссылки.
"))
{
return true;
}
}
}
catch
{
return false;
}
}

static void CopyDirectory(string sourceDir, string targetDir)
{
if (!Directory.Exists(targetDir))
{
Directory.CreateDirectory(targetDir);
}

foreach (string file in Directory.GetFiles(sourceDir))
 
сделай пж туториа как делать на гуглс диск установщик я прост тупой не шарю за c#
туториал* гугл* просто* ты не только за с# не шаришь еще и за азбуку 1 класса не шаришь
 
c# aurora loader:
Expand Collapse Copy
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Threading;

namespace Loader
{
    internal class Program
    {
        private const string MinecraftJarPath = @"C:\Aurora\client.jar";
        private const string AuroraPath = @"C:\Aurora";
        private const string asciiArt = @"
  /$$$$$$  /$$   /$$  /$$$$$$   /$$$$$$   /$$$$$$  /$$$$$$
|[B]__  $$| $$  | $$ /$$[/B]  $$ /$$__  $$ /$$__  $$|____  $$
  /$$$$$$$| $$  | $$| $$  \[B]/| $$  \ $$| $$  \[/B]/ /$$$$$$$
/$$__  $$| $$  | $$| $$      | $$  | $$| $$      /$$__  $$
|  $$$$$$$|  $$$$$$/| $$      |  $$$$$$/| $$     |  $$$$$$$
\_______/ \______/ |[B]/       \[B][B][/B]/ |[B]/      \_[/B][/B][/B]/
                                                         
";

        static void Main(string[] args)
        {
            Console.WriteLine(asciiArt);

            Console.Title = "Установщик клиента Aurora - Бесплатная версия";

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("Добро пожаловать в установщик клиента Aurora - Бесплатная версия");
            Console.WriteLine("---------------------------------------------------------------");
            Console.ResetColor();

            string username;
            string memory;

            if (args.Length < 2)
            {
                Console.WriteLine("Введите ваше игровое имя и объем выделенной памяти (в МБ):");
                Console.Write("[>] Игровое имя: ");
                username = Console.ReadLine();

                Console.Write("[>] Память (МБ): ");
                memory = Console.ReadLine();
            }
            else
            {
                username = args[0];
                memory = args[1];
            }

            if (!IsInternetConnected())
            {
                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("[#] Ошибка: Нет подключения к интернету. Пожалуйста, проверьте ваше подключение и повторите попытку.");
                Console.ResetColor();
                return;
            }

            Console.Clear();
            Console.WriteLine(asciiArt);
            Console.WriteLine("[>] Установка клиента...");
            Console.WriteLine("------------------------");

            if (!Directory.Exists(AuroraPath))
            {
                Directory.CreateDirectory(AuroraPath);
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "natives")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой ассетов", Path.Combine(AuroraPath, "natives.zip"), "Нативы");
                UnzipFiles(Path.Combine(AuroraPath, "natives.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "natives.zip"));
            }

            if (!Directory.Exists(Path.Combine(AuroraPath, "assets")))
            {
                DownloadFileFromGoogleDrive("айдишник вашего гугл диска файла с зипкой нативок", Path.Combine(AuroraPath, "assets.zip"), "Ассеты");
                UnzipFiles(Path.Combine(AuroraPath, "assets.zip"), AuroraPath);
                File.Delete(Path.Combine(AuroraPath, "assets.zip"));
            }

            if (!File.Exists(MinecraftJarPath))
            {
                Console.Write("[>] Загрузка файла клиента");
                AnimateLoading(5);
                Console.WriteLine();
                DownloadMinecraftJar(MinecraftJarPath);
            }

            Console.Clear();

            string version = "1.16";
            string accessToken = "0";

            string tempDir = Path.Combine(Path.GetTempPath(), "MinecraftNatives");
            Directory.CreateDirectory(tempDir);
            CopyDirectory(Path.Combine(AuroraPath, "natives"), tempDir);

            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.FileName = "java";
            startInfo.Arguments = $"-Xmx{memory}M -Djava.library.path=\"{tempDir}\" -jar \"{MinecraftJarPath}\" --version {version} --username {username} --accessToken {accessToken} --assetsDir \"{AuroraPath}\\assets\" --assetIndex {version} --userProperties {{}}";
            startInfo.WorkingDirectory = Path.GetDirectoryName(MinecraftJarPath);
            startInfo.UseShellExecute = false;
            startInfo.CreateNoWindow = true;
            startInfo.RedirectStandardInput = true;

            try
            {
                Process process = Process.Start(startInfo);
                process.StandardInput.Close();
                Console.WriteLine("[>] Minecraft успешно запущен.");
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при запуске Minecraft: " + ex.Message);
            }
        }

        static bool IsInternetConnected()
        {
            try
            {
                using (var client = new WebClient())
                {
                    using (var stream = client.OpenRead("http://www.google.com"))
                    {
                        return true;
                    }
                }
            }
            catch
            {
                return false;
            }
        }

        static void CopyDirectory(string sourceDir, string targetDir)
        {
            if (!Directory.Exists(targetDir))
            {
                Directory.CreateDirectory(targetDir);
            }

            foreach (string file in Directory.GetFiles(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(file));
                File.Copy(file, dest, true);
            }

            foreach (string folder in Directory.GetDirectories(sourceDir))
            {
                string dest = Path.Combine(targetDir, Path.GetFileName(folder));
                CopyDirectory(folder, dest);
            }
        }

        static void DownloadFileFromGoogleDrive(string fileId, string destination, string fileType)
        {
            string url = $"https://drive.google.com/uc?id={fileId}";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine($"[>] {fileType} успешно загружены: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при загрузке {fileType}: " + ex.Message);
            }
        }


        static void UnzipFiles(string zipFilePath, string destinationFolder)
        {
            try
            {
                System.IO.Compression.ZipFile.ExtractToDirectory(zipFilePath, destinationFolder);
                Console.WriteLine($"[>] Файлы из архива {zipFilePath} успешно распакованы в папку {destinationFolder}");
            }
            catch (Exception ex)
            {
                Console.WriteLine($"[#] Ошибка при распаковке файлов из архива {zipFilePath}: {ex.Message}");
            }
        }

        static void AnimateLoading(int count)
        {
            for (int i = 0; i < count; i++)
            {
                Console.Write(".");
                Thread.Sleep(500);
            }
        }
        static void DownloadMinecraftJar(string destination)
        {
            string url = "если ваш файл насилует бесполезный антивирус от говно гугла, то вам нужно будет по дебаггеру встроенному в браузере, узнать ссылку скачки client.jar и просто вставить сюда";

            try
            {
                using (WebClient client = new WebClient())
                {
                    client.DownloadFile(url, destination);
                    Console.WriteLine("[>] Minecraft Jar успешно загружен: " + Path.GetFileName(destination));
                }
            }
            catch (Exception ex)
            {
                Console.WriteLine("[#] Ошибка при загрузке Minecraft Jar: " + ex.Message);
            }
        }

    }
}


Увидел на югейме очень много отвратительных лоадеров на C#, решил это исправить. Сливаю вам свой лоадер на C#, под 1.16.5. Установка ника, ОЗУ, скачка ассетов, нативок, .jar вашего клиента, все это тут есть. А так лоадер является простым запуском .jar вашего клиента, ничего мусорного тут нет, максимум добавил мемную проверку на интернет при помощи гугла.
что делать если при скачке клиента оно качает всего 170 кб а не всю джарку
 
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Назад
Сверху Снизу