Results 1 to 5 of 5

Thread: plz help with text grabbing!!!

  1. #1
    Join Date
    Jul 2008
    Location
    US
    Posts
    104
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default plz help with text grabbing!!!

    okay. im not autoing on runescape. im autoing on a private server. its still rs, just a different version. i got banned on runescape, so forget that crap.

    the thing is. i think the font is different. like of all the text options and stuff.

    all i need it for is banking. the banking procedures work until it comes time to click text.

    anyone have any other suggestions. and if its using a bitmap, my bitmap tool is messed up. the box doesnt let me scroll down to name it. so i cant rele use it.

    any help wud be appreciated!

    thanks....

  2. #2
    Join Date
    Feb 2007
    Posts
    3,616
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This is what I did in Runescape to avoid looking for the font and just clicking in random coordinates down from the point you right clicked:

    SCAR Code:
    function ChooseOptionQuick(xx,yy, option: Integer): Boolean;
    var
      mx,my: Integer;
      i: Integer;
      t: Integer;
    begin
      my := yy + 25 + random(7); //28 = perfect
      mx := xx + random(37);
      if(not(option = 1))then
        for i := 2 to option do
          my := my + 15;
      MMouse(mx,my,0,0);
      MarkTime(t);
      repeat
        wait(50+random(40));
        if(FindColor(mx,my,6121839,mx-25,my,mx+25,my+2))then
        begin
          Result := true;
          GetMousePos(mx,my);
          Mouse(mx,my,0,0,true);
          wait(40+random(60));
          Exit;
        end;
      until(TimeFromMark(t) > 1500+random(900));
      Result := false;
    end;

    Usage:
    SCAR Code:
    Mouse(x,y,5,5,false);
    GetMousePos(x,y);
    ChooseOptionQuick(x,y,2);

    That will choose the second option from the top (Use-quickly for the bank in Runescape). I am not sure if the chooseoption boxes are larger/smaller though because the fonts are different.

    Let me know if this works!
    ~JAD

  3. #3
    Join Date
    Aug 2009
    Location
    Nova Scotia, Canada
    Posts
    604
    Mentioned
    0 Post(s)
    Quoted
    56 Post(s)

    Default

    Sorry to grave dig, but is this your function Jad? I want to use it in my script and give proper credit.

  4. #4
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Bixby Sayz View Post
    Sorry to grave dig, but is this your function Jad? I want to use it in my script and give proper credit.
    You really should of pmed him, I don't think JAD is gonna check some random thread in the scripting help section.

  5. #5
    Join Date
    Aug 2009
    Location
    Nova Scotia, Canada
    Posts
    604
    Mentioned
    0 Post(s)
    Quoted
    56 Post(s)

    Default

    Yeah should have thought of that. My bad.

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
  •