View previous topic :: View next topic |
Author |
Message |
Sna1l How do I cheat? Reputation: 0
Joined: 27 Aug 2020 Posts: 5
|
Posted: Wed Jan 12, 2022 6:42 am Post subject: Commonalities doubt base address |
|
|
Hello everyone,
I need help with something I'm trying to look up for a manual or something similar. I didn't have any luck though. Probably someone here must know.
The problem is when I found commonalities in ESI and EDX, I have just to add the register plus the offset in the assembler script (supposing the offset is 23A).
example: "ESI+23A" OR "EDX+23a"
now what happens when the register is the "base address" how to transcript it?
Just to be really clear: I want to know what is that "base address" where do I get it?
what goes between here: "(base address)+23A"
I sincerely appreciate if someone could help me.
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3108
|
Posted: Wed Jan 12, 2022 9:35 am Post subject: |
|
|
You either use Google, or take an Assembly course.
|
|
Back to top |
|
|
Sna1l How do I cheat? Reputation: 0
Joined: 27 Aug 2020 Posts: 5
|
Posted: Wed Jan 12, 2022 9:38 am Post subject: |
|
|
Csimbi wrote: | You either use Google, or take an Assembly course. |
I've tried google but didn't find anything similar. My doubt is, do I have to find a pointer to the address that I used the commonalities? Or is it the same address I used in the assembly?
Can't find many things about the commonalities on Google.
What I want to know is in an assembly script I don't need to use a specific address, I only need the register and offset.
But when the commonalities are in the "Base address" do I need an address or do I write a register plus offset?
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3108
|
Posted: Wed Jan 12, 2022 9:57 am Post subject: |
|
|
Commonalities is not a word use in context of Assembly.
You are looking for the wrong thing.
Assembly course it is then.
|
|
Back to top |
|
|
Sna1l How do I cheat? Reputation: 0
Joined: 27 Aug 2020 Posts: 5
|
Posted: Wed Jan 12, 2022 10:22 am Post subject: |
|
|
Csimbi wrote: | Commonalities is not a word use in context of Assembly.
You are looking for the wrong thing.
Assembly course it is then. |
It is a tool in cheat engine to compare the addresses commonalities.
Description: |
|
Filesize: |
62.24 KB |
Viewed: |
1723 Time(s) |
|
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Wed Jan 12, 2022 10:47 am Post subject: |
|
|
Sna1l wrote: |
It is a tool in cheat engine to compare the addresses commonalities. |
The tool provided by Cheat Engine scans for commonalities between shared addresses/offsets i.e. a function within the game that uses the same function for example: health, when damaged it affects both, your character, and enemies. In this situation you would use the scan for commonality feature within Cheat Engine to find an arbitrary value that you can compare against and provide logic within your script so that it affects only your character/enemies.
|
|
Back to top |
|
|
Sna1l How do I cheat? Reputation: 0
Joined: 27 Aug 2020 Posts: 5
|
Posted: Wed Jan 12, 2022 11:19 am Post subject: |
|
|
LeFiXER wrote: | Sna1l wrote: |
It is a tool in cheat engine to compare the addresses commonalities. |
The tool provided by Cheat Engine scans for commonalities between shared addresses/offsets i.e. a function within the game that uses the same function for example: health, when damaged it affects both, your character, and enemies. In this situation you would use the scan for commonality feature within Cheat Engine to find an arbitrary value that you can compare against and provide logic within your script so that it affects only your character/enemies. |
Thank you for explanation, I've been using that tool sometimes though.
But I'm always using a register that not involve "base address" so for example (using the image above as example) supposing I would use the offset 14 of EBX, in an assembly commonalities scanner, the script I would write like this
cmp [ebx+14],33
jne enemy:
Or if it was ESI
cmp [ESI+14],33
jne enemy:
I don't need to find the address, I'm just telling the assembly to search for the same Offset every time, independent of the address.
Now, if I'm using the Base Address as a variable, how would I do the same writing?
Do I need to find the base address? If yes, where do get the base address from? Since it is related to an assembly code (mov eax,[ebx+08])?
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Wed Jan 12, 2022 11:41 pm Post subject: |
|
|
You don't have to know what the base address is to use comparitive logic. Providing you use the correct registers/instructions based on the address of the value you want to manipulate.
If you don't want to take that route you will have to find the base address by pointer scanning, either manually or with the pointer scanner; however, I personally think finding the base address is more work than is required.
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Jan 13, 2022 12:19 am Post subject: |
|
|
Sna1l wrote: | LeFiXER wrote: | Sna1l wrote: |
It is a tool in cheat engine to compare the addresses commonalities. |
The tool provided by Cheat Engine scans for commonalities between shared addresses/offsets i.e. a function within the game that uses the same function for example: health, when damaged it affects both, your character, and enemies. In this situation you would use the scan for commonality feature within Cheat Engine to find an arbitrary value that you can compare against and provide logic within your script so that it affects only your character/enemies. |
Thank you for explanation, I've been using that tool sometimes though.
But I'm always using a register that not involve "base address" so for example (using the image above as example) supposing I would use the offset 14 of EBX, in an assembly commonalities scanner, the script I would write like this
cmp [ebx+14],33
jne enemy:
Or if it was ESI
cmp [ESI+14],33
jne enemy:
I don't need to find the address, I'm just telling the assembly to search for the same Offset every time, independent of the address.
Now, if I'm using the Base Address as a variable, how would I do the same writing?
Do I need to find the base address? If yes, where do get the base address from? Since it is related to an assembly code (mov eax,[ebx+08])? |
I've never used the tool, but my guess is it's whatever registry the instruction uses.
_________________
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Thu Jan 13, 2022 1:55 am Post subject: |
|
|
TheyCallMeTim13 wrote: |
I've never used the tool, but my guess is it's whatever registry the instruction uses. |
That's right, it compares the chain of pointers based on the register (at least that's what I believe it does) because you can't compare offsets using a different register from the pointer held by the address of the instruction you're trying to compare. I'm pretty bad at explaining what I mean but hopefully you understand.
If I'm wrong and someone knows how it works exactly and can tell me, please do .
|
|
Back to top |
|
|
Sna1l How do I cheat? Reputation: 0
Joined: 27 Aug 2020 Posts: 5
|
Posted: Thu Jan 13, 2022 12:42 pm Post subject: |
|
|
Quote: | I've never used the tool, but my guess is it's whatever registry the instruction uses. |
You're right, a little later though ,I'd found out yesterday I kept trying to find the address and ran through a couple of addresses, and it was the register in the assembly and it's worked.
But I appreciate anyway. Thanks!
And if someone has the same doubt, just to be clear, when it says "Base address" in the Commonalities Scanner it refers to the register in the assembly.
|
|
Back to top |
|
|
|