上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 35 下一页
摘要: a、找棋盘数据基址b、分析棋盘数据结构综合使用搜索技巧,这要看你的聪明才智啦![如本例:首先精确查找0,然后点一下左上角的一个,再次筛选出变化的,重开盘,再搜变化的,发现期盼规律为值为0表示没有棋子,为1表示你的棋子,为2表示对手的棋子,进而用增加1减少1反复筛选得出首地址,然后4字节的加,计算出棋盘地址] 阅读全文
posted @ 2014-03-25 22:26 beautifulzzzz 阅读(1050) 评论(0) 推荐(0)
摘要: a、远程读取进程数据b、打开远程进程c、读取远程进程数据首先百度一个cheat engine软件,自学一下很简单 1 API函数介绍 2 1、FindWindow //获取窗口句柄 3 2、GetWindowThreadProcessId //获取窗口进程ID 4 3、OpenProcess //打开指定进程 5 4、ReadProcessMemory //读指定进程 内存数据 6 游戏进程名: 7 游戏窗口标题: 8 HWND FindWindow( 9 LPCTSTR lpClassName, ... 阅读全文
posted @ 2014-03-25 21:34 beautifulzzzz 阅读(663) 评论(0) 推荐(0)
摘要: a、鼠拟鼠标单击mouse_eventb、鼠标指针移动还原HWND gameh;//游戏窗口句柄RECT r1;//RECT结构表示一个矩形区域POINT p;//x,yvoid CFewDlg::OnStartGame(){ gameh=::FindWindow(NULL,"井字棋"); ::GetWindowRect(gameh,&r1); GetCursorPos(&p);//保存当前鼠标指针 //取得当前鼠标位置 SetCursorPos(100+r1.left,100+r1.top);//当前窗口坐标+开局按钮坐标 this->m_x=r1. 阅读全文
posted @ 2014-03-25 20:38 beautifulzzzz 阅读(1003) 评论(0) 推荐(0)
摘要: a、取得窗口相对坐标b、读出游戏窗口信息GetWindowRectc、移动鼠标指针SetCursorPos HWND gameh;//游戏窗口句柄RECT r1;//RECT结构表示一个矩形区域void CFewDlg::OnStartGame(){ gameh=::FindWindow(NULL,"井字棋"); ::GetWindowRect(gameh,&r1); this->m_x=r1.left; this->m_y=r1.top; UpdateData(false);//显示到编辑框 SetCursorPos(655+r1.left,577+r 阅读全文
posted @ 2014-03-24 22:26 beautifulzzzz 阅读(2388) 评论(0) 推荐(0)
摘要: 请直接查找CWnd类!!!CWnd* cWnd;cWnd= cWnd->FindWindowW(L"kwmusicmaindlg",NULL);CRect cRect;cWnd->GetWindowRect((LPRECT)(&cRect));//得到窗口的矩形cWnd->MoveWindow(&... 阅读全文
posted @ 2014-03-21 00:22 beautifulzzzz 阅读(2296) 评论(0) 推荐(0)
摘要: /*API互斥事件对象实现线程同步*/#include#includeDWORD WINAPI myfun1(LPVOID lpParameter);//声明线程函数DWORD WINAPI myfun2(LPVOID lpParameter);static int a=0;HANDLE hmute... 阅读全文
posted @ 2014-03-18 14:36 beautifulzzzz 阅读(594) 评论(0) 推荐(0)
摘要: /*API事件对象实现线程同步*/#include#includeDWORD WINAPI myfun1(LPVOID lpParameter);//声明线程函数DWORD WINAPI myfun2(LPVOID lpParameter);static int a=0;HANDLE hevent;... 阅读全文
posted @ 2014-03-18 14:35 beautifulzzzz 阅读(783) 评论(0) 推荐(0)
摘要: /*WINAPI 线程同步*/#include#includeDWORD WINAPI myfun1(LPVOID lpParameter);//声明线程函数DWORD WINAPI myfun2(LPVOID lpParameter);static int a=0;CRITICAL_SECTION... 阅读全文
posted @ 2014-03-18 14:34 beautifulzzzz 阅读(1298) 评论(0) 推荐(0)
摘要: #include#includeDWORD WINAPI myfun1(LPVOID lpParameter);//声明线程函数DWORD WINAPI myfun2(LPVOID lpParameter);int main(){ HANDLE h1,h2;//定义句柄变量 h1=::C... 阅读全文
posted @ 2014-03-18 14:32 beautifulzzzz 阅读(879) 评论(0) 推荐(0)
摘要: 周末总结:初审寒假软件设计、听红楼梦报告、休息、集训。明日计划:[组成][数库][算法]。 尝试起早一点读英语,提高英语水平; 完成周二的ppt及致远班项目申请提交; 天鸽杯待邮件来到在做; 先搞ACM和通信,目标就是运河杯项目;做最有效的计划,做最有效率的事情! 阅读全文
posted @ 2014-03-17 00:05 beautifulzzzz 阅读(305) 评论(0) 推荐(0)
摘要: 服务端: 1 #include 2 #include 3 #include 4 #pragma comment(lib,"WS2_32.lib")//显示连接套接字库 5 int main() 6 { 7 WSADATA data;//定义WSADATA结构体 8 WORD w=MA... 阅读全文
posted @ 2014-03-16 23:36 beautifulzzzz 阅读(1977) 评论(0) 推荐(0)
摘要: 服务端: 1 #include 2 #include 3 #include 4 #pragma comment(lib,"WS2_32.lib")//显示连接套接字库 5 int main() 6 { 7 WSADATA data;//定义WSADATA结构体 8 WORD w=MA... 阅读全文
posted @ 2014-03-16 23:07 beautifulzzzz 阅读(2139) 评论(0) 推荐(0)
摘要: DescriptionAkihisa and Hideyoshi were lovers. They were sentenced to death by the FFF Inquisition. Ryou, the leader of the FFF Inquisition, promised t... 阅读全文
posted @ 2014-03-16 16:57 beautifulzzzz 阅读(667) 评论(0) 推荐(0)
摘要: DescriptionThe modular modular multiplicative inverse of an integeramodulomis an integerxsuch thata-1≡x(modm). This is equivalent toax≡1 (modm).InputT... 阅读全文
posted @ 2014-03-16 16:50 beautifulzzzz 阅读(1135) 评论(0) 推荐(0)
摘要: DescriptionKochiya Sanae is a lazy girl who makes and sells bread. She is an expert at bread making and selling. She can sell thei-th customer a piece... 阅读全文
posted @ 2014-03-16 16:20 beautifulzzzz 阅读(570) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 35 下一页