Results 1 to 18 of 18

Thread: PowerRock by Zennext

  1. #1
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default PowerRock by Zennext - PROBLEM FIXED!

    Well heres my first script. Its just a simple Power Miner.

    Should work for any rock at all. Has basic anti-randoms. Also has customizable drops. It should work all right. Can't see anything wrong with it.

    Anyways, I hope you like it. Please leave any comments you have here. Also tell me about/help me fix any problems or messed up coding you see/have.

    Last Update:
    11/21/07 2:14 PM EST

  2. #2
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Anyone? Please try it out!

  3. #3
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry about double post, computer/internet lagged.

  4. #4
    Join Date
    Nov 2007
    Posts
    64
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    m8 please dont double post,be patient. and ur script,hmm ive tried it out but for some reason when i press play all it says is

    Z
    Ze
    Zen
    Zenn
    Zenne
    Zennex
    Zennext
    Zennext'
    Zennext's
    Zennext's
    Zennext's P
    Zennext's Po
    Zennext's Pow
    Zennext's Powe
    Zennext's Power
    Zennext's PowerR
    Zennext's PowerRo
    Zennext's PowerRoc
    Zennext's PowerRock


    ______ Script by Zennnext _
    |___ / www.srl-forums.com | |
    / / ___ _ __ _ __ _____ _| |_
    / / / _ \ '_ \| '_ \ / _ \ \/ / __|
    / /_| __/ | | | | | | __/> <| |_
    /_____\___|_| |_|_| |_|\___/_/\_\\__|
    Successfully executed

    nuffin happs , check it out..
    but other than that no errors

  5. #5
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry about the double post. The computer I was on at school was lagging a lot. I have no idea why that happens. It seems like it should work fine?

    EDIT: FOUND IT!!!

    Forgot to do

    SCAR Code:
    SetupSRL;

    Hehehe... Try it now!

  6. #6
    Join Date
    Sep 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    still not working for me getting:
    Successfully executed

  7. #7
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You sure your script looks like this:

    SCAR Code:
    program PowerRock;
    {.include SRL\SRL.scar}
                      {//_____________Zennext's PowerRock_______________//}
    const loads = 2;  {// How many loads you want script to do          //}
    const cord1 = 5;  {// The first inventory slot to drop (Only change //}
                      {// if you have more items in you inventory that  //}
                      {// you dont want to drop) Slots are like this:   //}
                      {// 1  2  3  4                                    //}
                      {// 5  6  7  8                                    //}
                      {// 9  10 11 12 etc.                              //}
    const cord2 = 28; {// The second inventory slot to drop             //}
    const color = 5209259; {// The color of the rock you want to mine   //}
    const twait = 7;  {// Wait time in seconds for mining a rock        //}
                      {// This should change depending on your Mining   //}
    const rundir = 'N';{// Direction to run if random event fight        //}

    var
    x,y,i: integer;

    procedure Randoms; {// Anti-randoms! //}
    begin
    FindTalk;
    FindNormalRandoms;
    if (FindFight = true) then
    begin
    RunAwayDirection(rundir);
    Wait(10000 + random(2000));
    RunBack;
    end;
    end;

    procedure RockMine; {// This mines ores until the inventory is full //}
    begin
      repeat
        if(FindColorTolerance(x, y, color, 0, 0, 700, 500, 4))then
        begin
          Mouse(x, y, 0, 0, true);
          Wait(twait * 1000 - 200);
        end
        Randoms;
        Wait(200);
      until(InvFull)
    end;

    procedure Signature; {// Writes my signature :D //}
    begin
      ClearDebug;
      writeln('Z'); wait(100)
      writeln('Ze'); wait(100)
      writeln('Zen'); wait(100)
      writeln('Zenn'); wait(100)
      writeln('Zenne'); wait(100)
      writeln('Zennex'); wait(100)
      writeln('Zennext'); wait(100)
      writeln('Zennext'''); wait(100)
      writeln('Zennext''s'); wait(100)
      writeln('Zennext''s '); wait(100)
      writeln('Zennext''s P'); wait(100)
      writeln('Zennext''s Po'); wait(100)
      writeln('Zennext''s Pow'); wait(100)
      writeln('Zennext''s Powe'); wait(100)
      writeln('Zennext''s Power'); wait(100)
      writeln('Zennext''s PowerR'); wait(100)
      writeln('Zennext''s PowerRo'); wait(100)
      writeln('Zennext''s PowerRoc'); wait(100)
      writeln('Zennext''s PowerRock'); wait(1000)
      writeln(''); wait(100)
      writeln(''); wait(100)
    writeln('   ______  Script by Zennnext      _   ');
    writeln('  |___  /  [url]www.srl-forums.com[/url]     | |  ');
    writeln('     / / ___ _ __  _ __   _____  _| |_ ');
    writeln('    / / / _ \ ''_ \| ''_ \ / _ \ \/ / __|');
    writeln('   / /_|  __/ | | | | | |  __/>  <| |_ ');
    writeln('  /_____\___|_| |_|_| |_|\___/_/\_\\__|');
      wait(3000 + random(750));
    end;

    begin {// Main scripts //}
    SetupSRL;
    Signature;
      repeat
        RockMine;
        i:= i + 1
        DropToPosition(cord1, cord2)
      until(i >= loads)
    end.

    And you have at least SCAR 3.12c or newer and you have latest SRL?

  8. #8
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The failsafe was causing the problem. Please try it again?

  9. #9
    Join Date
    Aug 2007
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i just tried it and it stood around for a few seconds and than logged me off?

  10. #10
    Join Date
    Nov 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ahhh... Forget it. I give up on this thread. Too many problems. I'm gonna go refine my script and then give it another shot. Thanks everyone.

  11. #11
    Join Date
    Oct 2007
    Posts
    28
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I know why , when you start the script, you can choose betwen 4 questions .
    Take the "Third" 3

  12. #12
    Join Date
    Dec 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is this working well?

  13. #13
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I would add login to it, and from just glancing at it i don't see a problem.
    I do visit every 2-6 months

  14. #14
    Join Date
    Dec 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Anyone know how to fix [Runtime Error] : Out Of Range in line 53

  15. #15
    Join Date
    Feb 2007
    Location
    Estonia.
    Posts
    1,938
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    All these leechers..

  16. #16
    Join Date
    Aug 2007
    Location
    Georgia, U.S.
    Posts
    890
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    add ActivateClient; after setupsrl in the main loop. it makes it go to the runescape client.

  17. #17
    Join Date
    Dec 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i keep getting errors like

    line 247 scan mini map

    what do i do? i've been doing what the instructions say scan client window press play..but doesn't work :/

  18. #18
    Join Date
    Mar 2007
    Location
    <3
    Posts
    2,683
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Add Proggie and Add something that make's this special

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •