Page 2 of 2 FirstFirst 12
Results 26 to 36 of 36

Thread: sunnys first powerminer

  1. #26
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    You have to make it do a Repeat Until loop like:

    SCAR Code:
    Repeat
    MineRocks
    Loads:=Loads+1;
    Until(Loads > HowManyToDo)

    Hope I Helped

  2. #27
    Join Date
    Apr 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by hayhay89 View Post
    SCAR Code:
    case (Lowercase(Players[CurrentPlayer].Strings[2])) of
          'copper'    : OreColour[0] := 5010850;
          'tin'       : OreColour[0] := 6184806;
          'iron'      : OreColour[0] := 2240075;
          'silver'    : OreColour[0] := 11513785;
          'coal'      : OreColour[0] := 2768446;
          'gold'      : OreColour[0] := 4566465;
          'mithril', 'mith' : OreColour[0] := 7688015;
          'adamant', 'addy' : OreColour[0] := 4346690;
          'runite', 'rune'  : OreColour[0] := 0;
        end;

    then for like how to put it in the mining procedure u do this

    SCAR Code:
    [OreColour[0]]
    where the color is ment to be pritty easy u fiddle with the colors and studd

    im a little confused

    say i had a setup players bit with
    "wich ore do you want to mine"
    i would put "OreColour[0]" there or i would put "bronze"?

  3. #28
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    You would put 'bronze' as that is the string

    Hope I Helped

  4. #29
    Join Date
    Apr 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    You would put 'bronze' as that is the string

    Hope I Helped
    oh ok
    and i put that list in the mining procedure or would that have its own procedure?

  5. #30
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    No in the mining Procedure or as a Const

  6. #31
    Join Date
    Apr 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    No in the mining Procedure or as a Const
    thanks i added that in but its getting
    Line 67: [Error] (12721:19): Syntax error in script C:\Program Files\SCAR 3.15\Scripts\SunnysFirstPowerMiner2.scar


    and now that i have that list of ores. under const can how do i set iy up with a mine wich rock

    sorry im such a noob

  7. #32
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    You have to add an extra until in your MineRock;



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  8. #33
    Join Date
    Apr 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks everyone will try it in a few days going to be a bit busy so not going to have much time will edit with the modified script

  9. #34
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I like your dropping procedure but you need to edit it for your needs.

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  10. #35
    Join Date
    Aug 2007
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    this looks like something i would do, im also a beginner at writting scripts. good job on this.

  11. #36
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    SCAR Code:
    {*******************************************************************************
    procedure DropItems(f, l: integer);
    By: Nava2
    Description: Drops items in slots f to l.
    *******************************************************************************}


    procedure DropItems(f, l: integer);
    var i, TMSpeed: integer;
    begin
      TMSpeed := MouseSpeed;
      MouseSpeed := 20 + random(5);
      for i:= f to l do
      begin
        if ExistsItem(i) then
        begin
          MouseItem(i, False);
          Wait(170 + Random(50));
          ChooseOption('rop');
          Wait(RandomRange(50, 200));
        end;
      end;
      MouseSpeed := TMSpeed;
    end;

    That drops items from F to L. It works almost flawlessly . Use it if you want; just credit. It also does it really fast :P.

    Nava2
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Which Powerminer is Better?
    By Daniel in forum SRL Site Discussion
    Replies: 13
    Last Post: 05-14-2007, 03:59 PM
  2. My Powerminer v. 3.00
    By GoF in forum RS3 Outdated / Broken Scripts
    Replies: 17
    Last Post: 01-22-2007, 02:08 AM
  3. Need Help On My First PowerMiner
    By Buckleyindahouse in forum OSR Help
    Replies: 3
    Last Post: 12-23-2006, 06:08 PM
  4. powerminer
    By shadowblade in forum OSR Help
    Replies: 20
    Last Post: 12-15-2006, 12:34 AM
  5. my powerminer
    By shadowblade in forum OSR Help
    Replies: 3
    Last Post: 12-09-2006, 03:04 PM

Posting Permissions

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