Results 1 to 11 of 11

Thread: ???powerminer???

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

    Default ???powerminer???

    well i think i should move onto some more complicated stuff
    i want to make a powerminer with antirandoms and antiban features
    since i have no idea how i am going to start this could you guys help me out and tell me what i should put in, and i would like to know how to make the script look for the colours by itself so you dont have to set the colours and so on......
    well post away
    im back----took a long break away but im back and im gonna get into scripting

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

    Default

    You could just somethign liek this.
    PHP Code:
    program miner;
    {.include 
    SRL/SRL.scar}

    const
      
    RockColor 0//Rock Color

      

    procedure randoms;
    begin
      FindNormalRandoms
    ;
    end;

    procedure mine;
    begin
    Wait
    (100+Random(50))
      If (
    FindColorSpiral(x,y,RockColor,2,2,515,336)) Then
        Mmouse
    (x,y,3,3)
        If (
    IsTextAt2(xy'Mine'5) = TrueThen
          Mouse
    (x,y,2,2,True)
          
    Flag;
          
    FindNormalRandoms;
    end;

    procedure drop;
    begin
      Dropto
    (2,28)
    end;

    begin
    repeat
    randoms
    ;
    mine;
    drop;
    until(false)
    end

  3. #3
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    culd u explain soem of the commands? im new dont noe very much sorry
    im back----took a long break away but im back and im gonna get into scripting

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

    Default

    okay where should i start.

    PHP Code:
    Mmouse(CoordxCoordyRandxRandy)okay you should know what the firdt two are coord x and coord y the second two mean random x and random y basicly if i put 
    Mmouse
    (10010011)
    Then it would do 1 Coord random so ay if you put 10 it would do a random coord inbetween 0 10 
    PHP Code:
    Mouse(CoordxCoordyRandx RandyLeft booleanbascily i exsplained the first 4 but where it say Left boolean that mean do you want to left clickput true if you do want it to left clikc and false if you dont want it to
    PHP Code:
    Until(invFull)
    that will repeat something until the inventory is full
    I hope all this helped if you need help on anythign else jsut ask.

  5. #5
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok thanks lol i was thinking of lookin at ur powerminer n tryin soemthing better ill ask u further more if i have any queriesz
    thanks for ur help
    im back----took a long break away but im back and im gonna get into scripting

  6. #6
    Join Date
    Nov 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wait(100+Random(50))
    If (FindColorSpiral(x,y,RockColor,2,2,515,336)) Then
    Mmouse(x,y,3,3)
    If (IsTextAt2(x, y, 'Mine', 5) = True) Then
    Mouse(x,y,2,2,True)
    Flag;
    FindNormalRandoms;
    end;

    what does find colour spiral mean
    and that hole line
    what does flag mean and why is it there?
    and wdf does dis mean
    If (IsTextAt2(x, y, 'Mine', 5) = True) Then
    im back----took a long break away but im back and im gonna get into scripting

  7. #7
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Tough love time. If you have no idea where to start, it's not time for more complicated stuff. Go through driger's tutorial.exe, janilabo's massive scar learning package, scar f1 help, and srl manual. Yea I know it's a lot and you want to write to write a script. You should be able to answer questions like those by yourself before writing a powerminer. I'm tired and grouchy, and even more so due to your use of 'wdf' and 'dis', but you'll thank me later.

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

    Default

    ummmmm......ok ill start do da tuts, i did some but theres none on a powerminer so dats y im a bit lost
    im back----took a long break away but im back and im gonna get into scripting

  9. #9
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Give a man a fish, he'll eat for one day. Teach a man to fish, he'll eat for the rest of his life.

    Read a tut on powerminers, and you'll be able to do powerminers. Read lots of tuts on different techniques, and you'll be able to everything.

    It won't be laid out for you. It takes some work.

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

    Default

    ok thanks
    your pretty wise if you havnt noticed?
    im back----took a long break away but im back and im gonna get into scripting

  11. #11
    Join Date
    Nov 2006
    Location
    California, USA
    Posts
    336
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by shadowblade View Post
    ok thanks
    your pretty wise if you havnt noticed?
    Its not wisdom, its common sense. The first step to become a better coder is to use better English and grammar when typing, this will help you not make as many mistakes with typos on your code. The second is don't be afraid to look around before asking questions on a forum, if you must ask a question to the forum please try and keep them short or phrase the question in a more effective way.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. powerminer
    By tpm1164 in forum First Scripts
    Replies: 5
    Last Post: 07-15-2007, 12:41 AM
  2. My Powerminer v. 3.00
    By GoF in forum RS3 Outdated / Broken Scripts
    Replies: 17
    Last Post: 01-22-2007, 02:08 AM
  3. Need Help On My First PowerMiner
    By Buckleyindahouse in forum OSR Help
    Replies: 3
    Last Post: 12-23-2006, 06:08 PM
  4. powerminer
    By shadowblade in forum OSR Help
    Replies: 20
    Last Post: 12-15-2006, 12:34 AM
  5. my powerminer
    By shadowblade in forum OSR Help
    Replies: 3
    Last Post: 12-09-2006, 03:04 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
  •