Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


PointerScan on object shows only one pointer with another ad

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
dlclex
How do I cheat?
Reputation: 0

Joined: 01 May 2022
Posts: 4

PostPosted: Sun May 01, 2022 4:31 am    Post subject: PointerScan on object shows only one pointer with another ad Reply with quote

PointerScan on object shows only one pointer with another address. What do i do wrong?


2.png
 Description:
 Filesize:  14.41 KB
 Viewed:  1531 Time(s)

2.png



1.png
 Description:
 Filesize:  57.03 KB
 Viewed:  1531 Time(s)

1.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25953
Location: The netherlands

PostPosted: Sun May 01, 2022 4:34 am    Post subject: Reply with quote

pointerpath may only reside in this region should be from 0 to 7fffffffffff
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dlclex
How do I cheat?
Reputation: 0

Joined: 01 May 2022
Posts: 4

PostPosted: Sun May 01, 2022 4:56 am    Post subject: Reply with quote

Like this?
I start scan, get a lot of result, restart app, get object new address, then rescan with this address and get zero results

Context:
Trying to hack my simple program written on c#
object from CE is CurrentPerson from code
Code:
namespace Test;

public class Program
{
    public static Person CurrentPerson;
    public static void Main()
    {
        CurrentPerson = new Person();
        while (true)
        {
            Console.WriteLine(CurrentPerson.metr++);
            Console.ReadLine();
        }
    }
}

public class Person
{
    public int metr;
}



rescanrsult.png
 Description:
 Filesize:  17.05 KB
 Viewed:  1517 Time(s)

rescanrsult.png



rescan.png
 Description:
 Filesize:  94 KB
 Viewed:  1517 Time(s)

rescan.png



addresses.png
 Description:
 Filesize:  101.41 KB
 Viewed:  1515 Time(s)

addresses.png



3.png
 Description:
 Filesize:  56.21 KB
 Viewed:  1516 Time(s)

3.png


Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25953
Location: The netherlands

PostPosted: Sun May 01, 2022 5:16 am    Post subject: Reply with quote

I recommend checking "Allow stack addresses of the first thread(s)"

Also, why do you think the base address of the pointer is going to be in that region? It's possible the pointer is actually stored in one of the clr modules

(And you're better of using .net info)

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
dlclex
How do I cheat?
Reputation: 0

Joined: 01 May 2022
Posts: 4

PostPosted: Sun May 01, 2022 12:56 pm    Post subject: Need help Reply with quote

Thank you for the help, I found my variable.
Now I want to call function. I use internal c# dll for this.
But main question is how to find function. I read a lot of guides about this, but my code still don't work.
Check my steps please.

For calling function I use delegate
Code:

delegate void Add(int n);

and
Code:

Marshal.GetDelegateForFunctionPointer<Add>(<IntPtr>)

I remebmer it is possible I did it with AssaultCube a few years ago

Either error in steps, either in code, because app crashes with this error:
Code:

[process exited with code 3221225477 (0xc0000005)]



4.png
 Description:
Found one row with mov and one above with call. This is static pointers to function? I tried to use them addresses, but program crashes
 Filesize:  116.37 KB
 Viewed:  1428 Time(s)

4.png



3.png
 Description:
Then click step out
 Filesize:  64.58 KB
 Viewed:  1424 Time(s)

3.png



2.png
 Description:
Then toggle breakpoint on this row
 Filesize:  70.24 KB
 Viewed:  1425 Time(s)

2.png



1.png
 Description:
Find out what writes in variable
 Filesize:  57.03 KB
 Viewed:  1430 Time(s)

1.png


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites