Results 1 to 3 of 3

Thread: What is wrong with Proc?

  1. #1
    Join Date
    Jan 2007
    Posts
    248
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What is wrong with Proc?

    Heres my mining procedure, and Im wondering what is wrong with it?
    SCAR Code:
    Procedure MineRock;
    var xR,yR: integer;
     begin
     repeat
     AntiRandoms;
     FindNormalRandoms;
      If FindColorTolerance(xR,yR,rockcolor,20,25,490,315,2) then
       MMouse(xR,yR,4,4);
       If(IsUpTextMulti('ine', 'Mine', 'in'))then
       Mouse(xR,yR,4,4,true);
       if not(IsUpTextMulti('ine', 'Mine', 'in'))then
       MMouse(xR,yR,2,5);
       wait(nextrock);
       FindPick;
        if (GasCheck(xR,xR)) then
        begin
         RunAwayDirection(Rdirection);
         Wait(8000+random(3000));
         RunBack;
       AntiRandoms;
     FindNormalRandoms;
      end;
      until(InvFull = True);
      end;

    PHP Code:
    MMouse(xR,yR,4,4);
       If(
    IsUpTextMulti('ine''Mine''in'))then
       Mouse
    (xR,yR,4,4,true);
       if 
    not(IsUpTextMulti('ine''Mine''in'))then
       MMouse
    (xR,yR,2,5);
       
    wait(nextrock); 
    the problem is here, all it does in game is move the mouse the rock and it never clicks it, expept for the first time it finds the rock.

  2. #2
    Join Date
    Feb 2006
    Location
    Locked in RAM's closet !
    Posts
    2,001
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    try using isuptext('ine') instead

    also the uptext is not always the most reliable because it changes spacing somtimes.

    thats where i use isuptextmulti('ine', 'i ne', 'i n e') cause it does change like that in rs somtimes just for autoers
    Darky has stopped by to say hello :).
    10-21-2010
    Updated-
    10-09-2012

  3. #3
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    add a wait between mmouse and is text up, just a small one. I have to do this to alot of the scripts i use because they lag and the text has a bit of a delay before appearing when it lags

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. help with proc
    By Stevee in forum OSR Help
    Replies: 1
    Last Post: 07-27-2007, 06:49 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
  •