Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 11.65 KB | None | 0 0
  1. program RUNME;
  2. {$DEFINE SMART}
  3. {$DEFINE WALKER}
  4. {$i AeroLib/AeroLib.Simba}
  5. {$i Reflection/Reflection.simba}
  6.  
  7. type
  8.   ScriptState = (PICKPOCKET);
  9.  
  10. var
  11.  
  12.   MyPlayer: TReflectLocalPlayer;
  13.   x,y,t,wSwitch,wList,stunOrNo:        Integer;
  14.   CurrentTask: ScriptState;
  15.   Oos: Integer;
  16.  
  17.   point2: TPoint;
  18.   item_Coins : Titem;
  19.  
  20.  
  21. Procedure PlayerSetup;
  22. begin
  23.   Me.Active := True;
  24.   Me.Name := '123';
  25.   Me.Pass := '123';
  26.   Me.Member := True;
  27.  
  28.   CurrentTask := PICKPOCKET;
  29. end;
  30.  
  31.  
  32. procedure Pickpock;
  33. var
  34.   Victim: TReflectNpc;
  35.   Point: TPoint;
  36.  
  37. begin
  38.  
  39.         if not (getCurrentTab() = TAB_MAGIC) then
  40.         FTab(TAB_MAGIC);
  41.  
  42.         if not Reflect.Text.IsUpText('Lvl-1') then
  43.         begin
  44.           FTab(TAB_MAGIC);
  45.           Point := [689, 232];
  46.           HumanMMouse(point, random(5), random(5));
  47.         end;
  48.         fastClick(MOUSE_LEFT);
  49.         InteractSlot(4, MOUSE_LEFT);
  50.                 wait(randomrange(667, 1024));
  51.         HumanMMouse(point, random(5), random(5));
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.         if not Reflect.Text.IsUpText('Lvl-1') then
  61.         begin
  62.           FTab(TAB_MAGIC);
  63.           Point := [689, 232];
  64.           HumanMMouse(point, random(5), random(5));
  65.         end;
  66.         fastClick(MOUSE_LEFT);
  67.         InteractSlot(3, MOUSE_LEFT);
  68.                 wait(randomrange(667, 1024));
  69.                 HumanMMouse(point, random(5), random(5));
  70.  
  71.  
  72.  
  73.         if not Reflect.Text.IsUpText('Lvl-1') then
  74.         begin
  75.           FTab(TAB_MAGIC);
  76.           Point := [689, 232];
  77.           HumanMMouse(point, random(5), random(5));
  78.         end;
  79.         fastClick(MOUSE_LEFT);
  80.         InteractSlot(2, MOUSE_LEFT);
  81.                 wait(randomrange(667, 1024));
  82.                            HumanMMouse(point, random(5), random(5));
  83.  
  84.  
  85.  
  86.         if not Reflect.Text.IsUpText('Lvl-1') then
  87.         begin
  88.           FTab(TAB_MAGIC);
  89.           Point := [689, 232];
  90.           HumanMMouse(point, random(5), random(5));
  91.         end;
  92.         fastClick(MOUSE_LEFT);
  93.         InteractSlot(8, MOUSE_LEFT);
  94.                 wait(randomrange(667, 1024));
  95.                                     HumanMMouse(point, random(5), random(5));
  96.  
  97.                     if not (getCurrentTab() = TAB_MAGIC) then
  98.         FTab(TAB_MAGIC);
  99.  
  100.         if not Reflect.Text.IsUpText('Lvl-1') then
  101.         begin
  102.           FTab(TAB_MAGIC);
  103.           Point := [689, 232];
  104.           HumanMMouse(point, random(5), random(5));
  105.         end;
  106.         fastClick(MOUSE_LEFT);
  107.         InteractSlot(7, MOUSE_LEFT);
  108.                 wait(randomrange(667, 1024));
  109.                                HumanMMouse(point, random(5), random(5));
  110.  
  111.  
  112.         if not Reflect.Text.IsUpText('Lvl-1') then
  113.         begin
  114.           FTab(TAB_MAGIC);
  115.           Point := [689, 232];
  116.           HumanMMouse(point, random(5), random(5));
  117.         end;
  118.         fastClick(MOUSE_LEFT);
  119.         InteractSlot(6, MOUSE_LEFT);
  120.                 wait(randomrange(667, 1024));
  121.                                   HumanMMouse(point, random(5), random(5));
  122.  
  123.  
  124.         if not Reflect.Text.IsUpText('Lvl-1') then
  125.         begin
  126.           FTab(TAB_MAGIC);
  127.           Point := [689, 232];
  128.           HumanMMouse(point, random(5), random(5));
  129.         end;
  130.         fastClick(MOUSE_LEFT);
  131.         InteractSlot(5, MOUSE_LEFT);
  132.                 wait(randomrange(667, 1024));
  133.                                   HumanMMouse(point, random(5), random(5));
  134.  
  135.  
  136.  
  137.  
  138.         if not Reflect.Text.IsUpText('Lvl-1') then
  139.         begin
  140.           FTab(TAB_MAGIC);
  141.           Point := [689, 232];
  142.           HumanMMouse(point, random(5), random(5));
  143.         end;
  144.         fastClick(MOUSE_LEFT);
  145.         InteractSlot(12, MOUSE_LEFT);
  146.                 wait(randomrange(667, 1024));
  147.                                      HumanMMouse(point, random(5), random(5));
  148.  
  149.  
  150.  
  151.         if not Reflect.Text.IsUpText('Lvl-1') then
  152.         begin
  153.           FTab(TAB_MAGIC);
  154.           Point := [689, 232];
  155.           HumanMMouse(point, random(5), random(5));
  156.         end;
  157.         fastClick(MOUSE_LEFT);
  158.         InteractSlot(11, MOUSE_LEFT);
  159.                 wait(randomrange(667, 1024));
  160.                                     HumanMMouse(point, random(5), random(5));
  161.  
  162.                                   if not (getCurrentTab() = TAB_MAGIC) then
  163.         FTab(TAB_MAGIC);
  164.  
  165.         if not Reflect.Text.IsUpText('Lvl-1') then
  166.         begin
  167.           FTab(TAB_MAGIC);
  168.           Point := [689, 232];
  169.           HumanMMouse(point, random(5), random(5));
  170.         end;
  171.         fastClick(MOUSE_LEFT);
  172.         InteractSlot(10, MOUSE_LEFT);
  173.                 wait(randomrange(667, 1024));
  174.                                 HumanMMouse(point, random(5), random(5));
  175.  
  176.  
  177.         if not Reflect.Text.IsUpText('Lvl-1') then
  178.         begin
  179.           FTab(TAB_MAGIC);
  180.           Point := [689, 232];
  181.           HumanMMouse(point, random(5), random(5));
  182.         end;
  183.         fastClick(MOUSE_LEFT);
  184.         InteractSlot(9, MOUSE_LEFT);
  185.                 wait(randomrange(667, 1024));
  186.                                   HumanMMouse(point, random(5), random(5));
  187.  
  188.  
  189.  
  190.         if not Reflect.Text.IsUpText('Lvl-1') then
  191.         begin
  192.           FTab(TAB_MAGIC);
  193.           Point := [689, 232];
  194.           HumanMMouse(point, random(5), random(5));
  195.         end;
  196.         fastClick(MOUSE_LEFT);
  197.         InteractSlot(16, MOUSE_LEFT);
  198.                 wait(randomrange(667, 1024));
  199.                                    HumanMMouse(point, random(5), random(5));
  200.  
  201.  
  202.  
  203.         if not Reflect.Text.IsUpText('Lvl-1') then
  204.         begin
  205.           FTab(TAB_MAGIC);
  206.           Point := [689, 232];
  207.           HumanMMouse(point, random(5), random(5));
  208.         end;
  209.         fastClick(MOUSE_LEFT);
  210.         InteractSlot(15, MOUSE_LEFT);
  211.                 wait(randomrange(667, 1024));
  212.                                   HumanMMouse(point, random(5), random(5));
  213.  
  214.         if not Reflect.Text.IsUpText('Lvl-1') then
  215.         begin
  216.           FTab(TAB_MAGIC);
  217.           Point := [689, 232];
  218.           HumanMMouse(point, random(5), random(5));
  219.         end;
  220.         fastClick(MOUSE_LEFT);
  221.         InteractSlot(14, MOUSE_LEFT);
  222.                 wait(randomrange(667, 1024));
  223.                                     HumanMMouse(point, random(5), random(5));
  224.  
  225.  
  226.  
  227.         if not Reflect.Text.IsUpText('Lvl-1') then
  228.         begin
  229.           FTab(TAB_MAGIC);
  230.           Point := [689, 232];
  231.           HumanMMouse(point, random(5), random(5));
  232.         end;
  233.         fastClick(MOUSE_LEFT);
  234.         InteractSlot(13, MOUSE_LEFT);
  235.                 wait(randomrange(667, 1024));
  236.                                    HumanMMouse(point, random(5), random(5));
  237.  
  238.  
  239.         if not Reflect.Text.IsUpText('Lvl-1') then
  240.         begin
  241.           FTab(TAB_MAGIC);
  242.           Point := [689, 232];
  243.           HumanMMouse(point, random(5), random(5));
  244.         end;
  245.         fastClick(MOUSE_LEFT);
  246.         InteractSlot(20, MOUSE_LEFT);
  247.                 wait(randomrange(667, 1024));
  248.                                  HumanMMouse(point, random(5), random(5));
  249.  
  250.                                      if not (getCurrentTab() = TAB_MAGIC) then
  251.         FTab(TAB_MAGIC);
  252.  
  253.  
  254.         if not Reflect.Text.IsUpText('Lvl-1') then
  255.         begin
  256.           FTab(TAB_MAGIC);
  257.           Point := [689, 232];
  258.           HumanMMouse(point, random(5), random(5));
  259.         end;
  260.         fastClick(MOUSE_LEFT);
  261.         InteractSlot(19, MOUSE_LEFT);
  262.                 wait(randomrange(667, 1024));
  263.                                     HumanMMouse(point, random(5), random(5));
  264.  
  265.  
  266.  
  267.         if not Reflect.Text.IsUpText('Lvl-1') then
  268.         begin
  269.           FTab(TAB_MAGIC);
  270.           Point := [689, 232];
  271.           HumanMMouse(point, random(5), random(5));
  272.         end;
  273.         fastClick(MOUSE_LEFT);
  274.         InteractSlot(18, MOUSE_LEFT);
  275.                 wait(randomrange(667, 1024));
  276.                                   HumanMMouse(point, random(5), random(5));
  277.  
  278.  
  279.  
  280.         if not Reflect.Text.IsUpText('Lvl-1') then
  281.         begin
  282.           FTab(TAB_MAGIC);
  283.           Point := [689, 232];
  284.           HumanMMouse(point, random(5), random(5));
  285.         end;
  286.         fastClick(MOUSE_LEFT);
  287.         InteractSlot(17, MOUSE_LEFT);
  288.                 wait(randomrange(667, 1024));
  289.                                     HumanMMouse(point, random(5), random(5));
  290.  
  291.  
  292.         if not Reflect.Text.IsUpText('Lvl-1') then
  293.         begin
  294.           FTab(TAB_MAGIC);
  295.           Point := [689, 232];
  296.           HumanMMouse(point, random(5), random(5));
  297.         end;
  298.         fastClick(MOUSE_LEFT);
  299.         InteractSlot(24, MOUSE_LEFT);
  300.                 wait(randomrange(667, 1024));
  301.                                     HumanMMouse(point, random(5), random(5));
  302.  
  303.         if not Reflect.Text.IsUpText('Lvl-1') then
  304.         begin
  305.           FTab(TAB_MAGIC);
  306.           Point := [689, 232];
  307.           HumanMMouse(point, random(5), random(5));
  308.         end;
  309.         fastClick(MOUSE_LEFT);
  310.         InteractSlot(23, MOUSE_LEFT);
  311.                 wait(randomrange(667, 1024));
  312.                                   HumanMMouse(point, random(5), random(5));
  313.  
  314.         if not Reflect.Text.IsUpText('Lvl-1') then
  315.         begin
  316.           FTab(TAB_MAGIC);
  317.           Point := [689, 232];
  318.           HumanMMouse(point, random(5), random(5));
  319.         end;
  320.         fastClick(MOUSE_LEFT);
  321.         InteractSlot(22, MOUSE_LEFT);
  322.                 wait(randomrange(667, 1024));
  323.                                  HumanMMouse(point, random(5), random(5));
  324.  
  325.          if not Reflect.Text.IsUpText('Lvl-1') then
  326.         begin
  327.           FTab(TAB_MAGIC);
  328.           Point := [689, 232];
  329.           HumanMMouse(point, random(5), random(5));
  330.         end;
  331.         fastClick(MOUSE_LEFT);
  332.         InteractSlot(21, MOUSE_LEFT);
  333.                 wait(randomrange(667, 1024));
  334.                                 HumanMMouse(point, random(5), random(5));
  335.  
  336.         if not Reflect.Text.IsUpText('Lvl-1') then
  337.         begin
  338.           FTab(TAB_MAGIC);
  339.           Point := [689, 232];
  340.           HumanMMouse(point, random(5), random(5));
  341.         end;
  342.         fastClick(MOUSE_LEFT);
  343.         InteractSlot(28, MOUSE_LEFT);
  344.                 wait(randomrange(667, 1024));
  345.                                HumanMMouse(point, random(5), random(5));
  346.  
  347.         if not Reflect.Text.IsUpText('Lvl-1') then
  348.         begin
  349.           FTab(TAB_MAGIC);
  350.           Point := [689, 232];
  351.           HumanMMouse(point, random(5), random(5));
  352.         end;
  353.         fastClick(MOUSE_LEFT);
  354.         InteractSlot(27, MOUSE_LEFT);
  355.                 wait(randomrange(667, 1024));
  356.                                   HumanMMouse(point, random(5), random(5));
  357.  
  358.  
  359.                                         if not (getCurrentTab() = TAB_MAGIC) then
  360.         FTab(TAB_MAGIC);
  361.  
  362.  
  363.         if not Reflect.Text.IsUpText('Lvl-1') then
  364.         begin
  365.           FTab(TAB_MAGIC);
  366.           Point := [689, 232];
  367.           HumanMMouse(point, random(5), random(5));
  368.         end;
  369.         fastClick(MOUSE_LEFT);
  370.         InteractSlot(26, MOUSE_LEFT);
  371.                 wait(randomrange(667, 1024));
  372.                                    HumanMMouse(point, random(5), random(5));
  373.  
  374.  
  375.  
  376.  
  377.  
  378.         if not Reflect.Text.IsUpText('Lvl-1') then
  379.         begin
  380.           FTab(TAB_MAGIC);
  381.           Point := [689, 232];
  382.           HumanMMouse(point, random(5), random(5));
  383.         end;
  384.         fastClick(MOUSE_LEFT);
  385.         InteractSlot(25, MOUSE_LEFT);
  386.                 wait(randomrange(9000, 11240));
  387.       end;
  388.  
  389. Procedure MainLoop;
  390. begin
  391.   if (not isLoggedIn()) then
  392.     loginPlayer(false);
  393.  
  394.   case CurrentTask of
  395.     PICKPOCKET: Pickpock();
  396.   end;
  397. end;
  398.  
  399.  
  400. begin
  401.   SMART_ShowConsole := true;
  402.   initAL();
  403.   Reflect.Setup;
  404.   PlayerSetup;
  405.  
  406.   if (not isLoggedIn()) then
  407.     loginPlayer(false);
  408.  
  409.  
  410.   repeat MainLoop;
  411.   until x > 100;
  412.  
  413. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement