Results 1 to 15 of 15

Thread: findobj problem

  1. #1
    Join Date
    Jul 2007
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default findobj problem

    var
    x,y :integer
    GetMousePos(X,Y);
    findobj(x,y,'sta',605787,25)




    mouse moves realy slow

  2. #2
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    you dont got setupsrl; in your mainloop add that and your (h)

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

    Default

    Did you add SetupSRL; to the beginning of your main loop?

    Guess I was beaten.
    :-)

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    if you want to find a npc then use--->http://www.villavu.com/forum/showthr...=NPCFIndNClick<---

  5. #5
    Join Date
    Jul 2007
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    now wont actuaty find the object lol

    setupsrl;
    GetMousePos(X,Y)
    if findobj(x,y,'clim',537419,95) then
    GetMousePos(X,Y)
    clickMouse(x,y,true)

  6. #6
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by qcrist View Post
    now wont actuaty find the object lol

    setupsrl;
    GetMousePos(X,Y)
    if findobj(x,y,'clim',537419,95) then
    GetMousePos(X,Y)
    clickMouse(x,y,true)
    SCAR Code:
    setupsrl;
    if findobj(x, y, 'clim', 537419, 15) then
      Mouse(x, y, 4, 4, true)
    Interested in C# and Electrical Engineering? This might interest you.

  7. #7
    Join Date
    Jul 2007
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Smartzkid View Post
    SCAR Code:
    setupsrl;
    if findobj(x, y, 'clim', 537419, 15) then
      Mouse(x, y, 4, 4, true)
    still deosnt find :-(

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

    Default

    It didn't find the object as in nothing happened, or the it looked for the object but couldn't find the right one?
    :-)

  9. #9
    Join Date
    Jul 2007
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Metho D View Post
    It didn't find the object as in nothing happened, or the it looked for the object but couldn't find the right one?

    every time i turn the script on it hhhovers over the object the writing appears but it deosnt reconize it

  10. #10
    Join Date
    Apr 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    MouseSpeed:= 10;
    anywhere...

  11. #11
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    add waits...

    Wait(50+random(10));

    put that after the searching and before the click just do that between your whole finding

    i advice using -->this is my npc finding, click it and you will know how it works and have a good npc finder!

  12. #12
    Join Date
    Jul 2007
    Location
    Ottawa, Canada
    Posts
    930
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Herpie is right, and make sure that you are using something in the middle of the name to identify the text.
    ~ Metagen

  13. #13
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ow and in the uptext your checking for dont use the first letter because that a capital like ''A'' this is not a capital "a" if you got Bronze Arrow then use ''ronze''

  14. #14
    Join Date
    Jul 2007
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by hermpie View Post
    ow and in the uptext your checking for dont use the first letter because that a capital like ''A'' this is not a capital "a" if you got Bronze Arrow then use ''ronze''

    thx it works now










  15. #15
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kk nice a good object/npc finder is this one Click Here For A GOOD NPC/Object Finder<--- i updated it to

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. FindObj help
    By daddyproboot in forum OSR Help
    Replies: 6
    Last Post: 08-17-2007, 03:48 PM
  2. Fix for Problem with FindObj
    By ZephyrsFury in forum RS has been updated.
    Replies: 5
    Last Post: 06-27-2007, 01:57 PM
  3. FindObj help
    By Xirx in forum OSR Help
    Replies: 7
    Last Post: 06-12-2007, 09:38 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
  •