|
You last visited: Today at 23:23
Advertisement
memory
Discussion on memory within the AutoIt forum part of the Coders Den category.
08/13/2010, 21:53
|
#1
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
memory
ich würd jetz mal gerne mein wissen rund um memorywrite/read ect erweitern...
komischer weise gibt es hier im forum noch kein tut dazu, und im internet finde ich auch nicht viel darüber...
zum testen will ich nen teleport hack machen, füs spiel last chaos...
die offsets hab ich mir von KillerDeluxe geladen..
was genau braucht man? hier mal ein bild
(doppel klick auf den Pointer vom X-wert)
würde dann so machen wollen:
eine kleine gui, inder man die aktuelle position sieht,
eine input indem man die neue posi eingibt..
und ein button der es dann ändert....
hatt einer vllt ein tut dazu? oder könnte kurz erklären wie mann das machen?
ist das so im ansatz richtig?
als wert bekomm ich leider nur eine "0" ...
PHP Code:
#RequireAdmin
#include <NomadMemory.au3>
$Handle = _MemoryOpen(WinGetProcess("[CLASS:Nksp]"))
$Base = 0x1E6E8194
Dim $Offset[5] = [0, 0x54, 0x4, 0x10, 0x1C]
$Pread = _MemoryPointerRead($Base, $Handle, $Offset, "float")
Func start()
GUICtrlSetData($x,$Pread)
EndFunc
|
|
|
08/13/2010, 23:28
|
#2
|
elite*gold: 255
Join Date: Nov 2009
Posts: 2,900
Received Thanks: 1,408
|
Gibt sehr wohl ein Tut dazu auf epvp!
Ich muss zugeben, dass ich mich mit Last Chaos noch nicht so wirklich beschäftigt habe..
Aber anhand des Bildes würde ich es so versuchen:
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <Nomadmemory.au3.au3>
Global $Open = _MemoryOpen(ProcessExists("[prozessname]"))
Global $PointerX = 0x000000
Global $OffsetX[5] = [0, 0x54, 0x4, 0x10, 0x1c]
Global $PointerY = 0x000000
Global $OffsetY[5] = [0, 0x0, 0x0, 0x0, 0x0]
Global $Xwert = _MemoryPointerRead($PointerX,$Open,$OffsetX, 'float')
Global $YWert = _MemoryPointerRead($PointerY,$Open,$OffsetY, 'float')
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("Test Teleporthack", 228, 159, 330, 192)
$x_label = GUICtrlCreateLabel("aktuelle X-Position:", 8, 8, 94, 17)
$y_label = GUICtrlCreateLabel("aktuelle Y-Position:", 8, 40, 94, 17)
$x_wert_label = GUICtrlCreateLabel($Xwert, 104, 8, 4, 4)
$y_wert_label = GUICtrlCreateLabel($YWert, 104, 40, 4, 4)
$Group1 = GUICtrlCreateGroup("Teleport", 8, 64, 209, 81)
$Input1 = GUICtrlCreateInput("", 32, 80, 121, 21)
$Input2 = GUICtrlCreateInput("", 32, 112, 121, 21)
$Label1 = GUICtrlCreateLabel("X", 16, 80, 11, 17)
$Label2 = GUICtrlCreateLabel("Y", 16, 112, 11, 17)
$Button1 = GUICtrlCreateButton("Do it!", 160, 80, 49, 57, 0)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$1 = GUICtrlRead($Input1)
$2 = GUICtrlRead($Input2)
_MemoryPointerWrite($PointerX, $Open, $OffsetX,$1, 'float')
_MemoryPointerWrite($PointerY, $Open, $OffsetY,$2, 'float')
EndSwitch
If $x_wert_label <> $Xwert OR $y_wert_label <> $Ywert Then
GuiCtrlSetData($x_wert_label, $Xwert)
GuiCtrlSetData($y_wert_label, $Ywert)
EndIf
WEnd
Was mich aber noch ein bisschen stört ist, dass da wo "_pnetwork" steht, normalerweise [prozessname]+[basepointer] stehen sollte Ò_ó
|
|
|
08/13/2010, 23:59
|
#3
|
elite*gold: 0
Join Date: Nov 2009
Posts: 2,210
Received Thanks: 6,755
|
so mache ich das
Code:
#RequireAdmin
#include <NomadMemory.au3>
Main()
Func Main()
$pid=ProcessExists("LastChaos.exe");?? Bitte richtig ändern
$open=_MemoryOpen($pid)
$XAdresse=XAddresse()
$ActualX=_MemoryRead($XAdresse,$open,"float")
MsgBox(0,"X Pos",$ActualX)
EndFunc
Func XAddresse()
$pid=ProcessExists("LastChaos.exe");?? Bitte richtig ändern
$open=_MemoryOpen($pid)
$Base=;Die Base adresse (Füg _pnet...+..... manuell ein und nehm die adresse die rauskommt)
Dim $av_Offset2[6] = [0, 0x54, 0x4, 0x10, 0x1C]
$x=_MemoryRead($Base,$open,"dword")
$x2=_MemoryRead($x+ $av_Offset2[1],$open,"dword")
$x3=_MemoryRead($x2+ $av_Offset2[2],$open,"dword")
$x4=_MemoryRead($x3+ $av_Offset2[3],$open,"dword")
$x5=_MemoryRead($x4+ $av_Offset2[4],$open,"dword")
$Addy=$x5+$av_Offset2[5]
Return $Addy
EndFunc
|
|
|
08/15/2010, 01:35
|
#4
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
€selma
Dim $av_Offset2[ 6] = [0, 0x54, 0x4, 0x10, 0x1C]
müsste da nicht ne 5 hin?
hmm klappt nicht so wirklich...
ich hab selber vom hp wert den pointer gesucht und gefunden, und wollte den maleinfach in einer input anzeigen lassen, aber klappt auch nicht -.-
was könnte hier falsch sein?
PHP Code:
#RequireAdmin #include <Nomadmemory.au3> #include <GUIConstantsEx.au3> $Form1 = GUICreate("Form1", 231, 97, 192, 124) $leben = GUICtrlCreateInput("", 32, 32, 129, 21) GUISetState(@SW_SHOW)
Global $Open = _MemoryOpen(ProcessExists("[Nksp]"))
Global $Pointer = 0x106507E8 Global $Offset[2] = [0, 0x109308]
Global $pLeben = _MemoryPointerRead($Pointer,$Open,$Offset, 'DWORD')
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit
EndSwitch GuiCtrlSetData($leben, $pLeben) WEnd
ich merk grade, dass ich mit memory noch nicht wirklich viel ahnung habe
€nebenbei: ich starte erst mein script und dannach das game,
macht kein unterschied oder?
|
|
|
08/15/2010, 02:50
|
#5
|
elite*gold: 0
Join Date: Mar 2009
Posts: 7,260
Received Thanks: 33,149
|
Du gibst die Offsets von unten nach oben an, wäre also:
PHP Code:
Dim $Offset[5] = [0, 0x1C, 0x10, 0x4, 0x54]
Du solltest außerdem drauf achten, dass _MemoryPointerRead und - Write Arrays zurück geben.
[0] beinhaltet die Adresse und [1] den Wert. Die HP solltest du außerdem immer auslesen,
pack den Befehl also in die Schleife. Bei ProcessExists solltest du auch "Nksp.exe" benutzen.
PHP Code:
#RequireAdmin
#include <Nomadmemory.au3>
#include <GUIConstantsEx.au3>
$Form1 = GUICreate("Form1", 231, 97, 192, 124)
$leben = GUICtrlCreateInput("", 32, 32, 129, 21)
GUISetState(@SW_SHOW)
$Open = _MemoryOpen(ProcessExists("Nksp.exe"))
$Pointer = 0x106507E8
$Offset[2] = [0, 0x109308]
While True
$nMsg = GUIGetMsg()
If $nMsg == $GUI_EVENT_CLOSE Then Exit
$pLeben = _MemoryPointerRead($Pointer, $Open, $Offset)
$Input = GUICtrlRead($leben) ;liest den Wert der Inputbox
If $pLeben[1] <> $Input Then GUICtrlSetData($leben, $pLeben[1]) ;ändert den Wert der Inputbox nur wenn es nötigt ist
WEnd
Deine Aussage mit den Tutorials stimmt aber nicht, es gibt mehrere gute Tutorials.
Eigentlich reicht es auch, sich die NomadMemory.au3 anzugucken.
|
|
|
08/15/2010, 03:00
|
#6
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
|
Quote:
Originally Posted by omer36
€nebenbei: ich starte erst mein script und dannach das game,
macht kein unterschied oder?
|
Macht nen gewaltigen Unterschied. Setz mal nach
Code:
$Open = _MemoryOpen(ProcessExists("Nksp.exe"))
folgenden Code ein.
Code:
If @error Then MsgBox(4096, "Fehler", "Das richtige Fenster konnte nicht gefunden werden")
merkst was?..
|
|
|
08/15/2010, 11:30
|
#7
|
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
|
ok mit dem hp wert geht jetz endlich
danke an alle..
@moep
ich habs gesgagt, weil ich wusste, dass es ein unterschied machen kann, weil jeder immer
If @error Then MsgBox(4096, "Fehler", "Das richtige Fenster konnte nicht gefunden werden") gemacht hatt...
problem bei mir ist, wenn ich last chaos offen habe und dann etwas starte und eine sicherheitsfrage kommt (scheiss win7 und vista) bleibt das spiel hängen...
ich hab einfach sleep20sec gemacht, dann hab ich genug zeit um ins spiel zu kommen
|
|
|
08/15/2010, 14:19
|
#8
|
elite*gold: 0
Join Date: Apr 2008
Posts: 1,079
Received Thanks: 438
|
nimm doch WinWaitActive oder WinWait
|
|
|
 |
