SRL Archive - Reflection

Whiteberries Fetcher by Accure


Accure

2011-06-06 10:36:14

Whiteberries Fetcher
Author: Accure | Current version: v0.8 | Updated at: 21.06.2011





What does it do?
This bot collects whiteberries in the Runescape wilderniss , using the telegrab spell. It uses the canoe at edgeville to go to the whiteberries and it returns by using the varrock teleportation spell in the corporal beast cave. The bot will bank at VWB or at Edgeville, depending on wether it has died or not. This bot averages at about 300K/H.


Setting up the script:

Requirements:
  • Runescape membership
  • 57 Woodcutting
  • 37 Magic
  • Staffs of Air
  • Law Runes
  • Fire Runes
Your account:
Place your account in Varrock Square, the Varrock West Bank or the bank in Edgeville (it is possible to start anywhere else in the collecting process, but I do not recommend it). Fill in your account details in at line 68 to line 71 in the script. Make sure you have at least 10 staffs of air, plenty of law runes and fire runes visible in your bank (preferably at the top of your bank). Press play.


Noteable functions:
  • Single player mode only!
  • Antiban & Autotalker.
  • Human/NPC-detection when under attack.
  • Custom flee procedure when under attack, based on by who it is attacked.
  • Death backup: Restocks and returns to canoe after death.
  • Hops to a random world after death.
  • Hops to a random world when there are multiple people at berries.
  • Takes breaks every 45-90 minutes for 2-5 minutes.
  • GE Pricegrabber to calculate exact profits.
  • Large detailed Script reports.
  • SMART Paint progress reports.
  • Bankpin support.
  • A bunch of failsafes!


What's to come:
  • Better failsafes (Can get stuck in infinite loops) - Done as of v0.8
  • Updater
  • Summoning monster support (?)

Script Reports:
  [ ***************************** ]
[ *** Berries Fetcher v0.5 *** ]
[ ***************************** ]
[ Player : xxxxxxxx ]
[ Berries : 4287 ]
[ Berries/H : -30 ]
[ Profit : 5448777 ]
[ Profit/H : -38130 ]
[ Trips : 157 ]
[ Trips/H : 9 ]
[ Breaking in : 39m 35s ]
[ Breaks taken : 12 ]
[ Random Events : 0 ]
[ Deaths : 9 ]
[ Uptime : 15h 59m 07s ]
[ _____________________________ ]



Credits:
  • Accure
  • Nava2 ( Pricegrabber)
  • BobboHobbo/Home (Smart Paint)

Accure

2011-06-06 10:37:14

Updates:


Updates in 0.7
  • Fixed bugs as from recent update.
  • Slight changes in: MakeCanoe, CastTGrab, RetrieveBerries, GoCave. With this update, the script should run fairly faster and will gain you a bit more money/h overall.


Remember to sell at medium price to stop the whiteberries price from going down!

Rich

2011-06-06 13:02:10

The scripts looks good, and that is one good report! I would say apply for Members, but I'd recommend you become a bit more active first, and then consider it. Anyway, congrats on the release!

uncfan1119

2011-06-06 13:34:41

This looks good! Makes me want to script again

LolL

2011-06-06 15:08:52

The 4 minute long progress report makes the script look untested and unstable. I'll run it when I get members today or tomorrow, but you should post at LEAST a 2 hour prog.

Accure

2011-06-06 15:18:15

From: LolL
The 4 minute long progress report makes the script look untested and unstable. I'll run it when I get members today or tomorrow, but you should post at LEAST a 2 hour prog.


Theres a 16 hour progress report above the picture. I only added the 2 minute one to show the SMART Paint.

Awkwardsaw

2011-06-06 17:15:21

is it possible to make it collect the berry in the elf place? it's a little faster(and safer)

Accure

2011-06-06 18:53:56

From: Awkwardsaw
is it possible to make it collect the berry in the elf place? it's a little faster(and safer)


That would be a completely different script. I did the wilderniss ones because I believe the elf place requires a quest.

Flight

2011-06-06 20:21:32

