SRL Archive - First Scripts

[SRL4] Dwarven Stout Buyer


Dudenow12

2007-11-12 22:00:38

Beer Buyer v.1



NEW Thread: NEW Thread A few new updates too.


Description:Buys a full load of beer and then banks.

Instructions:
  • Pick needed colors
  • Pick what beer and how many loads
  • Start Logged in at the Falador west bank
  • Click run, click on the Runescape Screen(must do to allow for highest angle), and sit back and watch

Features:
  • Does all of the repetitive clicking for you
  • Walking
  • Banking
  • Can buy all 3 beers

Features to come:
  • Anti-Randoms & Anti-Ban.
  • Multi-Player.

Thanks: Thank You rogeruk for all your help and answering many of my questions you were a big help!!! And thank you gerauchert for also helping by answering one of my questions.

Notes: This is my first scrip and is really simple but I will be updating to make it a lot better, I just want to get it out there for other people to use and give me feedback.

mark9510

2007-11-12 22:58:16

uhh u really need multiplayer

Dudenow12

2007-11-13 18:45:11

From: mark9510
uhh u really need multiplayer


Yeah I will add that soon. I just wanted it to get the annoying clicking out of the way first.

gummi

2007-11-14 21:21:13

wats the point of this?

Tazzie 02

2007-11-15 01:55:46

From: gummi
wats the point of this?

Jeez… hard question! Maybe read the title and description.

Good for a new scripter. It MAY be a bit pointless but it is good to get some knowledge on how to use the basics. By making a simple script, it helps you to make better scripts and by making those better scripts, you can make even better scripts (if you know what I mean). Well done.

Dudenow12

2007-11-16 18:51:58

From: Tazzie 02
Jeez… hard question! Maybe read the title and description.

Good for a new scripter. It MAY be a bit pointless but it is good to get some knowledge on how to use the basics. By making a simple script, it helps you to make better scripts and by making those better scripts, you can make even better scripts (if you know what I mean). Well done.


Yeah, Thank You. I know its not a great script but its a start. And it is a lot more helpful when you a have a 59 autominer cause Jukka's script would drink them for you. I will probably include more drinks latter. I will be updating it very soon and adding walking, banking, different drinks, and multiplayer.

sik of it

2007-11-17 00:24:49

Good script for a first one by my reckoning! It would be a really great script if it had all the features you mentioned! Not that there is much use for it lol.

wesleyxD

2007-11-17 06:43:40

why you made this is unuseles even its a nice script for first

Dudenow12

2007-11-17 16:25:17

From: wesleyxD
why you made this is unuseles even its a nice script for first


unuseles? What are you trying to say? First its spelled wrong and secondly that means that is not useless therefore it is useful.

I made this because I'm creating a army of guild miners and when they hit 59 Jukka's guild miner will drink dwarven stouts for you. And I was tired of clicking through all of the text so I created this script. It can also be edited to buy different types of beer.

JuKKa

2007-11-17 16:30:59

From: wesleyxD
why you made this is unuseles even its a nice script for first

This is very USEFUL!, Dude make a script better than this! Then complain!

rogeruk

2007-11-17 16:57:09

Standards fixed..

No script is useless, this is his first script and he's done a good job on it. Better than most of these leechers around here.

program DwarvenStoutBuyer;
{.include SRL/SRL.scar}
{=========================================================================]
[ Stout Buyer ]
[ ]
[ NAME : Beer Buyer. ]
[ WRITER : Dudenow12 ]
[ CATEGORY : ..... ]
[ DESCRIPTION : Buys Beer from the bar in west Falador. ]
[ USAGE : Buys Beer for you. ]
[ AUTOCOLOR : Yes ]
[ CONTACT : [url]www.srl-forums.com[/url] Dudenow12 ]
[ ]
[ ]
[=========================================================================]
[ ]
[=========================================================================]
[ Instructions. ]
[=========================================================================]
[ 1. USE Runescape with Low Detail, Very Bright. ]
[ 2. Set your Screen to 32 bit TRUE color. ]
[ 3. Set Const ]
[ 4. Go to West Falador. ]
[ 5. Go to the bar. ]
[ 6. Start script Logged In! ]
[=========================================================================}

const
Stouts = 28; //How many Stouts you want to buy

procedure StartProgressReport;
var
Money: Integer;
begin
Money := Stouts * 3;
Writeln('Stouts being bought ' + IntToStr(Stouts))
Writeln('Gp being spent ' + IntToStr(Money));
end;

procedure FindNpcSeller;
var
x: Integer;
y: Integer;
begin
if (FindColorSpiralTolerance(x, y, 1758679, MSX1, MSY1, MSX2, MSY2, 5)) then
begin
MMouse(x, y + Random(4), 2, 2);
wait(100 + Random(50));
if (IsUpText('mily')) then
begin
GetMousePos(x, y);
Mouse(x, y, 0, 0, true);
end;
end;
end;

procedure BuyStout;
begin
ClickNpcChatText('lick', true);
wait(1000 + Random(100));
ClickNpcChatText('ere', true);
wait(1000 + Random(75));
ClickNpcChatText('lick', true);
wait(1000 + Random(50));
ClickNpcChatText('warv', true);
wait(1000 + Random(100));
ClickNpcChatText('ont', true);
wait(1000 + Random(100));
ClickNpcChatText('lick', true);
end;


procedure Bank1; //Will be used when I update the script
var
Time: Integer;
begin
MarkTime(Time)
repeat;
if (not (Loggedin)) then Break;
OpenBankQuiet('fwb')
until (BankScreen or (TimeFromMark(Time) > 120000));
Withdraw(1, 1, (Stouts * 3));
CloseBank
end;



procedure Bank2; //Will be used when I update the script
var
Time: Integer;
begin
MarkTime(Time)
repeat;
if (not (Loggedin)) then Break;
OpenBankQuiet('fwb')
until (BankScreen or (TimeFromMark(Time) > 120000));
end;

begin
ClearDebug;
SetupSrl;
StartProgressReport;
repeat;
FindNpcSeller;
wait(1000 + Random(50));
BuyStout;
wait(1000 + Random(750));
until (InvFull);
end.

EvilChicken!

2007-11-17 17:01:34

Dude, good job! You've got potencial!

i hope you get to be one of the 1337est 5cr1ptz0rz one day :D

AND NO, THIS ISN'T A USELESS SCRIPT! GO MAKE A BETTER ONE, LEECEHRS!
Retards.

tubaplayer5720

2007-11-17 17:49:39

This is very well done. While it may not be all that useful, its a great demonstration and learning tool.

Dudenow12

2007-11-17 22:22:40

Thank You so much for your guys support. And I have changed it quite a lot and it does a lot more I will upload it to night if I can fix this one last problem. If any one can help please go to my thread in the scripting help section. And thanks rogeruk for fixing my standers I haven't read any tuts on it so my standers aren't good.

From: tubaplayer5720
This is very well done. While it may not be all that useful, its a great demonstration and learning tool.

This is exactly my point. It may not be that useful but its a good learning tool. And it can be somewhat useful to some people.

Dudenow12

2007-11-18 03:12:17

Updated!!! Check it out!!!

king sibux

2007-11-23 15:48:50

nice script, and good idea