Powercutter

Discussion in 'Outdated RS Scripts' started by Ghostman, Jul 27, 2008.

Powercutter
  1. Unread #1 - Jul 27, 2008 at 1:59 AM
  2. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    Hey, I'm am Ghostman On the Srl forums
    Just wanted to post one of my scripts on Sythe.

    Here it is;

    From the title you should know its a powercutter;

    Has Antiban and Antirandoms
    Uses Failsafes
    Has Axefinder
    Now Uses S.M.A.R.T
    Powercuts Trees, Dead Trees, Oaks, Willows

    There Will be more updates
    Enjoy



    To Download:http://www.srl-forums.com/forum/first-script-t35902.html?p=437336

    This is Powercutter 3.0 S.M.A.R.T


    Code:
    program Powercutter;
    {.Include SRL\SRL\Misc\SMART.SCAR}
    {.include SRL/SRL.scar}
    
    var
      x,y:integer;
      item:integer;
      time:integer;
      Loads:integer;
      EquipAxe: Boolean;
    /////////////////To change color, change the name on line 140, Just the name in the code//
    ///Use the Const names listed here to change what it is going to cut///////
    const
      Normal = 6001801;// Normal Tree
      oak    = 1518376;// Oak Tree
      dead   = 3161415;// for dead tree (Best place to cut is Draynor Manor
      willow = 3561568;// Willow Tree
    
      WaitPerTree = 2000;
    //////////////////////////////////////////////////////////////////
    //////////////////////////////////////////////////////////////////
    
    
    procedure Signature;
    begin
      ClearDebug;
      writeln('Ghosts Powercutter Enjoy!');
      writeln('__________________       ');
      writeln('|       | |       |      ');
      writeln('|I See  | | You!  |      ');
      writeln('|_______| |_______|      ');
      writeln('        | |              ');
      writeln('       /   \             ');
      writeln('       |___|             ');
      writeln('  \              /       ');
      writeln('   \____________/        ');
      wait(200 + random(400));
     end;
     
    
    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
    
      Players[0].Name := 'Username'; // Account name
      Players[0].Pass := 'Password';// user pass
      Players[0].Nick := 'Nick';//3 letters in username, not the first letter
      Players[0].Active := True;
      
      
    end;
    
    //Credit to: Sumilion, edited by Rasta Magician, was on the SRL Includes//
    function FindAxe: Boolean;// finds the axe you are using//
    var
       InvAxe, WieldAxe, Ix, Iy: Integer;
    begin
      if not LoggedIn then exit;
      srl_LoadBitmaps([47, 48, 49, 50, 51, 52, 53, 54]);
    
      GameTab(5);
      for WieldAxe := 0 to 7 do
        if FindBitmapToleranceIn(srl_GetBitmap(54-WieldAxe),Ix, Iy, 566, 285, 606, 327, 10) then
          break;
    
      GameTab(4)
      for InvAxe := 0 to 7 do
        if FindBitmapToleranceIn(srl_GetBitmap(54-InvAxe), Ix, Iy, MIX1, MIY1, MIX2, MIY2, 10) then
          break;
    
      if(InvAxe = 8)and(WieldAxe = 8)then
      begin
        Result := False;
        Writeln('No axe was found.');
        srl_FreeBitmaps;
        Exit;
      end;
    
      EquipAxe := (WieldAxe - InvAxe < 0);
    
      case Min(WieldAxe, InvAxe) of
        0: WriteLn('Using Dragon axe');
        1: WriteLn('Using Rune axe');
        2: WriteLn('Using Addy axe');
        3: WriteLn('Using Mith axe');
        4: WriteLn('Using Black axe');
        5: WriteLn('Using Steel axe');
        6: WriteLn('Using Iron axe');
        7: WriteLn('Using Bronze axe');
      end;
    
      Result := True;
      srl_FreeBitmaps;
    end;
    
    
    procedure Progress;
    begin
      Cleardebug;
      Writeln('_______Progress Report_________|');
      Writeln('|Worked for  '  + timerunning);
      Writeln('|______________________________|');
      Writeln('|Logs'  + IntToStr(Loads) +      'Dropped');
      Writeln('|______________________________|');
      Writeln('|______Ghosts PowerCutter______|');
      end;
    
    
    procedure RandomsReport;
    var
      i, CurrentInt: Integer;
      CurrentStr, Name: String;
    Begin
      ChangeReportWidth(280);
      ClearReport;
      AddToReport('/~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\');
      AddToReport('|     SRL ' + IntToStr(SRLVersionNumber) + ' Randoms Report    |');
      AddToReport('|      www.srl-forums.com      |');
      AddToReport('|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|');
      For i := 0 to 43 do
      Begin
        Case i of
        0: begin CurrentInt :=NewBoxes;   Name := '| Boxes Solved     :'; end;
        1: begin CurrentInt := NoNewBoxes;   Name := '| Boxes Missed     :'; end;
       end;
      end;
    end;
    
    
    
    procedure Chopping;
    begin
      if not LoggedIn then
        Exit;
        wait(2000);
    begin
        wait(200+random(300));
        if findcolorspiraltolerance(x,y, oak, MSX1, MSY1, MSX2, MSY2,7) then
      begin
         mmouse(x,y,0,0);
         if isuptext('hop') then
        begin
           mouse(x,y,0,0,false);
           chooseoption('hop');
            MarkTime(Time);
            While TimeFromMark(Time)<9000 do
            Wait(60+random(10));
         end;
       end;
      end;
    end;
    procedure AntiRandoms;
    begin
      if (not(LoggedIn))then Exit;
      FindNormalRandoms;
      FindLamp('Woodcutting');// What the lamp will pick to give exp to, change if you want.
      if (FindFight) then
      begin
        wait(500+random(60))
        SetRun(true);
        wait(500+random(600))
        RunAway('N',True,1,15000);
        if NoGameTab xor InBlack then
        begin
          Writeln('Found a random that can not be sloved, Sorry');
          Logout;
          Exit;
        end;
      end;
    end;
    
    
    
    procedure AntiBan;
    begin
      if not LoggedIn then Exit;
      case Random(30) of
      1: RandomRClick;
      2: HoverSkill('Woodcutting', False);
      3: RandomMovement;
      4: BoredHuman;
      5: DoEmote(5 +Random(17));
      6: SleepAndMoveMouse(1235+random(860));
      7: MMouse(random(300), random(250), 10, 10);
      8: begin
          GameTab(1 + Random(12));
          wait(1200+random(1000));
          GameTab(4);
       end;
      end;
    end;
    
    
    procedure Droplog;
    begin
      for item:=2 to 28 do
      dropitem(item);
      Loads:=Loads+27;
    end;
    
    procedure MainLoop;
     begin
     repeat
       Chopping;
       AntiBan;
       AntiRandoms;
       Progress;
       RandomsReport;
       if invfull then Droplog;
     until false;
    end;
    begin
      SMARTSetUp('world38', True, False, False); {World prefix, safe mode, unsigned, RS-HD}
       SetTargetDC(SMARTGetDC);
        SetUpSRL;
         Signature;
          DeclarePlayers;
         if Loggedin then Logout;
        loginplayer;
       ActivateClient;
      FindAxe;
     MainLoop;
    end.
    
    
     
  3. Unread #2 - Jul 27, 2008 at 2:17 AM
  4. Scam-me-die
    Joined:
    Jul 6, 2007
    Posts:
    560
    Referrals:
    0
    Sythe Gold:
    0

    Scam-me-die Forum Addict
    Banned

    Powercutter

    HELP >.> ////////////////To change color, change the name on line 36, Just the name in the code//
    ///Use the Const names listed here to change what it is going to cut/////// this means what?
     
  5. Unread #3 - Jul 27, 2008 at 3:03 AM
  6. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    Ahhh finally some one asked

    ok go to line 41 and you see the name of tree like willow or dead and use the const and just type in dead for dead tree or willow for a willow.

    I think i have it set on Willow tree but you can change it

    Typeo on script is fixed
    Line 41:
    Code:
    if findcolorspiraltolerance(x,y, willow, MSX1, MSY1, MSX2, MSY2,7) then
    This is where you change what you wish to powercut
     
  7. Unread #4 - Jul 27, 2008 at 3:17 AM
  8. Scam-me-die
    Joined:
    Jul 6, 2007
    Posts:
    560
    Referrals:
    0
    Sythe Gold:
    0

    Scam-me-die Forum Addict
    Banned

    Powercutter

    Do you have msn if i have any further queries??
     
  9. Unread #5 - Jul 27, 2008 at 3:20 AM
  10. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

  11. Unread #6 - Jul 27, 2008 at 3:51 AM
  12. Icy BladeZ
    Joined:
    Jan 22, 2007
    Posts:
    340
    Referrals:
    0
    Sythe Gold:
    0

    Icy BladeZ Forum Addict

    Powercutter

    oops, nvm stupid question
     
  13. Unread #7 - Jul 27, 2008 at 4:10 AM
  14. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    There are no stupid questions
    Please feel free to ask
     
  15. Unread #8 - Jul 27, 2008 at 4:22 AM
  16. Icy BladeZ
    Joined:
    Jan 22, 2007
    Posts:
    340
    Referrals:
    0
    Sythe Gold:
    0

    Icy BladeZ Forum Addict

    Powercutter

    nah, i just didnt read through the script properly
     
  17. Unread #9 - Jul 27, 2008 at 4:26 AM
  18. Scam-me-die
    Joined:
    Jul 6, 2007
    Posts:
    560
    Referrals:
    0
    Sythe Gold:
    0

    Scam-me-die Forum Addict
    Banned

    Powercutter

    5/5 BeSt fIrSt ScRiPt EvA 5/5
     
  19. Unread #10 - Jul 27, 2008 at 4:30 AM
  20. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    Kk no problem


    Thanks Scam-me-die
    Have fun autoing
     
  21. Unread #11 - Jul 27, 2008 at 10:37 AM
  22. calebyung
    Referrals:
    0

    calebyung Guest

    Powercutter

    so does it have auto-coloring?
     
  23. Unread #12 - Jul 27, 2008 at 12:56 PM
  24. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    yes it does

    Just type the name of the tree
    and will find the color of that tree and chop it
     
  25. Unread #13 - Jul 28, 2008 at 6:39 AM
  26. ohmygodachip
    Referrals:
    0

    ohmygodachip Guest

    Powercutter

    Hey I'm kinda new to this but Ive got mine compiled and trying to cut "dead" trees I'm standing in the middle of Draynor manor.

    It checks all my graphics settings and logs in then out on a loop im getting

    "Logged In Player is not in Players array."

    How do i fix??

    -Cheers
     
  27. Unread #14 - Jul 28, 2008 at 12:12 PM
  28. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    do you have the newest srl

    which is #20
     
  29. Unread #15 - Jul 28, 2008 at 1:29 PM
  30. 8arry 5tinkt
    Referrals:
    0

    8arry 5tinkt Guest

    Powercutter

    I've the same problem I have the newest SRL the only thing i know is that the error comes from the SRL include
     
  31. Unread #16 - Jul 28, 2008 at 1:59 PM
  32. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    hmmmm it works fine for me

    try getting it from the srl
     
  33. Unread #17 - Jul 28, 2008 at 2:01 PM
  34. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    ok the problem is the program name when you copy is moves more to the right, move it more to all the way to left and it work
     
  35. Unread #18 - Jul 29, 2008 at 10:34 PM
  36. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    Updated the powercutter
     
  37. Unread #19 - Jul 31, 2008 at 1:16 AM
  38. Jerrysyron
    Joined:
    Jul 26, 2008
    Posts:
    32
    Referrals:
    0
    Sythe Gold:
    0

    Jerrysyron Member

    Powercutter

    do i erase your little nots out of the script,such as the tip about the lamps putting xp into wc?
    and after the ends and two blanks do i put in my username and pass?
    thanks
     
  39. Unread #20 - Jul 31, 2008 at 7:26 AM
  40. Ghostman
    Joined:
    Jul 19, 2008
    Posts:
    62
    Referrals:
    0
    Sythe Gold:
    0

    Ghostman Member

    Powercutter

    no it just tell what it does
     
< sould wars script for sale | >

Users viewing this thread
1 guest


 
 
Adblock breaks this site