Results 1 to 11 of 11

Thread: Find specific Symbol?!

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

    Default Find specific Symbol?!

    hi i'm stuck with this function

    If FindSymbolIn(X, Y, 'Tree',568, 110, 740, 8)then

    give me this error : Unknown identifier 'FindSymbolIn' in script

    i have SRL installed properly and i have SetupSRL; in my script and i got {.include SRL/SRL.Scar} on the top of my script

  2. #2
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    why not just use FindSymbol(x,y,'tree');
    ?¿?
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


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

    Default

    because there are two yews symbols in the minimap

  4. #4
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    if you cant get it to work, then make a TBox of, like the bottom half of the minimap, or the top, or whatever.
    SCAR Tutorials: The Form Tutorial | Types, Arrays, and Classes
    Programming Projects: NotePad | Tetris | Chess


  5. #5
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by dan cardin View Post
    if you cant get it to work, then make a TBox of, like the bottom half of the minimap, or the top, or whatever
    TBox? care to expalin it to me on msn please?

  6. #6
    Join Date
    May 2006
    Posts
    1,230
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    FindsymbolIn is Srl 3.7+ (i think)

    make sure u have srl 3.7 + (recommend 3.8)

  7. #7
    Join Date
    Apr 2007
    Posts
    3,152
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

  8. #8
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    oh thanks Dan and Monkey (no wonder it didn't work)

  9. #9
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    srry for double post but does Scar 3.06 support ClickItemColorTol

    cz when i use 3.01 i get its ok but i cant use the FindSymbolIn

    but if i use it in scar 3.06 i get Unknown identifier 'ClickItemColorTol' in script

    any help?

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

    Default

    Another workaround is to do FindSymbol to make sure the symbol is on the map. Then use GetSymbolColor to get the color it's searching for, then search for that color yourself using a simple FindColor on whatever section of the minimap you want to use.

    That's how LAME finds Lumby, which is based on Yakman's idea to use the above strategy.

  11. #11
    Join Date
    Mar 2007
    Posts
    3,681
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    oh ok ill try that

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. find symbol?
    By jhildy in forum OSR Help
    Replies: 2
    Last Post: 06-01-2007, 02:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •