Results 1 to 13 of 13

Thread: First Script - Powerminer

  1. #1
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default First Script - Powerminer

    Hey all,

    I've been reading up on scripting for the past week or two and have finally created my first script - an Al Kharid powerminer. From what I can see from testing, the mining works decently and the dropping works perfect until the last row. I'm not sure how to get around this. I've tried to use DTMs to solve the problem but I've probably done something wrong with those. There are randoms in the script, but I'm not sure how well they will work as I haven't encountered any so far. Any help / tips / advice on fixing the dropping procedure as well as being able to detect and avoid gas would be greatly appreciated. Thanks!

  2. #2
    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Not bad.
    Only:

    There is:
    Code:
    const
      NumLoads = 5; //How many loads to do before switching players.
      Ore1 = 2832988; //Set these colors
      Ore2 = 1778490; //Set these colors
      Ore3 = 2569557; //Set these colors
    and then there is:
    Code:
    procedure DeclarePlayers;
    begin
      orecolor := 0;
      orecolor1:= 0;
      orecolor2 := 0;
      orecolor3 := 0;
    Explain.

  3. #3
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Wilio View Post
    Not bad.
    Only:

    There is:
    Code:
    const
      NumLoads = 5; //How many loads to do before switching players.
      Ore1 = 2832988; //Set these colors
      Ore2 = 1778490; //Set these colors
      Ore3 = 2569557; //Set these colors
    and then there is:
    Code:
    procedure DeclarePlayers;
    begin
      orecolor := 0;
      orecolor1:= 0;
      orecolor2 := 0;
      orecolor3 := 0;
    Explain.
    I received errors when I included SRL/SRL/Skill/Mining.scar and that solved it. I'm not sure why I need them there, but I guess I do. I just tried it again and I'm having issues switching back from dropping to mining again. Could the problem lie within not being able to finish dropping all 27 ores?
    :-)

  4. #4
    Join Date
    Aug 2007
    Posts
    53
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    You don't need to include mining.Scar. Since your script doesn't use it.

  5. #5
    Join Date
    Jul 2006
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Worked fine, Mined clay, Ran away from mugger, solved MOM box

  6. #6
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Wilio View Post
    You don't need to include mining.Scar. Since your script doesn't use it.
    I was planning on adding Gas features, so I had included it in there prematurely I guess.

    Quote Originally Posted by mop View Post
    Worked fine, Mined clay, Ran away from mugger, solved MOM box
    Awesome! Did the dropping work out all right for you? I'm having issues with Iron.
    :-)

  7. #7
    Join Date
    Jul 2006
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I didnt get round to a full invo as it was taking to long with 1 mining, It just randomly started logging me out after mining 1 ore though? Any ideas whats wrong there

  8. #8
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    I'm not sure why that would happen, sorry. It might have something to do with the Randoms procedure if you clicked away from the game while the script was running. Other than that, I don't know.
    :-)

  9. #9
    Join Date
    Aug 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Mine freezes for awhile after trying to drop then it logs out
    Mining works fine though

  10. #10
    Join Date
    Aug 2007
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Mine got stuck =\

  11. #11
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Right, the dropping is the script killer. Does anyone have ideas how I can fix that?
    :-)

  12. #12
    Join Date
    Aug 2007
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    your pass is in the script... ive pmed u and changed it 4 u so no one can hack it lols

  13. #13
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Thanks for that. Apparently someone had already changed it, but I've now changed it again to something different.
    :-)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. PowerMiner , first script
    By zorro in forum First Scripts
    Replies: 11
    Last Post: 07-30-2008, 03:25 AM
  2. powerminer script help
    By Kyle in forum OSR Help
    Replies: 3
    Last Post: 12-23-2007, 03:11 AM
  3. My 2nd script. Powerminer!
    By owned1112 in forum RS3 Outdated / Broken Scripts
    Replies: 0
    Last Post: 10-11-2007, 03:05 PM
  4. First Script (PowerMiner)
    By I Karma I in forum OSR Help
    Replies: 7
    Last Post: 05-04-2007, 05:56 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
  •