Originally Posted by
rayan20
no, its just that u have to place it inside the rainbow six directory
Uhm lol Syntxi is right because wth is this path? C:\Users\Karandeep Singh\AppData\Local
Edit: On the Rainbowsix.exe part you are right but the CE cleaning not
Edit Edit: This is for the ones who know how to compile stuff(lol)
written in C#(ye i like C#)
Code:
using System;
using System.Collections.Generic;
using System.//IO; //Remove the slashes because MPGH thinks its a link
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CEBEtool
{
class Program
{
static void Main(string[] args)
{
Menu(null);
}
static void Menu(string error)
{
Console.ForegroundColor = ConsoleColor.White;
Console.BackgroundColor = ConsoleColor.Blue;
Console.Clear();
if (error != null)
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(error);
Console.ForegroundColor = ConsoleColor.White;
}
Console.WriteLine("------------------------------------------------------------------------");
Console.WriteLine("CE Log cleaner and BattleEye OFFLINE mode Patcher by StijnnX2");
Console.WriteLine("Credits: rayan20 for giving me an idea");
Console.WriteLine("Note: Place this in the Rainbow Six Game Directory");
Console.WriteLine("------------------------------------------------------------------------");
Console.WriteLine("1. Clear CE Logs");
Console.WriteLine("2. BattlEye Bypass(FOR OFFLINE MODE! also note if it already was bypassed it will revert back...)");
Console.WriteLine("3. Exit Program");
Console.Write("Select an Option(1, 2 or 3): ");
int choice;
if (int.TryParse(Console.ReadLine(), out choice))
{
switch (choice)
{
case 1:
ClearCeLogs();
break;
case 2:
BEBypass();
break;
case 3:
Environment.Exit(0);
break;
default:
Console.Clear();
Menu("Invalid Input");
break;
}
}
else
{
Console.Clear();
Menu("Invalid Input");
}
Console.ReadKey();
}
static void ClearCeLogs()
{
string path = Path.GetTempPath();
if (Directory.Exists(path + @"/Cheat Engine"))
{
Directory.Delete(path + @"/Cheat Engine", true);
Console.WriteLine("CE Temp Files Removed... /nPress any key to continue");
Console.ReadKey();
Menu(null);
}
}
static void BEBypass()
{
if (File.Exists("rainbowsix.exe") && File.Exists("RainbowSixGame.exe"))
{
File.Move("rainbowsix.exe", "rainbowsix2.exe");
File.Move("RainbowSixGame.exe", "rainbowsix.exe");
File.Move("rainbowsix2.exe", "RainbowSixGame.exe");
Console.WriteLine("BE Bypass succesfully done...");
Console.ReadKey();
Menu(null);
}
else
{
Menu("Wrong folder, files do not exist...");
}
}
}
}