Similar Threads
|
[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
|
Quick Memory Editor - Alternative Memory Hacking Software
11/21/2009 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 11 Replies
This might be detected or not by GameGuard, I have not tested this on Official servers however it worked perfectly fine on other private servers.
http://imagenic.net/images/x0jxwzwpg2zxmkdtcf36.p ng
This is just an alternative memory editing tool.
Press thanks if this helps.
Remember, scan before using this.
Cause its 5.5MB.
|
Fragen Zur Memory!!!(Auslesen von Spawn/Memory)
12/31/2008 - Guild Wars - 3 Replies
hey leute,
ich wollte mal einen bot schreiben und nun bin ich ganz verwirrt.
könnte mir jmd bitte schritt für schritt erklären wie das mit Memory auslesen, benutzen und der Spawnpointer funktioniert.
Ich wär sehr dankbar wenn jmd kontakt mit mir aufnehmen würde...
und sobald der bot fertig ist bekommt der ihn natürlicherweise umsonst:D
ICQ: 481799773
oder hier im forum
|
Sample of memory search in PW for memory bot learner
02/25/2008 - Perfect World - 6 Replies
im learning how to make a memory bot as of know.. im expirience in pixel botin but the mob seacrh for it is quite slow.. ill be using au3 and the include nomadmemory.au3 from nomad in au3 forum. credits to him...
this is my sample of my memory script: it will be good for who wants to learn memory botin and has no available bot in their respective server
#include <Memory.au3>
Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes...
|
About changes in memory
02/22/2006 - General Coding - 3 Replies
Hi :)
I decided to try to change my own coordinates in memory (perhaps for a teleport, but it's just a little challenge )
I found them but when i change them, they are back to normal.... This is like this in many games...
I'd like to know how to conserve coordinates i enter and not the old one !? Must i hack a function that refresh it every time ?
Thanks :)
|
All times are GMT +1. The time now is 23:24.
|
|