Benvenuto! Per postare e godere delle funzionalità del forum registrati, occorrono pochi secondi ed è gratis!

[source] Semplice DinarBot :)

ZioPaperino VIP
Messaggi: 2,350
Discussioni: 667
Registrato: 03-2011
Mix: 0
Source code:

    C++ Programming
  1. if(CH_1024x768==1)
  2. {
  3. //Start Button
  4. SetCursorPos(450,90);
  5. Sleep(300);
  6. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  7. Sleep(300);
  8. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  9. Sleep(300);
  10. keybd_event(0x11, 0, 0, 0);
  11. keybd_event(0x11, 0, 0, 0);
  12. //Enter
  13. keybd_event(0x0D, 0, 0, 0);
  14. }
  15. Sleep(200);
  16. //----------------------------------------------
  17. if(CH_1152x846==1)
  18. {
  19. //Start Button
  20. SetCursorPos(520,124);
  21. Sleep(300);
  22. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  23. Sleep(300);
  24. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  25. Sleep(300);
  26. keybd_event(0x11, 0, 0, 0);
  27. keybd_event(0x11, 0, 0, 0);
  28. //Enter
  29. keybd_event(0x0D, 0, 0, 0);
  30. }
  31. Sleep(200);
  32. //----------------------------------------------
  33. if(CH_1280x960==1)
  34. {
  35. //Start Button
  36. SetCursorPos(586,175);
  37. Sleep(300);
  38. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  39. Sleep(300);
  40. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  41. Sleep(300);
  42. keybd_event(0x11, 0, 0, 0);
  43. keybd_event(0x11, 0, 0, 0);
  44. //Enter
  45. keybd_event(0x0D, 0, 0, 0);
  46. }
  47. Sleep(200);
  48. //----------------------------------------------
  49. if(CH_1280x1024==1)
  50. {
  51. //Start Button
  52. SetCursorPos(586,205);
  53. Sleep(300);
  54. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  55. Sleep(300);
  56. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  57. Sleep(300);
  58. keybd_event(0x11, 0, 0, 0);
  59. keybd_event(0x11, 0, 0, 0);
  60. //Enter
  61. keybd_event(0x0D, 0, 0, 0);
  62. }
  63. Sleep(200);
  64. //----------------------------------------------
  65. if(CH_1280x800==1)
  66. {
  67. //Start Button
  68. SetCursorPos(587,94);
  69. Sleep(300);
  70. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  71. Sleep(300);
  72. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  73. Sleep(300);
  74. keybd_event(0x11, 0, 0, 0);
  75. keybd_event(0x11, 0, 0, 0);
  76. //Enter
  77. keybd_event(0x0D, 0, 0, 0);
  78. }
  79. Sleep(200);
  80. //----------------------------------------------
  81. if(CH_1440x900==1)
  82. {
  83. //Start Button
  84. SetCursorPos(670,145);
  85. Sleep(300);
  86. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  87. Sleep(300);
  88. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  89. Sleep(300);
  90. keybd_event(0x11, 0, 0, 0);
  91. keybd_event(0x11, 0, 0, 0);
  92. //Enter
  93. keybd_event(0x0D, 0, 0, 0);
  94. }
  95. Sleep(200);
  96. //----------------------------------------------
  97. if(CH_1600x1024==1)
  98. {
  99. //Start Button
  100. SetCursorPos(754,207);
  101. Sleep(300);
  102. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  103. Sleep(300);
  104. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  105. Sleep(300);
  106. keybd_event(0x11, 0, 0, 0);
  107. keybd_event(0x11, 0, 0, 0);
  108. //Enter
  109. keybd_event(0x0D, 0, 0, 0);
  110. }
  111. Sleep(200);
  112. //----------------------------------------------
  113. if(CH_1680x1050==1)
  114. {
  115. //Start Button
  116. SetCursorPos(797,219);
  117. Sleep(300);
  118. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  119. Sleep(300);
  120. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  121. Sleep(300);
  122. keybd_event(0x11, 0, 0, 0);
  123. keybd_event(0x11, 0, 0, 0);
  124. //Enter
  125. keybd_event(0x0D, 0, 0, 0);
  126. }
  127. Sleep(200);
  128. //----------------------------------------------
  129. if(CH_1280x768==1)
  130. {
  131. //Start Button
  132. SetCursorPos(587,79);
  133. Sleep(300);
  134. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  135. Sleep(300);
  136. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  137. Sleep(300);
  138. keybd_event(0x11, 0, 0, 0);
  139. keybd_event(0x11, 0, 0, 0);
  140. //Enter
  141. keybd_event(0x0D, 0, 0, 0);
  142. }
  143. Sleep(200);
  144. //----------------------------------------------
  145. if(CH_1088x612==1)
  146. {
  147. //Start Button
  148. SetCursorPos(486,79);
  149. Sleep(300);
  150. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  151. Sleep(300);
  152. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  153. Sleep(300);
  154. keybd_event(0x11, 0, 0, 0);
  155. keybd_event(0x11, 0, 0, 0);
  156. //Enter
  157. keybd_event(0x0D, 0, 0, 0);
  158. }
  159. Sleep(200);
  160. //----------------------------------------------
  161. if(CH_1280x720==1)
  162. {
  163. //Start Button
  164. SetCursorPos(586,80);
  165. Sleep(300);
  166. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  167. Sleep(300);
  168. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  169. Sleep(300);
  170. keybd_event(0x11, 0, 0, 0);
  171. keybd_event(0x11, 0, 0, 0);
  172. //Enter
  173. keybd_event(0x0D, 0, 0, 0);
  174. }
  175. Sleep(200);
  176. //----------------------------------------------
  177. if(CH_1360x768==1)
  178. {
  179. //Start Button
  180. SetCursorPos(628,79);
  181. Sleep(300);
  182. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  183. Sleep(300);
  184. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  185. Sleep(300);
  186. keybd_event(0x11, 0, 0, 0);
  187. keybd_event(0x11, 0, 0, 0);
  188. //Enter
  189. keybd_event(0x0D, 0, 0, 0);
  190. }
  191. Sleep(200);
  192. //----------------------------------------------
  193. if(CH_1600x900==1)
  194. {
  195. //Start Button
  196. SetCursorPos(754,144);
  197. Sleep(300);
  198. mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
  199. Sleep(300);
  200. mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
  201. Sleep(300);
  202. keybd_event(0x11, 0, 0, 0);
  203. keybd_event(0x11, 0, 0, 0);
  204. //Enter
  205. keybd_event(0x0D, 0, 0, 0);
  206. }
  207. Sleep(200);


(purtroppo non è stato possibile commentarlo in quanto ci ho capito quasi zero...)

01/04/2011, 19:58
#1
Cerca


Messaggi in questa discussione
[source] Semplice DinarBot :) - da ZioPaperino - 01/04/2011, 19:58
[Nessun oggetto] - da ItalianHacker - 02/04/2011, 13:05
[Nessun oggetto] - da ZioPaperino - 02/04/2011, 17:58

Discussioni simili
Discussione Autore Risposte Letto Ultimo messaggio
  [Guida] Un semplice consiglio x migliorare la reattività del PC Admin 1 459 01/05/2014, 21:49
Ultimo messaggio: digger
  Source clientlessbot catoplepas 1 649 21/03/2014, 0:04
Ultimo messaggio: digger
  QUAKE2 - source - digger 6 1,121 11/11/2013, 0:48
Ultimo messaggio: digger



Utenti che stanno guardando questa discussione: 1 Ospite(i)