SRL Archive - RS3 Outdated / Broken Scripts

A willow longbow (u) seller


Rambozin

2007-04-18 10:47:24

Hi.

I am looking for a willow longbow (u) seller.
This one should sell all my willow longbows in the general store.
If possible some human moves :) and maybe some anti randoms

Well, a big thanks to the one who want to make me one! :)b :)

~Rambozin

3Garrett3

2007-04-18 11:48:52

Here is one, just pick the color of the thing, and have the store open..

program New;
{.include SRL/SRL.scar}
begin
ActivateClient;
repeat
If FindcolorTolerance(x,y,{Color},MSX1,MSY1,MSX2,MSY2,3) then
begin
Mouse(x,y,0,0,False)
ChooseOption(x,y,'10')
Wait(500 + random(500))
until(False)
end.

It was pretty easy, next time make one yourself…

Rambozin

2007-04-18 11:56:41

From: 3garrett3
Here is one, just pick the color of the thing, and have the store open..

program New;
{.include SRL/SRL.scar}
begin
ActivateClient;
repeat
If FindcolorTolerance(x,y,{Color},MSX1,MSY1,MSX2,MSY2,3) then
begin
Mouse(x,y,0,0,False)
ChooseOption(x,y,'10')
Wait(500 + random(500))
until(False)
end.

It was pretty easy, next time make one yourself…



a big, big thanks :) but how do i make it so that it clicks sometime at "sell 5" , i mean, how do i add human moves?

3Garrett3

2007-04-18 12:11:20


program New;
{.include SRL/SRL.scar}
Procedure Randomjunk;
begin
Case 1 + random(2) of
1: ChooseOption(x,y,'10')
2: ChooseOption(x,y,'5')
3: ChooseOption(x,y,'10')
end;
end;


begin
ActivateClient;
repeat
If FindcolorTolerance(x,y,0,MSX1,MSY1,MSX2,MSY2,3) then // change zero to the color of the bows
begin
Mouse(x,y,0,0,False)
randomjunk;
Wait(500 + random(500))
end;
until(False)
end.

Like that? It chooses a random number between 1 and 3 and uses that.. i think.. I always forget if random(2) does 0,1 or 0,1,2…

senrath

2007-04-18 12:45:17

I'm pretty sure random(2) does 0,1,2.

Rambozin

2007-04-18 12:47:14

Sorry, but i don't really understand that =/

I mean when you sell something in the gen store there comes this window:
Value 'item'
Sell 1 'item'
sell 5 'item'
sell 10 'item'

what i mean is that it most clicks the Sell 10, but sometimes, as a misclick, the sell 5, and also, sometimes, it misclicks the option menu..

3Garrett3

2007-04-18 12:51:14

Mine will click sell 10, 2 out of 3 times,, what do you mean option menu? Just a sec, use this version, i put main screen coords instead of invy…


program New;
{.include SRL/SRL.scar}
Procedure Randomjunk;
begin
Case 1 + random(2) of
1: ChooseOption(x,y,'10')
2: ChooseOption(x,y,'5')
3: ChooseOption(x,y,'10')
end;
end;


begin
ActivateClient;
repeat
If FindcolorTolerance(x,y,0,MIX1,MIY1,MIX2,MIY2,3) then // change zero to the color of the bows
begin
Mouse(x,y,0,0,False)
randomjunk;
Wait(500 + random(500))
end;
until(False)
end.

The other verison would have been for buying…

senrath

2007-04-18 12:51:21

Um, that's exactly what the second script he posted is supposed to do.

Edit: Ah, he beat me to it.

3Garrett3

2007-04-18 12:53:01

I dont know what the "option" menu is.. What does he mean by option menu?

senrath

2007-04-18 12:56:45

I think he means to "accidently" click the top bar of the menu that comes up on right click.

Rambozin

2007-04-18 13:38:56

Sorry, i was eating so i couldn't check for new posts

what i ean with the option menu is when you right-click an item in the gen store

Rune Hacker

2007-04-18 19:08:03

Rambozin, you should make this as your first script because its a pretty easy script to make.

Rambozin

2007-04-19 10:31:41

but can you tell me how i add it so it makes human moves?

Rune Hacker

2007-04-19 23:19:41

stuff like antiban, mmouse, mouse, antirandoms, and maybe some other stuff but its not needed. you can look at other peoples script because many scripts have soemthing like this in it.