public static bool Init() { Checks.CheckVersion(); if (Properties.Settings.Default.debug) { Console.WriteLine("Update checked..."); } if (!Memory.OpenProcess("csgo")) { return(false); } if (Properties.Settings.Default.debug) { Console.WriteLine("Process opened..."); } Thread.Sleep(100); if (!Memory.ProcessHandle()) { return(false); } if (Properties.Settings.Default.debug) { Console.WriteLine("Process handled..."); } Thread.Sleep(100); if (!Memory.GetModules()) { return(false); } if (Properties.Settings.Default.debug) { Console.WriteLine("Module get succses..."); } return(true); }
public static bool Init() { Checks.CheckVersion(); Log.Debug("Update checked..."); if (!Memory.OpenProcess("csgo")) { return(false); } Log.Debug("Process opened..."); Thread.Sleep(100); if (!Memory.ProcessHandle()) { return(false); } Log.Debug("Process handled..."); Thread.Sleep(100); if (!Memory.GetModules()) { return(false); } Log.Debug("Module get succses..."); return(true); }
public static bool Init() { Checks.CheckVersion(); if (!Memory.OpenProcess("csgo")) { return(false); } Thread.Sleep(100); if (!Memory.ProcessHandle()) { return(false); } Thread.Sleep(100); if (!Memory.GetModules()) { return(false); } return(true); }