I'm really impressed, mate. :o From how you've described it, it's a very smart script. I'd sure like to test this out when I have my computer back! Congratulations on this. :)

By the way;
it returns by using the varrock teleportation spell in the corporal beast cave

Does this require doing Summer's End quest? I've never done it nor have I ever been to this cave, so I wouldn't know.

LolL

2011-06-07 01:13:41

I see it now. Well done, comrade! :D

Accure

2011-06-07 02:03:38

From: Flight

Does this require doing Summer's End quest? I've never done it nor have I ever been to this cave, so I wouldn't know.


Nope. It requires no quests whatsoever.

Flight

2011-06-07 06:41:26

Well then that's grand! I'll give this a go soon enough. :)

Accure

2011-06-08 08:53:27

Uploaded version 0.7 to cover the problems that came up with the recent update. I've also modified and replaced some coding to make the script go faster.

Download is added as an attachment to the first post.

boobooo42

2011-06-08 12:29:47

If it can already bank in edgeville, any plans on adding support for the lassar tele from ancients? It's just a small walk from there to the edgeville bank.

trojan

2011-06-08 12:51:57

surely if it uses the canoe you need a hatchet? and i'm testing after the hooks are updated :) looks nice

Accure

2011-06-08 17:01:43

From: boobooo42
If it can already bank in edgeville, any plans on adding support for the lassar tele from ancients? It's just a small walk from there to the edgeville bank.

Thats a good suggestion, I haven't thought about it myself yet. I'll look into it once hooks are back up :)

From: trojan
surely if it uses the canoe you need a hatchet? and i'm testing after the hooks are updated :) looks nice

You don't need a hatchet. The NPC standing next to the canoe will "lend" you one, so it saves you an inventory spot.

masterBB

2011-06-08 17:39:12

From: boobooo42
If it can already bank in edgeville, any plans on adding support for the lassar tele from ancients? It's just a small walk from there to the edgeville bank.


Ancient home tele drops you off at Edgeville, now its unlimited, why not that spell?

Flight

2011-06-08 21:10:15

From: masterBB
Ancient home tele drops you off at Edgeville, now its unlimited, why not that spell?


Maybe that could be an option determined by the user. But because this is intended for an account with little time put into it, I assume it's set up like this for global use.

boobooo42

2011-06-08 23:56:21

From: masterBB
Ancient home tele drops you off at Edgeville, now its unlimited, why not that spell?


could use that as well, but home tells are only every 30 min. unless 1 whiteberry trip takes that long….

Flight

2011-06-09 02:03:57

From: boobooo42
could use that as well, but home tells are only every 30 min. unless 1 whiteberry trip takes that long….


This has been changed, apparently. There's no longer a limit on how many times you can cast home teleport, all that holds you back is the length of time it takes to cast the spell.

boobooo42

2011-06-09 02:16:26

show you how much I pay attention. lol

Accure

2011-06-09 03:18:01

Yeah I'll look into ancient home teleport spell soon.

edit: wait no. ancient mage books do not have a telegrab spell. ;) I forgot. So this is not possible.

Flight

2011-06-09 06:45:08

From: Accure
Yeah I'll look into ancient home teleport spell soon.

edit: wait no. ancient mage books do not have a telegrab spell. ;) I forgot. So this is not possible.


Well thanks for making me feel dumb…

Accure

2011-06-11 02:39:54

Working perfectly with the updated hooks.


KrayzRyan

2011-06-12 08:44:03

When I load this up it brings up the client but the script does not work… Any ideas? :/

Accure

2011-06-14 08:34:45

From: KrayzRyan
When I load this up it brings up the client but the script does not work… Any ideas? :/


Make sure everythings updated (SRL/Reflection). It should run just fine.

KrayzRyan

2011-06-14 08:40:30

From: Accure
Make sure everythings updated (SRL/Reflection). It should run just fine.


I have but it just does not work :S I swear none of the whiteberries script work for me…

Accure

2011-06-14 08:46:12

From: KrayzRyan
I have but it just does not work :S I swear none of the whiteberries script work for me…


