主题:[讨论]会用vb做外挂的来
本菜鸟想请教各位关于vb做外挂的几个问题
一个是 为什么用ReadProcessMemory读吞食鱼2的地址(生命值)读不出来?
代码如下:
模块:
Public Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long,ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Any) As Long
窗体:我简便写了
Private Sub life_click()
dim a&
……
ReadProcessMemory mypro,&h123,a,4,0& '地址随便编的
print a
End Sub
为什么总显示为0(游戏已经打开)
还有一个是 怎么用CE查出一些怪物的生命值,坐标
[fly]先谢谢各位了^_^[/fly]
一个是 为什么用ReadProcessMemory读吞食鱼2的地址(生命值)读不出来?
代码如下:
模块:
Public Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Long,ByVal lpBaseAddress As Any, lpBuffer As Any, ByVal nSize As Long, lpNumberOfBytesWritten As Any) As Long
窗体:我简便写了
Private Sub life_click()
dim a&
……
ReadProcessMemory mypro,&h123,a,4,0& '地址随便编的
print a
End Sub
为什么总显示为0(游戏已经打开)
还有一个是 怎么用CE查出一些怪物的生命值,坐标
[fly]先谢谢各位了^_^[/fly]