Results 1 to 17 of 17

Thread: Iron Miner

  1. #1
    Join Date
    May 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default Iron Miner

    PsychoticPk's first 2007 Runescape Script: Iron Power miner
    PLEASE POST ALL BUGS FOUND ON THIS FORUM AND GIVE FEEDBACK OF THIS SCRIPT, THANKS

    INSTRUCTIONS
    -Weild Pickaxe
    -Be near Iron ores, any should work as it is color based.

    REQ'S
    -15+ Mining

    Version 1.0 ('Beta')
    -Please Inform me of any bugs you may find.
    Attached Files Attached Files
    Last edited by PsychoticPk; 06-04-2013 at 05:46 AM.

  2. #2
    Join Date
    Jun 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    powerminer or does it bank ?

  3. #3
    Join Date
    Feb 2013
    Posts
    303
    Mentioned
    4 Post(s)
    Quoted
    124 Post(s)

    Default

    Quote Originally Posted by capmasta View Post
    powerminer or does it bank ?
    Can You Read ?

  4. #4
    Join Date
    May 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by capmasta View Post
    powerminer or does it bank ?
    Currently it does not bank, if i get more people to test it out and learn to make scripts walk, I'll add banking

  5. #5
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Hey PsychoticPk. Grats on the release, I assume it's your first? If so, nice job.

    Just a couple of suggestion on how to improve your script.

    One thing I noticed is that when dropping your ore, there's no check to make sure it is actually ore that is being dropped. You could use DTMs to make sure nothing is getting dropped that shouldn't be. You could also use DTMs to accurately count the amount of ore mined, instead of just always adding 28. Check out this guide: http://villavu.com/forum/showthread.php?t=47845

    Another thing I noticed is this:
    Simba Code:
    Case Random(2) of
              0: Mouse(x, y, 0, 0, True);
              1: Begin
                  Mouse(x, y, 0, 0, True);
                 end;
            end;
    This confused me as you'll always do the same, so you may as well just have
    Simba Code:
    ClickMouse2(mouse_Left)
    As that will also get the mouses current position.

    My final suggestion will help you detect when you've finished mining. Currently you're relying on the uptext changing, but you could use PixelShift instead, as this will allow you to move your mouse from the rock, and perform anti-ban if you want, making your script much like a human. It's actually very simple, but effective. Here's a guide for that: http://villavu.com/forum/showthread.php?t=74090

    Once again, grats on the release
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  6. #6
    Join Date
    May 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Quote Originally Posted by Rich View Post
    Hey PsychoticPk. Grats on the release, I assume it's your first? If so, nice job.

    Just a couple of suggestion on how to improve your script.

    One thing I noticed is that when dropping your ore, there's no check to make sure it is actually ore that is being dropped. You could use DTMs to make sure nothing is getting dropped that shouldn't be. You could also use DTMs to accurately count the amount of ore mined, instead of just always adding 28. Check out this guide: http://villavu.com/forum/showthread.php?t=47845

    Another thing I noticed is this:
    Simba Code:
    Case Random(2) of
              0: Mouse(x, y, 0, 0, True);
              1: Begin
                  Mouse(x, y, 0, 0, True);
                 end;
            end;
    This confused me as you'll always do the same, so you may as well just have
    Simba Code:
    ClickMouse2(mouse_Left)
    As that will also get the mouses current position.

    My final suggestion will help you detect when you've finished mining. Currently you're relying on the uptext changing, but you could use PixelShift instead, as this will allow you to move your mouse from the rock, and perform anti-ban if you want, making your script much like a human. It's actually very simple, but effective. Here's a guide for that: http://villavu.com/forum/showthread.php?t=74090

    Once again, grats on the release
    Thanks for the tips The pixel shift one is being a pain to get working lol. Also, I know this isn't really the correct spot to ask this - If I use dtm's to drop the ores is there any specific way to go about doing in, or would it just end up being
    Code:
     Drop(IronDTM);
    once again, thanks for the advice

  7. #7
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    It's a bit more long winded than just that. You'll have to search the inventory for the DTM, then move and click the mouse and chose the option to drop the ore.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  8. #8
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

  9. #9
    Join Date
    Sep 2012
    Location
    Here.
    Posts
    2,007
    Mentioned
    88 Post(s)
    Quoted
    1014 Post(s)

    Default

    People should really tell Olly how awesome he is more often. He knows everything in SRL

  10. #10
    Join Date
    May 2013
    Posts
    17
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Kind of new to this, so It'll take me a bit to understand the link lol, but Thanks for the help. Hopefully this weekend or something I can work on learning the DTM's and dropping the ores, as well as pixel shifting

  11. #11
    Join Date
    May 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    testing this now will respond back with feedback soon

  12. #12
    Join Date
    May 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    not sure if these are bugs but if you start in the mine inbetween port khazard and yanile it does not detect the iron ore and it trys to chop trees, and does other random things

  13. #13
    Join Date
    Jun 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Unknown identifier 'FindNPCChatText' at line 37

    Why don't any scripts work

  14. #14
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    it says- Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Simba\Scripts\iron miner.simba' how do i fix this?

  15. #15
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by SeeJay9696 View Post
    it says- Exception in Script: Unable to find file 'srl-osr/srl.simba' used from 'C:\Simba\Scripts\iron miner.simba' how do i fix this?
    http://villavu.com/forum/showthread.php?t=47714

  16. #16
    Join Date
    Jan 2014
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Im new to this, but the client loads and everything and it mines for me but the only way itll mine is if I change the screen to set on a rock. I have to manually adjust screen everytime I want it to mine one ore.

  17. #17
    Join Date
    Aug 2012
    Location
    The Dark Tower
    Posts
    154
    Mentioned
    5 Post(s)
    Quoted
    56 Post(s)

    Default

    Quote Originally Posted by hkbell View Post
    Im new to this, but the client loads and everything and it mines for me but the only way itll mine is if I change the screen to set on a rock. I have to manually adjust screen everytime I want it to mine one ore.
    More then likely because the script is outdated. I'm sure if you look at the script you can work towards learning some of the procedures out and messing with the functions to get it to work for you. Or, wait until the OP updates the script.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

Posting Permissions

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