|
You last visited: Today at 17:03
Advertisement
multi level pointers
Discussion on multi level pointers within the AutoIt forum part of the Coders Den category.
04/09/2012, 23:27
|
#1
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
multi level pointers
i have searched googled and so on and i cant figure out any of this ****.
my pointer is with other offsets
Code:
<?xml version="1.0"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>49</ID>
<Description>"Current HP"</Description>
<Color>80000008</Color>
<VariableType>Float</VariableType>
<Address>"fixedmain.exe"+00B609D4</Address>
<Offsets>
<Offset>104</Offset>
<Offset>10</Offset>
<Offset>108</Offset>
<Offset>304</Offset>
<Offset>114</Offset>
</Offsets>
</CheatEntry>
</CheatEntries>
</CheatTable>
so how can i g this to show in label?
i wouold rly apreciate example from this data
|
|
|
04/10/2012, 00:24
|
#2
|
elite*gold: 280
Join Date: May 2007
Posts: 2,818
Received Thanks: 3,483
|
Code:
$base = Read(0x00B609D4)
$currentHP = Read(Read(Read(Read(Read(Read($base)+0x104)+0x10)+0x108)+0x304)+0x114, "float")
|
|
|
04/10/2012, 00:45
|
#3
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
Quote:
Originally Posted by lolkop
Code:
$base = Read(0x00B609D4)
$currentHP = Read(Read(Read(Read(Read(Read($base)+0x104)+0x10)+0x108)+0x304)+0x114, "float")
|
thnx i will try this out now !
doesnt work
i dont f@%ken get it ;/
can u plz gime ful example maybe ?
|
|
|
04/10/2012, 12:22
|
#4
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
Code:
Local $prozessname = "fixedmain.exe"
$PID = ProcessExists($prozessname)
If $PID > 0 Then
$Handle = _MemoryOpen($PID)
$Address = _MemoryModuleGetBaseAddress("" & $PID & "", "" & $prozessname & "")
$Address = "0x" & Hex($Address + Dec("B609D4"))
Dim $Offset[5]
$Offset[0] = 0x104
$Offset[1] = 0x010
$Offset[2] = 0x108
$Offset[3] = 0x304
$Offset[4] = 0x114
EndIf
$Read = _MemoryPointerRead($Address, $Handle, $Offset, "dword")
_MemoryClose($Open)
|
|
|
04/10/2012, 12:42
|
#5
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
Quote:
Originally Posted by Applecode
Code:
Local $prozessname = "fixedmain.exe"
If $PID > 0 Then
$Handle = _MemoryOpen($PID)
$Address =[COLOR="Red"] _MemoryModuleGetBaseAddress("" & $PID & "", "" & $prozessname & "")[/COLOR]
$Address = "0x" & Hex($Address + Dec("B609D4"))
Dim $Offset[5]
$Offset[0] = 0x104
$Offset[1] = 0x010
$Offset[2] = 0x108
$Offset[3] = 0x304
$Offset[4] = 0x114
EndIf
$Read =[COLOR="Red"] _MemoryPointerRead($Address, $Handle, $Offset, "dword")[/COLOR]
_MemoryClose($Open)
|
i dont have those 2 functions? ;O
|
|
|
04/10/2012, 12:44
|
#6
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
Use with this
|
|
|
04/10/2012, 13:06
|
#7
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
Quote:
Originally Posted by Applecode
Use with this
|
i edited the script around a lil now but still got empty value
Code:
Global $Address, $Handle, $Offset
Local $prozessname = "fixedmain.exe"
Local $PID = ProcessExists("fixedmain.exe")
If $PID > 0 Then
$Handle = _MemoryOpen($PID)
$Address = _MemoryModuleGetBaseAddress("" & $PID & "", '' & $prozessname & '')
$Address = "0x" & Hex($Address + Dec("B609D4"))
Dim $Offset[5]
$Offset[0] = 0x104
$Offset[1] = 0x010
$Offset[2] = 0x108
$Offset[3] = 0x304
$Offset[4] = 0x114
EndIf
$Read = _MemoryPointerRead($Address, $Handle, $Offset, "dword")
_MemoryClose($Handle)
MsgBox(0, "", "VALUE IS : " & $Read)
what can be wrong? ;/
|
|
|
04/10/2012, 13:11
|
#8
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
$Read[1] // or [0] ?
|
|
|
04/10/2012, 13:14
|
#9
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
Quote:
Originally Posted by fear-x
i edited the script around a lil now but still got empty value
Code:
Global $Address, $Handle, $Offset
Local $prozessname = "fixedmain.exe"
Local $PID = ProcessExists("fixedmain.exe")
If $PID > 0 Then
$Handle = _MemoryOpen($PID)
$Address = _MemoryModuleGetBaseAddress("" & $PID & "", '' & $prozessname & '')
$Address = "0x" & Hex($Address + Dec("B609D4"))
Dim $Offset[5]
$Offset[0] = 0x104
$Offset[1] = 0x010
$Offset[2] = 0x108
$Offset[3] = 0x304
$Offset[4] = 0x114
EndIf
$Read = _MemoryPointerRead($Address, $Handle, $Offset, "dword")
_MemoryClose($Handle)
MsgBox(0, "", "VALUE IS : " & $Read)
what can be wrong? ;/
|
$Read[0] = Adress
$Read[1] = Value
Also:
Code:
MsgBox(0, "", "VALUE IS : " & $Read[1])
|
|
|
04/10/2012, 13:15
|
#10
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
Quote:
Originally Posted by omer36
$Read[1] // or [0] ?
|
what do you mean.
tere is only 1 read variable ;p otehr is just in the msgbox
Quote:
Originally Posted by Applecode
$Read[0] = Adress
$Read[1] = Value
Also:
Code:
MsgBox(0, "", "VALUE IS : " & $Read[1])
|
Code:
Global $Address, $Handle, $Offset
Local $prozessname = "fixedmain.exe"
Local $PID = ProcessExists("fixedmain.exe")
If $PID > 0 Then
$Handle = _MemoryOpen($PID)
$Address = _MemoryModuleGetBaseAddress("" & $PID & "", '' & $prozessname & '')
$Address = "0x" & Hex($Address + Dec("B609D4"))
Dim $Offset[5]
$Offset[0] = 0x104
$Offset[1] = 0x010
$Offset[2] = 0x108
$Offset[3] = 0x304
$Offset[4] = 0x114
EndIf
Dim $Read[2]
$Read[0] = $Address
$Read[1] = _MemoryPointerRead($Address, $Handle, $Offset, "dword")
;~ $Read = _MemoryPointerRead($Address, $Handle, $Offset, "dword")
_MemoryClose($Handle)
MsgBox(0, "", "VALUE IS : " & $Read[1])
still wont give me any value.i think im just stupid at these things
|
|
|
04/10/2012, 13:25
|
#11
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
You need the older AutoIt Version, download and install:
and
But maybe you have a wrong pointer?
|
|
|
04/10/2012, 13:31
|
#12
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
Quote:
Originally Posted by Applecode
You need the older AutoIt Version, download and install:
and
But maybe you have a wrong pointer?
|
pointer works in cheat engine my friend found it
and why do i need older version? bcz the one i have now is so goood ;p i love this version (2.27)
|
|
|
04/10/2012, 13:34
|
#13
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
Because with new version of AutoIt the Pointer2.au3 doesnt work o;
|
|
|
04/10/2012, 13:35
|
#14
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,095
|
umm how come ;O bcz it didnt give me any error about the script
which version u suggest i get then ? ;p
|
|
|
04/10/2012, 13:45
|
#15
|
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
|
Quote:
Originally Posted by Applecode
You need the older AutoIt Version, download and install:
and
But maybe you have a wrong pointer?
|
Download this and try again.
|
|
|
All times are GMT +1. The time now is 17:04.
|
|