public static void lognNewAccount() { accounts2 = accounts; accounts.RemoveAt(0); int curRunning = 0; if (accounts.Count == 0) { Console.WriteLine(getTimestamp() + "No more accounts to login."); } foreach (string acc in accounts) { string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[2] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[2]); RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } Console.Title = "RitoBot Console | Currently connected: " + connectedAccs; if (curRunning == maxBots) { break; } } }
public static void start() { ReloadAccounts: loadAccounts(); int curRunning = 0; foreach (string acc in accounts) { try { accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; bool lead = false; string token = ""; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[0].Contains("username")) { //Console.WriteLine("Please add your accounts into config\\accounts.txt"); goto ReloadAccounts; } /* if (result[3].Contains("Leader") || result.Contains("leader")) * { * lead = true; * }*/ //Console.WriteLine(getTimestamp() + "Bot " + curRunning + " Waiting Launch Game From Garena"); token = GetGarenaToken(); if (result[1] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[1]); RiotBot ritoBot = new RiotBot(result[0], token, Region, Path2, curRunning, queuetype, lead); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], token, Region, Path2, curRunning, queuetype, lead); } Console.Title = "RitoBot Console | Currently connected: " + connectedAccs; if (result[1] == "CUSTOM_HA_3x3") { while (!Program.IsGameCreated) { System.Threading.Thread.Sleep(1000); } } if (curRunning == maxBots) { break; } } catch (Exception) { //Console.WriteLine("CountAccError: You may have an issue in your accounts.txt"); Application.Exit(); } } }
static void Main(string[] args) { Console.Title = "RitoBot"; Console.SetWindowSize(Console.WindowWidth + 5, Console.WindowHeight); Console.Write("====================================================================================\n"); Console.Write("VoliBot - MultiQueue | Version: 1.8.0 for LoL 4.18 by Maufeat\n"); Console.Write("====================================================================================\n"); Console.WriteLine(getTimestamp() + "Loading config.ini"); loadConfiguration(); if (replaceConfig) { Console.WriteLine(getTimestamp() + "Replacing Config"); gamecfg(); } Console.WriteLine(getTimestamp() + "Loading accounts.txt"); loadAccounts(); int curRunning = 0; foreach (string acc in accounts) { try { accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[2] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[2]); RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } Console.Title = " Current Connected: " + connectedAccs; if (curRunning == maxBots) { break; } } catch (Exception) { Console.WriteLine("CountAccError: You may have an issue in your accounts.txt"); } } Console.ReadKey(); }
private void queueLoop() { foreach (string acc in Program.accounts) { int curRunning = 0; try { Program.accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); console.ForeColor = Color.Lime; curRunning += 1; if (result[0].Contains("username")) { Print("No accounts found. Please add an account.", 2); } if (result[2] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[2]); RiotBot ritoBot = new RiotBot(result[0], result[1], Program.Region, Program.Path2, curRunning, queuetype); ShowAccount(result[0], result[1], result[2]); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], result[1], Program.Region, Program.Path2, curRunning, queuetype); ShowAccount(result[0], result[1], "ARAM"); } Program.MainWindow.Text = " Volibot GUI | Currently connected: " + Program.connectedAccs; if (curRunning == Program.maxBots) { break; } } catch (Exception) { console.ForeColor = Color.Red; Print("You may have an error in accounts.txt."); Print("If you just started Volibot for the first time,"); Print("add a new account on the leftside panel."); Print("If you keep getting this error,"); Print("Delete accounts.txt and restart voli.", 2); } } }
public static void lognNewAccount() { accounts2 = accounts; accounts.RemoveAt(0); int curRunning = 0; if (accounts.Count == 0) { Console.WriteLine(getTimestamp() + "No more accounts to login."); } foreach (string acc in accounts) { string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; bool lead = false; string token = ""; /* if (result[3].Contains("Leader") || result.Contains("leader")) * { * lead = true; * }*/ Console.WriteLine("Waiting Launch Game From Garena"); token = GetGarenaToken(); Console.WriteLine("Get Token!"); if (result[1] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[1]); RiotBot ritoBot = new RiotBot(result[0], token, Region, Path2, curRunning, queuetype, lead); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], token, Region, Path2, curRunning, queuetype, lead); } Console.Title = "RitoBot Console | Currently connected: " + connectedAccs; if (curRunning == maxBots) { break; } } }
public void queueLoop() { // get token // update_token(); foreach (string acc in Program.accounts) { int curRunning = 0; try { string taikhoan = newUserNameInput.Text; string token = newPasswordInput.Text; string type = QueueTypeInput.Text; if (taikhoan != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), type); RiotBot ritoBot = new RiotBot(taikhoan, token, Program.Region, Program.Path2, curRunning, queuetype, Convert.ToInt32(input_solanchoi.Text)); ShowAccount(taikhoan, token, type); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(taikhoan, token, Program.Region, Program.Path2, curRunning, queuetype, Convert.ToInt32(input_solanchoi.Text)); ShowAccount(taikhoan, token, "ARAM"); } if (curRunning == Program.maxBots) { break; } } catch (Exception) { console.ForeColor = Color.Red; Print("You may have an error in accounts.txt."); Print("If you just started Volibot for the first time,"); Print("add a new account on the leftside panel."); Print("If you keep getting this error,"); Print("Delete accounts.txt and restart voli.", 2); Print("Có lỗi : vui lòng xóa folder config và chạy lại ...............", 2); } } }
private void queueLoop() { foreach (string acc in Program.accounts) { int curRunning = 0; try { Program.accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[0].Contains("username")) { Print("No accounts found. Please add an account.", 2); } if (result[2] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[2]); RiotBot ritoBot = new RiotBot(result[0], result[1], result[3], Program.Region, Program.Path2, curRunning, queuetype); ShowAccount(result[0], result[1], result[2]); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], result[1], result[3], Program.Region, Program.Path2, curRunning, queuetype); ShowAccount(result[0], result[1], "ARAM"); } Program.MainWindow.Text = "" + Program.connectedAccs; if (curRunning == Program.maxBots) { break; } } catch (Exception) { Print("You may have an error in accounts.txt."); } } }
public void start() { Print("Starting Queue Loop"); ReloadAccounts: Program.loadAccounts(); Thread.Sleep(1000); int curRunning = 0; foreach (string acc in Program.accounts) { try { Program.accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; bool lead = false; string token = ""; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[0].Contains("username")) { //Console.WriteLine("Please add your accounts into config\\accounts.txt"); goto ReloadAccounts; } /* if (result[3].Contains("Leader") || result.Contains("leader")) * { * lead = true; * }*/ Print("Đang chờ get token - Hãy mở game từ garena"); token = Program.GetGarenaToken(); Print("Get token thành công"); if (result[1] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[1]); RiotBot ritoBot = new RiotBot(result[0], token, Program.Region, Program.Path2, curRunning, queuetype, lead); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], token, Program.Region, Program.Path2, curRunning, queuetype, lead); } Print("RitoBot | Currently connected: " + Program.connectedAccs); if (result[1] == "CUSTOM_HA_3x3") { while (!Program.IsGameCreated) { System.Threading.Thread.Sleep(1000); } } if (curRunning == Program.maxBots) { break; } } catch (Exception) { Print("CountAccError: You may have an issue in your accounts.txt"); Application.Exit(); } } }
static void Main(string[] args) { var handle = GetConsoleWindow(); // Hide ShowWindow(handle, SW_HIDE); InitChecks(); loadVersion(); Console.Title = "Volibot For Garena"; Console.ForegroundColor = ConsoleColor.Green; Console.SetWindowSize(Console.WindowWidth + 5, Console.WindowHeight); Console.WriteLine("======================================="); Console.WriteLine("-------- Do Quang Quan Edit ----------"); Console.WriteLine("======================================="); Console.WriteLine(); Console.WriteLine(getTimestamp() + "Loading config\\settings.ini"); loadConfiguration(); if (replaceConfig) { Console.WriteLine(getTimestamp() + "Replacing Config"); gamecfg(); } Console.WriteLine(getTimestamp() + "Loading config\\accounts.txt"); ReloadAccounts: loadAccounts(); int curRunning = 0; LoadGUI = true; if (LoadGUI) { MainWindow.ShowDialog(); } if (!LoadGUI) { foreach (string acc in accounts) { try { accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[0].Contains("username")) { Console.WriteLine("Please add your accounts into config\\accounts.txt"); goto ReloadAccounts; } if (result[2] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[2]); RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } Console.Title = "RitoBot Console "; if (curRunning == maxBots) { break; } } catch (Exception) { Console.WriteLine("CountAccError: You may have an issue in your accounts.txt"); Application.Exit(); } } Console.ReadKey(); } }
static void Main(string[] args) { InitChecks(); loadVersion(); Console.Title = "Volibot For Garena"; Console.ForegroundColor = ConsoleColor.Green; Console.SetWindowSize(Console.WindowWidth + 5, Console.WindowHeight); Console.WriteLine("======================================="); Console.WriteLine("Garena Volibot up-to-date for v" + cversion.Substring(0, 4)); Console.WriteLine("--------All features enabled!----------"); Console.WriteLine("--------------imsosharp----------------"); Console.WriteLine("-----------Garena Support--------------"); Console.WriteLine("-----------by nongnoobjung-------------"); Console.WriteLine("-Low Priority Support Thank Quangcha --"); Console.WriteLine("======================================="); Console.WriteLine(); Console.WriteLine(getTimestamp() + "Loading config\\settings.ini"); if (replaceConfig) { Console.WriteLine(getTimestamp() + "Replacing Config"); gamecfg(); } MainWindow.ShowDialog(); while (!File.Exists(Path2 + "lol.exe")) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(); Console.WriteLine("Wrong LauncherPath. the path should look like this: C:\\GarenaLoL\\GameData\\Apps\\LoL\\ \n Please check config\\settings.ini, otherwise your LoL won't start."); Console.WriteLine(); System.Threading.Thread.Sleep(5000); loadConfiguration(); } Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(getTimestamp() + "Loading config\\accounts.txt"); ReloadAccounts: loadAccounts(); int curRunning = 0; if (!LoadGUI) { foreach (string acc in accounts) { try { accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; bool lead = false; string token = ""; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[0].Contains("username")) { Console.WriteLine("Please add your accounts into config\\accounts.txt"); goto ReloadAccounts; } /* if (result[3].Contains("Leader") || result.Contains("leader")) * { * lead = true; * }*/ Console.WriteLine(getTimestamp() + "Bot " + curRunning + " Waiting Launch Game From Garena"); token = GetGarenaToken(); if (result[1] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[1]); RiotBot ritoBot = new RiotBot(result[0], token, Region, Path2, curRunning, queuetype, lead); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], token, Region, Path2, curRunning, queuetype, lead); } Console.Title = "RitoBot Console | Currently connected: " + connectedAccs; if (result[1] == "CUSTOM_HA_3x3") { while (!Program.IsGameCreated) { System.Threading.Thread.Sleep(1000); } } if (curRunning == maxBots) { break; } } catch (Exception) { Console.WriteLine("CountAccError: You may have an issue in your accounts.txt"); Application.Exit(); } } Console.ReadKey(); } }
static void Main(string[] args) { InitChecks(); loadVersion(); Console.Title = "Volibot"; Console.ForegroundColor = ConsoleColor.Green; Console.SetWindowSize(Console.WindowWidth + 5, Console.WindowHeight); Console.WriteLine("========================================="); Console.WriteLine("Maufeat's Volibot up-to-date for v" + cversion.Substring(0, 4)); Console.WriteLine("----------All features enabled!----------"); Console.WriteLine("--------imsosharp & nongnoobjung---------"); Console.WriteLine("========================================="); Console.WriteLine(); Console.WriteLine(getTimestamp() + "Loading config\\settings.ini"); loadConfiguration(); if (replaceConfig) { Console.WriteLine(getTimestamp() + "Replacing Config"); gamecfg(); } while (!File.Exists(Path2 + "lol.launcher.exe")) { Console.ForegroundColor = ConsoleColor.Red; Console.WriteLine(); Console.WriteLine("Wrong LauncherPath. the path should look like this: C:\\Riot Games\\League of Legends\\ \n Please check config\\settings.ini, otherwise your LoL won't start."); Console.WriteLine(); System.Threading.Thread.Sleep(5000); loadConfiguration(); } Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine(getTimestamp() + "Loading config\\accounts.txt"); ReloadAccounts: loadAccounts(); int curRunning = 0; if (LoadGUI) { MainWindow.ShowDialog(); } if (!LoadGUI) { foreach (string acc in accounts) { try { accounts2.RemoveAt(0); string Accs = acc; string[] stringSeparators = new string[] { "|" }; var result = Accs.Split(stringSeparators, StringSplitOptions.None); curRunning += 1; if (result[0].Contains("username")) { Console.WriteLine("Please add your accounts into config\\accounts.txt"); goto ReloadAccounts; } if (result[2] != null) { QueueTypes queuetype = (QueueTypes)System.Enum.Parse(typeof(QueueTypes), result[2]); RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } else { QueueTypes queuetype = QueueTypes.ARAM; RiotBot ritoBot = new RiotBot(result[0], result[1], Region, Path2, curRunning, queuetype); } Console.Title = "RitoBot Console | Currently connected: " + connectedAccs; if (curRunning == maxBots) { break; } } catch (Exception) { Console.WriteLine("CountAccError: You may have an issue in your accounts.txt"); Application.Exit(); } } Console.ReadKey(); } }