SRL Archive - RS3 Outdated / Broken Scripts

EoC - AIO Herblore


Wardancer

2012-11-24 21:19:47

I just decided to post one of my scripts here. I noticed there was no working herblore script at the moment so I decided to share mine. It's the first "real" script that I share publicly.

Setup
- Add your account information on your script, your choice of action (Pot or Clean).
- Have grimy herb/vial at the first bank slot.
- Have clean herb or secondary ingredient at the second bank slot.
- Have following ingredients in the subsequent slots if you want to do multiple tasks.

Features
- Currently only designed to work at GE.
- Clean herbs, make unfinished potions and finished potions.
- Will terminate by itself when you run out of ingredient, yet not subject to lag causing a messed up withdrawl.
- Can clean different type of herbs without having to start the script again.
- Same with unfinished potions.
- Antiban.

To be added IF THERE IS A DEMAND
- If there is a demand for it, I can make a progress report procedure. I personally never use those, but I won't mind spending 5 minutes on it if it's asked.
- Add other locations. Same comment as above.

Known bug
- None script based at the moment.

Version history
v2:
- Added Brown booth banking.
- Optimized banking speed.
- Fixed a small bug. Shouldn't log on to non member worlds anymore.
v2.1:
- Added a little something to forcekill the client after 5 hours 30 minutes and start a new one. Worked very well with small scale tests. Tell me how it goes.
v3:
- Added basic GE support to purchase supplies upon login and pick up these new supplies when you run low on ingredients. Beware the new basic anti-leech.

Credits to
- NKN for a few functions of the script. Mostly the general frame as well as the antiban which I just copied (with his permission).
- Everyone that helped me at one time or another by answering my questions.

Enjoy!

Sin

2012-11-24 21:20:54

You seem to love using records :p

Wardancer

2012-11-24 21:32:08

From: Shay
You seem to love using records :p


Haha, I realize it does seem to be "over the top" for such a simple script, but I find records for customized object finding to really help tidying up everything. It makes editing the script so much easier.

Sin

2012-11-24 21:35:52

Yup, this is nothing big nor important but you have an unused variable in a function.
Find it!

Wardancer

2012-11-24 21:39:13

I actually have a completely unused function… MakeDone. It's a function that was meant to click by itself when the production bar is done, but for some very unknown reason, sometimes, it clicked before the colour even changed to green, leaving 1-2 items not transformed.

The "i" at line 42 also is never used. I imagine that's the one you're referring to. Forgot to remove that one. The "i" was used before EoC though, I promise!

EDIT: For other people, don't try to find it. I removed it now =).

Sin

2012-11-24 21:46:07

Haha kk mate, keep releasing them scripts :p

Silentcore

2012-11-24 22:32:45

Nice work and keep it up.

Nufineek

2012-11-25 16:13:12

Looks great, will test it out asap. Btw do you think you could add soul wars bank chest?

Wardancer

2012-11-25 19:30:59

From: Nufineek
Looks great, will test it out asap. Btw do you think you could add soul wars bank chest?


I certainly could, but you have to convince me if the usefulness of that. People went to soul wars because they couldn't get into randoms at that place… but there are no more randoms now. If what you want is one click banking then any bank counter around runescape would do.

Flight

2012-11-25 19:50:09

Looking good mate, keep it up! :)

hackingislol133

2012-11-26 02:07:12

Stable and works great, finally won't have to relog to mix different herbs.

Any idea on what the unfs/hour is?

Edit: consider adding a login method as right now the script bounces between non-member/member worlds.

Nufineek

2012-11-26 03:04:16

From: Wardancer
I certainly could, but you have to convince me if the usefulness of that. People went to soul wars because they couldn't get into randoms at that place… but there are no more randoms now. If what you want is one click banking then any bank counter around runescape would do.


What about Varrok west then? The GE banking is extremely slow

Benny

2012-11-26 05:48:33

This looks good. I'll give it a test sometime this week.

Nice first public script :)

Faab68

2012-11-26 12:05:31

Nice script!
Working great and stable.
Had my own herblore script, but wasn't very stable, so thank you very much for making this! :)

Sax

2012-11-26 13:12:01

