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 


Pointers in Autoit

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

Joined: 21 Feb 2013
Posts: 2

PostPosted: Thu Feb 21, 2013 1:30 pm    Post subject: Pointers in Autoit Reply with quote

So, I have an address and the base address, but now I need to put it in autoit.


#include <NomadMemory.au3>
$mid = _MemoryOpen(ProcessExists("Client.exe"))
$offset0 = "0x" & hex(_MemoryRead(0x0617E760 + 0x458, $mid))
$offset1 = "0x" & hex(_MemoryRead($offset0 + 0x48, $mid))
$offset2 = "0x" & hex(_MemoryRead($offset1 + 0x688, $mid))
$offset3 = "0x" & hex(_MemoryRead($offset2 + 0x7c, $mid))
$offset4 = _MemoryRead($offset3 + 0x1F4, $mid)
_MemoryClose($mid)
MsgBox(1,"Test",$offset4)

As of now, the multilevel pointers are working, but from the picture the base address shows "Client.exe"+number ->0617E760.
How do I get autoit to get from (game+number) to 0617E760



ce.jpg
 Description:
 Filesize:  42.98 KB
 Viewed:  5684 Time(s)

ce.jpg


Back to top
View user's profile Send private message
Screitor
Cheater
Reputation: 1

Joined: 26 Nov 2012
Posts: 33
Location: Venezuela

PostPosted: Thu Feb 21, 2013 2:24 pm    Post subject: Reply with quote

Read this.
_________________
Everybody lies.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jamesstegg
How do I cheat?
Reputation: 0

Joined: 21 Feb 2013
Posts: 2

PostPosted: Thu Feb 21, 2013 3:43 pm    Post subject: Reply with quote

I'm trying to understand what value I get returned.
From the following I get an allocation base:
_MemoryModuleGetBaseAddress(ProcessExists("Client.exe"), "Client.exe")

I though I could just take that and add 006CF9F4 to get the value I'm missing but it just gives me some other random looking number.

----------------------------------------------------------------------------------------
I've restarted the program, so now I have "Client.exe"+006CF9F4 -> 05F02420

What I know: 00A30000 (allocation base from _MemoryModuleGetBaseAddress)
006CF9F4 (constant)

What I need: 05F02420
Back to top
View user's profile Send private message
Screitor
Cheater
Reputation: 1

Joined: 26 Nov 2012
Posts: 33
Location: Venezuela

PostPosted: Thu Feb 21, 2013 11:06 pm    Post subject: Reply with quote

I'm sorry, but I do not code in autoit.

However, here is a tutorial of pointer reading with autoit.

_________________
Everybody lies.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
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