Results 1 to 12 of 12

Thread: Text.scar

  1. #1
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Exclamation Text.scar

    Problem Solved! (See last post)
    Last edited by FEAR; 12-02-2009 at 02:19 PM.

  2. #2
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Which version of SCAR are you using?
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  3. #3
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sex View Post
    Which version of SCAR are you using?
    Tried with 3.23 beta then downgraded to 3.22. Still same problem. I think there is something wrong with text.scar. Even when the error doesn't come up, it can't read the uptext.

    To test it, I made this

    SCAR Code:
    if FindColorSpiralTolerance(x, y, 2448761, MSX1, MSY1, MSX2, MSY2, 5) then
      begin
        MMouse(x, y, 0, 0);
        GetUpText;
        WriteLn(GetUpText);
      end;

    This should get the RS uptext and write it in debug right? It just returns blank meaning it can't find the uptext or did I write this wrong?

  4. #4
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by FEAR View Post
    Tried with 3.23 beta then downgraded to 3.22. Still same problem. I think there is something wrong with text.scar. Even when the error doesn't come up, it can't read the uptext.

    To test it, I made this

    SCAR Code:
    if FindColorSpiralTolerance(x, y, 2448761, MSX1, MSY1, MSX2, MSY2, 5) then
      begin
        MMouse(x, y, 0, 0);
        GetUpText;
        WriteLn(GetUpText);
      end;

    This should get the RS uptext and write it in debug right? It just returns blank meaning it can't find the uptext or did I write this wrong?
    Try adding a little wait after MMouse. Like Wait(150+Random(99));

  5. #5
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I haven't scripted for RuneScape in a while and I'm currently in bed (using my iPod), so I'll test it in the morning.
    By the way, you don't need to call GetUpText twice. The first time you do nothing with it.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  6. #6
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Yo need to drag the crosshairs over the rs client this happens to me everyonce and a while and to fix it i drag the crosshairs over the client again

  7. #7
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by J_Pizzle View Post
    Yo need to drag the crosshairs over the rs client this happens to me everyonce and a while and to fix it i drag the crosshairs over the client again
    I have tried it again and again its not because of crosshair.

    antti mies- Tried that, used WaitUpText also no result. It just can't read the text. Maybe Jagex recently did some modification to their text?

    Can someone confirm if UpText Check works? :s
    Last edited by FEAR; 12-02-2009 at 01:15 PM.

  8. #8
    Join Date
    Oct 2009
    Location
    Stockton, CA
    Posts
    2,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    With my mouse hovering over a banker in Edgeville, SCAR 3.21 and SCAR 3.23 Beta both returned this result:
    SCAR Code:
    Talk-to Banker / 4 more o
    Last edited by Sex; 12-02-2009 at 01:23 PM.
    Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
    Quote Originally Posted by #srl
    10:45 < Toter> daphil when can get sex anyday I want
    10:45 < Toter> he is always on #SRL
    "A programmer is just a tool which converts caffeine into code"

  9. #9
    Join Date
    Oct 2008
    Location
    behind you!
    Posts
    1,688
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Nope, just made a test with getuptext...

    SRL Compiled in 16 msec
    Walk here
    Successfully executed

    First try ^

    SRL Compiled in 16 msec
    Chop down Dead tree / 2 m
    Successfully executed

    Second Try ^

    Works perfectly... using 3.21 Scar, and the last revision of srl, Try re-installing srl, if that doesn't work try scar 3.21
    Hi

  10. #10
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    It comes if you first drag the crosshair, then lose the focus (pick a color, scroll the website) and drag the crosshair again. Only way to solve this is just to restart SCAR everytime it happens. It's not about Text.SCAR, it's SCAR bug.

  11. #11
    Join Date
    Jan 2008
    Location
    Houston, Texas, USA
    Posts
    770
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hmm What about

    Code:
    [Runtime Error] : Exception: Canvas does not allow drawing in line 279 in script C:\Program Files\SCAR\includes\SRL\SRL\Core\Text.scar
    ^^ Got that when I tried again. Text.scar is giving me a lot of problems. I am gonna delete scar and srl and try again :/

    Thanks for you help everyone I will get back with the results.

    Nvm problem solved after doing everything again. My SRL was messed up. My antivirus locks Scar Mass Bitmap converter so I can't use normal way to update. I have to update each file (place inside plugins folder, srl, autocolor etc) separately so I might have missed something before. Thanks again for your help
    Last edited by FEAR; 12-02-2009 at 02:17 PM.

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

    Default

    If you're using double ff like staff then it will not recognize because(maybe) they overlap.

    Edit: LOLZER IDIOT I AM.

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
  •