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 


How do i make my script use this pointers? :( (AutoIT)

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

Joined: 22 May 2009
Posts: 9

PostPosted: Sat May 23, 2009 11:13 am    Post subject: How do i make my script use this pointers? :( (AutoIT) Reply with quote

Hello! I finaly found the Base Pointer, i was looking for, but now i dont know exactly, how i can make my script go tought alle these pointers, to the value i need. :\

So what i need to know exactly is, how can i make AutoIT get the next pointer, using the current pointer + offset? :\

First of all, here is a screenshot of the pointers:

www3 .pic-upload. de/23.05.09/a9ppe.jpg <- remove the spaces in it

The Script should walk the same way, as it is shown in the screenshot, using this code:

Code:
#include <winapi.au3>

Global Const $PROCESS_VM_OPERATION = (0x0008)
Global Const $PROCESS_VM_READ = (0x0010)

Global $Process="game.exe"
Global $Pointer = 0x0089af60 ; replace of course

$handle=_WinAPI_OpenProcess(BitOR($PROCESS_VM_OPERATION,$PROCESS_VM_READ),False,ProcessExists($Process))

$s=DllStructCreate("int")
Local $read
_WinAPI_ReadProcessMemory($handle,$Pointer,DllStructGetPtr($s),DllStructGetSize($s),$read)

   $MobHP = DllStructGetData($s,1)
   
   MsgBox(0, "MobHP", $MobHP)
   
_WinAPI_CloseHandle($handle)


I'm sitting here for about 2 days and it makes me crazy. Smile
Back to top
View user's profile Send private message
talkerzero
Grandmaster Cheater
Reputation: 1

Joined: 24 Jul 2008
Posts: 560
Location: California

PostPosted: Mon May 25, 2009 3:47 pm    Post subject: Reply with quote

Don't use AutoIt, it's an incredibly stupid language that isn't really a language.
Back to top
View user's profile Send private message Visit poster's website
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Mon May 25, 2009 4:54 pm    Post subject: Reply with quote

talker0 wrote:
Don't use AutoIt, it's an incredibly stupid language that isn't really a language.


Its actually a script since it stores the code in an encrypted format and decoded at runtime. XD.
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