PDA

View Full Version : [AeroLib] Davi's Tanner



Davi
05-05-2015, 09:56 PM
Key Features

Tans hides in Al Kharid
Opens the door to the tanning place - New and improved
Tons of gold per hour
Many many fail safes, it will log you out if it gets stuck.
Antiban between runs.
A paint to show you the status
100% color


Requirements:
Newest AeroLib (https://villavu.com/forum/showthread.php?t=108953)
Newest Simba


Set up

Start in Al Kharid bank with hides in bank and money in hand (Or in bank if you want...) Automatically stops if you run out of materials.

Make sure your brightness is on max, Interpreter is Lape.

Please report any bugs or post programs below.

Changelog


v1.02: Fixed cs_color... error. Thanks to captainblast for fixing it while I was away.

v1.01: Improved finding the NPC, added random dismissing and fixed ATPA sorting

v1 : Release

Progress Reports

http://i.imgur.com/gfrfpFT.png

HawkerArcher
05-06-2015, 05:09 AM
Hey, I'm new to using this, mind helping me out?

When I run your script I get this and then a bunch of folder popups and cmd popup, then nothing happens



Failed To Find Java.exe or Javaw.exe. Please add ...\JRE\Bin to your PATH environment variable.
Best world found: 84
Error while finding Java, using default path
** Smart Cannot Spawn Clients **
Thanks for using Davi's Tanner. Ran for: 41 Seconds
Successfully executed.


Edit: after a few minutes a Smart v8.3 client loads up, but nothing happens.


Edit2: managed to get it to work, but it just logs in, searches for coins, searches for cowhide, then says it can't find it and logs out

Davi
05-06-2015, 06:38 AM
Hey, I'm new to using this, mind helping me out?

When I run your script I get this and then a bunch of folder popups and cmd popup, then nothing happens



Failed To Find Java.exe or Javaw.exe. Please add ...\JRE\Bin to your PATH environment variable.
Best world found: 84
Error while finding Java, using default path
** Smart Cannot Spawn Clients **
Thanks for using Davi's Tanner. Ran for: 41 Seconds
Successfully executed.


Edit: after a few minutes a Smart v8.3 client loads up, but nothing happens.


Edit2: managed to get it to work, but it just logs in, searches for coins, searches for cowhide, then says it can't find it and logs out

Is your brightness set to max? The script will also terminate if your coin stack is less than 1000 as a safety precaution.

HawkerArcher
05-06-2015, 08:33 AM
Brightness set to max, works perfectly now, tyvm :)

Also, do you know approximately how long I can run this for before being banned?

Davi
05-06-2015, 09:04 AM
Brightness set to max, works perfectly now, tyvm :)

Also, do you know approximately how long I can run this for before being banned?

No idea, it's 100% colour so you'd have to be manually reported / detected.

Harrier
05-06-2015, 12:47 PM
No idea, it's 100% colour so you'd have to be manually reported / detected.

The automated detection system (botwatch) can detect color scripts.

Emin
05-06-2015, 01:16 PM
Getting this error :

Error: Unknown declaration "WithdrawItem" at line 539
Compiling failed.

Thank you for the script tho :)

Lipcot
05-06-2015, 01:44 PM
Getting this error :

Error: Unknown declaration "WithdrawItem" at line 539
Compiling failed.

Thank you for the script tho :)

make sure to update aerolib..

Davi
05-06-2015, 02:03 PM
The automated detection system (botwatch) can detect color scripts.

From what I hear botwatch is very basic - detecting patterns, and clicking the same pixel etc. That shouldn't be a problem.

Emin
05-06-2015, 02:08 PM
Thanks! Gonna test it out later

Rlp
05-06-2015, 03:25 PM
will test it out when i have the chance and post back on progress.

Thanks

Theron
05-06-2015, 08:06 PM
Got two of my accounts banned, only tanned about 6k hides each. gg.

Davi
05-07-2015, 04:37 AM
Got two of my accounts banned, only tanned about 6k hides each. gg.

That's interesting, maybe your IP is flagged?

