Results 1 to 8 of 8

Thread: help

  1. #1
    Join Date
    Jul 2008
    Posts
    179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help

    ok if(isuptext('hest'))then isnt working -.-'' why not lol

  2. #2
    Join Date
    Jul 2008
    Location
    Canada
    Posts
    1,612
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Make sure you do mmouse first and try: if IsUpText('hest')then

    Also make sure you uptext is correct, although we might need more code to see, what is really wrong.

  3. #3
    Join Date
    Jan 2007
    Posts
    834
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Its should. Works for me i use it because if it doesn't find the uptext for me it doesnt right click. Show us your script maybe?

    Edit: Bahhh everyone beats me to it

  4. #4
    Join Date
    May 2009
    Posts
    799
    Mentioned
    2 Post(s)
    Quoted
    16 Post(s)

    Default

    Isn't it "RS_GetUpText" ??

  5. #5
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    That returns a string afaik

    IsUpText('sdfa') is a boolean
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  6. #6
    Join Date
    Apr 2007
    Location
    UK
    Posts
    2,295
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hes got it right, maybe not setup script properly.

    SCAR Code:
    If(IsUpText('hest'))Then

    Please post entire script.

    Rogeruk's Al-Kharid Tanner V1.1 [Released]
    Rogeruk's Barbarian Crafter [Coming Soon]
    Rogeruk's Guild Fisher [Coming Soon]
    !! - Taking Requests - !!

  7. #7
    Join Date
    Oct 2006
    Posts
    500
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What you posted should work.

    Could you explain what exactly isn't working about it ?
    And just to check, you used SetupSRL ?

  8. #8
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    I've seen this happen to a lot of people. I'm guessing that you are doing something like:
    SCAR Code:
    program New;
    begin
      if FindBitmap(Bitmap, x, y) then
      begin
        MMouse(x, y 4, 4);
        if IsUpText('hest') then
          Mouse(x, y, 0, 0, True);
      end;
    end.
    Or something along those lines. Someones code like the latter will not work because the RS uptext doesn't appear right away, thus causing the boolean to be false. What you should do is add a random wait in your procedure, like this:
    SCAR Code:
    program New;
    begin
      if FindBitmap(Bitmap, x, y) then
      begin
        MMouse(x, y 4, 4);
        Wait(80 + Random(100));//Something along this line.
        if IsUpText('hest') then
          Mouse(x, y, 0, 0, True);
      end;
    end.
    Someone as simple as that can fix your problem. Hopefully that works.

    Cheers,
    Coh3n

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
  •