Sample of memory search in PW for memory bot learner

02/22/2008 22:14 ericjohn#1
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
Code:
#include <Memory.au3>
Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes in ce to get this and learn finding ofset
Global $Moboffset = d ofset in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes in ce to get this and learn finding ofset

HotKeySet("{F1}", "mobid")
While 1
WEnd

Func mobid()
	Global $Process = WinGetProcess("Element Client")
	Global $DllInfo1 = _MemoryOpen($Process)
	$MobAdd = _FindNewAddress($Pointer, $Moboffset)
	$CurMob = _MemoryRead($MobAdd, $DllInfo1)
	_MemoryClose($Process)

	MsgBox(64, "Your Mob info:", "Your Current Mob: " & Hex($CurMob))
EndFunc   ;==>mobid

Func _FindNewAddress(ByRef $Pointer, ByRef $OSet)
	$New_Address = _MemoryRead($Pointer, $DllInfo1) + $OSet
	Return $New_Address
EndFunc   ;==>_FindNewAddress
this script will tell you the current mobID

this is the code of nomad:
[Only registered and activated users can see links. Click Here To Register...]

im still figuring out packets cause this will be the most useful thing
02/22/2008 23:14 white_lines#2
[Only registered and activated users can see links. Click Here To Register...] :(
02/23/2008 00:49 voe01#3
lol
you need to replace
Code:
Global $Pointer = d pointer in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes in ce to get this and learn finding ofset
Global $Moboffset = d ofset in 4bytes in whch its store the modId when clicked just search in hex format in 4bytes in ce to get this and learn finding ofset
with the correct addresses
02/23/2008 02:17 zevorc#4
why not use
_MemoryPointerRead ($iv_Address, $ah_Handle, $av_Offset[, $sv_Type])

its adds the offsets in.
02/24/2008 07:37 ericjohn#5
your right im trying to write a bot which you can cuztomize your own mob clik offset..

botin in my version will not be hard cause there are alot npcid enabler realse in this forum..

as of ph version ill try to figure out wat changes the address of the pointer after you reastart you pc.. even if you wrote the write pointer for in.. its useless after you restart pc and open up pw again..:confused:
02/24/2008 09:27 ericjohn#6
UPDATE: i found a way of the right pointer. you have just to use 2 pointers to locate the mob adrress.. heres the sample for you ph server..

THIS WILL SHOW YOU THE MOBID CLICKED:

PRESS F11 AFTER YOU CLICKED A MONSTER TO SHOW YOU ITS MOBID: ESC TO CLOSE IT
02/25/2008 14:41 fluxbox#7
Quote:
Originally Posted by ericjohn View Post
UPDATE: i found a way of the right pointer. you have just to use 2 pointers to locate the mob adrress.. heres the sample for you ph server..

THIS WILL SHOW YOU THE MOBID CLICKED:

PRESS F11 AFTER YOU CLICKED A MONSTER TO SHOW YOU ITS MOBID: ESC TO CLOSE IT
can't seem to download file.
thanks in advance.