Theron
05-07-2015, 05:00 AM
not a chance, first accounts banned in months and i practically bot 24/7 on at least 3 accounts at all times.

think you could throw a script together that combines soda ash and buckets of sand into molten glass at a furnace in al kharid or falador? used your buyer on my ironman and now i need some crfting experience :D

Davi
05-07-2015, 06:25 AM
not a chance, first accounts banned in months and i practically bot 24/7 on at least 3 accounts at all times.

think you could throw a script together that combines soda ash and buckets of sand into molten glass at a furnace in al kharid or falador? used your buyer on my ironman and now i need some crfting experience :D

I actually have one for falador, it's just a bit buggy so I never released it, I'll touch it up and release it. I'm surprised of all my scripts THIS one is the one that got you banned- It's probably the best coded of them all.

HawkerArcher
05-07-2015, 10:13 AM
Your script has tanned me about 10k hides so far, no bans yet

Davi
05-07-2015, 11:06 AM
Your script has tanned me about 10k hides so far, no bans yet

Posting your proggies would be appreciated.

I'm working on 1.01 with improved ATPA sorting, antiban and dismissing randoms

HawkerArcher
05-07-2015, 11:32 AM
Posting your proggies would be appreciated.

I'm working on 1.01 with improved ATPA sorting, antiban and dismissing randoms

How do I get that?

Davi
05-07-2015, 02:31 PM
How do I get that?

If you're talking about the programs it's the thing on screen that tells you what's happening- If you can't see it then enable debugging.

For 1.01 it's not out yet.

Theron
05-07-2015, 04:59 PM
I actually have one for falador, it's just a bit buggy so I never released it, I'll touch it up and release it. I'm surprised of all my scripts THIS one is the one that got you banned- It's probably the best coded of them all.

thanks!

xujnea
05-09-2015, 11:11 PM
depositAllFrom(RandomRange(2, 28));

Would be more randomness overall :P

Davi
05-10-2015, 03:36 PM
thanks!

Haven't had time to even look at it yet, I'm pretty swamped IRL


depositAllFrom(RandomRange(2, 28));

Would be more randomness overall :P

It would be, but if they had a varied number of items in their inventory (As opposed to just one type) It wouldn't always deposit them all.

Version 1.01 is now released.

xujnea
05-10-2015, 03:52 PM
Version 1.01 is now released.

When you try to start your script,it do not let you to add nickname. You can just add numbers and they are hidden,like pass or pin. Needs a litte fix ;)

Davi
05-10-2015, 04:19 PM
When you try to start your script,it do not let you to add nickname. You can just add numbers and they are hidden,like pass or pin. Needs a litte fix ;)

V1.01 is now fixed.

mur205
05-10-2015, 05:00 PM
When ever i try to run this script i get this error: Exception in Script: Unknown compiler directives at 6:3

Hyperion
05-10-2015, 05:56 PM
When ever i try to run this script i get this error: Exception in Script: Unknown compiler directives at 6:3

You using Lape?
If not, set your interpreter to Lape on, what I think is, the "Script" tab.

mur205
05-10-2015, 07:27 PM
You using Lape?
If not, set your interpreter to Lape on, what I think is, the "Script" tab.

thanks, works but when ever it tries to take out the cowhide and the cash it search for it find it but then doesnt take it out
HELP

Solar
05-10-2015, 07:48 PM
thanks, works but when ever it tries to take out the cowhide and the cash it search for it find it but then doesnt take it out
HELP

Are you using the brightest lighting setting on Runescape?

mur205
05-10-2015, 08:16 PM
how do you set it to brightest? sorry this is my first time using simba

Hyperion
05-11-2015, 05:02 AM
how do you set it to brightest? sorry this is my first time using simba

Brightest settings on RUNESCAPE, not Simba.
Go to your settings, put brightness on max and give it a shot.

Davi
05-12-2015, 09:55 AM
My interfaces include is no longer required as it was included in the latest version of AeroLib

