工大后院

 找回密码
 加入后院

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
查看: 904|回复: 28

我5玩了~

  [复制链接]
发表于 2010-6-18 21:24 | 显示全部楼层 |阅读模式
不是我玩世界杯,是我被世界悲玩
发表于 2010-6-18 21:25 | 显示全部楼层
难得同意晴格格
回复

使用道具 举报

 楼主| 发表于 2010-6-18 21:25 | 显示全部楼层
我正在写外挂赚游戏币
回复

使用道具 举报

发表于 2010-6-18 21:25 | 显示全部楼层
第一次下一万金币,全部输晒
回复

使用道具 举报

发表于 2010-6-18 21:25 | 显示全部楼层
好彩赶吴切下注~~下左就悲剧啦
回复

使用道具 举报

发表于 2010-6-18 21:25 | 显示全部楼层
我仲有少少金币,哈
回复

使用道具 举报

发表于 2010-6-18 21:26 | 显示全部楼层
我都未話唔玩
回复

使用道具 举报

发表于 2010-6-18 21:26 | 显示全部楼层
第一次下一万金币,全部输晒
yaya. 发表于 2010-6-18 21:25



    咁朗死
回复

使用道具 举报

发表于 2010-6-18 21:26 | 显示全部楼层
我正在写外挂赚游戏币
漂流瓶 发表于 2010-6-18 21:25



    不用分享的啊
回复

使用道具 举报

发表于 2010-6-18 21:27 | 显示全部楼层
回帖看金幣。。。
回复

使用道具 举报

发表于 2010-6-18 21:28 | 显示全部楼层
还好今天有事,没时间下注,不然也是杯具了
回复

使用道具 举报

 楼主| 发表于 2010-6-18 21:28 | 显示全部楼层
  1. #region DLL导出
  2.         [DllImport("User32")]
  3.         public extern static void mouse_event(int dwFlags, int dx, int dy, int dwData, IntPtr dwExtraInfo);

  4.         [DllImport("User32")]
  5.         public extern static void SetCursorPos(int x, int y);

  6.         [DllImport("User32")]
  7.         public extern static bool GetCursorPos(out POINT p);

  8.         [DllImport("User32")]
  9.         [return: MarshalAs(UnmanagedType.Bool)]
  10.         public static extern bool GetWindowRect(IntPtr hwnd, ref RECT lpRect);

  11.         [DllImport("User32")]
  12.         public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);

  13.         [DllImport("User32")]
  14.         public static extern IntPtr SetActiveWindow(IntPtr hWnd);

  15.         [DllImport("User32")]
  16.         public static extern IntPtr BringWindowToTop(IntPtr hWnd);

  17.         [DllImport("User32")]
  18.         public static extern bool SetWindowPos(
  19.             IntPtr hWnd,
  20.             int hWndInsertAfter,
  21.             int x,
  22.             int y,
  23.             int cx,
  24.             int cy,
  25.             uint uFlags);

  26.         public const int HWND_BOTTOM = 1;
  27.         public const int HWND_TOPMOST = -1;
  28.         public const uint SWP_NOSIZE = 1;

  29.         [StructLayout(LayoutKind.Sequential)]
  30.         public struct RECT
  31.         {
  32.             public int Left;
  33.             public int Top;
  34.             public int Right;
  35.             public int Bottom;
  36.         }

  37.         [StructLayout(LayoutKind.Sequential)]
  38.         public struct POINT
  39.         {
  40.             public int X;
  41.             public int Y;
  42.         }
复制代码
回复

使用道具 举报

发表于 2010-6-18 21:28 | 显示全部楼层
后悔冇跟明灯牛
我信心十足地用概率学解释
结果官方黑庄都输得好惨
回复

使用道具 举报

发表于 2010-6-18 21:29 | 显示全部楼层
我正在写外挂赚游戏币
漂流瓶 发表于 2010-6-18 21:25

写好分享一下
回复

使用道具 举报

发表于 2010-6-18 21:29 | 显示全部楼层
我的金币早清袋了...—_—
回复

使用道具 举报

 楼主| 发表于 2010-6-18 21:31 | 显示全部楼层
  1. private void AutoClick(int x, int y)
  2. {
  3. Win32.POINT p = new Win32.POINT();
  4. Win32.GetCursorPos(out p);
  5. try
  6. {
  7. Win32.SetCursorPos(x, y);
  8. Win32.mouse_event((int)(MouseEventFlags.LeftDown | MouseEventFlags.Absolute), 0, 0, 0, IntPtr.Zero);
  9. Win32.mouse_event((int)(MouseEventFlags.LeftUp | MouseEventFlags.Absolute), 0, 0, 0, IntPtr.Zero);
  10. }
  11. finally
  12. {
  13. Win32.SetCursorPos(p.X, p.Y);
  14. }
  15. }

  16. private void ReadInitXml(string sXmlPath)
  17. {
  18. try
  19. {
  20. URlAddress = ConfigurationManager.AppSettings["initUrl"];
  21. //
  22. lvl = Convert.ToDouble(ConfigurationManager.AppSettings["lvl"]);
  23. delayTime = Convert.ToInt32(ConfigurationManager.AppSettings["delayTime"]);

  24. imgLeftX = Convert.ToInt32(ConfigurationManager.AppSettings["imgLeftX"]);
  25. imgLeftY = Convert.ToInt32(ConfigurationManager.AppSettings["imgLeftY"]);
  26. imgHeigh = Convert.ToInt32(ConfigurationManager.AppSettings["imgHeigh"]);
  27. imgWidth = Convert.ToInt32(ConfigurationManager.AppSettings["imgWidth"]);

  28. naviUpX = Convert.ToInt32(ConfigurationManager.AppSettings["naviUpX"]);
  29. naviUpY = Convert.ToInt32(ConfigurationManager.AppSettings["naviUpY"]);
  30. naviDownX = Convert.ToInt32(ConfigurationManager.AppSettings["naviDownX"]);
  31. naviDownY = Convert.ToInt32(ConfigurationManager.AppSettings["naviDownY"]);
  32. naviLeftX = Convert.ToInt32(ConfigurationManager.AppSettings["naviLeftX"]);
  33. naviLeftY = Convert.ToInt32(ConfigurationManager.AppSettings["naviLeftY"]);
  34. naviRightX = Convert.ToInt32(ConfigurationManager.AppSettings["naviRightX"]);
  35. naviRightY = Convert.ToInt32(ConfigurationManager.AppSettings["naviRightY"]);
  36. }
  37. catch(Exception ee)
  38. {
  39. MessageBox.Show(ee.Message);
  40. }
  41. }
复制代码
回复

使用道具 举报

发表于 2010-6-18 21:31 | 显示全部楼层
回复 12# 漂流瓶


    崇拜
回复

使用道具 举报

发表于 2010-6-18 21:31 | 显示全部楼层
回复 12# 漂流瓶


    看不懂啊
不用解释的啊
回复

使用道具 举报

发表于 2010-6-18 21:31 | 显示全部楼层
阿敏发多次嘛
回复

使用道具 举报

发表于 2010-6-18 21:32 | 显示全部楼层
早话要跟住明灯行啦!
明灯,你要继续买啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入后院

本版积分规则

QQ|Archiver|手机版|小黑屋|广告业务Q|工大后院 ( 粤ICP备10013660号 )

GMT+8, 2025-10-5 20:05

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表