Guest User

S1N Edited

a guest
Mar 18th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.44 KB | None | 0 0
  1. program S1NLunars;
  2. {$include srl/srl/misc/smart.simba}
  3. {$I SRL/SRL.simba}
  4. {$I srl/srl/misc/debug.simba}
  5. var
  6. uAmmyDTM,ammyDTM,kitDtM,uAmmy2DTM:Integer;
  7. Column,Row:Integer;
  8. //proggy variables
  9. Sec,XPEarned,XPH,SCasts,HCasts,StartTime:Integer;
  10. procedure DeclarePlayers;
  11. begin
  12. //Where are your Gold Amulets located
  13. Column := X; //Write your Column here
  14. Row := Y; //Row here
  15. //Row : 0 = First row, 1 = Second Row etc...
  16. //Column : 0 = First Column, 1 = Second Column etc...
  17.  
  18.  
  19.  
  20.  
  21. HowManyPlayers := 1;
  22. NumberOfPlayers(HowManyPlayers);
  23. CurrentPlayer := 0;
  24. Players[0].Name := 'trolldemleechers'; // Username
  25. Players[0].Pass := 'khazard121'; // Password
  26. Players[0].Active := True;
  27. Players[0].Pin := '3421';
  28. Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];
  29. end;// declare players
  30. procedure SetupLogin;
  31. begin
  32. ClearDebug;
  33. Smart_Server := 87;
  34. Smart_Members := True;
  35. Smart_Signed := True;
  36. Smart_SuperDetail := False;
  37. SetupSRL;
  38. DeclarePlayers;
  39. LoginPlayer;
  40. end;
  41. procedure SetDTM;
  42. begin
  43. uAmmyDTM := DTMFromString('m1gAAAHic42JgYKhlYmCoBuJ6IG4C4lYgbgHiOqh4ORR7MzIwuAGxKxC7A7EXEPsDcSAUg/i+QNzYIQQ0lYkg/s9AHGAkEiMAAHxaCjc=');
  44. AmmyDTM := DTMFromString('mlwAAAHicY2dgYChmYmAoAeJcIK4D4lIgzgPiIiAuY2RgKATiFCBOBOJqIK4C4jggbmgXBupmwor/M+AGjHgwFAAAoFQIbw==');
  45. //kitDTM := DTMFromString('m1gAAAHic42JgYChlYmAoAeJsIM6CYpBYExKuAuJfjAwMb4H4IxD/AWJWoBgXELMA8Q8g/xMQvwPiAGddoKlMBPF/BuIAI5EYAQBeLA1j');
  46. uAmmy2DTM := DTMFromString('mwQAAAHic42RgYPBmYmBwBmJXIPYBYg8gDgDiQCD2hfL7GSF4ChBPg2IQeyIQd0FxZYMQ0DQmvPg/A2HASASGAwBnOAn8');
  47. end;
  48. procedure WithdrawAmulets;
  49. var
  50. x,y,x2,y2,x3,y3,x4,y4,x5,y5:Integer;
  51. t:Integer;
  52. begin
  53. if FindObjCustom(x,y,['Bank'],[11711418,13158866],2) then
  54. MarkTime(t);
  55. begin
  56. case random(2) of
  57. 0: begin
  58. Mouse(x,y,0,0,False);
  59. wait(900);
  60. ChooseOption('Bank');
  61. end;
  62. 1: begin
  63. Mouse(x,y,0,0,True);
  64. end;
  65. end;
  66. end;
  67. repeat
  68. wait(100);
  69. if TimeFromMark(t) > 30000 then
  70. begin
  71. WriteLn('Could not Open bank');
  72. TerminateScript;
  73. end;
  74. until(PinScreen or BankScreen);
  75. if PinScreen then
  76. begin
  77. InPin(Players[CurrentPlayer].Pin);
  78. end;
  79. if BankScreen then
  80. begin
  81. //if FindDTM(KitDTM,x3,y3,MIX1,MIY1,MIX2,MIY2) then
  82. //begin
  83. //Mouse(x3,y3,0,0,False);
  84. //ChooseOption('All');
  85. //end;
  86. if FindDTM(AmmyDTM,x4,y4,MIX1,MIY1, MIX2,MIY2) then
  87. begin
  88. Mouse(x4,y4,0,0,False);
  89. ChooseOption('All');
  90. end;
  91. if FindDTM(uAmmy2DTM,x5,y5,MIX1,MIY1, MIX2,MIY2) then
  92. begin
  93. Mouse(x4,y4,0,0,False);
  94. ChooseOption('All');
  95. end;
  96. begin
  97. wait(1000);
  98. Withdraw(Column,Row,14);
  99. repeat
  100. wait(100);
  101. until(FindDTM(uammyDTM,x2,y2,MIX1,MIY1,MIX2,MIY2));
  102. end;
  103. CloseBank;
  104. end;
  105. end;
  106. procedure Cast;
  107. var
  108. x,y,x2,y2:Integer;
  109. SJewel:integer;
  110. t:Integer;
  111. begin
  112. SJewel := DTMFromString('mrAAAAHic42BgYKhjYmAoA+J2IG4D4mYo7gLibiDex8jAsBWIdwHxdih7ExBvAOJtQHyaUwFoCiMejB/g04msGwCoWArx');
  113. //HKit := DTMFromString('mwQAAAHic42RgYNBjYmBQBmINIDYCYjMmiJg2klgdIwNDNRA3AnEzEFcCcREQFwBxGRCXAHFykA0DNzcXHEfY6aLwQfg/A2HASASGAwDTDQmX');
  114. GameTab(28);
  115. if FindDTM(SJewel,x,y,MIX1,MIY1,MIX2,MIY2) then
  116. begin
  117. MarkTime(t);
  118. repeat
  119. Mouse(x,y,1,1,True);
  120. Inc(SCasts);
  121. wait(10000+random(5000));
  122. //Mouse(x2,y2,1,1,True);
  123. //Inc(HCasts);
  124. until((TimeFromMark(t) > 40000) or FindBlackChatMessage('inventory'));
  125. end;
  126. XPEarned := XPEarned + 2072;
  127. FreeDTM(SJewel);
  128. //FreeDTM(HKit);
  129. end;
  130. Procedure Proggy;
  131. begin
  132. Sec:= (1+((Getsystemtime-StartTime)/1000));
  133. XPH := (3600*XPEarned) / (SeC);
  134. writeLn('====================');
  135. writeLn('=====S1NLunars======');
  136. writeLn('Time Running: ' + TimeRunning);
  137. writeLn('Casts: ' + IntToStr(HCasts + SCasts));
  138. writeLn('XP Earned: ' + IntToStr(XPEarned));
  139. writeLn('XP/H: ' + IntToStr(XPH));
  140. writeLn('====================');
  141. end;
  142. procedure FreDTM;
  143. begin
  144. //FreeDTM(kitDTM);
  145. FreeDTM(AmmyDTM);
  146. FreeDTM(uAmmyDTM);
  147. FreeDTM(uAmmy2DTM);
  148. end;
  149.  
  150. begin
  151. SetupLogin;
  152. SetupSRL;
  153. DeclarePlayers;
  154. LoginPlayer;
  155. SetDTM;
  156. ActivateClient;
  157. if LoggedIn then
  158. begin
  159. MakeCompass(90);
  160. SetAngle(SRL_ANGLE_HIGH);
  161. end;
  162. StartTime:=GetSystemTime;
  163. ClearDebug;
  164. writeLn('Fixes in 1.1:');
  165. writeLn(' -Fixed method');
  166. repeat
  167. WithdrawAmulets;
  168. Cast;
  169. Proggy;
  170. until(false);
  171. FreDTM;
  172. end.
Advertisement
Add Comment
Please, Sign In to add comment