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 


Changing value of address

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

Joined: 25 Dec 2007
Posts: 2

PostPosted: Tue Dec 25, 2007 5:58 pm    Post subject: Changing value of address Reply with quote

Does anyone know how to change the value of one memory address in one program, with the value of an address from a DIFFERENT program?

B.T.W. The value is constantly changing, so I must do this instead of putting in my own value.

Thanks and Merry Christmas guys ^^
Back to top
View user's profile Send private message
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Tue Dec 25, 2007 6:33 pm    Post subject: Reply with quote

If it keeps changing then I don't think that's possible.
Well, anythings possible, but it would be really hard and I don't know how.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Dec 25, 2007 6:38 pm    Post subject: Reply with quote

Create a program to read the value of an address from target a, then write it to the address in target b.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Cryoma
Member of the Year
Reputation: 198

Joined: 14 Jan 2009
Posts: 1819

PostPosted: Tue Dec 25, 2007 6:42 pm    Post subject: Reply with quote

Wiccaan wrote:
Create a program to read the value of an address from target a, then write it to the address in target b.

Yeah, that's what I was thinking, but it would probably lag.
Back to top
View user's profile Send private message
Newbie245
How do I cheat?
Reputation: 0

Joined: 25 Dec 2007
Posts: 2

PostPosted: Tue Dec 25, 2007 8:28 pm    Post subject: Reply with quote

Thanks for the quick reply guys.
I've thought about a separate program to do the work, but I've no clue
how to make one or get one.
And I don't think it would lag too bad ^^;;

Please, keep the ideas coming and thank you ^^
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Dec 25, 2007 11:44 pm    Post subject: Reply with quote

Cryoma wrote:
Wiccaan wrote:
Create a program to read the value of an address from target a, then write it to the address in target b.

Yeah, that's what I was thinking, but it would probably lag.


Wouldn't be any different then a trainer reading and writing to and from one process alone. I have done this before for other games but it wasn't used for this exact purpose.

As for making one, read up on ReadProcessMemory and WriteProcessMemory. You will need a few more API along with those, but if you want to get started, those will be the main two you will need.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Newbie245
How do I cheat?
Reputation: 0

Joined: 25 Dec 2007
Posts: 2

PostPosted: Wed Dec 26, 2007 4:17 am    Post subject: Reply with quote

I've read up on ReadProcessMemory and WriteProcessMemory.
This is the first trainer I'm gonna make, and I'm already really confused about it lol

Could someone please hold my hand and walk me through it? XD

This is what I'm trying to do:
All names / values are purely for example

Copy value from memory address 0005ABCD (Let's say the value "5" is stored in there for now), from "Program X", into address 008ABCDE of "Game Y".

How would I go about doing that guys?

I've read around on Google, and I have SoftICE in my arsenal now lol Smile
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Wed Dec 26, 2007 12:42 pm    Post subject: Reply with quote

Softice, if you can get it to work properly is ok, But ollydbg is just as good if not better.
Better as in it can do the same work with less the hassle. And it is free on top of that.

But as far as getting a look of how read and write is used. There are posts about this all over the place.
www.extalia.com has several examples.
There are even some in the general programming section as well i believe.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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