SRL Archive - First Scripts

[Smithing] Herra Varrock Smith v 0.1


Dabbi

2008-09-23 17:08:54

Do not use without supervision
This uses Smart and Reflection.
{*******************************************************************************
Herra Varrock Smith v 0.1 !!DO NOT USE UNSUPERVISED!!
By: Dabbi
Use: Go to Procedure SetupVSmith and set variables accordingly.
Start in Varrock West Bank/Anvil, Make sure the bars you want to use
are in the FIRST bank slot, and Hammer in FIRST inventory slot.


Enjoy.
Credit:
Function Bank: boolean; //From Bobermans Varrok East Miner and Banker!
Function MyOpenBank: Boolean; //From OpenBankReflection
Function Smith: Boolean; //Modified OpenBankReflection

*******************************************************************************}

I recommend changing
HoldMouse(X, Y, True);
to
MMouse(X,Y,0,0);
HoldMouse(X, Y, True);
in the FixSmith function in /SRL/Skill/Smithing.scar

and if having problem while finding what items to smith, make CountColor in SmithItem Function search in a slightly bigger area, in /SRL/Skill/Smithing.scar


Have to work out some kinks, all comments, bug reports, help and tips welcome.