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 


Need Help

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

Joined: 17 Sep 2009
Posts: 7

PostPosted: Tue Sep 22, 2009 6:06 pm    Post subject: Need Help Reply with quote

Hey, I am making my first trainer, im going to use VB6, but i am having a bit of trouble, when i find the GREEN Pointer i add up the offset and pointer and it makes the address P->013021FC so in my trainer thats the address i will use 013021FC?, or will this address still change? in the cheat engine tutorial i made it to step 9 alone, so i am not a complete noob, =D
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Sep 23, 2009 2:22 am    Post subject: Reply with quote

it can change during runtime yes.
Just evaluate the pointer every time you access it

_________________
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
QuickScope
How do I cheat?
Reputation: 0

Joined: 17 Sep 2009
Posts: 7

PostPosted: Thu Sep 24, 2009 5:39 pm    Post subject: Reply with quote

Sorry for asking so many questions...But how could i do that?
have my trainer automatically calculate the pointer + offset each time the game is ran
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Thu Sep 24, 2009 6:00 pm    Post subject: Reply with quote

QuickScope wrote:
Sorry for asking so many questions...But how could i do that?
have my trainer automatically calculate the pointer + offset each time the game is ran


Yeah, do that.
Back to top
View user's profile Send private message MSN Messenger
QuickScope
How do I cheat?
Reputation: 0

Joined: 17 Sep 2009
Posts: 7

PostPosted: Thu Sep 24, 2009 8:13 pm    Post subject: Reply with quote

Noz3001 wrote:
QuickScope wrote:
Sorry for asking so many questions...But how could i do that?
have my trainer automatically calculate the pointer + offset each time the game is ran


Yeah, do that.

but how would i do this?, i am using vb6, how would i code it to calculate thee pointer + offset like ce dose, i have no idea
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Fri Sep 25, 2009 5:05 am    Post subject: Reply with quote

QuickScope wrote:
Noz3001 wrote:
QuickScope wrote:
Sorry for asking so many questions...But how could i do that?
have my trainer automatically calculate the pointer + offset each time the game is ran


Yeah, do that.

but how would i do this?, i am using vb6, how would i code it to calculate thee pointer + offset like ce dose, i have no idea


Read the value at the address of the pointer, add the offset to the value you just read to get the address of the value, read/write to/from the address of the value.
Back to top
View user's profile Send private message MSN Messenger
QuickScope
How do I cheat?
Reputation: 0

Joined: 17 Sep 2009
Posts: 7

PostPosted: Fri Sep 25, 2009 8:43 pm    Post subject: Reply with quote

Noz3001 wrote:
QuickScope wrote:
Noz3001 wrote:
QuickScope wrote:
Sorry for asking so many questions...But how could i do that?
have my trainer automatically calculate the pointer + offset each time the game is ran


Yeah, do that.

but how would i do this?, i am using vb6, how would i code it to calculate thee pointer + offset like ce dose, i have no idea


Read the value at the address of the pointer, add the offset to the value you just read to get the address of the value, read/write to/from the address of the value.

This is the code i used:

Code:

Dim ESP As Long
Dim ESP1 As Long

Call ReadALong("Kuma", &H5E273C, ESP)  '<<< Pointer
ESP1 = ESP + &H214  '<<< Offset
Call WriteAByte("Kuma", ESP1, 1)


and it works find now, thanks for all the help
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