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 


Addresses Keep Changing in COH
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
louielesko
How do I cheat?
Reputation: 0

Joined: 11 Dec 2007
Posts: 6

PostPosted: Sat May 03, 2008 2:11 pm    Post subject: Addresses Keep Changing in COH Reply with quote

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
View user's profile Send private message
jackyyll
Expert Cheater
Reputation: 0

Joined: 28 Jan 2008
Posts: 143
Location: here

PostPosted: Sat May 03, 2008 3:33 pm    Post subject: Reply with quote

Try reading up on pointers...
Back to top
View user's profile Send private message AIM Address MSN Messenger
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Sat May 03, 2008 3:53 pm    Post subject: Reply with quote

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 Wink
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat May 03, 2008 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat May 03, 2008 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
louielesko
How do I cheat?
Reputation: 0

Joined: 11 Dec 2007
Posts: 6

PostPosted: Sat May 03, 2008 11:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun May 04, 2008 7:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
louielesko
How do I cheat?
Reputation: 0

Joined: 11 Dec 2007
Posts: 6

PostPosted: Mon May 05, 2008 6:16 pm    Post subject: Reply with quote

Yea I dont really get that above.

Could you break it down into steps please?

Thanks,
Collin
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon May 05, 2008 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
louielesko
How do I cheat?
Reputation: 0

Joined: 11 Dec 2007
Posts: 6

PostPosted: Mon May 05, 2008 8:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed May 07, 2008 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Recifense
I post too much
Reputation: 166

Joined: 17 Mar 2008
Posts: 3688
Location: Pernambuco - Brazil

PostPosted: Fri May 09, 2008 7:21 am    Post subject: Reply with quote

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.



RelicCOH.CT
 Description:
Just resources

Download
 Filename:  RelicCOH.CT
 Filesize:  842 Bytes
 Downloaded:  878 Time(s)

Back to top
View user's profile Send private message Send e-mail
Psy
Grandmaster Cheater Supreme
Reputation: 1

Joined: 27 Mar 2008
Posts: 1366

PostPosted: Fri May 09, 2008 8:27 am    Post subject: Reply with quote

Yeah, good stuff Very Happy
Back to top
View user's profile Send private message
louielesko
How do I cheat?
Reputation: 0

Joined: 11 Dec 2007
Posts: 6

PostPosted: Fri May 09, 2008 3:18 pm    Post subject: Reply with quote

yea this doesnt work the values are all messed up

they look like 8.43297598 -44

Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat May 10, 2008 11:41 am    Post subject: Reply with quote

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
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
Goto page 1, 2  Next
Page 1 of 2

 
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