Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 17:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



multi level pointers

Discussion on multi level pointers within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #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
fear-x is offline  
Old 04/10/2012, 00:24   #2
 
lolkop's Avatar
 
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")
lolkop is offline  
Thanks
1 User
Old 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 View Post
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 ?
fear-x is offline  
Old 04/10/2012, 12:22   #4


 
K1ramoX's Avatar
 
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)
K1ramoX is offline  
Thanks
1 User
Old 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 View Post
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
fear-x is offline  
Old 04/10/2012, 12:44   #6


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Use with this
Attached Files
File Type: rar Pointer2.rar (3.4 KB, 67 views)
K1ramoX is offline  
Thanks
1 User
Old 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 View Post
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? ;/
fear-x is offline  
Old 04/10/2012, 13:11   #8
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
$Read[1] // or [0] ?
omer36 is offline  
Old 04/10/2012, 13:14   #9


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Quote:
Originally Posted by fear-x View Post
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])
K1ramoX is offline  
Thanks
1 User
Old 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 View Post
$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 View Post
$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
fear-x is offline  
Old 04/10/2012, 13:25   #11


 
K1ramoX's Avatar
 
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?
K1ramoX is offline  
Old 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 View Post
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)
fear-x is offline  
Old 04/10/2012, 13:34   #13


 
K1ramoX's Avatar
 
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;
K1ramoX is offline  
Thanks
1 User
Old 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
fear-x is offline  
Old 04/10/2012, 13:45   #15


 
K1ramoX's Avatar
 
elite*gold: 26
Join Date: Jan 2012
Posts: 3,474
Received Thanks: 18,844
Quote:
Originally Posted by Applecode View Post
You need the older AutoIt Version, download and install:



and



But maybe you have a wrong pointer?
Download this and try again.
K1ramoX is offline  
Reply




All times are GMT +1. The time now is 17:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.