Results 1 to 2 of 2

Thread: Need Help (Beginner) - Simple Script

  1. #1
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Need Help (Beginner) - Simple Script - [SOLVED]

    I'm unsure if this is the correct area to post in, but I'm in need of some help. I've been working on a simple woodcutting script (it's for a RSPS, but that shouldn't matter. Just trying to dip my feet into programming.) The code that is giving me an issue is this:

    Simba Code:
    procedure ChopDown;
    var X, Y: integer;
    begin
      repeat
        if FindObj(x, y, 'hop', 5531242, 5) then
        Mouse(x, y, 0, 0, true);
        repeat
          wait(3000+random(250));
        Until not IsUpText('hop') or (InvFull);
      until (InvFull);

    Is there something I can use that is better than the "Until not IsUpText"? It will click the tree, and when it runs to it, the mouse hovers off of the tree. This causes my script to think the tree was chopped down. This is a simple script, so a simple solution would be fine. I'm new to this, so I have little experience.

    Thanks in advance!
    Last edited by NotoriousV2; 03-11-2015 at 08:13 AM. Reason: Solved

  2. #2
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I've figured this out using PixelShift. No need for reply.

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
  •