Register for your free account! | Forgot your password?

Go Back   elitepvpers > Aion > Aion Main - Discussions / Questions
You last visited: Today at 17:54

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

 

Aion Memory read problem

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2005
Posts: 41
Received Thanks: 12
Aion Memory read problem

Hi, can you please look at my code i dont get it to work.
it should show the Max HP but i only get weared numbers


Code:
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.0.0
 Author:         myName

 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <NomadMemory.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 445, 192, 124)
$Hp = GUICtrlCreateLabel("", 160, 48, 120, 20)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

Global $dll = "Game.dll"
Global $PID = ProcessExists("AION.bin")
Global $Offset = Dec("8EEEBC")

While 1
	$nMsg = GUIGetMsg()
	Switch $nMsg
		Case $GUI_EVENT_CLOSE
			Exit

EndSwitch
AionMemoryRead()

WEnd

Func AionMemoryRead()
	$dllbase = _MemoryModuleGetBaseAddress($PID, $dll)
	$rechnung = "0x" & Hex($dllbase + $Offset)
	$MemOpen = _MemoryOpen($PID)
	$MemRead = _MemoryRead($rechnung, $MemOpen)
	_MemoryClose($MemOpen)
	$b = Hex($dllbase)
	GUICtrlSetData($Hp, $MemRead)
EndFunc

thanks

EDIT: It seems $dllbase = _MemoryModuleGetBaseAddress($iPID, $dll) only returns 0. Why i dont find the error

UPDATE: It works if i start it in x86 mode



BlackPsycho is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[VB]Write Memory bzw Read Memory
Hi Ich hab das TuT von *Guidman* benütz um einen hack zu machen. So aber nun hab ihc ein paar fragen könnte man memory teil kürzer machen und am...
8 Replies - .NET Languages
Memory read and add value
Im trying to read values with HexCode but i have no ide to do this. i want the porgress bar and the labels to show the curent value of the Adresses ...
4 Replies - AutoIt
Memory Read
Hey E*PvP, ich hab ein Problem... Ich denke das die memory richtig ist , aber er gibt mir immer nur 0 aus.... Egal ob ich 0, 1, 1000 oder 9million...
8 Replies - AutoIt
Memory Read
wtf?? pls delete
0 Replies - AutoIt
Memory Read u.ä.
Moin, ich wollte fragen ob es für Metin2 auch eine UDF für autoit (mit memory read) gibt. Also mir geht es eigentlich nur darum, dass ich einen Bot...
2 Replies - Metin2 Main - Discussions / Questions



All times are GMT +2. The time now is 17:54.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.