Results 1 to 4 of 4

Thread: al kharid miner

  1. #1
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default al kharid miner

    ok, i made this miner its based upon bitmaps ok.

    i ran up with some problems.
    ok i made 2 different prodecures one with bit maps and another with color.

    how can i make the user CHOOSE which one he/she wants to use?

    like:
    const
    miningstyle= ; //colormine, or bitmapmine,

    any ideas?

    Code:
    procedure Clickmine;
    begin
    findbitmap (clickmine,x,y)
    clickmt;
    wait (1000)
    end;
    
    procedure bitmapmine;
    begin
    if(findbitmap(mining,x,y))then
    ClickMF;
    wait (1000)
    if(findbitmap(mining2,x,y))then
    clickmf;
    wait (1000)
    if(findbitmap(mining3,x,y))then
    clickmf;
    wait (1000)
    Clickmine;
    end;
    
    procedure colormine;
    begin
    if(FindColorSpiral(x,y,iron,6,3,510,337))then
    clickmf;
    wait (1000)
    clickmine;
    end;

  2. #2
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Did you meaned this way ?
    PHP Code:
    Const
    Mining BitMap // BitMap , Color

    procedure Clickmine;
    begin
    findbitmap 
    (clickmine,x,y)
    clickmt;
    wait (1000)
    end;

    procedure bitmapmine;
    begin
    If ( Mining BitMap Then Begin
    if(findbitmap(mining,x,y))then
    ClickMF
    ;
    wait (1000)
    if(
    findbitmap(mining2,x,y))then
    clickmf
    ;
    wait (1000)
    if(
    findbitmap(mining3,x,y))then
    clickmf
    ;
    wait (1000)
    Clickmine;
    end;
    end;

    procedure colormine;
    begin
    If ( Mining Color Then Begin
    if(FindColorSpiral(x,y,iron,6,3,510,337))then
    clickmf
    ;
    wait (1000)
    clickmine;
    end;
    end

  3. #3
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    lol exactly lol love u ^_^
    i add ur credits

    edit: Line 39: [Error] (39:1): Duplicate identifier '' in script C:\Program Files\SCAR 2.03\Scripts\My scripts\Mining1.0.scar arr?

  4. #4
    Join Date
    Sep 2006
    Posts
    161
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I would recommend against using bitmaps for iron rocks. They are slightly different each time. Also, you would need a lot more processing to find a bitmap, especially with the deformation which you probably need for it to work. A better option is to scan for a color and check IsUpText. That can also be done through FindObj.

    I can't help with fixing line 39 until I see which line that is. Though duplicate null identifier is kinda fishy and makes me think it's actually a syntax error and not an accidental re-definition of an identifier.

    EDIT:

    You want
    mining = 'bitmap'
    not
    mining = bitmap


    Wow. I've been away quite a while. Real life, yea, way unpredictable. Sorry, y'all, if I've caused any inconvenience.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. addy al-kharid miner.
    By cjyogi in forum RS3 Outdated / Broken Scripts
    Replies: 2
    Last Post: 06-15-2009, 11:20 PM
  2. Al kharid miner
    By reaper92 in forum RS3 Outdated / Broken Scripts
    Replies: 3
    Last Post: 08-01-2007, 11:01 AM
  3. Al Kharid Killer
    By anime1161 in forum First Scripts
    Replies: 3
    Last Post: 06-23-2007, 03:35 AM
  4. srl al kharid miner and banker?
    By wired16 in forum RS3 Outdated / Broken Scripts
    Replies: 4
    Last Post: 03-19-2007, 06:44 AM

Posting Permissions

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