iwie ist der download down...kann das nochma wer hochladen?
#include <NomadMemory.au3>
$ah_Handle = _MemoryOpen(ProcessExists ("gw.exe"))
$pattern="558BEC83 EC1056.. ........ ....8B08 890D.... ....8BCF 8B50.... ........ ......8B 400889.."
$timer=TimerInit()
$find=_MemoryScan($ah_Handle, $pattern, true)
$timer=TimerDiff($timer)
$N_SECTION_D_POSX = _MemoryRead($find, $ah_Handle)
$POSX = Round(_MemoryRead($N_SECTION_D_POSX, $ah_Handle, "float"), 0)
msgbox(0, "Found", "Found: " & $find & " in " & Round($timer,0) & "ms." & @LF & "Address: " & Hex($N_SECTION_D_POSX) & " Value: " & $POSX)
;==================================================================================
; Function: _MemoryScan($ah_Handle, $pattern [, $after[, $iv_addrStart, [$iv_addrEnd]]])
; Description: Finds the address of the first occurance of a pattern in a process.
; Parameter(s): $ah_Handle - An array containing the Dll handle and the handle
; of the open process as returned by _MemoryOpen().
; $pattern - The pattern you want to find. Provide the pattern
; as a String of hex values. You may use the '.' as wildcard.
; Any other character as '0123456789ABCDEFabcdef.' is ignored.
; Example: "55 8B .. 83"
; $after - (optional) Set to FALSE by default.
; If set to TRUE, the method will return the address
; after the pattern, else the method returns the address
; of the pattern itself.
; $iv_addrStart - (optional) Set to 0x00400000 by default.
; This is the address where the method begins to scan
; for the pattern. It must be in hex format (0x00000000).
; $iv_addrEnd - (optional) Set to 0X00FFFFFF by default.
; This is the address where the method stops to scan
; for the pattern. It must be in hex format (0x00000000).
; Requirement(s): None.
; Return Value(s): On Success - Returns the address of the first occurance of the pattern
; ($after = FALSE) or the address after the first occurance
; of the pattern ($after = TRUE). The address is in
; hexadecimal format.
; On Failure - Returns -1
; @Error - 0 = No error.
; 1 = Invalid $ah_Handle.
; 2 = Invalid $pattern.
; Author(s): Luzifer42
; Note(s): The default scan range will be completed in less than one second.
;==================================================================================
Func _MemoryScan($ah_Handle, $pattern, $after=false, $iv_addrStart=0x00400000, $iv_addrEnd=0X00FFFFFF, $step=51200)
If Not IsArray($ah_Handle) Then
SetError(1)
Return -1
EndIf
$pattern=StringRegExpReplace($pattern, "[^0123456789ABCDEFabcdef.]", "")
IF StringLen($pattern)=0 Then
SetError(2)
Return -1
EndIf
For $addr=$iv_addrStart To $iv_addrEnd Step $step-(StringLen($pattern)/2)
StringRegExp(_MemoryRead($addr, $ah_Handle, "byte[" & $step & "]"), $pattern, 1, 2)
If Not @Error Then
If $after Then
return StringFormat("0x%.8X", $addr+((@Extended-2)/2))
Else
return StringFormat("0x%.8X", $addr+((@Extended-StringLen($pattern)-2)/2))
EndIf
EndIf
Next
Return -1
EndFunc
Quote:
hey wollte fragen ob mir jemand den speicher für die derzwitige y kooridinate sagen könnnte thx
==============Update: 09.11.2008 19:08:27==============
=======================Section A=======================
New Position X +++++++++++> [ 0x00A05590 ]
New Position Y +++++++++++> [ 0x00A05594 ]
New DEATH ++++++++++++++++> [ 0x00A05614 ]
New NO_NPC +++++++++++++++> [ 0x00A07174 ]
New MOUSE_COORDX +++++++++> [ 0x00A05C20 ]
New MOUSE_COORDY +++++++++> [ 0x00A05C24 ]
New TOWN_OUT_ID ++++++++++> [ 0x00A063D8 ]
New COURSE +++++++++++++++> [ 0x00A05502 ]
New EX_AREA_ID +++++++++++> [ 0x00A02EB8 ]
New EXPANDER +++++++++++++> [ 0x00A054C3 ]
New EXPANDERB ++++++++++++> [ 0x00A054C2 ]
New LVL ++++++++++++++++++> [ 0x00A02F00 ]
New PVP_PVE ++++++++++++++> [ 0x00A02F0C ]
New PING +++++++++++++++++> [ 0x00A00324 ]
New CHARNAME +++++++++++++> [ 0x00A00368 ]
New INTERFACE ++++++++++++> [ 0x00A01977 ]
New MOUSE_TEXT +++++++++++> [ 0x00A05248 ]
New BAGID ++++++++++++++++> [ 0x00A01EC0 ]
New LOG_IN_OUT +++++++++++> [ 0x00A164F8 ]
New GUILD_OPEN +++++++++++> [ 0x00A023B0 ]
New HERO_OPEN ++++++++++++> [ 0x00A0234C ]
New INVENTAR_OPEN ++++++++> [ 0x00A023D8 ]
New EMAIL ++++++++++++++++> [ 0x00A01988 ]
New WINDOW +++++++++++++++> [ 0x00A13270 ]
New MOVETO_TARGET ++++++++> [ 0x00A055EF ]
New CAST +++++++++++++++++> [ 0x00A05C04 ]
New CURSOR +++++++++++++++> [ 0x00A0A368 ]
New CWNDX ++++++++++++++++> [ 0x00A1334C ]
New CWNDY ++++++++++++++++> [ 0x00A13348 ]
New INVENTARX ++++++++++++> [ 0x00A023DC ]
New INVENTARY ++++++++++++> [ 0x00A023E0 ]
New HEROPOSX +++++++++++++> [ 0x00A02350 ]
New HEROPOSY +++++++++++++> [ 0x00A02354 ]
New HEROSIZEX ++++++++++++> [ 0x00A0235C ]
New HEROSIZEY ++++++++++++> [ 0x00A02358 ]
New MMAPPOSX +++++++++++++> [ 0x00A02430 ]
New MMAPPOSY +++++++++++++> [ 0x00A0242C ]
New MMAPSIZEX ++++++++++++> [ 0x00A02438 ]
New MMAPSIZEY ++++++++++++> [ 0x00A02434 ]
New MERCHANTPOSX +++++++++> [ 0x00A02620 ]
New MERCHANTPOSY +++++++++> [ 0x00A02624 ]
New MERCHANTSIZEX ++++++++> [ 0x00A02628 ]
New MERCHANTSIZEY ++++++++> [ 0x00A0262C ]
New PARTYPOSX ++++++++++++> [ 0x00A024A4 ]
New PARTYPOSY ++++++++++++> [ 0x00A024A8 ]
New PARTYSIZEX +++++++++++> [ 0x00A024AC ]
New PARTYSIZEY +++++++++++> [ 0x00A024B0 ]
New STORAGE ++++++++++++++> [ 0x00A01EEC ]
New SELLBAG_X ++++++++++++> [ 0x00A01E70 ]
New PMOVE ++++++++++++++++> [ 0x00A0561C ]
New CHESTPOSX ++++++++++++> [ 0x00A023F4 ]
New CHESTPOSY ++++++++++++> [ 0x00A023F0 ]
New OBSERVEMOD +++++++++++> [ 0x00A05628 ]
New MAPTIME ++++++++++++++> [ 0x00A054F8 ]
New MAPPLAYER ++++++++++++> [ 0x00A05C0C ]
New CHARACC ++++++++++++++> [ 0x00A00364 ]
New ALLBAGX ++++++++++++++> [ 0x00A02404 ]
New ALLBAGY ++++++++++++++> [ 0x00A02408 ]
New GUILDPOSX ++++++++++++> [ 0x00A023BC ]
New GUILDPOSY ++++++++++++> [ 0x00A023C0 ]
New GUILDSIZEX +++++++++++> [ 0x00A023B4 ]
New GUILDSIZEY +++++++++++> [ 0x00A023B8 ]
New SKILLSPOSX +++++++++++> [ 0x00A02378 ]
New SKILLSPOSY +++++++++++> [ 0x00A0237C ]
New SKILLSSIZEX ++++++++++> [ 0x00A02380 ]
New SKILLSSIZEY ++++++++++> [ 0x00A02384 ]
New TRADEPOSX ++++++++++++> [ 0x00A025F8 ]
New TRADEPOSY ++++++++++++> [ 0x00A025FC ]
New MOUSEDOWN ++++++++++++> [ 0x00A12710 ]
New CMOUSEX ++++++++++++++> [ 0x00A12708 ]
New CMOUSEY ++++++++++++++> [ 0x00A1270C ]
New LMOUSECLICKX +++++++++> [ 0x00A13428 ]
New LMOUSECLICKY +++++++++> [ 0x00A1342C ]
New PARTYSEARCH ++++++++++> [ 0x00A024B8 ]
=======================Section D=======================
New D_POSITION_X +++++++++> [ 0x00D28B24 ]
New D_POSITION_Y +++++++++> [ 0x00D28B28 ]
New CHECK_MAP ++++++++++++> [ 0x00D287C0 ]
New NPC_ID_NEAR ++++++++++> [ 0x00D283D0 ]
New NPC_ID_SELECT ++++++++> [ 0x00D283B0 ]
New NPC_ID_MOUSE_SELECT ++> [ 0x00D283BC ]
New DMG ++++++++++++++++++> [ 0x00D28858 ]
New NPC_ITEMSELECT +++++++> [ 0x00D29E6C ]
New CLIENTPATH +++++++++++> [ 0x00D293A0 ]
jo wird wohl so sein, ich denke kaum, dass sich die region weit enfernt hat.Quote:
Sieht so aus, als hätten sich die offsets geändert, das heisst einfach nochmal die adressen suchen (und evtl. Posten, damit man die neuen offsets einbauen kann).