damn I was going to release a herb script too :(

Wardancer

2012-11-26 14:14:53

From: hackingislol133
Stable and works great, finally won't have to relog to mix different herbs.

Any idea on what the unfs/hour is?

Edit: consider adding a login method as right now the script bounces between non-member/member worlds.


I didn't bother to find out what the unf/hour is and would like if no one posts it here as I know it's slower than before EoC and I'd like not to get depressed.

The issue with non-member world should now be resolved. Please try version 2.0.

From: Nufineek
What about Varrok west then? The GE banking is extremely slow


Added a banking option for brown bank booths. Please refer to version 2.0. I have to warn you though. One click banking can be somewhat glitchy. I added a few failsafes, but I didn't have time to test them thoroughly. Please let me know if the script fails to bank because it has a herb selected or if you run around too much.

Also, banking has been optimized. The actual banking procedure was very fast, but a silly waiting time was slowing things. I suggest you to try GE banking again.

EDIT: Would like feedback on what I should add next. Eventually, I'd like to add both features, but as I have little time to work on this script and it'd take a few hours to polish, I want to tackle these issues one at a time.

Suggestion 1:
- Possibility to program multiple tasks beforehand and switch of mode (pot and unf) without having to touch the script. You would have the choice between doing a task until resources are depleted for this particular item or a set number has been made.
- What would I need to add to the script:
> DTMs for all potions, ingredients and herbs (if someone wants to make those DTMs or let me use theirs, it'd save a lot of time and these features would be available soon)
> Precise progress report
> A record for tasks

Suggestion 2:
- Grand exchange support, allowing automatic purchase and recovery of items. The public version would only support manual input of the price as a variable in the script (wouldn't want this feature to be abused).
- What would I need to add to the script:
> Over a dozen of already written GE functions and procedures I have.
> Thorough testing of these functions.

What would follow:
- The merge of the two ideas.
> Possibility to program tasks ahead and plan multiple purchases from the GE to go along with the task system.
> Recovered items from GE could be used right away without having to have them at a predetermined slot.
> Possibility to sell items you just made without needing them at a specific bank slot before the withdraw.

Please let me know what you'd like to see first. The suggestion 2 would be much faster for me if I let you guys do the testing.

Faab68

2012-11-26 15:31:22

Suggestion 2:
- Grand exchange support, allowing automatic purchase and recovery of items. The public version would only support manual input of the price as a variable in the script (wouldn't want this feature to be abused).
- What would I need to add to the script:
> Over a dozen of already written GE functions and procedures I have.
> Thorough testing of these functions.


This 1 defenitely in my opinion.
This would be so epic, and I think you would be the first one to implement it into a simba script!


Ps: V2 made it faster, great job on that.

Nufineek

2012-11-26 16:02:17

I'd love to test the new version but I started getting this error:

[Error] C:\Simba\Includes\SRL/SRL/core/gametab.simba(68:20): 'BEGIN' expected at line 67
Compiling failed.

Can anyone help?

Faab68

2012-11-26 16:06:16

From: Nufineek
I'd love to test the new version but I started getting this error:

[Error] C:\Simba\Includes\SRL/SRL/core/gametab.simba(68:20): 'BEGIN' expected at line 67
Compiling failed.

Can anyone help?


Do you have the latest version of Simba/SRL?
Try to update both to the latest version.
Also i get that sometime, and sometimes it is because i clicked the play button too fast after opening the script. Sounds weird, but try to wait 5 secs after opening the script, and then click on play.

Minor bug: Stopped working for no particular reason.
I don't have more info, but just saying. Pausing the script, and clicking on play after fixed it.

Nufineek

2012-11-26 16:14:31

From: Faab68
Do you have the latest version of Simba/SRL?
Try to update both to the latest version.
Also i get that sometime, and sometimes it is because i clicked the play button too fast after opening the script. Sounds weird, but try to wait 5 secs after opening the script, and then click on play.

Minor bug: Stopped working for no particular reason.
I don't have more info, but just saying. Pausing the script, and clicking on play after fixed it.


I'm all up to date, I also sometimes get it for no reason or starting it too fast but now I've tried it many times and I still get this error, no idea what could it be :/

Faab68

2012-11-26 16:37:54

From: Nufineek
I'm all up to date, I also sometimes get it for no reason or starting it too fast but now I've tried it many times and I still get this error, no idea what could it be :/



Try downloading the gametab from the Srl from the github.

https://github.com/SRL/SRL-5

Replace the downloaded gametab with the gametab you have at the moment.
I don't really know if it would work, but just thinking out loud here.

Also did you download the file in this thread, or just copied the script into simba? Try downloading the file in the thread.

Nufineek

2012-11-26 18:16:03

From: Faab68
Try downloading the gametab from the Srl from the github.

https://github.com/SRL/SRL-5

Replace the downloaded gametab with the gametab you have at the moment.
I don't really know if it would work, but just thinking out loud here.

Also did you download the file in this thread, or just copied the script into simba? Try downloading the file in the thread.


Ty for answer, idk what the issue was but just reinstalling simba helped :P

Wardancer

2012-11-26 18:22:59

From: Faab68
Minor bug: Stopped working for no particular reason.
I don't have more info, but just saying. Pausing the script, and clicking on play after fixed it.


What bank option were you using? I spent very little time (almost none) picking the colour for the bank booth so I wouldn't be surprised if many issues happened with this.

Nufineek

2012-11-26 18:26:18

From: Wardancer
I didn't bother to find out what the unf/hour is and would like if no one posts it here as I know it's slower than before EoC and I'd like not to get depressed.

The issue with non-member world should now be resolved. Please try version 2.0.

Added a banking option for brown bank booths. Please refer to version 2.0. I have to warn you though. One click banking can be somewhat glitchy. I added a few failsafes, but I didn't have time to test them thoroughly. Please let me know if the script fails to bank because it has a herb selected or if you run around too much.

Also, banking has been optimized. The actual banking procedure was very fast, but a silly waiting time was slowing things. I suggest you to try GE banking again.

EDIT: Would like feedback on what I should add next. Eventually, I'd like to add both features, but as I have little time to work on this script and it'd take a few hours to polish, I want to tackle these issues one at a time.

Please let me know what you'd like to see first. The suggestion 2 would be much faster for me if I let you guys do the testing.


Tyvm for adding the bank option, but the GE banking works very well with the update althought it's still possible to fastern it a bit more, especially the waiting time after making the pots, before clicking on a banker. Atm it makes about 1600 unf pots/hour which is quite decent after the update. Not sure about cleaning herbs. I'll keep posting reports.

But the script is really nice! keep on :)

Faab68

2012-11-26 19:56:41

From: Wardancer
What bank option were you using? I spent very little time (almost none) picking the colour for the bank booth so I wouldn't be surprised if many issues happened with this.


I was using Varrock west bank, because for some reason, Ge didn't work for me anymore.
I would advise to let the bot click ''done'' faster, because it will fail quite alot.
It does so by pressing where ''done'' was, but the interface already closed, so it would let the character 1 step to the right, and after that it will bank.
Looks bott'ish though, so i would suggest, clicking the button faster, or don't click the button at all.


Edit: I would suggest adding progress reports, because that can give you pointers on when to reload Smart, so you won't get bothered by 6h relog

Wardancer

2012-11-26 20:14:52

From: Faab68
I was using Varrock west bank, because for some reason, Ge didn't work for me anymore.
I would advise to let the bot click ''done'' faster, because it will fail quite alot.
It does so by pressing where ''done'' was, but the interface already closed, so it would let the character 1 step to the right, and after that it will bank.
Looks bott'ish though, so i would suggest, clicking the button faster, or don't click the button at all.


Replace the line 168 with "WaitFunc(@MakeDone, 10, 20000);". This will click on done and it's colour based. The only problem I was having is that it clicks before it's over, leaving 1-2 items unchanged, but that would solve your problem.

Faab68

2012-11-26 20:20:11

From: Wardancer
Replace the line 168 with "WaitFunc(@MakeDone, 10, 20000);". This will click on done and it's colour based. The only problem I was having is that it clicks before it's over, leaving 1-2 items unchanged, but that would solve your problem.



Oki, thanx for fix.
I've editted my last message but i'll type it again:
I would suggest adding progress reports, because it's alot easyer to restart Smart at the right time, avoiding the 6h log.

Wardancer

2012-11-26 21:11:54

From: Faab68
Oki, thanx for fix.
I've editted my last message but i'll type it again:
I would suggest adding progress reports, because it's alot easyer to restart Smart at the right time, avoiding the 6h log.


I never considered using progress reports this way (I don't look at other people's scripts much). Thank you for this bright idea. Should be quite simple to MarkTime… I'll look into this soon. I'm not familiar with smart commands.

I might as well advertise for another script I just posted. Was a short project I decided to work on today. I just wanted to test a few things. I consider it to be fairly low quality, but it might be of use to some. It's a tanner: http://villavu.com/forum/showthread.php?p=1132918#post1132918

Faab68

2012-11-26 23:52:29

saw your post:
http://villavu.com/forum/showthread.php?p=1130525#post1130525


Is there any way to implement this in the script, and if there is, could u teach me?
I'm trying to understand the simba language, but I am not really good at it.
As told before, 2 days ago I managed to tweak a script, but it wasn't really stable.
Plus it would be awsome to have this in the script.


Btw thank you for giving me the fix for the ''done'' button. script works like a charm now!

Nufineek

2012-11-27 09:34:13

Btw, it still walks quite alot when banking at GE

Wardancer

2012-11-27 13:08:05

From: Nufineek
Btw, it still walks quite alot when banking at GE


Make sure that the banker isn't covered by anything. I don't have this issue on my side.

Paradox122

2012-11-27 13:26:35

I absolutely cannot get it to enter my bank pin, and it also fails to X out of the squeal of fortune popup when you log in. perhaps this is due to my own stupidity

Wardancer

2012-11-27 14:41:29

From: Paradox122
I absolutely cannot get it to enter my bank pin, and it also fails to X out of the squeal of fortune popup when you log in. perhaps this is due to my own stupidity


I have no account to test the pin with. There might be some issue with SRL that I'm unaware of or you simply wrote the pin at the wrong place. Add the following code at line 128 and see if that solves your problem:

if PinScreen then
begin
if (Players[CurrentPlayer].Pin <> '') then
InPin(Players[CurrentPlayer].Pin);
end;

As for the squeal of fortune, the script usually closes it, but it's never been an issue when it doesn't. What matters is getting rid of the extra spins. I should add an option to destroy them rather than click them…hmm.

hackingislol133

2012-11-27 16:24:02

During long run periods, sometimes runs to the the top of the booths and is unable to access the bank.

Wardancer

2012-11-27 16:37:30

From: hackingislol133
During long run periods, sometimes runs to the the top of the booths and is unable to access the bank.


Thank you for letting me know. However, I won't be working on optimizing bank booths anytime soon as I'm currently focusing development on incorporating GE elements. I'll eventually get to this issue though, but for now I consider it "normal" to have issues with these.

On a brighter note, I posted version 2.1. Just a little tweak to allow the bot to run for longer periods of time.

Paradox122

2012-11-27 21:04:47

From: Wardancer
I have no account to test the pin with. There might be some issue with SRL that I'm unaware of or you simply wrote the pin at the wrong place. Add the following code at line 128 and see if that solves your problem:

if PinScreen then
begin
if (Players[CurrentPlayer].Pin <> '') then
InPin(Players[CurrentPlayer].Pin);
end;

As for the squeal of fortune, the script usually closes it, but it's never been an issue when it doesn't. What matters is getting rid of the extra spins. I should add an option to destroy them rather than click them…hmm.


Worked like a charm, it does the bank pin now, but i had to add it to line 135, not 128. for some reason it would not compile when i put it on line 128. Squeal of fortune thing sometimes works after all, guess i just caught it at a bad time. Nice script man and good luck on the GE updates, i look forward to seeing how u will script that. Also i dont have a proggie but i cleaned 4000 herbs in just a few hours. ^^

Edit: I have also been playing with the version 3, and it doesnt clean herbs, it just goes into the GE and buys 1 grimy tarromin then looks in my bank, and repeats. I switched back to version 2 after that haha.

Wardancer

2012-11-27 21:24:39

There is an anti-leech added to version 3 as it has basic GE support. I also decided not to put instructions as to how to use it. I expect people to figure it out by themselves.

vladko78

2012-12-01 15:06:23

not working for me, i started script, player logged in after few seconds smart restart and then over and over again

Wardancer

2012-12-01 19:50:35

From: vladko78
not working for me, i started script, player logged in after few seconds smart restart and then over and over again


Hint: anti-leech.

plaxlord

2012-12-04 18:25:12

great script, thanks for putting the time in to make it! :)

edit: sometimes it cant find the banker so I added a simple loop until the bank is open

hackingislol133

2012-12-06 15:32:21

recently in large crowds, the script tends to misclick the ge banks and run to the middle of the ge fountain. also gets stuck in long periods (~6 hours) at the top of the bank booths.

lolbus

2012-12-06 15:34:12

seems like it can entering the same few world. always got the login limit when i bot with 4 to 5 players.. can u add a custom world selecting function that select more worlds randomly>??

lolbus

2012-12-08 01:38:20

Is there anyway to stop the irrating GE buying/selling function, switch the boolean to false and its still buying grimy tarromin. -_-
I dont need that at all since im potting unf and selling them for profit and i wanna merchant them off myself

Wardancer

2012-12-08 22:22:41

There is a way. It's part of the anti-leech to figure out how to avoid this though. I decided not to explain how the script works.

Wardancer

2012-12-08 22:25:28

From: hackingislol133
recently in large crowds, the script tends to misclick the ge banks and run to the middle of the ge fountain. also gets stuck in long periods (~6 hours) at the top of the bank booths.


I didn't work on this script for a while (even though the version I'm using is much more advanced than the one posted here), but I did plan to rewrite the function used to find the banker. I also have in mind to use objdtm to limit the area you can be at when banking.

From: lolbus
seems like it can entering the same few world. always got the login limit when i bot with 4 to 5 players.. can u add a custom world selecting function that select more worlds randomly>??


Will consider it for the next version. Would be very easy to add (one line in fact).

Nufineek

2012-12-18 05:44:02

The last version runs fine for me :) Wardance, when will you release the version with rewritten banker-finding function? It's the only weak point of the script

lorenzo

2013-02-17 09:41:28

how u ma ke pots?? its goes to ge and but those herbs ?