#NoTrayIcon
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=D:/autoit3/Aut2Exe/Icons/memory.ico
#AutoIt3Wrapper_Res_Comment=内存遍历工具,主要用来查找偏移地址:)
#AutoIt3Wrapper_Res_Description=内存遍历工具
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=梁伟/旋风科技
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <ButtonConstants.au3>
#include <ComboConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <ListViewConstants.au3>
#include <ProgressConstants.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GUIComboBox.au3>
#include <GuiListView.au3>
DIM $CurProcID
DIM $ClientHandle
Dim $cs
dim $Py
Dim $ssjishu=-1
Dim $dll
FileInstall("SkinCrafterDll.dll", @SystemDir & "/SkinCrafterDll.dll", 1)
FileInstall("WhiteNight.skf", @SystemDir & "/WhiteNight.skf", 1)
;$ClientHandle=_MemoryOpen(ProcessExists (GUICtrlRead($Combo1)))
; MsgBox(0,$ClientHandle,ProcessExists (GUICtrlRead($Combo1)))
Dim $ClientAddress
Local $exStyles = BitOR($LVS_EX_GRIDLINES, $LVS_EX_FULLROWSELECT, $LVS_EX_SUBITEMIMAGES)
#Region ### START Koda GUI section ### Form=F:/AU3学习/小旋风内存遍历工具/Form2.kxf
$Form1 = GUICreate("小旋风内存遍历工具", 625, 411, 217, 150)
_SkinGUI(@SystemDir & "/SkinCrafterDll.dll", @SystemDir & "/WhiteNight.skf", $Form1)
$Input1 = GUICtrlCreateInput("00000000", 283, 57, 73, 21)
GUICtrlSetTip(-1,"设置指针,比如人物地址等等...")
$Label1 = GUICtrlCreateLabel("次级指针", 291, 33, 60, 17)
$Input2 = GUICtrlCreateInput("00000000", 371, 57, 73, 21)
GUICtrlSetTip(-1,"用来设置起始的偏移地址(可以不设)")
$Label2 = GUICtrlCreateLabel("偏移起始", 379, 33, 60, 17)
$Label3 = GUICtrlCreateLabel("遍历次数", 459, 33, 52, 17)
$Input3 = GUICtrlCreateInput("100", 451, 57, 73, 21)
GUICtrlSetTip(-1,"用来控制循环次数")
$Label4 = GUICtrlCreateLabel("搜索内容", 547, 33, 52, 17)
$Input4 = GUICtrlCreateInput("", 539, 57, 73, 21)
GUICtrlSetTip(-1,"当遍历完毕的时候用来搜索您需要的结果")
$Button1 = GUICtrlCreateButton("开始", 11, 57, 67, 25, 0)
GUICtrlSetTip(-1,"开始遍历内存")
$Button2 = GUICtrlCreateButton("清空", 187, 57, 67, 25, 0)
GUICtrlSetTip(-1,"清除掉两个LISTVIEW中的内容")
$Combo1 = GUICtrlCreateCombo("请选择要打开的进程", 11, 17, 201, 25)
GUICtrlSetTip(-1,"打开进程...")
GUICtrlSetCursor (-1, 0)
$Label5 = GUICtrlCreateLabel("QQ:35888894", 539, 9, 71, 17)
$Button3 = GUICtrlCreateButton("刷新", 227, 17, 51, 25, 0)
GUICtrlSetTip(-1,"如果你先开的工具再开的游戏,那么你需要刷新一下才能看到进程...")
$Checkbox1 = GUICtrlCreateCheckbox("模糊搜索", 360, 8, 89, 17)
GUICtrlSetTip(-1,"您暂时不需要精确搜索...")
GUICtrlSetState(-1,$GUI_CHECKED)
GUICtrlSetState(-1,$GUI_DISABLE)
$ListView1 = GUICtrlCreateListView("偏移地址|内容(双字)|内容(十进制)|浮点|字节集|ASCII", 8, 96, 610, 182, BitOR($WS_EX_CLIENTEDGE,$LVS_EX_GRIDLINES,$LVS_EX_TRACKSELECT,$LVS_EX_FULLROWSELECT))
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 80)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 80)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 100)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 3, 75)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 4, 160)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 100)
GUICtrlSetTip(-1,"用来查看您遍历内存的结果")
$menu1 = GUICtrlCreateContextMenu($ListView1)
$menu_01 = GUICtrlCreateMenuItem("复制地址", $menu1)
$menu_02 = GUICtrlCreateMenuItem("取消操作", $menu1)
$Button4 = GUICtrlCreateButton("搜索", 99, 57, 67, 25, 0)
GUICtrlSetTip(-1,"搜索您想要的数据用来测试准确的偏移地址")
$Progress1 = GUICtrlCreateProgress(8, 392, 606, 12, $PBS_SMOOTH)
$ListView2 = GUICtrlCreateListView("偏移地址|内容(双字)|内容(十进制)|浮点|字节集|ASCII", 8, 287, 610, 102, BitOR($WS_EX_CLIENTEDGE,$LVS_EX_GRIDLINES,$LVS_EX_TRACKSELECT))
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 80)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 80)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 2, 100)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 3, 75)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 4, 160)
GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 5, 100)
GUICtrlSetTip(-1,"用来查看您搜索的结果")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$list = ProcessList()
&n