Results 1 to 5 of 5

Thread: UpText Dont work?

  1. #1
    Join Date
    Apr 2007
    Location
    Estonia
    Posts
    156
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default UpText Dont work?

    Im trying to use FindObjEx, but it seems not to work :S

    It finds the object color(cursor moves over the object), but dont do the right click, seems like it cant "read" UpText...


    PHP Code:
      FindObjEx(xy, ['ank'], [25615653546663], 55020011524250)
      
    Mouse(x,y,0,0,false);
      
    Wait(550+random(100));
      if 
    not WaitOptionMulti(['ank B'], 300then LogOff
    It finds object,mouse stays ther like 1/2 seconds then moves new place and stays there another split second and sometimes in 5+ tries it makes right click...
    Whats wrong?

    Tried other way: Finding color-moving mouse over it-checking UpText etc.

    PHP Code:
      FindColorSpiralTolerance(xy256156500800,5005);
      if 
    IsUpTextMultiCustom(['nker''ank''er']) then
      begin
        Mouse
    (x,y,0,0,false);
        
    Wait(2500+random(100));
        if 
    not WaitOptionMulti(['ank B'], 300then LogOff;
      
    end
    This wont work either, like WTF am i doing something wrong or what why it cant read the UpText =(
    ROCK IS NOT A DEVILS WORK, ITS MAGICAL AND RAD!

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

    Default

    Do you have the latest SCAR pre-release and Open-Dev SRL?
    Look at the tutorial in my signature, IceFire's tutorial, or Coh3n's.

  3. #3
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Well your second one should have a move mouse after it finds the color, cause atm its not moving the mouse and it can't find the uptext. Also in the second one, you don't need WaitOptionMulti if you only have one string, just use WaitOption:
    SCAR Code:
    if FindColorSpiralTolerance(x, y, 2561565, 0, 0, 800,500, 5) then
    begin
      MMouse(x, y, 3, 3);  
      if IsUpTextMultiCustom(['nker', 'ank', 'er']) then
      begin
        Mouse(x,y,0,0,false);
        Wait(2500+random(100));
        if not WaitOption['ooth', 300) then LogOff;
      end else
        LogOff;
    end else
      LogOff;
    Try that, see if it works.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  4. #4
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by bionicle1800 View Post
    Well your second one should have a move mouse after it finds the color, cause atm its not moving the mouse and it can't find the uptext. Also in the second one, you don't need WaitOptionMulti if you only have one string, just use WaitOption:
    SCAR Code:
    if FindColorSpiralTolerance(x, y, 2561565, 0, 0, 800,500, 5) then
    begin
      MMouse(x, y, 3, 3);  
      if IsUpTextMultiCustom(['nker', 'ank', 'er']) then
      begin
        Mouse(x,y,0,0,false);
        Wait(2500+random(100));
        if not WaitOption['ooth', 300) then LogOff;
      end else
        LogOff;
    end else
      LogOff;
    Try that, see if it works.
    I use WaitOptionMulti in my new scripts because a lot of times the script wont find the uptext at first. I haven't looked into it enough atm though to tell if that's Scar or SRL.

  5. #5
    Join Date
    Apr 2007
    Location
    Estonia
    Posts
    156
    Mentioned
    0 Post(s)
    Quoted
    10 Post(s)

    Default

    Hey Thanks alot Junkj, Got all to work now =)
    ROCK IS NOT A DEVILS WORK, ITS MAGICAL AND RAD!

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
  •