PDA

View Full Version : [Thieving] [AeroLib] Master Farmer Thiever (1st script)



jstemper
08-11-2015, 05:58 PM
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

captainblast
08-11-2015, 06:19 PM
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.

anth_
08-11-2015, 09:12 PM
And I just made my silk stealer... I'll be using this ;) Congratulations on your first release!

AFools
08-12-2015, 06:13 AM
Good Job on the Release. Will give this a go.

sk80rdie76
08-16-2015, 12:42 AM
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.

jstemper
08-16-2015, 12:50 AM
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

rugby44
08-17-2015, 06:18 PM
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.

jstemper
08-17-2015, 11:42 PM
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

hakishakataki
09-24-2015, 10:46 PM
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==');

K1llerRogue
09-28-2015, 05:22 PM
Working great! Thanks a bundle!

Nxtahata
09-29-2015, 06:22 PM
+++Best working script ever :P

hakishakataki
09-30-2015, 01:28 AM
careful guys, I got a ban while using this script

26755

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.

jstemper
09-30-2015, 05:13 AM
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

Dan the man
09-30-2015, 06:48 AM
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.php?t=108953&page=17&p=1359301#post1359301

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

jstemper
09-30-2015, 08:53 PM
If you want to add some paint to this bad boy in Aerolib look at this post: https://villavu.com/forum/showthread.php?t=108953&page=17&p=1359301#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 :p which anth edited hehe

Dan the man
09-30-2015, 11:15 PM
that paint was made by me :p which anth edited hehe

Ahh very nice :D

It works a treat!

kylerodgers1994
11-26-2015, 10:51 PM
will use, just need to get the thieving level required lol

syaak
12-16-2015, 05:14 AM
brilliant

Heterodox
02-20-2016, 11:29 PM
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:



procedure sharkFix(); //Declare this wherever you want, eg. in SetUp

begin
sharks.Name := 'Shark';
sharks.DTM := DTMFromString('mlwAAAHicY2dgYDjPxMBwDIhPAvENIL4DZd 8E4lmMDAzLgXgyEE8B4sVAPJsRIp4VZM2wpD0PTIe6WTHUpIcw 9JXGM0yvTmOQBJqLCzPiwVAAAIfiEzQ=');
end;


Usage further down:



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:



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.

nacho75
02-21-2016, 01:30 AM
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

toxjq
06-21-2016, 03:05 AM
good script can be a bit better with the antiban i think :)

jstemper
06-21-2016, 06:34 AM
I really need to update this

fanatickburr38
12-10-2016, 05:31 AM
When i press play i get
"Error: Expected variable of type "Int32", got "AnsiString" at line 510, column 13 at line 510"

Tr0yBot
02-17-2017, 07:34 PM
Same. Would be great to see this fixed/update^

Gitface
08-19-2017, 02:32 PM
Tested, seems to be going ok so far!

ghost619
04-03-2018, 08:05 AM
getting this error when i try to run it.
Error: Unknown declaration "findblackmessageMulti" at line 337
Compiling failed.

evasiv
04-03-2018, 04:20 PM
getting this error when i try to run it.
Error: Unknown declaration "findblackmessageMulti" at line 337
Compiling failed.

Have you tried updating aerolib?

evasiv
04-03-2018, 04:21 PM
anyone got the banhammer with this already?

brosenbe92
12-10-2018, 01:41 AM
Looks like this error is common:

Error: Unknown declaration "findblackmessageMulti" at line 337
Compiling failed.

Does this have to do with AeroLib or is there something wrong with the script?

Dan the man
12-10-2018, 02:40 AM
Would more than likely be Aerolib.