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 


VB Trainer

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

Joined: 02 Apr 2006
Posts: 193

PostPosted: Sat Apr 08, 2006 8:46 pm    Post subject: VB Trainer Reply with quote

Okay, so I made a trainer in VB and I'm wondering how to resolve a pointer.

I know there's probably an API I need to use but I can't figure out which.

Thanks,
Personmans

EDIT: I figured out I can use ReadProcessMemory, read from the pointer, set that equal to a new variable, make that the new address.... Is there a way to do this using less memory?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sun Apr 09, 2006 4:24 am    Post subject: Reply with quote

here's the alchoritm I use

assume offet is a array of offsets (always at least size of 1)

1:i gets the value 0
2: x gets the value of the pointer
3:use readprocessmemory and read the address of x into the variable y
4:set x to the value of y and increase it with the value in offset[i]
5:increase i, unless you are at the end in which case return the value of x
6:goto 3

_________________
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
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