View previous topic :: View next topic |
Author |
Message |
louielesko How do I cheat?
Reputation: 0
Joined: 11 Dec 2007 Posts: 6
|
Posted: Sat May 03, 2008 2:11 pm Post subject: Addresses Keep Changing in COH |
|
|
Everytime I have to re-search for the codes to boost my resources in company of heroes. Is there a way where i can just save a table/trainer that refinds the addresses on its own.
EX.
Gas will be address 10fc6928
then next time i load it will be
10b06293
or something like that. I need something that will find addresses on its own. Any help is appreciated,
Thanks.
|
|
Back to top |
|
 |
jackyyll Expert Cheater
Reputation: 0
Joined: 28 Jan 2008 Posts: 143 Location: here
|
Posted: Sat May 03, 2008 3:33 pm Post subject: |
|
|
Try reading up on pointers...
|
|
Back to top |
|
 |
Psy Grandmaster Cheater Supreme
Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Sat May 03, 2008 3:53 pm Post subject: |
|
|
Find out what writes to the address, then simply NOP the code.
Thats assuming you don't know about code-injection. Would be worth learning at some stage though
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25802 Location: The netherlands
|
Posted: Sat May 03, 2008 5:44 pm Post subject: |
|
|
and if you're fine with a table alone, try finding a easy address that belongs to the same region of memory and then use the option to recalculate all addresses according to the easily found address.
Saves time having to add new entries each time
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Sat May 03, 2008 7:31 pm Post subject: |
|
|
Also a little bit about this game the address's you find when attaching the debugger will be in a dll.
So they are going to be dynamic.
|
|
Back to top |
|
 |
louielesko How do I cheat?
Reputation: 0
Joined: 11 Dec 2007 Posts: 6
|
Posted: Sat May 03, 2008 11:37 pm Post subject: |
|
|
I have been reading up on pointers but i dont get it.
The tutorials are all either missing pictures or all corrupt.
and what is "NOP" the addresses?
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Sun May 04, 2008 7:35 pm Post subject: |
|
|
Address | bytes | assembly
5A1758 | 04 00 | add al,00
-------------------------------------------------------
Assembly = add al,00 = 04 00 in bytes so you use 2 nops
5A1758 nop
5A1759 nop
nop = no operation
-------------------------------------------------------
Bytes = 04 00
address of byte 04 = 5A1758
address of byte 00 = 5A1759
-------------------------------------------------------
nop = 90 in bytes
-------------------------------------------------------
5A1758 90
5A1759 90
--------------------------------------------------------
5A1758 90 90 <--- Same as above to examples
|
|
Back to top |
|
 |
louielesko How do I cheat?
Reputation: 0
Joined: 11 Dec 2007 Posts: 6
|
Posted: Mon May 05, 2008 6:16 pm Post subject: |
|
|
Yea I dont really get that above.
Could you break it down into steps please?
Thanks,
Collin
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Mon May 05, 2008 7:27 pm Post subject: |
|
|
nop something in an application, anything. You will see the assembly change to nop and the bytes for the assembly change to 90.
|
|
Back to top |
|
 |
louielesko How do I cheat?
Reputation: 0
Joined: 11 Dec 2007 Posts: 6
|
Posted: Mon May 05, 2008 8:02 pm Post subject: |
|
|
ok they did, now the score is not changing it just stays at 0 and i cant build anything. they changed to nop and 90.
and when i restart game the addresses change and the values are still messed up.
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Wed May 07, 2008 7:49 pm Post subject: |
|
|
Well on any game you nop code on it really is no help, if you nop say like money. It will not move up or down, and you wont be able to buy things that cost more in game.
So nop is only used in certain instances.
Now for COH, your right this is no good. All i was doing was explaining what you asked. "What is Nop?"
As for this problem:
Quote: | EX.
Gas will be address 10fc6928
then next time i load it will be
10b06293 |
You are in a dll module with this code. Thats why you see such a shift in code. DLL = Dynamic Link Library and it will change.
I know this game was trained by injecting a dll and making the calls from it.
Not a good game to learn to hack on for sure.
|
|
Back to top |
|
 |
Recifense I post too much
Reputation: 166
Joined: 17 Mar 2008 Posts: 3688 Location: Pernambuco - Brazil
|
Posted: Fri May 09, 2008 7:21 am Post subject: |
|
|
Hi Guys,
I succeeded in finding a pointer to the resource structure. Here is a table for CoH. In case it does not work for you, please let me know.
basestructure + 00dc = fManpower
basestructure + 00e0 = fFuel
basestructure + 00e4 = fMunitions
Cheers.
Description: |
|
 Download |
Filename: |
RelicCOH.CT |
Filesize: |
842 Bytes |
Downloaded: |
878 Time(s) |
|
|
Back to top |
|
 |
Psy Grandmaster Cheater Supreme
Reputation: 1
Joined: 27 Mar 2008 Posts: 1366
|
Posted: Fri May 09, 2008 8:27 am Post subject: |
|
|
Yeah, good stuff
|
|
Back to top |
|
 |
louielesko How do I cheat?
Reputation: 0
Joined: 11 Dec 2007 Posts: 6
|
Posted: Fri May 09, 2008 3:18 pm Post subject: |
|
|
yea this doesnt work the values are all messed up
they look like 8.43297598 -44
|
|
Back to top |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6301
|
Posted: Sat May 10, 2008 11:41 am Post subject: |
|
|
On those pointers, IF they work by showing the current value of ManPower,Fuel Etc...
You need to change the whole value and leave the decimal alone maybe.
Address's:
09cb038c
09caec44
Are part of a function that is controlling the manpower.
You can attach olly and go to this address and take a look.
or Scroll up in memory window to look at the assembly of one or both of these. Also, you can set a break point using Cheat Engine or olly and step the code down to one of these address's and see how it gets passed the value for manpower. Then once you find whats passing it, you can intercept it there and make the change before it ever gets to one of the address's above.
They could be in the same function with call or jumps directing it, or 2 separate functions.
|
|
Back to top |
|
 |
|