Davi
05-15-2015, 11:00 PM
Error: Unknown declaration "TANNINGSCREEN" at line 829
Compiling failed.

Tried to run the script and had gotten this compiling error. I'm unsure of what i've done incorrectly

Update AeroLib

vacacow1
05-17-2015, 11:02 PM
Works awesome managed to run it for over 3 hours straight

Great job

qntn
05-18-2015, 02:19 PM
Been running this on my new account for some starting cash, it's been flawless! Really well made script, nice work!

rickhunley
05-19-2015, 09:36 PM
Is it possible to make one for RS 3 please? There is one for Jack, but he only does cowhides, not Royal dhide. I'd appreciate it and give you whatever you want!! :)

rickhunley
05-21-2015, 10:17 AM
Thanks for the script @Davi, works flawlessly from what I can tell.

I'll edit this post to include what I think would be nice developments.

1) Logout break with variance.
2) Ability to save player information without having to enter all the time.
3) Hop world at X varied time.
4) Add ability to add energy potion to one slot, and click it if energy falls to 0%.
5) Have the ability to give Dani kudos every 10,000 successful tans.
6) Anti-ban 100000%.

First proggie, lasted for 20 minutes until script could not find banker. Perhaps next update to create an entry where camera rotates and then tries again a few more times?

Thanks :)

Davi
05-21-2015, 05:20 PM
Thanks for the script @Davi, works flawlessly from what I can tell.

I'll edit this post to include what I think would be nice developments.

1) Logout break with variance.
2) Ability to save player information without having to enter all the time.
3) Hop world at X varied time.
4) Add ability to add energy potion to one slot, and click it if energy falls to 0%.
5) Have the ability to give Dani kudos every 10,000 successful tans.
6) Anti-ban 100000%.

First proggie, lasted for 20 minutes until script could not find banker. Perhaps next update to create an entry where camera rotates and then tries again a few more times?

Thanks :)

It should already rotate looking for the banker for up to (20 or 10 I can't remember) seconds.
What kind of antiban?

rickhunley
05-21-2015, 05:41 PM
@Davi,

I did about 12,000 tans no problem. After update I'm getting errors such as can't find tanner, and can't find banker.

I also get this error when trying to start the script :(

Please help! :) Thanks

http://i.imgur.com/HORy8cT.png

Davi
05-21-2015, 06:44 PM
@Davi,

I did about 12,000 tans no problem. After update I'm getting errors such as can't find tanner, and can't find banker.

I also get this error when trying to start the script :(

Please help! :) Thanks

http://i.imgur.com/HORy8cT.png

I'm guessing this is due to runescapes current connection problems. It will time out while opening the bank and tanner due to lag, it also can fail to find the applet due to lag.

rickhunley
05-21-2015, 08:01 PM
I'm guessing this is due to runescapes current connection problems. It will time out while opening the bank and tanner due to lag, it also can fail to find the applet due to lag.

Thanks for that :) It's working again now ^_^

I will take a look at the antiban available, something like a logout variation between a variation time.

i.e.: Logout ~200
Variation ~14

And random camera angles etc etc. Looks like the path and actions are very bot like at the moment, which I like cause I get max $, but I fear the bot hammer! :P

rickhunley
05-22-2015, 05:17 AM
Hi @Davi,

I found this https://villavu.com/forum/showthread.php?t=113032&page=3.

You could add Zalmoxius's code to this script as if you disconnect (quite high frequency now), then the pathway sometimes gets corrupted. Looks like this should fix it.

Another addition could be to allow for PlayerManager, so user details don't always have to be entered :)

Keep up the good work

Davi
05-23-2015, 02:37 AM
Hi @Davi,

I found this https://villavu.com/forum/showthread.php?t=113032&page=3.

You could add Zalmoxius's code to this script as if you disconnect (quite high frequency now), then the pathway sometimes gets corrupted. Looks like this should fix it.

Another addition could be to allow for PlayerManager, so user details don't always have to be entered :)

Keep up the good work

Why don't you add it to your own version hunley? :) It looks complicated but it's basically an if statement that checks if your inventory is full - if it is, it goes back to the bank, if not it goes to the altar.

