Guest User

savage gang

a guest
Jan 28th, 2017
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. program PlayWorld_Cwars_Nser;
  2. {$i srl-6\srl.simba}
  3. var
  4. x, y: integer;
  5. Count:integer;
  6. EnterWhitePortal:integer;
  7.  
  8. const
  9.  
  10. USERNAME = '';//type account username in here
  11. PASSWORD = '';//type account password in here
  12. function IsLoggedIn: boolean;
  13. begin
  14. if findcolortolerance(x, y, 1779499, 722, 127, 762, 164, 10) then
  15. begin
  16. result := true
  17. wait(200)
  18. end
  19. else
  20. begin
  21. result := false
  22. wait(200)
  23. end;
  24. end;
  25.  
  26. procedure Login;
  27. begin
  28. wait(4000)
  29. begin
  30. movemouse(375, 211);
  31. writeln('entering username');
  32. Wait(200);
  33. clickmouse(x, y, mouse_left);
  34. count := 0;
  35. repeat
  36. Inc(count);
  37. PressKey(VK_Back);
  38. until count > 25;
  39. Wait(250);
  40. sendkeys(USERNAME, 0, 0);
  41. Wait(1000);
  42. writeln('entering password');
  43. movemouse(375, 254);
  44. Wait(200);
  45. clickmouse(x, y, Mouse_left);
  46. Wait(200);
  47. count := 0;
  48. repeat
  49. PressKey(VK_Back);
  50. Inc(count);
  51. until count > 25
  52. sendkeys(PASSWORD, 50, 25);
  53. writeln('logging in');
  54. Wait(1000);
  55. movemouse(379, 297);
  56. Wait(1000);
  57. ClickMouse(x, y, mouse_left);
  58. Wait(6000);
  59. writeln('logged in! (?)')
  60. end;
  61. end;
  62.  
  63. procedure setmeup;
  64. begin
  65. writeln('setting up....');
  66. writeln('putting angle up');
  67. sleep(3000)
  68. count := 0
  69. repeat
  70. inc(count);
  71. presskey(38);
  72. until count > 25;
  73. sleep(1000);
  74. movemouse(544, 21);
  75. wait(50)
  76. clickmouse2(mouse_left);
  77. wait(50)
  78. clickmouse2(mouse_left);
  79. end;
  80.  
  81. procedure CompassReset;
  82. begin
  83. movemouse(543, 23);
  84. wait(50)
  85. clickmouse2(mouse_left);
  86. wait(50)
  87. clickmouse2(mouse_left);
  88. end;
  89.  
  90. function InPortal: boolean;
  91. begin
  92. if findcolortolerance(x, y, 2070783, 458, 181, 494, 200, 10) then
  93. begin
  94. result := true
  95. wait(20)
  96. end
  97. else
  98. begin
  99. result := false
  100. wait(20)
  101. end;
  102. end;
  103. procedure FindPortal;
  104.  
  105. begin
  106. repeat
  107. if findcolortolerance(x, y, 11383238, 1, 1, 518, 336, 10) then
  108. begin
  109. WRITELN('FOUND PORT');
  110. mmouse(x, y,0,0);
  111. wait(250);
  112. ClickMouse(X, Y, mouse_Right)
  113. sleep(100)
  114. mouse(x, y+25, 0, 0, mouse_left)
  115. begin
  116.  
  117. wait(4000);
  118. writeln('entered portal')
  119. MMouse(627, 69, -15, 15)
  120. wait(50)
  121. clickmouse(x, y, mouse_left);
  122. end;
  123. end;
  124. until(inportal)
  125. MMouse(627, 69, -15, 15)
  126. wait(50)
  127. clickmouse(x, y, mouse_left);
  128. end;
  129.  
  130.  
  131. procedure mainloop;
  132. begin
  133. //CompassReset;
  134. if not inportal then
  135. begin
  136. FindPortal;
  137. end;
  138. end;
  139.  
  140. procedure loadstuff;
  141. begin
  142. enterwhiteportal :=BitmapFromString(130, 12, 'meJzVmN1u2kAQhREY41RKQ6Sqh' +
  143. 'UoEUgiEqCVw0+fre/SuzwMXtZ0+T8/uWQ/Drm1MoVErHaFd/wzsfP' +
  144. 'Ozy2x0PbNaLYfU19UIn9nPNpXnETVTT/IZSq5vlh//bQ3X1CM1eH4' +
  145. 'crBYfoDyLoM8P76k87UBP03fQfHIr+jS6no5v0rQNYVCiSV9rfn+r' +
  146. 'X6/Sw6TPHzYLWMDtu12r121ryd3/zf9G61oKWGzSi4SCmcadkAIRx' +
  147. 'LFRIwoNQAgF/k7xKkQKSRJ5ntfO/6v+f8m71OvkQhMKWdqpQ+BRGB' +
  148. 'cURMoOVUph82RlcaAW7baGAooP9ZrBT/9fJV14A7owheWeAkH4FDi' +
  149. 'N/aKUWTqVCJqAuHcIenGHSyOFb99/QGEu/MqdBzAQEBCmAERMUBi6' +
  150. 'YfTW3KqhgK8GBYzxyUGpHZk2sD98ySOnLPpDClufAmuUSBCkJnGKm' +
  151. 'D+kYEp9bBIBnxBzgTWfztfeZkWipBwJHTwjLwIHQzeMXolq75Z2ae' +
  152. 'hATeGoHZnybpVlO46uEiO+cj4F3SasOpAgiGMV82UUxCzdqKOdxUe' +
  153. '6s04Quf4m6ULyPMuXRKx2oJ56t+g0Le3wkGapHRlrZFWWaZO5YN7q' +
  154. 'RefnAm2qjZPLheJ6Z+/2ohxJLRKzHgKJeToWFGRpBGGuF137IHG2X' +
  155. 'GC3lELprRrxFQ9NPYUGVS5yudBzuYDBan5adw4pQEwE2mRrkFyIi1' +
  156. 'wgBUimkg6agrcForfD1Qkdfb4wCbJtVQW2+NO71bAvXITC2jYFeh6' +
  157. 'tWXLhJAqpXXtVd0Yu2N7tKpIbj/s6F8oqUp8U5Jigt0BVq+N1qVTy' +
  158. 'os4Fr8jrXGjYoEu/XdvRLbshBchZyPYV6bTzwt1bs8xtq6o1szWwK' +
  159. 'JVUJLXR0hQgFEZd+fe7VrU58STXvYNDTcCfnwuhnaO/00PADSo8L0' +
  160. 'oKCvB8YqcYsBcAQaIaqFBwIHYtrxyJDIKiNbAisUdXUzB6Xph9wtp' +
  161. 'pv6PeHOh49F5Wzat9E4WHNaPF4IstR6QgIoWSvy8sAmh6d1N3cFMU' +
  162. 'eGRwp4bDQ4dH4TfEJthG');
  163. end;
  164.  
  165.  
  166.  
  167.  
  168. begin
  169. repeat
  170. SetUpSRL;
  171. LoadStuff;
  172. If (Not LoggedIn) Then
  173. Begin
  174. Login;
  175. CompassReset;
  176. end;
  177. if (isloggedin) then
  178. mainloop;
  179. Until(false);
  180. end.program new;
  181. begin
  182. end.
Add Comment
Please, Sign In to add comment