Put DebugMode to True in DeclareConst and then see where it fails. If it for example doesnt show you the right whiteberries price (or none at all, it could be that thats the problem. Then try outlining the GrabPrices procedure.)

KrayzRyan

2011-06-14 08:50:19

From: Accure
Put DebugMode to True in DeclareConst and then see where it fails. If it for example doesnt show you the right whiteberries price (or none at all, it could be that thats the problem. Then try outlining the GrabPrices procedure.)


It didn't work, and that's not what's happening…
When i press play, the client loads up but it does not log me in, and if i log in manually it does not work at all…

Accure

2011-06-14 08:58:15

From: KrayzRyan
It didn't work, and that's not what's happening…
When i press play, the client loads up but it does not log me in, and if i log in manually it does not work at all…


Try setting DebugMode to True and then paste the report messages to this chat.

KrayzRyan

2011-06-14 09:02:53

From: Accure
Try setting DebugMode to True and then paste the report messages to this chat.


[Hint] C:\Simba\Includes\SRL/SRL/core/SRLlog.scar(17:3): Variable 'THEFILE' never used at line 16
Compiled succesfully in 2528 ms.
SRL Compiled in 0 msec
SMART Initialized.
Loaded: Server 144, Members: False, Signed: True, Super Detail: False.


Not sure if this is what you're talking about?

KrayzRyan

2011-06-14 09:04:40

This just came up…

[Reflection] You're using outdated hooks (version 652.4); updating you to version652.5!
[Reflection] If you manually fixed your hooks, please make sure hookrevision values are greater than or equal to the online hooks to prevent overwriting.
[Reflection] Updated you to 652.5; please restart your script!
o Constants defined.
o Current white berries price is: 1388gp.
o Current law rune price is: 207gp.
o Entering a random world.

Accure

2011-06-14 09:10:49

From: KrayzRyan
This just came up…

[Reflection] Updated you to 652.5; please restart your script!
…


Stop the script and run it again. If you would've read the messages you would've noticed that Reflection was infact outdated :)

KrayzRyan

2011-06-14 09:14:30

From: Accure
Stop the script and run it again. If you would've read the messages you would've noticed that Reflection was infact outdated :)


I did, but it still does not work…

Accure

2011-06-14 09:17:56

It must be somewhere in your Simba or the script. Have you filled in your username and password correct in the DeclarePlayers procedure? Have DebugMode on and see where it fails.

KrayzRyan

2011-06-14 09:31:14

From: Accure
It must be somewhere in your Simba or the script. Have you filled in your username and password correct in the DeclarePlayers procedure? Have DebugMode on and see where it fails.


Yes I have, but the thing is, every whiteberries script i try it just does not work…

Bonfield

2011-06-14 18:42:21

running now, i will let you know how it goes

sucks that everyone found out about this, i mean its a great script but prices really crashed

congrats on the script it looks like a bit of time went into this


EDIT:
internet crashed, but when i first ran it it had trouble at the canoe but i havent seen it since

script is smart, your standards are a little off in places and stuff could be written a little different but the script works well which is important, good job

EDIT 2:
still running
it could be made a little quicker, i think if you handle the canoe stuff in colour it would be quicker, same with banking and that, but i could be wrong

sorry if that sounds a little harsh just trying to help =]

thanks for the gps

not sure how long i will let it go

thought about adding SRL stats? this script has gotten me 2786 berries =]

Accure

2011-06-15 09:13:42

From: Bonfield
it could be made a little quicker, i think if you handle the canoe stuff in colour it would be quicker, same with banking and that, but i could be wrong

sorry if that sounds a little harsh just trying to help =]

thanks for the gps

not sure how long i will let it go

thought about adding SRL stats? this script has gotten me 2786 berries =]


I know it could be a bit quicker, but as for now I cba redoing the canoe bit. Its badly coded, I know, but it works just fine for me. Banking, I just use reflection, which I believe will soon be replaced by reflection 2, which will speed up the banking :). And as for the SRL stats, I don't really worry about that too much: it's not that important to me.

