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 


AutoIt Memory Pointer Reading.

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

Joined: 20 Feb 2011
Posts: 1

PostPosted: Sun Feb 20, 2011 11:46 am    Post subject: AutoIt Memory Pointer Reading. Reply with quote

I've been at it for some time and I just can not get the script to read off the pointer value, I've been able to return the static pointer address easily but I still have trouble reading the pointer.

This is what I have so far:
Code:

#include <NomadMemory.au3>
$PID=_MemoryOpen(ProcessExists("rift.exe"))
$BaseAddress=_MemoryGetBaseAddress($PID, 1)
$StaticOffset=Dec("E81308")
$iPID=WinGetProcess("RIFT")
$BaseAdd=_MemoryModuleGetBaseAddress($iPID,"rift.exe")+$StaticOffset
Dim $Offset[5]
Local $Offsets[5]=[0,Dec(18),Dec(130),Dec(90),Dec(184)]
$Offset[0]=0
$Offset[1]=0x18
$Offset[2]=0x130
$Offset[3]=0x90
$Offset[4]=0x184
$FinalAddress="0x"&Hex($BaseAddress+$StaticOffset)
$HP=_MemoryPointerRead($BaseAdd,$PID,$Offset)
_MemoryClose($PID)
ConsoleWrite($BaseAddress&"  "&$StaticOffset&"  "&$FinalAddress&"  "&$BaseAdd&"  "&$HP)
Back to top
View user's profile Send private message MSN Messenger
SlowPoke69
How do I cheat?
Reputation: 0

Joined: 18 Feb 2011
Posts: 7

PostPosted: Sun Feb 20, 2011 2:39 pm    Post subject: Reply with quote

Holy crap... Rift is just in beta and already being tampered with.. funny. Cool
Back to top
View user's profile Send private message
KryziK
Expert Cheater
Reputation: 3

Joined: 16 Aug 2009
Posts: 199

PostPosted: Sun Feb 20, 2011 7:11 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=517600&sid=fc0da459845ab21fe2916d2b51e7ec31

Here's a little tutorial I wrote a while back. It *should* still work.
Back to top
View user's profile Send private message
Luig
Cheater
Reputation: 0

Joined: 24 Sep 2010
Posts: 26

PostPosted: Mon Feb 21, 2011 10:45 am    Post subject: Reply with quote

I believe WinGetProcess returns the process of a window not the process id. If you know the process then use ProcessExists if you don't know the process you can try something like ProcessExists(WinGetProcess("RIFT"))
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