Results 1 to 5 of 5

Thread: Need Script Help

  1. #1
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default Need Script Help

    I am working on a power miner script and it runs well but it keeps clicking the rock even when it isn't there. How do I fix this?

    I would prefer not to post the code publicly here so request for it through PM if you are going to help.

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    If the uptext changes when you hover over it, you could use that. If not try looking for the color of the ore, not the actual rock itself (ex: the blue of the mithril rock, not the surrounding brownish area)

    Or, post the code and we could help you further. You don't have to post the entire script, just the segment that finds the rock.

  3. #3
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    mine color of the ore, not the color of the rock. look through my M1D1 power miner and see how i did it.

  4. #4
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    This is my mining procedure

    Simba Code:
    procedure RockMining;
    begin
    if not LoggedIn then
    Exit;
    if (not (FindObjCustom(x, y, ['ine', 'ock'], [RockColor1, RockColor2], 5))) then
    Wait(100+random(100));
    Tries := Tries + 1;
    if(Tries = 35)then
    begin
    Logout;
    Exit;
    end else
    if FindObjCustom(x, y, ['ine', 'ron', 're', 'ock'], [RockColor1, RockColor2], 5) then
    repeat
    case (Random(2)) of
    0: Mouse(x, y, 4, 4,false);
    1: ChooseOption('ine');
    2: Mouse(x, y, 4, 4, True);
    end;
    until (InvFull)
    end;

  5. #5
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    I am using the color of the ore not the rock

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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