SRL Archive - RS3 Outdated / Broken Scripts

Flax picker


Lorax

2008-07-07 13:40:14

Flax Picker by Lorax

Place your player in seer's village at the bank.

Description:
Picks flax at seer's flax field and banks them.

Note that I have solved the beekeeper random, but I haven't implemented it yet. I will implement that one aswell.

Note: this is not an overnight script and is not multi-player compatible.

For anyone Funky Flaxer has quite a history and was first seen when the first ScarScape was available (it was 1M/month back then).

To place BeeKeeperSolver.scar in AntiRandoms is not enough. I have yet to write a detector for the BeeKeeperSolver and without that the script doesn't solve the BeeKeepr yet.

V0.6: Added MFNF to CourtWalk when walking to flax and thereby fixed the problem posted here.

Scaper

2008-07-07 13:48:08

w0hoo 1st post nice 1 Lorax nice tyo see you back ;)

Edit: reserved for proggie!!!

randy marsh

2008-07-07 13:51:09

so i put the beekeepe scar script in the the scar randoms folder?

Scaper

2008-07-07 13:53:04

From: djcheater
so i put the beekeepe scar script in the the scar randoms folder?


yes and save as BeeKeeperSolver.scar

Torrent of Flame

2008-07-07 15:14:05

From: EvilChicken!
A new era has begun?


Indeed it has. ;)

sirlaughsalot

2008-07-07 15:23:27

Freakin badass! I will start using with the next rev, i dont auto much unless i have SMART…

tunderofnl

2008-07-07 15:44:25

I gonna try it!!!
If there's a proggy i gonna add it to this post :)
Hope it works :d!
edit: There is no proggy! can't you make it???

whitenash

2008-07-08 16:55:00

Wow I've been looking for this, thanks dude :D.

Scaper

2008-07-09 16:11:16

1 problem man i seem to cant find it what ever i do it goes from bank to the second tree symbol then logs out :(

SRL Compiled in 521 msec
Sucessfully LoggedIn!
Creating the NickTPA.
Logged Player In
<============== -v0.5- Progress Report ===============>
Worked for 47 Seconds
Deposited 0 times[s].
Walk: To Flax
TreeWalk: [True, 615, 85]
CourtWalk [True, 550, 11, 670, 130]
CourtWalk [True, 550, 11, 670, 130]
Failed to find FlaxColor, open Flax.ACA and update tolerances and color.
FlaxWalk [False]
Thank you for using Funky Flaxer3 - a triology
Successfully executed

Lorax

2008-07-09 19:25:42

What happened is that the court showed exceptionally high up to you and therefore it clicked outside the box. I will fix it and release v0.5, so that it uses MFNF.

Lorax

2008-07-12 23:29:20

V0.6 is up and autoing for a long time should be a possibillity.

simen236

2008-07-14 05:17:15

Definitly gonna test this

Lorax

2008-07-14 22:38:03

I hope you will get a great gain from it.
However, remember to look out for the beekeepers..
If you get a BeeKeeper you can help all users of this script by writing a method for detecting the beekeepers..
I suggest using CountColors and InRange or FindColor/GetColor and then following CountColors and InRange would probably be the fastest.
It has come to my attention that people wants to be helpfull, and well this is a chance to be helpfull :)

Btw, I'm gone for a week.

mike3667

2008-07-16 14:57:32

Awesome, I'll test this today!
It does nothing.. I start it then it just well, does nothing..

Renax

2008-07-17 22:32:20

you and your flax pickers lorax ;) never gets old does it?

Magiic

2008-07-23 12:26:39

got lost after 410 flax ended up at the maple tree sign west of cammy
on the way back

Lorax

2008-07-23 18:13:29

I know Renax :)
Someone asked me if I was going to make a flax picker and I said like: "NO, never!". And the day after I had made one :) I don't know why.
Also Sandos, please post the debug report's 20 last messages and it would be a huge help, if you have kept them.. othervise I will not be able to help you.

gothguydante

2008-07-26 01:48:57

Line 628: [Error] (18187:18): Invalid number of parameters in script
thats what i get when i try to run it…

Lorax

2008-07-26 11:41:40

