Guest User

Untitled

a guest
Jul 19th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. program RootPicker;
  2.  
  3. //{$DEFINE SMART}
  4. {$i SRL\SRL.simba}
  5. {$i SRL\SRL\Misc\Debug.simba}
  6.  
  7. Const
  8. SERVER = 0; // Enter "0" to pick a random server.
  9. MEMBERS = False; // Set to True if using a RS-Members account. False if F2P.
  10. SRLStats_Username = ''; // Your SRL Stats Username
  11. SRLStats_Password = ''; // Your SRL Stats Password
  12. NumbOfPlayers= 1; //How many players are you using
  13. StartPlayer= 0; //Player to start auoting with! (0 means first char)
  14. SleepyWeepie= 0; //Minutes to wait before logging in again.0 = Disabled.
  15. YDebug= True; //Shows whats happening on the runescape screen in a
  16. //debug window, so you dont have to open/close SMART.
  17. Version= '1.0';
  18.  
  19.  
  20. procedure DeclarePlayers;
  21. var i:integer;
  22. begin
  23. NumberOfPlayers(NumbOfPlayers);
  24. CurrentPlayer := StartPlayer;
  25. for i := 0 to NumbOfPlayers-1 do
  26. Players[i].BoxRewards := ['mote', 'ostume', 'XP', 'Gem', 'ithril', 'oal', 'une', 'oins'];
  27.  
  28. with Players[0] do
  29. begin
  30. Name := '10-11 Shimmo'; //Player username.
  31. Pass := '51kentzl217qj'; //Player password.
  32. Nick := '10-1'; //Player nickname - 3-4 letters of Player username.
  33. Active := True;
  34. end;
  35.  
  36. end;
  37.  
  38. Procedure StatsGuise(wat:String);
  39. Begin
  40. Status(wat);
  41. Disguise(wat);
  42. End;
  43.  
  44. Function CheckAndClick(UpText:String; X,Y:Integer; Stronger:Boolean):Boolean;
  45. Begin
  46. MMouse(x, y, 5, 5);
  47. If WaitUptext(UpText, 5000) Then
  48. Begin
  49. GetMousePos(x, y);
  50. If Stronger Then
  51. Begin
  52. Mouse(X, Y, 0, 0, False);
  53. Result:=WaitOption('tta', 3000)
  54. End Else
  55. Begin
  56. Mouse(x, y, 0, 0,True);
  57. Wait(100+Random(50));
  58. FFlag(0);
  59. End;
  60. End;
  61. End;
  62.  
  63. Procedure Antiban;
  64. Begin
  65. Case Random(250) Of
  66. 0: Begin StatsGuise('AntiBan') GameTab(tab_Stats) HoverSkill('Magic', False) GameTab(28) End;
  67. 1: Begin StatsGuise('AntiBan') SleepAndMoveMouse(7000 + Random(500)); End;
  68. 2: Begin StatsGuise('AntiBan') GameTab(tab_Inv) ExamineInv; GameTab(28); End;
  69. 3: Begin StatsGuise('AntiBan') RandomAngle(1); End;
  70. 4: Begin StatsGuise('AntiBan') GameTab(Tab_Stats); Wait(3000 + Random(500)); GameTab(28); End;
  71. 5: Begin StatsGuise('AntiBan') GameTab(tab_Stats) HoverSkill('random', False); GameTab(28); End;
  72. End;
  73. End;
  74.  
  75. Procedure FailSafe(Reason:String);
  76. Begin
  77. Players[CurrentPlayer].Loc:=Reason;
  78. Logout;
  79. Stats_Commit;
  80. //ProgressReport;
  81. TerminateScript;
  82. End;
  83.  
  84.  
  85. Function PickUp:Boolean;
  86. Var
  87. X, Y: Integer;
  88. begin
  89. If FindObjCustom(x, y, ['Take'], [941926, 942440, 1008748], 30) Then
  90. WriteLn('RootTaken');
  91.  
  92.  
  93. begin
  94.  
  95. SetupSRL;
  96. DeclarePlayers;
  97. //Repeat
  98. PickUp;
  99. // Until(false);
  100. End;
Add Comment
Please, Sign In to add comment