In terms of my script it would look something like


if not player.isLoggedIn then
begin
loginPlayer(False);
if outofMats(itemList) then
begin
if checkDoor then
begin
RSW.WalkPath(ellisToDoor);
openDoor;
RSW.WalkPath(doorToBank);
end else
RSW.WalkPath(ellisToBank);
end else
begin
if checkDoor then
begin
RSW.WalkPath(bankToDoor);
openDoor;
RSW.WalkPath(doorToEllis);
end else
RSW.WalkPath(bankToEllis);
end;
end;


As to why I'm not just adding that to the script and calling it an update- It's because this was the last of what I will call my '1st generation' scripts. Since writing this I have updated the way I do certain things and until I have time to update the whole script I don't want to push an update.

Edit: Actually since my script is not modular like Flight's the full version you would need to use would be:


if not player.isLoggedIn then
begin
loginPlayer(False);
if outofMats(itemList) then
begin
draw('Walking to bank');
if checkDoor then
begin
RSW.WalkPath(ellisToDoor);
openDoor;
RSW.WalkPath(doorToBank);
end else
RSW.WalkPath(ellisToBank);
end else
begin
draw('Walking to Ellis');
if checkDoor then
begin
RSW.WalkPath(bankToDoor);
openDoor;
RSW.WalkPath(doorToEllis);
end else
RSW.WalkPath(bankToEllis);
tanHides;
customAnti;
draw('Walking to bank');
if checkDoor then
begin
RSW.WalkPath(ellisToDoor);
openDoor;
RSW.WalkPath(doorToBank);
end else
RSW.WalkPath(ellisToBank);
end;
end;

RSClassic
06-21-2015, 06:49 PM
Hey, thank you for this script but when I try to run it, it does some strange things:

It searches my bank for coins, then searches for cowhides and then proceeds to log out?

*I am not out of materials*

RSClassic
06-21-2015, 08:13 PM
It has now tanned 1 inventory for me and went back to thinking I was out of materials and logged me out.

Please help!

RSClassic
06-21-2015, 08:14 PM
The script is unable to bank the tanned items.

Harrier
06-21-2015, 08:36 PM
Use the edit button, don't triple post.

spyrobuddy
06-28-2015, 08:53 PM
getting a error at line 544

teddybear
07-02-2015, 01:10 PM
where can i get aerolib? it says its missing o.O

Spoola
07-12-2015, 09:21 PM
where can i get aerolib? it says its missing o.O

https://villavu.com/forum/showthread.php?t=108953

captainblast
07-14-2015, 09:50 PM
With the new aerolib update, cs_findcolortolerance was removed or something, causing this error to come up when compiling.

Error: Unknown declaration "cs_FindColorsSpiralTolerance" at line 544

For the function findobject.



function findObject(COL, TOL, PIXELS : Integer; HUE, SAT : Extended): Boolean;
var
TPA: TPointArray;
ATPA: T2DPointArray;
I: Integer;
box: TBox;
x,y: Integer;
begin
if not cs_FindColorsSpiralTolerance(x, y, TPA, COL, TOL, intToBox(MSX1, MSY1, MSX2, MSY2), cs_ToColorSettings(2, HUE, SAT)) then
exit;
ATPA := ClusterTPA(TPA, 10);
SortATPAFromMidPoint(ATPA, Point(MSCX, MSCY));
if (length(ATPA) <= 0) then
begin
result := False;
exit;
end;



So has to be re-written with:


WhatEver.Create(Col, Tol, Hue, Sat);
if not WhatEver.FindAllIn(Area_MS, TPA) then
Exit(False);



edit: Fixed it thanks to help from harrier and swag. To fix any color tolerance errors you guys get, replace the function findobject above with




