SRL Archive - Outdated / Broken

SRL - Varrock Smither


inferno

2006-05-24 10:22:36


—————————————————————————————————————————————————————————–
SRL Smither

By Inferno

—————————————————————————————————————————————————————————–

This script smiths any bar into any item at Varrock west anvils.
Please post any bugs, progress reports or comments.
—————————————————————————————————————————————————————————–
Instructions.

—————————————————————————————————————————————————————————–
- In script.
—————————————————————————————————————————————————————————–
Known Issues.

—————————————————————————————————————————————————————————–
- Tell me.
—————————————————————————————————————————————————————————–
Version History:

—————————————————————————————————————————————————————————–
v 1.00 - First release.
v 1.10 - Took out uneeded code.
—————————————————————————————————————————————————————————–
General Notice:

—————————————————————————————————————————————————————————–

As always, you use this script at your own risk. I'm not responsible for any of you getting hit by the bannage stick. You take a chance when you auto so don't come crying to me if you get banned.

  • Scar Resource Library rev 2+
  • NAME : Varrock Smither.
  • WRITER : Inferno.
  • CATEGORY : Smithing.
  • DESCRIPTION : Smiths any bar into any item at Varrock.
  • USAGE : Start in Varrock west bank.
  • AUTOCOLOR : Yes.

WT-Fakawi

2006-05-24 10:48:47

Very good! I will try this for sure! Got lots and lots of bars to smith, so tyvm. Will post some results later.

You dont mind me changing a think or two in your code? :D

inferno

2006-05-24 12:26:51

From: WT-Fakawi

You dont mind me changing a think or two in your code? :D


Of course not ;):)

Oh, and I tried using OpenBankQuiet but it had a hard job finding the bank.

Pyro

2006-05-24 15:32:39

OOOo thank god another smither for a while. Im updating mine shoudl be out shortly so prepare for some competition. Few things i quickly noticed that i made a mistake when i first started makign mine. You should just specify the coords to click at when makign a item. Then have one procedure clicking the 10 bmp. Saves heaps of space.

Also you have to make your own findobj i swear to god. You could take theres and modify it. Thats what made mine good cause it didnt get screwed on the road. What you have to do is amkea find obj within a confined space and if its not there it must mean the anvil symbol is further up so you move the space up. that your using find obj in. But you always make sure that it never goes left enough to go on the road.

jon buddy

2006-05-24 16:27:16

Hey, nice.
I just want to know if this would work:

Procedure WalkToAnvil;
Begin;
If(BankColour = 0)Then
BankColour := GetSymbolColor(X, Y, 'bank');
If(AnvilColour = 0)Then
AnvilColour := GetSymbolColor(X, Y, 'anvil');
If(FindColorSpiral(X, Y, AnvilColour, 552, 10, 737, 164))Then
Begin
Mouse(X, Y + 5, 4, 4, True);
Wait(200);
FlagRand;
Wait(100+Random(400));
End Else
Begin
WriteLn('Couldn`t find anvil colour. Please restart script or set colours manually');
TerminateScript;
End;
End;
because sometimes you can't see it.

Also, like Pyro said, make something like:

Procedure MakeItems(What: String);
Begin
Case What of
1: 'Dagger': Mouse(500,400,2,2,False)
Something like that.

inferno

2006-05-25 07:10:32

Ok I updated it so it's much shorter and doesn't have a seperate procedure for each item. Pyro, the anvil finder doesn't get stuck for me, if some-one tells me it does then I'll change it following your advice. ;) Jon, if what you mean is sometimes you can't see the symbol then then the script stops and tells you to set the colours manually.

WT-Fakawi

2006-05-25 07:33:29

if you (temporarily) want a lower threshhold for FindSymbol, you can lower the SymbolAccuracy to as low as 0.4. It should have no trouble finding the symbol now, even on a crowded world.

Pyro

2006-05-25 17:07:36

From: inferno
Ok I updated it so it's much shorter and doesn't have a seperate procedure for each item. Pyro, the anvil finder doesn't get stuck for me, if some-one tells me it does then I'll change it following your advice. ;) Jon, if what you mean is sometimes you can't see the symbol then then the script stops and tells you to set the colours manually.


Ok sorry my bad i should have really kept my mouth closed till i tested it. I just knew from experience while makign my smither it would get stuck on road but congrats on this script. With all these scripts you are turning into a modern day dankness

reckon

2006-05-27 10:03:02

nice one inferno !!!! i tried this one a wile ago befor srl was and i found it impossible but srl just owns all includes tbh ;)

Roberty Bob

2006-05-30 10:55:33

darn it.

now my soon-to-be-released smithing script will be terrible by comparison!! :p
ah well.

:rolleyes:

I'm just using DTM's for anvil and bank walks… but yeah… I was having trouble with openbank too… especially standing next to certain bank slots.

papetowe

2006-09-26 01:05:37

Thanks, i'll add this to my script to test list

Usa

2007-01-19 19:55:45

I will be running this for an hour tonight, will post back with some info :)