Results 1 to 6 of 6

Thread: How to tell if you are mining?

  1. #1
    Join Date
    Nov 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default How to tell if you are mining?

    Is there a way in SRL to tell whether or not you are mining? I need something like FindFight, only for mining instead of fighting. If there is no procedure to do this, is there an easy way to make one?

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    there isn't a way to do this with srl. sorry.

    but you can look for the text in de chat box. to look if the ore is mined.
    SCAR Code:
    function Oremined: boolean;
    begin
      if InvFull then Result := True;
      if FindBlackChatMessage('anage') or FindBlackChatMessage('vailable') then result := True;
    end;

  3. #3
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    You can use the textbox as one guide.

    At least it will tell you reliably when you BEGIN mining.

    If you mine the rock, it will also tell you that, so you know you have stopped.

    Or you can count ores in your inventory and watch to see if that number changes.

    The only real problem is when you start mining a rock, but someone else actually gets the ore, so it never gives you the 'you manage to mine some ore' message, and your inventory doesn't increase.

    There are a couple of different strategies people use for that, but they are pretty complicated.

    Like you could follow the ore color, and exit the wait loop when it disappears. Or you could look for movement (mining animation) over the space your character is occupying. Or you could look for the pick color in the space your character is occupying (only works if you aren't wielding it).

    You could carry around a fire staff everywhere you go, and anytime the red fire orb shows up on the screen you know you're not mining. (There was a yew chopper that used that strategy).

    Or you can just sit and wait for a set period of time and then just assume the ore got mined and proceed.

    There are probably other strategies, but those are some off the top of my head. Definitely use the textbox as part of it, since that's really reliable and easy. And then pick something for the other situation and try it out.


  4. #4
    Join Date
    Nov 2007
    Posts
    40
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks for the answers. The method of just waiting a certain amount of time was what I used on my first script, a chicken autofighter, but I didn't want to do that again. I'll probably just use some combination of watching the color and waiting for the text in the chat box.

  5. #5
    Join Date
    Mar 2007
    Posts
    103
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    There is a failsafe way of doing this, but you have to go outside SRL.

    There is a system out called KYAB, that can be found here. Using the KYAB plugin, it can find the animation your character is currently doing, thus, perfect detection for stopped mining. Make a account on the site and get started.

    KYAB is not for everyone. For one thing, it has to be updated whenever RS is, so you are dependent on someone else for you ability to macro. Bast that, KYAB is a dream come true.
    These are my principles. If you don't like them, well... I have others.

    Since brevity is the soul of wit, I will be brief. Auto Correctly.

  6. #6
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    He can't post any KYAB scripts here though
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mining
    By mormonman in forum OSR Help
    Replies: 4
    Last Post: 12-24-2008, 03:23 AM
  2. 72 to 99 mining
    By Simtoon in forum RuneScape News and General
    Replies: 11
    Last Post: 09-17-2008, 12:09 PM
  3. 85 mining
    By MasterSparta in forum Discussions & Debates
    Replies: 8
    Last Post: 01-16-2008, 09:37 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
  •