Guest User

Untitled

a guest
Nov 27th, 2012
406
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. {
  2. ///////////////////////////Version 1.02/////////////////////////////////////////
  3. ////////////////////////////////////////////////////////////////////////////////
  4. Changelog:
  5. -Failsafe to avoid spam clicking
  6. -Added random resting
  7. -added move mouse instead of mouse jumping
  8. -added basic progross report
  9. ------------------------RJJ95 AUTO SOULSPLIT SKELETON FIGHTER-------------------
  10. Please, if you already see somebody training, do not bother botting at that time
  11. either hop worlds or bot at a different time.
  12. Insturctions:
  13. Logon to soulsplit, face arrowkey all the way up (press up until you can't anyore
  14. drag the green crosshair to the Soulsplit Cleint, then click the play button. If
  15. the bot is not clicking the skeleton, then edit this code:
  16. NPC = 1121869;
  17. (line 39)
  18. And put what ever color suits you better. To change the rate of resting, go to
  19. line 39 and edit
  20. restprobs = x;
  21. (line 48)
  22. to what ever you want.
  23. 3-15 = lazy
  24. 16-30 = distracted
  25. 30-50 = consentrated
  26. 51-70 = dedicated
  27. 70-100 = hardcore
  28. 101-140 = no lifer
  29. 141 - 170 = zezima
  30. 171-200 = S U O M I
  31. 200+ = bot
  32. Happy botting!
  33. ////////////////////////////////////////////////////////////////////////////////
  34.  
  35. }
  36. Program autofight;
  37. {$i srl/srl.simba}
  38. const
  39. NPC = 1121869;
  40. loot = 14079706;
  41. tolerence = 12;
  42. time = 7; // in seconds
  43. rwait = 1000;
  44. tleft = 41;
  45. tright = 44;
  46. bleft = 426;
  47. bright = 280;
  48. restprobs = 85;
  49. var
  50. charm: Integer;
  51.  
  52. procedure PickUp;
  53. var
  54. X, Y: Integer;
  55. begin
  56. Wait(1700 + Random(1200));
  57. WriteLn('Looking for bones...');
  58. if FindColorTolerance(X, Y, loot, 223, 114, 388, 290, 15) then
  59. begin
  60. WriteLn('Found bones!');
  61. MouseSpeed:=10;
  62. mmouse(x, y,1,1);
  63. Wait(120 + Random(80));
  64. ClickMouse(x, y, mouse_Right);
  65. end;
  66. WriteLn('Looking for charm...');
  67. Wait(1100);
  68. if FindBitmapToleranceIn(charm, X, Y,161, 86, 420, 252, 85) then
  69. begin
  70. MouseSpeed:=10;
  71. mmouse(x, y,1,1);
  72. WriteLn('Found charm!');
  73. Wait(500);
  74. ClickMouse(X, Y, mouse_Left);
  75. Wait(1820 + Random(80));
  76. end;
  77. end;
  78. procedure CheckCombat;
  79.  
  80. begin
  81. Wait((time * 500) + Random(rwait));
  82. WriteLn('Waiting for loot...');
  83. Wait((time * 500) + Random(rwait));
  84. PickUp;
  85. end;
  86. procedure ClickNPC;
  87. var
  88. X, Y: Integer;
  89. begin // kill npc
  90. WriteLn('Attacking skeleton...');
  91. if FindColorTolerance(X, Y, NPC, tleft, tright, bleft, bright, tolerence) then
  92. begin
  93. MouseSpeed:=25;
  94. mmouse(x, y,1,1);
  95. Wait(20 + Random(50));
  96. ClickMouse(X, Y, Mouse_Left);
  97. WriteLn('Attacked skeleton!');
  98. CheckCombat;
  99. end;
  100. end;
  101. var
  102. X,Y,s,breaks,outcome: Integer;
  103.  
  104. {procedure antiban;
  105. begin
  106. s := GetTimeRunning div 1000+1;
  107. outcome := Random(100)
  108. if outcome > 98 then
  109. begin
  110. MouseSpeed:=9;
  111. TypeSend('Brb afk');
  112. IncEx(breaks, 1);
  113. WriteLn('Taking a break . . .');
  114. FindColorTolerance(X, Y, 16159616, 600, 171, 626, 196, 10);
  115. mmouse(X,Y,1,1)
  116. Wait(250 + Random(50));
  117. ClickMouse(X, Y, Mouse_left);
  118. Wait(800 + Random(50));
  119. FindColorTolerance(X,Y,16777215,566,247,645,255,10);
  120. mmouse(X,Y,1,1)
  121. Wait(250 + Random(50));
  122. ClickMouse(X, Y, Mouse_left);
  123. wait(120000 + Random(5000));
  124. WriteLn('WOW! That was a good break, back to work!');
  125. TypeSend('back');
  126. Wait(800 + Random(2000));
  127. MouseSpeed:=12;
  128. FindColorTolerance(X, Y, 2448796, 583,250,636,256,10);
  129. mmouse(X, Y,1,1);
  130. Wait(50 + Random(50));
  131. ClickMouse(X, Y, mouse_Left);
  132. Wait(150 + Random(50));
  133. ClickNPC;
  134. end else
  135. begin
  136. if outcome <= 97 then
  137. Writeln('Time running(minutes)' + IntToStr(Round(s/60)));
  138. Writeln('Breaks:' + Tostr(breaks))
  139. ClickNPC;
  140. end;
  141. end;
  142. }
  143. begin
  144. charm := BitmapFromString(44, 12, 'meJzFU9sNgCAMZBD+/XAJR/THXZ' +
  145. 'jAtdTYpClH2xQJkfSDXvo4zjMva/4j0ns+t2/7xREsjuNxAvSKyBy' +
  146. 'uD+JdBIKSzuMw3iLxo5yMP3cOf6DqB9UnLQdZRjiLSasptWhAo1xn' +
  147. '+QQ4wCt4lBQB+PjCyrTrDhzUD8GCTOJg+UGudtxu6TzIAWj4tmxNB' +
  148. 'bIArkoHnsz1P57qY9GwalRcTWXZDd+RiMw=');
  149. repeat
  150. ClearDebug;
  151. ClickNPC;
  152. until False;
  153. FreeBitmap(charm);
  154. end.
Advertisement
Add Comment
Please, Sign In to add comment