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 


I want to assign to my variables the value of a pointer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
kanakis
Cheater
Reputation: 0

Joined: 19 Feb 2015
Posts: 28

PostPosted: Tue Jul 21, 2015 8:49 pm    Post subject: I want to assign to my variables the value of a pointer Reply with quote

I would prefer the easiest way in c++ (or java or c)

to create a variable:

float food = the value of this address

"age2_x1.Exe"+00295794 +fc +a8 + 0

I've been trying for the last 6 hours without success. Since english is not my native language, I am not even sure what the google search should be in english.

I am looking for the most simple way to do this. I will take care of exceptions later.

EDIT: if you don't want to do the work it's ok. Just guide me what I should be googling and I will do it myself.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Jul 22, 2015 3:10 am    Post subject: Reply with quote

First off, i recommend reading and understanding http://forum.cheatengine.org/viewtopic.php?t=422516

as for writing either use windows api's like writeProcessMemory or use float pointers directly if it's a dll

_________________
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
kanakis
Cheater
Reputation: 0

Joined: 19 Feb 2015
Posts: 28

PostPosted: Wed Jul 22, 2015 3:54 am    Post subject: Reply with quote

I did it. It was not that hard.

The major problem was that I was trying to run an API call through visual studio and I was getting errors because I didn't have access to the game process.

So when I run visual studio as administrator it all clicked!

14 hours wasted because I didn't run as admin Razz
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 programming 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