SRL Archive - RS3 Outdated / Broken Scripts

Easy Script


marsh

2007-04-05 00:54:48

Hello there, I need a script that can look at three points and if its detects one of four different colors. It then presses Alt F.

Or just look for four different colors at 3 different places. If the three colors arent in all three places repeat. If they are hit Alt F. ( or just leave that part to me).

The area is about this big
\

[—]
[—]
[—]
[—]
[—]
[—]
[—]
[—]

I can fill in all locations myself and colors. I would be so happy if someone could make this. So very happy….. Please help me out.

Or if you can only make it look for one color that make work. Its just looking at a yellow number that is a mix of like 4 colors. But if the place is always the same the color may be. 4 colors would be better but beggars cant be picky

marsh

2007-04-05 10:07:11

Bump

Santa_Clause

2007-04-05 23:17:20

Bumping/Grave Digging Isn't Accepted At These Forums. Please Read Rules Before Posting ;)

Meanage

2007-04-05 23:33:17

From: SantaClause
Bumping/Grave Digging Isn't Accepted At These Forums. Please Read Rules Before Posting ;)


meh, doesnt really matter if he bumps it. Its been here for days and no1s posted so he bumped it. no harm done. bump

Smartzkid

2007-04-05 23:37:15

you mean something like…

if(findcolor(x,y,color1,0,0,[bottom left point x],[ " " y]))then
colorsinplace := colorsinplace + 1;

Do the colors move around, or are they always in the exact same place?

I could also use the exact size of the box…

marsh

2007-04-06 12:01:33

The color are always the same place heres a screen shot.

The second part of the image in the white is the part that scar locks in on. I don't no the exact size. Im pretty much just trying to get it to stop rolling when Strength Dex and constitution turn yellow. (indicating that is the max stat )


marsh

2007-04-07 11:05:13

program New;
begin
if(findcolor(12, 95,1045725,0,0,[-9, 117],[ " " y]))then
colorsinplace := colorsinplace + 1;
end.

So thats what i have, i filled int he bottom left point location and color. But im not sure what i am supposed to do with this

[ " " y]))

or is there a way to just look for the picture of the 20. I saw something called picture to string.


When i put this in

if(findcolor(12, 95,1045725,0,0,[-9, 117],[-9, 117]))then

i get the error
Variable Expected in script

Smartzkid

2007-04-07 12:10:55

repeat
clickmouse([reroll button]);
wait(2500);
until(getcolor([coords of spot 1)=[yellow color that''s located there]) and (getcolor(...spot 2)=yellowcolor) and (getcolor(...spot3)=yellow color))
clickmouse([accept button]);

Just fill in the blanks (use the color picker to choose the yellow color and the coords where it's located)

marsh

2007-04-07 14:46:31

Thank you so much. Sorry to bother you again but

until(getcolor([363, 563])=[1957820]) and (getcolor(365, 545)=2482667) and (getcolor(361, 526)=973756))

Thats what i have and i get the error
Invalid number of parameters in script. Also is it possible for scar to press alt F? or no.

3Garrett3

2007-04-07 15:57:16


repeat
clickmouse([reroll button]);
wait(2500);
until(getcolor([coords of spot 1)=[yellow color that''s located there]) and (getcolor(...spot 2)=yellowcolor) and (getcolor(...spot3)=yellow color))
clickmouse([accept button]);
The coords should be exactly where the color should be, and the yellow color is just the color.. Parameters,, that means there isnt the right amount of things in the brackets.. Try to figure it out.. i dont know..

marsh

2007-04-08 14:07:15

bump

marsh

2007-04-09 11:23:29

bump

( im only bumping once a day )

Pentti

2007-04-09 11:26:35

until(getcolor(363, 563)=1957820) and (getcolor(365, 545)=2482667) and(getcolor(361, 526)=973756)