Results 1 to 6 of 6

Thread: Is my finding objects procedure good or no?

  1. #1
    Join Date
    Apr 2008
    Location
    Minnesota, USA
    Posts
    279
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Is my finding objects procedure good or no?

    Simba Code:
    Procedure MineRune1;
      begin
      if FindObjCustom(x, y, ['une', 'e or'], [12564883, 15590304], 5) then
      repeat
        MMouse(x, y, 4, 4);
        wait(200+random(300));
        Mouse (x, y, 1, 1,true);
        wait(7000+random(400));
         until
         FindBlackChatMessage('runite') or not FindObjCustom(x, y, ['une', 'e or'], [12564883, 15590304], 5);
    end;

    I dont know what work I need, this seems more stable than dtms, as I have tested both.
    Currently Working on: Runite Miner W/ World Hop (Fally) 80% complete

    Next: Advanced Gnome Agility Course!

  2. #2
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    I'd put this before FindObjCustom to make the script search from the center of your screen out:
    Simba Code:
    x := MSCX;
    y := MSCY;

  3. #3
    Join Date
    Apr 2008
    Location
    Minnesota, USA
    Posts
    279
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great idea thank you! If all goes well I should have a rune ore miner in the resource dun under fally
    Currently Working on: Runite Miner W/ World Hop (Fally) 80% complete

    Next: Advanced Gnome Agility Course!

  4. #4
    Join Date
    Dec 2011
    Location
    Kosovo
    Posts
    831
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Just use it before begin. Looks nice to me.
    Goals:
    Understanding TPAs
    Making Proggy for fighting
    Getting on SRL members
    Get 500 posts

  5. #5
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    It wouldn't work if you put it before begin. It would be best if it looked like this:

    Simba Code:
    Procedure MineRune1;
    begin
      x := MSCX;
      y := MSCY;
      if FindObjCustom(x, y, ['une', 'e or'], [12564883, 15590304], 5) then
      repeat

  6. #6
    Join Date
    Feb 2012
    Posts
    119
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I don't know if i'm reading your code right but it's set to repeat clicking on the ore every ~9 secs. Which might not be a problem, most people do click on the ore. But if it happens everytime, it might get a little suspicious.

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
  •