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 


Base Address

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

Joined: 17 Apr 2009
Posts: 28

PostPosted: Sun Aug 22, 2010 10:49 am    Post subject: Base Address Reply with quote

i need help, this is an autoit function script.
this was generated after i copied the Pointer on my CE.

but could someone explain this to me better? thanks.
is StaticOffset the BASE ADDRESS or what? Smile


Code:
Func _ReadCurMP($pid)

   Global $CurMPOffset[6]
   $CurMPOffset[0] = 0
   $CurMPOffset[1] = Dec("017C")
   $CurMPOffset[2] = Dec("010C")
   $CurMPOffset[3] = Dec("0004")
   $CurMPOffset[4] = Dec("0004")
   $CurMPOffset[5] = Dec("0020")
   $StaticOffset = Dec("0030EA80")
   $openmem = _MemoryOpen($pid)
   $baseADDR = _MemoryGetBaseAddress($openmem, 1)
   $finalADDR = "0x" & Hex($baseADDR + $StaticOffset)
   $MemPointer = _MemoryPointerRead($finalADDR, $openmem, $CurMPOffset)
   _MemoryClose($openmem)

   Return $MemPointer
EndFunc
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