@gothguydante, I will try and run this with the new SRL (#20) when I get back from my vacation monday. It seems that there's been made an update which didn't provide backwards-compability.

xcvxcv2

2008-07-27 16:04:56

well i am currently using it but it doesn't work with smart so i just deleted the 2 or 3 lines that makes it support scar and sometimes it doesn't get to the bank and doesn't record when it banks flax but its better then nothing

Edit:

to make the script work with smart replace lines 623-635 wth this code
procedure startScript;
begin
ClearDebug;
SMARTSetUp('world78', True, True, False); {World prefix, safe mode, unsigned, RS-HD}
SetTargetDC(SMARTGetDC);
SetUpSRL;
SRLPlayerForm(True, [], [], [], []);
loadDTMs;
LoginPlayer;
SetAngle(True);
Players[CurrentPlayer].Loc := 'Bank';
MakeCompass('N');
end;

Lorax

2008-07-28 02:58:38

If it doesn't walk to the bank, please post the Debug report.

simen236

2008-07-28 06:30:44

what the…?

Line 628: [Error] (18187:31): Invalid number of parameters in script C:\Documents and Settings\GEST\Lokale innstillinger\Temporary Internet Files\Content.IE5\1S5ILETJ\Funky%20Flaxer%20v0.6[1].scar

I have updated the world.ini file.

n3ss3s

2008-07-29 03:56:35

Jesus christ Lorax has made a flax picker?

Mine'd be in trouble without reflection in this case :p

You propably don't mind if I use your Beekeeper? Credits to you ofcourse…

I have to get a Beekeeper so I can make an InBeeKeeper: Boolean :(

Lorax

2008-07-29 07:01:14

Sure, go ahead n3ss3s, then I'll take your InBeeKeeper with credits to you once you've made one :)

n3ss3s

2008-07-29 13:49:38

Yeah, I propably somehow failed to update the hooks after today's RuneScape update so I'll use yours now…

I think that they've reduced randoms for members down a lot, I've picked about 5k flax with mine and haven't got any randoms during the time.


Oh noes!

Deposited 0 times.
Walk: To Flax
TreeWalk: [True, 642, 129]
CourtWalk [False]
Failed to find FlaxColor, open Flax.ACA and update tolerances and color.
FlaxWalk [False]
Thank you for using Funky Flaxer3 - a triology


Walked one flag from bank, and stopped.

Lorax

2008-07-29 14:26:19

It's the CourtColor that failed on you, if this happens if you run this again, could you please pick the Color of the building SE of the special tree icon (the Court)?
Then it would help me a lot :)

Scaper

2008-07-29 16:19:47

what part of the buliding color should i pick ill get it now for you../

edit:…

ok i got 2 colors for you off the mini map

this is the brown color at the back inside the court…..4217969

and this is the color of the like side walk bit the same color as the rest…9940668

hope i helped

or if the dont help ill lend you my account if you want:)

Lorax

2008-07-29 17:42:39

It's the light part (which most part of the court consists of btw.)
Is that any of the two colors you have right there?

n3ss3s

2008-07-30 05:45:55

Maybe you could give a try on an other way of Autocoloring the court house, you can do a FindColorsTolerance with pretty high tol, maybe 50, then do a SplitTPA(TPA, 1), then SortATPASize(TPAA, True), and then pick a color from a TPA in the ATPA that passed the size failsafe like if GetArrayLength(TPAA) is inside some pretty big ranges…



Got a Beekeeper, I'll make a detecter and also report on how yours works…

Okay, the solver took a really long time moving the parts around, and also assembled the beehive incorrectly :(

Here are InBeeKeeper and TalKToBeekeeper for future:

Function InBeeKeeper: Boolean;

Var
TPA: TPointArray;
B: TBox;
Begin
FindColorsTolerance(TPA, 0, 570, 35, 688, 129, 1);
B := GetTPABounds(TPA);
Result := GetArrayLength(TPA) = (B.x2 - B.x1) * (B.y2 - B.y1) + 200;
End;


Function TalkToBeeKeeper: Boolean;

Var
TPA: TPointArray;
TPAA: T2DPointArray;
X, Y, Z: Integer;
Begin
ColorToleranceSpeed(2);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 14342879, MSX1, MSY1, MSX2, MSY2, 15);
TPAA := SplitTPA(TPA, 1);
ColorToleranceSpeed(1);
For Z := 0 To High(TPAA) Do
If InRange(GetArrayLength(TPAA[z]), 9, 250) Then
Begin
MiddleTPAEx(TPAA[z], X, Y);
MMouse(X, Y, 2, 2);
If IsUpText('kee') Then
Begin
Mouse(X, Y, 2, 2, True);
Result := True;
X := GetSystemTime;
Repeat
If ClickToContinue Then
Z := Z + 1;
Wait(50 + Random(75));
Until(Z = 7) or (GetSystemTime - X > 35000);
Break;
End;
End;
End;

Lorax

2008-07-30 18:17:14

A really long time? I mean it should be doing it fairly fast..
Also how did it assemble the beehive incorrectly?
Hmm, wierd, well you can never test anything enough.
I'm sorry that my interest is not with this script at the moment..

Bonfield

2008-07-31 09:23:36

what script are u interested in then?
ontopic im going to get members to test this script and i will let u know how it goes

Lorax

2008-08-09 05:28:22

Currently my interest is with ranging scripts :)

cycrosism

2009-02-14 06:08:34

Line 280: [Error] (18575:36): Invalid number of parameters in script


Good job posting a non working script

jakeyboy29

2009-02-14 06:52:08

From: cycrosism
Line 280: [Error] (18575:36): Invalid number of parameters in script


Good job posting a non working script


be quiet. it was working, but your gavedigging. noob.

Sir R. M8gic1an

2009-02-23 06:40:11

closed.

~RM