Results 1 to 10 of 10

Thread: FindSymbol .. Not Finding

  1. #1
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default FindSymbol .. Not Finding

    Okay so I went and looked at Coh3n's thread on a tutorial for this and I copied the code and tried it and it didn't work. Help out please?
    Simba Code:
    program FindSymbolExample;

    {$include SRL/SRL.scar}

    function WalkToWillows: Boolean;
    var  x, y : Integer;
    begin
    if not LoggedIn then
    Exit;
    SetRun(True);
    SymbolAccuracy := 0.5;//Notice how I set the accuracy to 50%, so it will still work if it only finds half of the symbol.
    Result := FindSymbol(x, y, 'fish');
    if Result then
    begin
    Writeln('Found fishing symbol!');
    Mouse(x, y, 4, 4, True);//Click the fishing symbol.
    end else
    begin
    Writeln('Couldn''t find the fishing symbol');
    Logout;//Logout and execute script if it can't find the symbol.
    TerminateScript;
    end;
    SymbolAccuracy := 0.8;//Make sure you set the SymbolAccuracy back to the defaut accuracy, 0.8 or 80%.
    end;

    begin
     ClearDebug;
     SetupSRL;
     ActivateClient;
     if WalkToWillows then
     Writeln('Walking to Willows!')
     else
     Writeln('Not walking to Willows.');
     end.

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Find symbol won't work if there is someone or too many ppl standing on it..
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    There wasn't anybody in my world.. "/

  4. #4
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Gushers View Post
    There wasn't anybody in my world.. "/
    Hmm well symbol finding in the include uses bitmaps and they can probably either be outdated OR the accuracy of your search can be too high.. It sorta depends.. Me personally I use a TPA of a grey colour for the outer circle then I check to see if my symbol colours is inside the grey.. if it is, symbol found..
    I am Ggzz..
    Hackintosher

  5. #5
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Okay thanks man, I'll give that a shot.

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

    Default

    Symbol finding doesn't work right now due to a bug in Simba. The bug has been found and fixed and will work with the next release. If you wish, you can download the (not released) newest version here. Symbol finding should then work.

  7. #7
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Symbol finding doesn't work right now due to a bug in Simba. The bug has been found and fixed and will work with the next release. If you wish, you can download the (not released) newest version here. Symbol finding should then work.
    You don't want that version.

    Coh3n, Simba Stable is 0.99, Simba Prev is 0.98. But the auto build is not working atm.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  8. #8
    Join Date
    Dec 2011
    Posts
    209
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Alrighty thank you Coh3n I'll just wait till the next version is released.
    By the way, you have an amazing tutorials on just about everything big thank you on that as well!

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

    Default

    Quote Originally Posted by Wizzup? View Post
    You don't want that version.

    Coh3n, Simba Stable is 0.99, Simba Prev is 0.98. But the auto build is not working atm.
    Has 0.99 been added to the updater yet? Is that the one with the bitmap fix? Does it also have Dgby's FindFile fix?

  10. #10
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by Coh3n View Post
    Has 0.99 been added to the updater yet? Is that the one with the bitmap fix? Does it also have Dgby's FindFile fix?
    982 will fix all know issues. I will release it tomorrow.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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