Results 1 to 8 of 8

Thread: Unknown Identifier FindObj3.. Whats Wrong?

  1. #1
    Join Date
    Jul 2007
    Location
    Edmonton, AB
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Unknown Identifier FindObj3.. Whats Wrong?

    i am using FindObj3 to find the yew tree in my Edge Yew Cutter+Banker I am currently TRYING to make..... it keeps saying unknown identifier, WHATS WRONG???

    Well here's what I'm putting in..

    Procedure FindYew;
    begin
    If(FindObj3(x, y, 'Yew', 4095859, 10)) Then
    begin
    MoveMouseSmooth(x, y);
    Wait(100+random(300));
    ClickMouse(x, y, true
    end;

    Line 5: [Error] (12236:4): Unknown identifier 'FindObj3' in script





    -Wdf?

  2. #2
    Join Date
    Jun 2007
    Location
    Minnesota
    Posts
    773
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Do you need to include the file that the procedure FindObj3 is in? I have never used it so I don't know, but you should try it.

  3. #3
    Join Date
    Jul 2007
    Location
    Edmonton, AB
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't get it. I just learned how to do this yesterday.

    It does that with all the 'FindObj' things.

    Hellooooo?

  4. #4
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    You need to include SRL in your script. Look at some basic tutorials please .
    Administrator's Warning:


  5. #5
    Join Date
    Aug 2007
    Location
    England
    Posts
    734
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wasnt it removed?
    The truth finally came out...


  6. #6
    Join Date
    Jun 2007
    Location
    New Jersey, USA
    Posts
    123
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you are using SRL 4.0 Beta. FindObj3 was removed - hence why you are getting that error. These are the new FindObjects:

    SCAR Code:
    //  » function FindObj(var cx, cy: Integer; Text: String; color, tolerance: Integer): Boolean;  // * by Stupid3ooo
    //  » function FindObjCustom(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray; Tolerance: Integer): Boolean;  // * Stupid3ooo and Starblaster100
    //  » function FindObjEx(var x, y: Integer; ObjText: String; x1, y1, x2, y2, Color, Tol, MinXDist, MinYDist, WaitPerCheck: Integer; Spiral: Boolean): Boolean; // * by RsN
    //  » function FindObjectDeformed(var ObjX, ObjY :integer; UpText1, UpText2: String; BMP, a, b, c, d: integer): Boolean; // * By WT-Fakawi
    My Scripts:
    Rimmington Soft Clay Farmer 2.0 - Makes approx. 40k gold per hour. Mines clay, softens it, and banks it.

  7. #7
    Join Date
    Jul 2007
    Location
    Edmonton, AB
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    TYSM lol

  8. #8
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Wdf? View Post
    TYSM lol
    I assumed you didnt have SRL 4 included because your using a couple of scar functions (which is insta ban) in your example. Please use Mouse(); to click somewhere. (Mouse also moves the mouse to the location and its in SRL).
    Administrator's Warning:


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Whats wrong with rs2?!!!
    By faster789 in forum RuneScape News and General
    Replies: 2
    Last Post: 11-19-2007, 04:03 AM
  2. Whats wrong here?
    By BobboHobbo in forum OSR Help
    Replies: 3
    Last Post: 06-20-2007, 06:25 AM
  3. Replies: 8
    Last Post: 03-23-2007, 04:20 PM

Posting Permissions

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