Results 1 to 9 of 9

Thread: Need help with 07 !!! PLEASE HELP!

  1. #1
    Join Date
    Jul 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Question Need help with 07 !!! PLEASE HELP!

    Hi thanks for reading . I have a little problem. . I am testing how DTM's work on simba. Why can't i use "If IsUpText('obe') Then"? It wont click the item if i use that IsUpText thing. And if i dont use it, it clicks the item but i want that IsUpText thing works but it just wont click. Sorry for bad explaining and for bad english I need help please help. *EDIT* and im trying this with Runescape Oldschool 2007

    Here's my code:

    Simba Code:
    program DTMtest;
    {$i SRL/SRL.simba}
    var
      Robe, x, y: Integer;

    procedure Click;
    begin
      Robe := DTMFromString('mbQAAAHicY2VgYOAGYl4gFgdiHgYI4ITSXEAsDMQcII6dI5BgRMFGDJiAEQsGAwBQSQEp');
      If FindDTM(Robe, X, Y, MSX1, MSY1, MSX2, MSY2) Then
      begin
        writeln('We found DTM from bank!');
        MMouse(x, y, 5, 5);
        If IsUpText('be') Then // HERE!! Whats wrong with this code?
        Mouse(x, y, 0, 0, True);
        wait(1000 + Random(550));
        If FindDTM(Robe, X, Y, MIX1, MIY1, MIX2, MIY2) Then
      begin
        writeln('We found DTM from inventory!');
        MMouse(x, y, 5, 5);
        If IsUpText('op') Then
        Mouse(x, y, 0, 0, True);
      end;
    end;
       FreeDTM(Robe);
    end;
    begin
      SetupSRL;
      ActivateClient;
      Click;
    end.
    Last edited by moore116; 07-05-2013 at 12:40 PM.

  2. #2
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    After you move the mouse, put something like
    Simba Code:
    writeln(GetUpText);

    See what it's reading

    Forum account issues? Please send me a PM

  3. #3
    Join Date
    Mar 2006
    Location
    Belgium
    Posts
    3,564
    Mentioned
    111 Post(s)
    Quoted
    1475 Post(s)

    Default

    You'll need the SRL-OSR include which u can install here(click me)

    then replace {$i SRL/SRL.simba} with {$i SRL-OSR/SRL.simba}

    Since SRL/SRL.simba is for Eoc Runescape

    Creds to DannyRS for this wonderful sig!

  4. #4
    Join Date
    Jul 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Justin View Post
    After you move the mouse, put something like
    Simba Code:
    writeln(GetUpText);

    See what it's reading
    that didnt do anything

  5. #5
    Join Date
    Jul 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Sjoe View Post
    You'll need the SRL-OSR include which u can install it here click me

    then replace {$i SRL/SRL.simba} with {$i SRL-OSR/SRL.simba}

    Since SRL/SRL.simba is for Eoc Runescape
    I did that but it still doesnt click the item it just hovers it and then it stops the script.. :S Any other ideas?

  6. #6
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

    Default

    Quote Originally Posted by moore116 View Post
    that didnt do anything
    What do you mean it didn't do anything? It would have printed a line in your debug box showing what it thought uptext was.

  7. #7
    Join Date
    Jul 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Ashaman88 View Post
    What do you mean it didn't do anything? It would have printed a line in your debug box showing what it thought uptext was.
    well i cant explain it... this is my debug box
    ---------------------------
    We found DTM from bank!

    Successfully executed.
    ---------------------------

    It just printed blank line

  8. #8
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Could you show us what you're running now, after Ashaman's suggestion?
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  9. #9
    Join Date
    Jul 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I think i got it now Thanks for ur help everyone!

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
  •