function findObject(COL, TOL, PIXELS: Integer; HUE, SAT: Extended): Boolean;
var
WhatEver: TColEx; //declaring TColEx
TPA: TPointArray;
ATPA: T2DPointArray;
I: Integer;
box: TBox;
x, y: Integer;
begin
WhatEver.Create(Col, Tol, Hue, Sat); //Creating it
if not WhatEver.FindAllIn(Area_MS, TPA) then //Finding the colours and it returning a TPA
Exit(False); //If it finds no pixels with the matching colours it exits out returning false
ATPA := ClusterTPA(TPA, 10);
SortATPAFromMidPoint(ATPA, Point(MSCX, MSCY));
if (length(ATPA) <= 0) then
begin
result := False;
exit;
end;

wotiskebab
08-05-2015, 02:45 PM
When I start the script Smart8.3 loads up but nothing happens, any ideas?

pogoria
08-15-2015, 05:14 PM
it cant find materials

Opera
08-18-2015, 08:21 AM
SMART will launch and open but the screen is frozen until I start highlighting buttons over and over. Also, the script won't run.

trollzorie
08-25-2015, 04:00 PM
Yo! The bot works great for me! But my account just got banned :mad: I guess there's always a risk :( Really thought that this bot wouldn't get you banned.

Aufi
08-25-2015, 07:45 PM
Yo! The bot works great for me! But my account just got banned :mad: I guess there's always a risk :( Really thought that this bot wouldn't get you banned.

How long did you use it for? Did you use anything else before this script? If yes, don't always assume the last script you used is the one that got you banned.

Davi
10-24-2015, 02:05 AM
Just quickly updated this. Copy pasted captainblast's code snippet and changed the name of the TColEx xD

wharrblgarbl
12-03-2015, 05:46 AM
Getting an error when running

Error: Expected variable of type "Int32", got "AnsiString" at line 867, column 13 at line 867
Compiling failed.

line 867: RSW.Init('surface', 'WorldMap', OS_SMART.ID);

using latest version of AeroLib

springfire
12-09-2015, 03:55 PM
getting also the error line 867: RSW.Init('surface', 'WorldMap', OS_SMART.ID);

KingGriny
12-10-2015, 11:17 PM
Also getting the error
Error: Expected variable of type "Int32", got "AnsiString" at line 931, column 17 at line 931
Compiling failed.

Element17
12-31-2015, 06:16 PM
Also getting the error
Error: Expected variable of type "Int32", got "AnsiString" at line 931, column 17 at line 931
Compiling failed.




RSW.Init('surface', 'WorldMap', OS_SMART.ID);

to


RSW.Init('WorldMap', OS_SMART.ID);

Hellzonee
01-02-2016, 05:12 AM
Is there any way to make a separate script to collect hides from cows? For example, the primary goal for the script would be to get hides if they are available on the ground and if there are none available, attack a cow to kill and get the hide.

Im new and just getting back into rs (and incidentally just discovered simba) so pardon me if such a script already exists.

Rein5
04-19-2016, 04:15 PM
Got my member account banned after tanning roughly 5k hides over 2 days. The way this bot runs is very bait and I was 100% sure it would result in a ban... and it did. Jeej.

ShadowsTM
04-19-2016, 05:29 PM
Got my member account banned after tanning roughly 5k hides over 2 days. The way this bot runs is very bait and I was 100% sure it would result in a ban... and it did. Jeej.

I also received a 2 day ban on one of my member accounts, however the script is old so it is to be expected, I'm thinking of making a new one however it may just be a hotspot for bans due to goldfarming.

Rein5
04-20-2016, 04:52 AM
I also received a 2 day ban on one of my member accounts, however the script is old so it is to be expected, I'm thinking of making a new one however it may just be a hotspot for bans due to goldfarming.

I got permanently banned :spot:

Wolly
05-04-2016, 10:41 AM
Getting this error.
"[AL] Initiating AeroLib...
[AL] Checking version...
Error: "1.2" is an invalid float at line 138
Execution failed." I have the newest AeroLib... :)

ShadowsTM
05-07-2016, 01:57 PM
Use this at your own risk, very high ban rate at the minute.

Mamma
05-24-2016, 09:27 PM
Error: "1.2" is an invalid float at line 138 Help PLEASE!