文件名称:code
- 所属分类:
- 外挂编程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.79mb
- 下载次数:
- 0次
- 提 供 者:
- jeff*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
循环
1,窗口置前
2,模拟TAB键(需要等待sleep)
3,模拟1键普通攻击
4,攻击等待(1000毫秒)
//这里是上节课的模拟按键打怪的代码
HWND hwnd
hwnd=::FindWindow(NULL,"Element Client")
//窗口置前
::ShowWindow(hwnd,SW_RESTORE)
::SetForegroundWindow(hwnd)
//模拟1这个按键。
keybd_event(49,0,WM_KEYDOWN,0) //按下1
keybd_event(49,0,WM_KEYUP,0)
这里需要将WM_KEYUP事件改成KEYEVENTF_KEYUP事件-Cycle 1, windows home before 2, analog TAB key (need to wait for sleep) 3, simulate an attack on four key general attack wait (1000 milliseconds)// This is the analog buttons on the lesson Daguai code HWND hwnd hwnd =:: FindWindow (NULL, " Element Client" ) // set the window before the:: ShowWindow (hwnd, SW_RESTORE) :: SetForegroundWindow (hwnd) // simulate one of this key. keybd_event (49,0, WM_KEYDOWN, 0) // pressed 1 keybd_event (49,0, WM_KEYUP, 0) here WM_KEYUP event needs to be replaced by KEYEVENTF_KEYUP Event
1,窗口置前
2,模拟TAB键(需要等待sleep)
3,模拟1键普通攻击
4,攻击等待(1000毫秒)
//这里是上节课的模拟按键打怪的代码
HWND hwnd
hwnd=::FindWindow(NULL,"Element Client")
//窗口置前
::ShowWindow(hwnd,SW_RESTORE)
::SetForegroundWindow(hwnd)
//模拟1这个按键。
keybd_event(49,0,WM_KEYDOWN,0) //按下1
keybd_event(49,0,WM_KEYUP,0)
这里需要将WM_KEYUP事件改成KEYEVENTF_KEYUP事件-Cycle 1, windows home before 2, analog TAB key (need to wait for sleep) 3, simulate an attack on four key general attack wait (1000 milliseconds)// This is the analog buttons on the lesson Daguai code HWND hwnd hwnd =:: FindWindow (NULL, " Element Client" ) // set the window before the:: ShowWindow (hwnd, SW_RESTORE) :: SetForegroundWindow (hwnd) // simulate one of this key. keybd_event (49,0, WM_KEYDOWN, 0) // pressed 1 keybd_event (49,0, WM_KEYUP, 0) here WM_KEYUP event needs to be replaced by KEYEVENTF_KEYUP Event
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AUOT\AUOT.APS
....\AUOT.clw
....\AUOT.cpp
....\AUOT.dsp
....\AUOT.dsw
....\AUOT.h
....\AUOT.ncb
....\AUOT.opt
....\AUOT.plg
....\AUOT.rc
....\AUOTDlg.cpp
....\AUOTDlg.h
....\Debug\AUOT.exe
....\.....\AUOT.ilk
....\.....\AUOT.obj
....\.....\AUOT.pch
....\.....\AUOT.pdb
....\.....\AUOT.res
....\.....\AUOTDlg.obj
....\.....\StdAfx.obj
....\.....\vc60.idb
....\.....\vc60.pdb
....\ReadMe.txt
....\res\AUOT.ico
....\...\AUOT.rc2
....\resource.h
....\StdAfx.cpp
....\StdAfx.h
....\Debug
....\res
AUOT
....\AUOT.clw
....\AUOT.cpp
....\AUOT.dsp
....\AUOT.dsw
....\AUOT.h
....\AUOT.ncb
....\AUOT.opt
....\AUOT.plg
....\AUOT.rc
....\AUOTDlg.cpp
....\AUOTDlg.h
....\Debug\AUOT.exe
....\.....\AUOT.ilk
....\.....\AUOT.obj
....\.....\AUOT.pch
....\.....\AUOT.pdb
....\.....\AUOT.res
....\.....\AUOTDlg.obj
....\.....\StdAfx.obj
....\.....\vc60.idb
....\.....\vc60.pdb
....\ReadMe.txt
....\res\AUOT.ico
....\...\AUOT.rc2
....\resource.h
....\StdAfx.cpp
....\StdAfx.h
....\Debug
....\res
AUOT