Im A trainer so as usual im trying to cheat in assault cube ... i ve created code that allow me to set my health too 9999 and i ran it but health is not automaticaly reset to 9999 so what shall i do to activate it ...
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace DEMO
{
class Program
{
public static int Base = 0x00FBA110;
public static int Health = 0xF8;
static void Main(string[] args)
{
VAMemory vam = new VAMemory("ac_client");
int LocalPlayer = vam.ReadInt32((IntPtr)Base);
while (true)
{
int address = LocalPlayer + Health;
vam.WriteInt32((IntPtr)address, 9999);
Thread.Sleep(100);
}
}
}
}
Im A trainer so as usual im trying to cheat in assault cube ... i ve created code that allow me to set my health too 9999 and i ran it but health is not automaticaly reset to 9999 so what shall i do to activate it ...
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace DEMO
{
class Program
{
public static int Base = 0x00FBA110;
public static int Health = 0xF8;
static void Main(string[] args)
{
VAMemory vam = new VAMemory("ac_client");
int LocalPlayer = vam.ReadInt32((IntPtr)Base);
while (true)
{
int address = LocalPlayer + Health;
vam.WriteInt32((IntPtr)address, 9999);
Thread.Sleep(100);
}
}
}
}
You are writing to the wrong adress. You forgot to include the base address of the module "ac_client".
Try this instead:
-> it might not work without editing it a bit - but get the idea and inplement it yourself. I don't want to come with the "spoon" speech. But.. no one will come and feed you with the spoon.
-> Also don't start your journey with the VAMemory library. Try to apply your understanding of coding and create (or use) a Library you understand yourself.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Diagnostics;
namespace DEMO
{
class Program
{
static void Main(string[] args)
{
Process[] processes = Process.GetProcessesByName("ac_client");
if (processes.Length > 0)
{
IntPtr BaseAddress = IntPtr.Zero;
Process activeProcesses = processes[0];
foreach (ProcessModule module in activeProcesses.Modules)
{
if (module.ModuleName.Contains("ac_client"))
{
BaseAddress = module.BaseAddress;
}
}
if (BaseAddress != IntPtr.Zero)
{
public static int Base = 0x00FBA110;
public static int Health = 0xF8;
int newHealthValue = 9999;
VAMemory vam = new VAMemory("ac_client");
int LocalPlayer = vam.ReadInt32((IntPtr)BaseAdress + Base);
int health = vam.ReadInt32((IntPtr)LocalPlayer + Health);
/*
string info = String.Format("Health: {0}", health.ToString());
Console.Clear();
Console.WriteLine(info);
*/
while (true)
{
vam.WriteInt32((IntPtr)LocalPLayer + Health, newHealthValue);
Thread.Sleep(1000);
}
}
}
}
}
}