Results 1 to 7 of 7

Thread: IsUpText not working correct:

  1. #1
    Join Date
    Jan 2009
    Location
    Belgium
    Posts
    175
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default IsUpText not working correct:

    well, if i put it in my script with an end else to check if it doesn't work,
    i saw it didn't work...
    after trying anything:
    'Coal, coal, oal, al , o'
    it's still not worked

    HTML Code:
    http://pastebin.com/m453e6eef
    Any Help?

  2. #2
    Join Date
    Mar 2008
    Location
    New Jersey
    Posts
    1,673
    Mentioned
    1 Post(s)
    Quoted
    9 Post(s)

    Default

    you are just searching for the coal, saying hey we found it, let's see if there's the uptext, but, you never bothered to move the mouse to the coal you found, so of course you won't find the uptext .

    Change it to:

    Code:
    #
    Procedure GetCoalOre;
    Begin
     If FindCoal Then
      Begin
      MMouse(x, y, 2, 2);  //this is what I added, the 2's are for randomness, switch it to what you want
      wait(250+random(100)); //also added this, so it gives a split second till it checks for uptext
       If IsUpText('oal') Then
        Begin  
         Mouse(X, Y, 3, 3, False);
         ChooseOption('X');
         Wait(500+random(300));
         TypeSend('18'); // Use Caps-Lock
         Wait(500);
       End Else
      Writeln('Did not found the right uptext.');
     End;
    End;

    EDIT: If you need any help just PM me and I'll work with you

  3. #3
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    You have it find the DTM, check the uptext, then move the mouse.

    You need to move the mouse before you check for uptext, so you're doing it backwards.


  4. #4
    Join Date
    Jan 2009
    Location
    Belgium
    Posts
    175
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    still not working mate:/

  5. #5
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The uptext is 'Rock' not coal.
    If we are talking about MS.
    ~Hermen

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

    Default

    Quote Originally Posted by Hermen View Post
    The uptext is 'Rock' not coal.
    If we are talking about MS.
    We're talking about the bank, where the uptext is still 'Coal'.

  7. #7
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    We're talking about the bank, where the uptext is still 'Coal'.
    Okiez!

    Add me to msn(butterfly, CLICK IT!).
    ~Hermen

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
  •