Page 1 of 2 12 LastLast
Results 1 to 25 of 38

Thread: My First Clay Miner

  1. #1
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default My First Clay Miner

    Features:
    MultiPlayer
    Banking (Only Atm, and pretty quick)
    Walking Failsafes which should make it pretty failsafe i hope

    Setup:
    have pickaxe in first slot or equipped it doesn't deposit slot 1 in inventory
    Start It either Bank Or Mine (And Soon the Well In Barb Village)
    ok start it at barb village clay mine theres a map in the attachments

    Version 1.04
    ok you can now start it at the bank (varrock west bank) the well (Barb Village Well Just up from coal) or the mine

    it softens the clay on the way i have only tested it for a little while (30 mins)

    so test it out give me some bug reports

    Version 1.05
    I added a Basic Proggy posts just after you finish resting at the bank
    fixed the softening dtm now it will work i forgot to add tolerance on the colour silly me haha

    Version 1.06 ---Just Released
    Tweaked camera angles a bit
    tweaked the mining procedure should go faster now
    and also added a check to see if softening the clay noticed it was missing sometimes



    Credits:
    KeepBotting and Siel pinched your mining procedure (not using this any more but im gonna keep it here because i learnt somethings from it)
    and YoHoJo for antiban and StatsGuise
    Last edited by benny999; 06-04-2012 at 08:11 AM. Reason: Anouncement

  2. #2
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Testing right now, will report back for you.

  3. #3
    Join Date
    May 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Looks similar to KeepBotting's script?

  4. #4
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyla View Post
    Looks similar to KeepBotting's script?
    It is similar, it just uses a different method of banking and different anti-ban. It also has a different walk path.


    Anyways here's my update: I ran this script along 10 accounts for about 3 hours. 3/10 of them failed due to this error:

    Code:
    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Seems like sometimes when it is running back to the mine it will get CLOSE to the mine but goes off path when it's near the mine(like one click away) and gets 'lost' and just sits there until the account logs due to inactiveness.


    Other then that I like the updated banking method, no longer gets 'stuck' trying to bank and the anti-ban is much less obnoxious.

  5. #5
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by iiNveRsioN View Post
    It is similar, it just uses a different method of banking and different anti-ban. It also has a different walk path.


    Anyways here's my update: I ran this script along 10 accounts for about 3 hours. 3/10 of them failed due to this error:

    Code:
    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    Seems like sometimes when it is running back to the mine it will get CLOSE to the mine but goes off path when it's near the mine(like one click away) and gets 'lost' and just sits there until the account logs due to inactiveness.


    Other then that I like the updated banking method, no longer gets 'stuck' trying to bank and the anti-ban is much less obnoxious.
    That isn't a error, just assuming that it's probably cause the script can't see the clay rocks after walking. Or if they're visible on screen then it's probably the colors not being the best
    Current Project: Retired

  6. #6
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Gucci View Post
    That isn't a error, just assuming that it's probably cause the script can't see the clay rocks after walking. Or if they're visible on screen then it's probably the colors not being the best
    Yeah, one two of the test accounts the rocks were visible on screen and it was spamming that. On the other one, it was about a click off away from the rocks.

  7. #7
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by iiNveRsioN View Post
    Yeah, one two of the test accounts the rocks were visible on screen and it was spamming that. On the other one, it was about a click off away from the rocks.
    Yeah it's the finding function/ colors on my phone so I can't look at the code :/
    Current Project: Retired

  8. #8
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Gucci View Post
    Yeah it's the finding function/ colors on my phone so I can't look at the code :/
    I believe this is what you want to see:

    Simba Code:
    Procedure MineClay; //Credits to Siel of Villavu for the V1.0+ MineClay procedure.
      var x, y, PlusOne, RockCounter: integer;
     begin
      if not LoggedIn then Exit;
       MakeCompass('N');
     SetAngle(SRL_ANGLE_HIGH);

    repeat
     FindNormalRandoms;
      PlusOne:= InvCount + 1
      WriteLn('Finding a rock to mine...');
    if FindObj(x, y, 'ocks', 7647960, 10) then //This finds the object, records the X and Y values,
     begin                                          //and tells the script to find the option "Rocks".
      WriteLn('Mining rock.');
       Mouse(x, y, 0, 0, true);
       ChooseOption('lay');  //This tells the script to left-click on the object and select "Clay".
      MarkTime(RockCounter);
    Antiban;
    repeat
     Wait(150);
      FindNormalRandoms;
     until (InvCount=PlusOne) Or (TimeFromMark(RockCounter) > 5000 + random(1000))
    if (InvCount=PlusOne) then
       Writeln ('Money $$ Money');
      end;
     until (InvFull); //This is an Until function. It stops the repeat function if the rock has been mined or your inventory is full.
    end;

  9. #9
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    Yeah seems like the FindObj is lacking use ACA and find some good colors and use FindObjCustom instead
    Current Project: Retired

  10. #10
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks guys its pretty basic yeah i gave credits to who i used bits from the rest i wrote my self with the error

    Code:
    Warning! You passed a wrong ys to a finder function: -5. That is below 0, thus out of bounds. Setting the value to 0 for now.
    try increasing the wait in the bank procedure between findnormalrandoms and open bank thats what happening to me and i increased that and problem solved maybe add half a sec ill muck around with it a bit more now i have a bit to go on from some tests thanks guys


    also wanting to add softening at the well in barb village just gotta find the time and learn more

  11. #11
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    updated tried to fix a few things changed the whole mining procedure and finding mining spot should be fixed now i hope haha

    im learning different ways of walking, getting there


    ugh update tested script walking is stuffed need to learn how to walk with something other than sps i think
    Last edited by benny999; 05-20-2012 at 01:05 PM.

  12. #12
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by benny999 View Post
    updated tried to fix a few things changed the whole mining procedure and finding mining spot should be fixed now i hope haha

    im learning different ways of walking, getting there


    ugh update tested script walking is stuffed need to learn how to walk with something other than sps i think
    Awesome, I'll run some more tests for you and see if I find anything.


    Update: Mining procedure works much better, however the SPS walking in draynor is buggy. When it walks back to the mine it for some reason decides to keep walking to the northeast into the farm fenced area probably every 1/10 times. I'm going out but when I get back I'm gonna throw your new mining procedure into the old Varrock path you had and see how that works.
    Last edited by iiNveRsioN; 05-21-2012 at 12:13 AM.

  13. #13
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cool yeah the new mining procedure should be a bit better i havent added failsafes to it yet just antirandoms, antiban, and it just clicks mine then waits 3 seconds or so, yet to add +1 inv count then and so on yeah sps is pretty buggy there dunno why it keeps clicking other places i haven't told it to i used path creator v0.9 so i dunno if its that gotta try a few diffrent things

  14. #14
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ugh not loving life
    when ever i run my test walking script i get this error
    Code:
    [Error] C:\Simbastable\Includes\ObjectDTM\ObjDTMInclude.simba(379:53): Unknown identifier 'MMCX' at line 378
    Compiling failed.
    i have attached a copy of the script if someone could look at it i thin its a issue with the objDTMIncude any way

  15. #15
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by benny999 View Post
    cool yeah the new mining procedure should be a bit better i havent added failsafes to it yet just antirandoms, antiban, and it just clicks mine then waits 3 seconds or so, yet to add +1 inv count then and so on yeah sps is pretty buggy there dunno why it keeps clicking other places i haven't told it to i used path creator v0.9 so i dunno if its that gotta try a few diffrent things
    I tried using your new mining procedure with your old varrock walking path since Draynor SPS walking is buggy and I start it at the mine and it mines a load then runs to the bank but when it gets back to the mine it says it can't find anything and logs out. Ideas? .. maybe I'm missing something.

    So, I'm back to using the first version with a few changes in wait times and I've ran 10 accounts for 4 hours straight with only 2 failing. Not bad.

  16. #16
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    cool thats good getting im working on objectDTM walking for draynor atm so get that working then ill touch up the mining

  17. #17
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    now im getting this error with trying to run my walking script

    i reinstalled my simba and everything trying to fix my last error dunno whats going on



    Code:
    Compiled successfully in 453 ms.
    SRL Compiled in 0 msec
    SMART Initialized.
    Loaded: Server 10, Members: True, Signed: True, Super Detail: False.
    The following DTMs were not freed: [SRL - Lamp bitmap, 1]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap]
    New window: 2164224
    [Error] C:\Simba\Includes\ObjectDTM\ObjDTMInclude.simba(379:53): Unknown identifier 'MMCX' at line 378
    Compiling failed.
    [Error] C:\Simba\Includes\ObjectDTM\ObjDTMInclude.simba(379:53): Unknown identifier 'MMCX' at line 378
    Compiling failed.

  18. #18
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I assume you have ObjectDTM installed? (dumb question, but gotta ask..)

    If not..

    http://villavu.com/forum/showthread.php?t=68112

  19. #19
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yeah just had the includes around the wrong way haha now gotta make it reliable

  20. #20
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    updates updates updates

  21. #21
    Join Date
    Dec 2011
    Posts
    100
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by benny999 View Post
    updates updates updates
    I'll test it out when I get home!

  22. #22
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i gave up on drynor mining spot the walking the bank is just way to buggy so im reworking the varrock banking area.


    ok load up the varrock script shortly

    now to learn the best way to use the fountain

  23. #23
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    running a lot better now been testing for about 3 hrs not hitches for me let me know if anyone else is having a issue and ill try my best to fix

    running 4 hrs now same account
    Last edited by benny999; 05-24-2012 at 01:38 PM.

  24. #24
    Join Date
    Feb 2012
    Posts
    92
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    working very nicely so far. Banks flawlessly have done about 15 loads. keep up the good work, much appreciated.

  25. #25
    Join Date
    Jun 2006
    Location
    Australia
    Posts
    62
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thanks bud i had it run for 6 hours the other night just trying to make the walking a bit more fail safe



    edit: need more people to test the new version to see if theres anymore errors i wanna see if i can get

    srl membership with it what do people think i need to add for it?
    Last edited by benny999; 05-28-2012 at 11:01 AM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Posting Permissions

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