Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 06:02

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

Advertisement



Memory read von Hp (in Progressbar anzeigen)

Discussion on Memory read von Hp (in Progressbar anzeigen) within the AutoIt forum part of the Coders Den category.

Reply
 
Old 03/26/2011, 18:16   #16
 
elite*gold: 0
Join Date: Oct 2010
Posts: 167
Received Thanks: 24
Oh sorry die ändern sich ja echt
Aber auch wenn ich die Adressen wieder änder. Passiert immernoch nix...Außerdem macht das ganze ja dann jetzt wohl keinen Sinn mehr, weil ich ja will, wenn es einer startet, dass es sofort aus dem Spiel rausliest, dass man 50 oder 100% oder 77 oder sonst wieviel % HP hat. Das geht ja nich wenn sich die scheiß adresse immer ändert^^
Kann's noch an iwas liegen?^^

Script sieht jetzt so aus :

#RequireAdmin
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=..\..\aion_1.ico
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <nomadmemory.au3>

#Region ### START Koda GUI section ### Form=C:\Dokumente und Einstellungen\Marian\Desktop\autoit un so\Magic Aion\GUI\GUI.kxf
$Form1_1 = GUICreate("Magic Aion", 633, 447, 192, 124)
$Progress1 = GUICtrlCreateProgress(24, 128, 233, 25)
$Adresse1 = 0x2B444AB8;
$Adresse2 = 0x77756D00

$Open = _memoryopen(ProcessExists("AION.bin"))
$MaxLeben = _MemoryRead($Adresse1, $Open, 'dword')
$MomentanesLeben = _MemoryRead($Adresse2, $Open, 'dword')

$Progress2 = GUICtrlCreateProgress(24, 192, 233, 25)
$Progress3 = GUICtrlCreateProgress(24, 256, 241, 25)
$Progress4 = GUICtrlCreateProgress(24, 328, 433, 17)
$Label2 = GUICtrlCreateLabel("Target", 448, 81, 35, 17)
$Progress5 = GUICtrlCreateProgress(368, 128, 249, 25)
$Button1 = GUICtrlCreateButton("Run bot", 24, 400, 153, 33, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("Player", 24, 80, 33, 17)
$Button2 = GUICtrlCreateButton("Magic Aion Homepage", 432, 8, 145, 25, $WS_GROUP)
$Button3 = GUICtrlCreateButton("Forum", 432, 40, 145, 25, $WS_GROUP)
$Button4 = GUICtrlCreateButton("Exit", 464, 400, 145, 33, $WS_GROUP)
$Button5 = GUICtrlCreateButton("Settings", 248, 400, 153, 33, $WS_GROUP)
$Label3 = GUICtrlCreateLabel("HP", 104, 96, 19, 17)
$Label4 = GUICtrlCreateLabel("MP", 104, 168, 20, 17)
$Label5 = GUICtrlCreateLabel("GK", 104, 232, 19, 17)
$Label6 = GUICtrlCreateLabel("EP", 104, 304, 18, 17)
$Label3 = GUICtrlCreateLabel("Magic Aion - www.magic-aion.com", 24, 8, 219, 26)
GUICtrlSetFont(-1, 12, 400, 0, "Minion Pro Cond")
GUICtrlSetColor(-1, 0x000080)
if not processexists("AION.bin") Then
msgbox(0,"ERROR","Aion process is not open. The will now exit.")
exit
endif
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg

GuiCtrlSetData($Progress1,$MomentanesLeben*100/$Maxleben)

case $Button4
Exit

case $Button2
ShellExecute("www.magic-aion.com")

case $Button3
ShellExecute("http://magic-aion.**************/index.php")


Case $GUI_EVENT_CLOSE
Exit

EndSwitch
WEnd
Masterscripter is offline  
Old 03/26/2011, 19:17   #17
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
mach das GuiCtrlSetData($Progress1,$Mom...... mal zwischen EndSwitch und WEnd
omer36 is offline  
Old 03/27/2011, 20:40   #18
 
elite*gold: 0
Join Date: Oct 2010
Posts: 167
Received Thanks: 24
Klappt immernoch nicht...geht einfach nicht...habt ihr noch andere ideen?
Masterscripter is offline  
Old 05/09/2011, 16:38   #19
 
elite*gold: 0
Join Date: May 2009
Posts: 191
Received Thanks: 19
Kann mir einer sagen, wie ich das mit Pointern mache? Ich krieg ja schon Probleme beim finden von Pointern.
Skatefreaky is offline  
Reply


Similar Threads Similar Threads
[VB.NET] Read memory help
03/25/2011 - .NET Languages - 7 Replies
Ok so im looking for some one that can help me to read a procces memory from a game and show it on a label in vb.net so if the HP changes then the label will change. Please help me here cant find anything on google, also how to send keys to the game
VB.NET Read Memory
11/08/2010 - .NET Languages - 1 Replies
jo Hi, Ich suche eine ReadMemory Function. Hat einer eine da? Danke
[VB]Write Memory bzw Read Memory
06/26/2010 - .NET Languages - 8 Replies
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 besten wie kann man das selber machen weil ich will nihct immer C&P machen. Und zu Read Memory kann man das auch machen das ein Label immer die Bestimmte Ahnzahl angiebt von dem Pointer?.(Wenn das Read Memory ist ?) Bitte helf mir Danke
Memory read and add value
06/20/2010 - AutoIt - 4 Replies
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 #include <GUIConstantsEx.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <NomadMemory.au3>
Read memory
06/27/2008 - Diablo 2 - 7 Replies
Hallo, will mit readprocessmemory nen externes programm machen was mir energie usw protokoliert. Das problem ist nur, das D2 die adressen bei jedem neuen spiel immer verändert. Wie kann ich das umgehen? Brauch ich glaube nen pointer auf die richtige adresse, aber wie? Hat da jemand ahnung???



All times are GMT +1. The time now is 06:03.


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.