Results 1 to 24 of 24

Thread: [AeroLib] Master Farmer Thiever (1st script)

  1. #1
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    468
    Mentioned
    5 Post(s)
    Quoted
    209 Post(s)

    Default [AeroLib] Master Farmer Thiever (1st script)

    Master Farmer Thiever



    Background

    This script is really just a compilation of what I have learned over the past couple weeks (really starting to get into learning how to script). Please leave positive feedback and constructive criticism. If you know a better way on how to go about a certain script procedure please do not hesitate to tell me, I love to learn.

    What it does

    - Pickpockets the Master Farmer in draynor village for seeds and xp
    - Eats food (supports lobster, tuna, swordfish, trout, salmon, and shark)
    - Banks
    - Usually knows when stunned and waits
    - Decent Anti Ban

    Requirements

    - 38 Thieving
    - AeroLib Include: https://villavu.com/forum/showthread.php?t=108953
    - Latest version of SMART and Simba.

    Instructions

    - Start script at draynor bank
    - *Important* do not wear anything yellow (interferes with stun detection)
    - *Important* make sure withdraw-x is set to withdraw-8, and make sure food is visible in bank

    Credits

    - Hoodz for letting me use his eating procedure
    - Jelknab's script for inspiring me to make my own working one (and borrowing some pick pocketing logic from his)

    To do

    - Proggy
    - Better Stun detection
    - Even more Randomized walking
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2013
    Location
    Earth some place
    Posts
    108
    Mentioned
    2 Post(s)
    Quoted
    65 Post(s)

    Default

    Nice release man! I'll give her a shot later and see how it is running. Good to see a thieving script :] good work man.
    "We're all someone else to someone else." - Calvin & Hobbes.
    A story of life. Inside everyone are two wolves. It is a terrible fight. One is evil, one is good. Which one wins? The one you feed.

  3. #3
    Join Date
    Oct 2011
    Location
    England
    Posts
    345
    Mentioned
    8 Post(s)
    Quoted
    152 Post(s)

    Default

    And I just made my silk stealer... I'll be using this Congratulations on your first release!
    Yer a wizard, 'oopi

  4. #4
    Join Date
    Apr 2013
    Posts
    661
    Mentioned
    12 Post(s)
    Quoted
    334 Post(s)

    Default

    Good Job on the Release. Will give this a go.

    <------------------>



  5. #5
    Join Date
    Oct 2006
    Posts
    313
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    tested out this script, works great. noticed though a few times it could not find the bank and was hovering around the poll booth, script terminated due to unable to find bank. other than that works pretty well.

  6. #6
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    468
    Mentioned
    5 Post(s)
    Quoted
    209 Post(s)

    Default

    Quote Originally Posted by sk80rdie76 View Post
    tested out this script, works great. noticed though a few times it could not find the bank and was hovering around the poll booth, script terminated due to unable to find bank. other than that works pretty well.
    Ah yeah that happened sometimes, the colors on it must have been similiar. You could increase the termination time to like 30 seconds instead of 10 to see if that helps, but if it keeps hovering the same object that isnt the bank then that wont help

  7. #7
    Join Date
    Jul 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    It works very well for me. It ran for 2 hours and I stopped it myself. You should add a progress report to the script so we can post results here.

  8. #8
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    468
    Mentioned
    5 Post(s)
    Quoted
    209 Post(s)

    Default

    Quote Originally Posted by rugby44 View Post
    It works very well for me. It ran for 2 hours and I stopped it myself. You should add a progress report to the script so we can post results here.
    extremely glad to hear that it helped someone, that means a lot to me. I plan on adding a progress report and maybe a seed counter when I get back from vacation, cheers

  9. #9
    Join Date
    Apr 2014
    Posts
    314
    Mentioned
    0 Post(s)
    Quoted
    129 Post(s)

    Default

    It's working really well. I've got it running for 4 or so hours atm. A break feature would complete this script nicely.

    Here is a DTM for monkfish.

    Monkfish := DTMFromString('mbQAAAHicY2VgYLBjZmCwBOIQIDaD0tcZGR juAPFdIL4ExKeBOC/KC6iaEQWzAkl0zIgFgwEAFdQG0A==');
    If all pork-chops were perfect, we wouldn't have hot-dogs.

  10. #10
    Join Date
    Feb 2013
    Location
    Vatican City
    Posts
    42
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    Working great! Thanks a bundle!
    You have to be realistic.

  11. #11
    Join Date
    Nov 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    +++Best working script ever :P

  12. #12
    Join Date
    Apr 2014
    Posts
    314
    Mentioned
    0 Post(s)
    Quoted
    129 Post(s)

    Default

    careful guys, I got a ban while using this script

    4deacfca62222fc828e9f9b81e562273.png

    The script itself, I don't think is detectable however...

    I had the script running yesterday and i came back to it to find that one of the guards was attacking me while my character was trying to pickpocket the farmer. Incase you don't know, you cant pickpocket when being attacked. I think what happened was that the script miss clicked on a stall and the guard saw me. I'm not sure if I got reported or that the script was detected somehow by this event.
    If all pork-chops were perfect, we wouldn't have hot-dogs.

  13. #13
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    468
    Mentioned
    5 Post(s)
    Quoted
    209 Post(s)

    Default

    wow guys I am glad this is getting some use.. haven't been on the forums in a while, really want to update/improve my scripts but can't promise anything... Still want to add a seed counter and paint for this. Also maybe an in fight failsafe

  14. #14
    Join Date
    Jan 2012
    Location
    Sydney, NSW, Australia
    Posts
    506
    Mentioned
    9 Post(s)
    Quoted
    198 Post(s)

    Default

    Quote Originally Posted by jstemper View Post
    wow guys I am glad this is getting some use.. haven't been on the forums in a while, really want to update/improve my scripts but can't promise anything... Still want to add a seed counter and paint for this. Also maybe an in fight failsafe
    If you want to add some paint to this bad boy in Aerolib look at this post: https://villavu.com/forum/showthread...01#post1359301

    I couldn't figure out how to do it (what the commands were) and Anth_ was nice enough to answer it for me.

  15. #15
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    468
    Mentioned
    5 Post(s)
    Quoted
    209 Post(s)

    Default

    Quote Originally Posted by Dan the man View Post
    If you want to add some paint to this bad boy in Aerolib look at this post: https://villavu.com/forum/showthread...01#post1359301

    I couldn't figure out how to do it (what the commands were) and Anth_ was nice enough to answer it for me.
    that paint was made by me which anth edited hehe

  16. #16
    Join Date
    Jan 2012
    Location
    Sydney, NSW, Australia
    Posts
    506
    Mentioned
    9 Post(s)
    Quoted
    198 Post(s)

    Default

    Quote Originally Posted by jstemper View Post
    that paint was made by me which anth edited hehe
    Ahh very nice

    It works a treat!

  17. #17
    Join Date
    Nov 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    will use, just need to get the thieving level required lol

  18. #18
    Join Date
    Dec 2015
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    brilliant

  19. #19
    Join Date
    Jan 2012
    Location
    Sweden
    Posts
    32
    Mentioned
    0 Post(s)
    Quoted
    20 Post(s)

    Default

    Thank you very much for this script!

    There were some problems, and I've made some really dirty quick fixes for a couple of them. The first problem was that the script wouldn't withdraw my sharks properly, so I used aerolib's withdrawItem function instead like this:

    Code:
    procedure sharkFix(); //Declare this wherever you want, eg. in SetUp
    
    begin
      sharks.Name := 'Shark';
      sharks.DTM := DTMFromString('mlwAAAHicY2dgYDjPxMBwDIhPAvENIL4DZd8E4lmMDAzLgXgyEE8B4sVAPJsRIp4VZM2wpD0PTIe6WTHUpIcw9JXGM0yvTmOQBJqLCzPiwVAAAIfiEzQ=');
    end;
    Usage further down:

    Code:
    if FindDTM(FoodDTMs[z], x, y, msx1, msy1, msx2, msy2) then // <-- problem occurs here I think
        begin
        //HumanMMouse(Point(x, y), 4, 3);
        //if WaitUpTextMulti(['Withdraw', '5'], 400) then
        //fastClick(Mouse_Right);
        //waitOption('Withdraw-8', 250);
        WithdrawItem(sharks, 5);
        break(); //stops the itteration if food is found and withrew.
      end else if z=high(FoodDTMs) then
    There was also a rather serious bug (actually a direct consequence of failing to withdraw food) causing the script to constantly click the deposit-all button. A simple condition to check if the inventory is empty or not should fix that:

    Code:
    if not(isInvEmpty) then
        quickDeposit('inventory');
    end;
    Edit:

    There is also a serious issue where the script will find the poll booth instead of the bank booth, and just spam right click it. The dirty solution to this would be to just rotate the screen so that the poll booth is not visible before banking, and I'm looking into how to achieve this atm.

    Edit2: adding setAngle(1) right before the banking should do the job for now. This really needs a fix, though, as it's bannable behaviour. If you add this in the banking procedure, you'll probably also want to add setAngle(0) somewhere else, like in ToMarket.
    Last edited by Heterodox; 02-21-2016 at 12:00 AM.

  20. #20
    Join Date
    Jan 2016
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I can not understand why in all the existing scripts and for having shown me this error and I can not solve
    https://gyazo.com/ec15bd2a52b4fae9cf7b1904d677af1c

  21. #21
    Join Date
    May 2013
    Posts
    203
    Mentioned
    1 Post(s)
    Quoted
    84 Post(s)

    Default

    good script can be a bit better with the antiban i think

  22. #22
    Join Date
    Jun 2013
    Location
    Scranton
    Posts
    468
    Mentioned
    5 Post(s)
    Quoted
    209 Post(s)

  23. #23
    Join Date
    Nov 2015
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    When i press play i get
    "Error: Expected variable of type "Int32", got "AnsiString" at line 510, column 13 at line 510"

  24. #24
    Join Date
    Feb 2017
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Same. Would be great to see this fixed/update^

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
  •