At the moment, I'm working on a reliable StunAlcher. I have my whiteberries slaves running in the background, and as long as they run well I will probably not make any major changes to the script but for some bugfixes. I will consider recoding the canoe bit later.

Bonfield

2011-06-15 20:29:10

thats all good there is nothing really wrong with it, it works

how many bots are you running this on? i was watching this and a few other bots were doing the same but this script seemed much quicker 8/10 getting berries

also how often do you sell your berries? im thinking i should do it after ever couple of thousand because the price is crashing

heres the end of the previous report

Accure

2011-06-16 03:07:46

You might want to blank out your name in that report. Also, I sell every 10k or so. I use this bot on 3 accounts.

Accure

2011-06-17 15:07:44

Found a big flaw in the current script (endless loop @ GoCave). Fixed and gonna run it on 3 accounts. I'll upload if the script runs problemless for a while.

Bonfield

2011-06-17 19:17:40

I also found that yesterday, sorry i didn't post about i had some other stuff to try and sort out, there are a few endless loops in there when i get home tomorrow i will have a good look and try to find them for you

Accure

2011-06-18 08:30:42

From: Bonfield
I also found that yesterday, sorry i didn't post about i had some other stuff to try and sort out, there are a few endless loops in there when i get home tomorrow i will have a good look and try to find them for you


Yeah I noticed a few endless loops at the canoe, fixing those too. Will also go through the other procedures to check for false loops.

Bonfield

2011-06-21 03:41:29

how are your changes going?

bevardis

2011-06-21 07:12:43

Imagine doing this without botting. :D For 6 hours.

Bonfield

2011-06-21 07:29:20

Why would you imagine that?

HarryJames

2011-06-21 07:36:44

From: bevardis
Imagine doing this without botting. :D For 6 hours.


That's what gold farmers do, for like 14 hours straight if they're lucky. They also get payed almost nothing for it either.

Accure

2011-06-21 13:54:54

From: Bonfield
how are your changes going?


Been working well for a few days now. Will be uploaded to the main post asap.

PatDuffy

2011-06-27 00:49:25

Great Script! I really hope you continue to maintain this script, it's truly one of the best money-making scripts on SRL.

Just started using it, will post tomorrow when I have a longer progress report.

Bonfield

2011-06-30 17:07:17

i just started running this again and the world switcher now chooses free worlds, and there is an infinate loop there to

PatDuffy

2011-07-01 00:18:31


Very good, nice and stable, just could be a little faster at the canoe as said before. I'm not one to complain about a good script.

Accure

2011-07-01 03:24:11

From: Bonfield
i just started running this again and the world switcher now chooses free worlds, and there is an infinate loop there to


Yeah I've noticed this problem. It used to run well after I had added
  Players[0].Member :=  True;  
to the script. However, it still picks free worlds for some odd reason. I suppose that is a flaw in SRL and not in my script.

Bonfield

2011-07-01 05:45:40

yeah i looked through your script and its nothing your doing wrong, i thought i would let you know thats all

do you still update/work on this script? or maintain it? thats a bit confusing =] i mean do you have future updates in mind

Accure

2011-07-01 06:31:02

I don't have future updates in mind. However, I do keep it updated and make sure it will continue to work. If someone would like to add a function, feel free to.

Fire Monkey

2011-10-31 16:26:58

Hey, I'm getting an error in compiling your script:

[Error] (101:7): Unknown identifier 'GetMyPos' at line 100
Compiling failed.

Am I doing something wrong?

weequ

2011-10-31 16:47:00

From: Fire Monkey
Hey, I'm getting an error in compiling your script:

[Error] (101:7): Unknown identifier 'GetMyPos' at line 100
Compiling failed.

Am I doing something wrong?
Hey Fire Monkey. I'm pretty sure this script no-longer works because it uses reflection and Jagex just made an update that broke reflection (permanently).

GetMyPos is a reflection method which means you are either missing reflection include or GetMyPos has been removed from the reflection include (unlikely). To get reflection go to view -> extensions in Simba. But remember that reflection is no-longer working.

Fire Monkey

2011-10-31 16:59:36

Thanks for the fast reply weequ. I'll go look for another script then :)