xgusth How do I cheat?
Reputation: 0
Joined: 21 Dec 2015 Posts: 1
|
Posted: Mon Dec 21, 2015 6:22 am Post subject: Finding static address in small C# console program |
|
|
Hi,
I'm using cheat engine for some time now and I know how to find static addresses in some games. But in other games it seems I cannot find it, so I created a small C# program just to see if I can find it and the assembly generated.
| Code: |
public class Program
{
static void Main(string[] args)
{
for (int i = 0; i < 1000; ++i)
{
Console.WriteLine(i);
System.Threading.Thread.Sleep(3000);
}
}
}
|
I can find the value of i easily, then I check what accessed it and got 3 address, 2 return nothing when searching the hex of it, and the other return one result (not static address), Then I add the address with the offset and it shows the right value, but again this isn't a static address, so I check what access this pointer, and then it shows nothing!!! I'm stuck.
I've tried the Pointer Scan For This Address, it returns millions of addresses the first few times but eventually returns 0.
It's always possible to find the base address of every value? When it's not possible? What are my options now?
Thanks!
|
|