Results 1 to 10 of 10

Thread: Mining Procedure

  1. #1
    Join Date
    Nov 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Mining Procedure

    Hi, I'm new to Pascal/Scar programming, I've requested help on here before, but I've come across another problem in my script and I need help with a mining procedure.

    My current procedure:
    I tell Scar to mine a specific rock, wait 5 or seconds or so and then find another rock to mine.

    The problem is:

    I want to know how to tell Scar to wait until the rock is empty before proceeding to the next ore.

    If anyone can post an easy understandable tutorial on how to solve my problem, it will help me alot in my script.

    Thanks. :)

  2. #2
    Join Date
    Oct 2006
    Posts
    468
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    could you please post your mining procedure?

  3. #3
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    use this procedure Flag; that will wait until you have mined the rock before clicking again.

  4. #4
    Join Date
    Nov 2006
    Posts
    120
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you look at what happens when you mine there is a txt message that displays when you finish mining. 'You manage to mine some xxx' I would add that in there after the 5 seconds.

    Say something like... If after 5 seconds it sees that message then find the next rock. Or if it doesn't see that message then keep mining for another 3 seconds.

    Something like that would most likely work.

  5. #5
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by ben123321 View Post
    Hi, I'm new to Pascal/Scar programming, I've requested help on here before, but I've come across another problem IN MY script and I need help with a mining procedure.
    your? or are you now talking about script that I gave to you?

    And btw, Flag doesn't work for that...

  6. #6
    Join Date
    Oct 2006
    Location
    England
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    oh i see kk

  7. #7
    Join Date
    Nov 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Pentti View Post
    your? or are you now talking about script that I gave to you?

    And btw, Flag doesn't work for that...
    No Pentti, i'm talking about my procedure, not the one you gave me as an example.

    but im still looking for an example on to show me how to make Scar wait until my character has finished mining before moving to the next ore.

  8. #8
    Join Date
    Jun 2006
    Location
    USA
    Posts
    1,828
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Its hard to make it wait until rock is mined... I have no idea right now how to do that. I must think about it...

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

    Default

    Well, wizzup and me have been working on it, and there is only 1 way to check if the rock is gone. Well 2 if you count the check if you mined it yourself, but only one that also works if someone else mined it and that is color, or DTM but that lags. I made a proc. (private) that gets the edges of the rock and made a procedure RockGone that tells the script if it found the color in that square or if its gone. I don't think there is any other way of approaching this.

  10. #10
    Join Date
    Nov 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks anyways Pentti,

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Mining procedure
    By weequ in forum OSR Help
    Replies: 6
    Last Post: 04-10-2008, 01:08 PM
  2. Mining Procedure Help
    By massive630 in forum OSR Help
    Replies: 12
    Last Post: 01-13-2008, 02:54 PM
  3. help with my mining procedure
    By stuckman in forum OSR Help
    Replies: 4
    Last Post: 06-01-2007, 06:31 AM
  4. help w/ mining procedure...
    By stupedspam in forum OSR Help
    Replies: 7
    Last Post: 04-04-2007, 02:32 AM
  5. Mining Procedure
    By stol3n in forum OSR Help
    Replies: 6
    Last Post: 04-03-2007, 07:09 AM

Posting Permissions

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