Hello,
I've just started with coding csgo cheats. Though, ive been trying to get my bhop to work.
I have been c&p'ing most likely yes, just for educational purposes.
Now, i open the program and it should give be back info + the bhop should work.
I dont know what's wrong. I used a offset dumper to get the offsets. I probably did fuck up though.
So any assistance would be highly appreciated! skype: gauthier.cremers
Code:
namespace CSGO_Trainer
{
class Program
{
public static int aLocalPlayer = 0x3999234C;
public static int oFlags = 0x39945660;
public static int bClient;
public static int aJump = 0x3A693E00;
public static string process = "csgo";
[DllImport("user32.dll")]
public static extern short GetAsyncKeyState(int i);
static void Main(string[] args)
{
Bhop();
}
static void Bhop()
{
VAMemory vam = new VAMemory(process);
Process p = Process.GetProcessesByName("csgo").FirstOrDefault();
foreach (ProcessModule processModule in p.Modules)
{
if (processModule.ModuleName == "client.dll")
{
bClient = (int)processModule.BaseAddress;
int fJump = bClient + aJump;
aLocalPlayer = bClient + aLocalPlayer;
int LocalPlayer = vam.ReadInt32((IntPtr)aLocalPlayer);
int aFlags = LocalPlayer + oFlags;
while (true)
{
for (int i = 0; i < 255; i++)
{
int KeyState = GetAsyncKeyState(i);
if (KeyState == 1 || KeyState == -32767)
{
if ((Keys)i == Keys.Space)
{
int Flags = vam.ReadInt32((IntPtr)aFlags);
if (Flags == 257)
{
vam.WriteInt32((IntPtr)fJump, 5);
Thread.Sleep(10);
vam.WriteInt32((IntPtr)fJump, 4);
Console.Clear();
Console.WriteLine("in air");
}
}
}
}
Console.Clear();
Console.WriteLine("standing");
Thread.Sleep(10);
}
}
Console.ReadLine();
}
}
}
}