| View previous topic :: View next topic |
| Author |
Message |
metodski2 How do I cheat?
Reputation: 0
Joined: 16 Jun 2011 Posts: 3
|
Posted: Thu Jun 16, 2011 3:15 am Post subject: How to find pointers and offset |
|
|
I have been searching for the past 2 hours now and i kinda got the basic understanding about how to find them but i don`t understand it fully yet
I am using CE to find out the pointers and offset. So i found my health value from the game. I select " Find out what writes to that address" in CE. I select "More information" on the instruction that i need and out comes some info. Now my red highlighted line says mov [edx+edi*4+0.4], eax. Now i understand that the pointer is in register edx and it`s 0DABCB60. And also i understand that the offset is somewhere in the lines of edi*4+0.4 but i don`t know how to find it exactly (EDI = 00000000)
Now i know this isnt the autoit forum but if anyone knows how would i go about writing this in autoit i will be grateful.
$ID = ProcessExists("the game")
If $ID > 0 Then
Global $CurHPOffset[6] = [0, Some offsets i guess? Don`t know how to find them]
$StaticOffset = 0x0DABCB60 ( Is that what i need to put here or something else ? )
$openmem = _MemoryOpen($ID)
$baseADDR = _MemoryGetBaseAddress($openmem, 1)
$finalADDR = "0x" & Hex($baseADDR + $StaticOffset)
$HPread = _MemoryPointerRead($finalADDR, $openmem, $CurHPOffset, "char[10]")
_MemoryClose($openmem)
MsgBox(0, "Info", $HPread[1])
Also for whatever reason my $baseADDR always returns 0 ?
Any help would be greatly appreciated.
|
|
| Back to top |
|
 |
JohnT Expert Cheater
Reputation: 0
Joined: 24 May 2011 Posts: 130 Location: Next To Osama
|
Posted: Thu Jun 16, 2011 4:17 am Post subject: |
|
|
| look try find the address which leads you to this offset by looking to the address saved in edx and as an offset you will put 0.4
|
|
| Back to top |
|
 |
metodski2 How do I cheat?
Reputation: 0
Joined: 16 Jun 2011 Posts: 3
|
Posted: Thu Jun 16, 2011 8:46 am Post subject: |
|
|
| Yeah that works but autoit still gives me base address 0..
|
|
| Back to top |
|
 |
lucidity Advanced Cheater
Reputation: 0
Joined: 16 Feb 2011 Posts: 91
|
Posted: Thu Jun 16, 2011 8:51 am Post subject: |
|
|
Are you sure the nomad/memory AutoIt library you are using isn't broken?
_________________
» Antec Twelve Hundred Full Tower » EVGA E760 CLASSIFIED » EVGA GeForce GTX 580 SuperClocked 1536MB » i7-980XE » CORSAIR DOMINATOR 6GB PC3 12800 DDR3 » OS: Intel X25-M SSD » Game Storage: Raid-0 2 x WD VelociRaptor 10000 RPM » CE Cache Drive: 500GB WD Caviar » Power Supply: OCZ Z Series Gold 1000W |
|
| Back to top |
|
 |
metodski2 How do I cheat?
Reputation: 0
Joined: 16 Jun 2011 Posts: 3
|
Posted: Thu Jun 16, 2011 3:20 pm Post subject: |
|
|
As far as i know it isnt broken. I tried narrowing down the code to this simple piece but baseADDR is giving me 0 again
#include <NomadMemory.au3>
#include <MemoryGetBaseAddressUDF.au3>
SetPrivilege("SeDebugPrivilege", 1)
$ID = ProcessExists("_Launcher.exe")
$openmem = _MemoryOpen($ID)
$baseADDR = _MemoryGetBaseAddress($openmem, 1)
MsgBox(0, "Info", $baseADDR)
|
|
| Back to top |
|
 |
lucidity Advanced Cheater
Reputation: 0
Joined: 16 Feb 2011 Posts: 91
|
Posted: Thu Jun 16, 2011 3:44 pm Post subject: |
|
|
Do you have _ProcessGetModuleBase in your Nomad.au3?
_________________
» Antec Twelve Hundred Full Tower » EVGA E760 CLASSIFIED » EVGA GeForce GTX 580 SuperClocked 1536MB » i7-980XE » CORSAIR DOMINATOR 6GB PC3 12800 DDR3 » OS: Intel X25-M SSD » Game Storage: Raid-0 2 x WD VelociRaptor 10000 RPM » CE Cache Drive: 500GB WD Caviar » Power Supply: OCZ Z Series Gold 1000W |
|
| Back to top |
|
 |
|