SRL Archive - RS3 Outdated / Broken Scripts

Fally Smelting Machine


TheChineseMan

2008-05-15 06:46:22

Hey ppl ive been working on this script for about 2 weeks and i need your help!!

ive done alot to the script with help from people (ive credited in script) but i still need feedback to ask what things i could add to the script thx!!

only works with steel for now

works with scar
3.15
rev 16

can make all the bars now!!!!!!!!!!!!!!!!!!

removed

benjaa

2008-05-15 07:23:20

Just A Suggestion :D

function TypeXAmount(Amount:string) : boolean;
//by bEnJaa
var
Asterisk, ax, ay : integer;
begin
Asterisk := DTMFromString('78DA63646264605803C440C0C400030D0CFC4' +
'01224FA1F0818FF33E05503028C2C40D63AFC6A00504B08C6');
if (not LoggedIn) then exit;
repeat
Wait(200+Random(100));
until FindDTM(Asterisk, ax, ay, MCX1, MCY1, MCX2, MCY2);
TypeSend(Amount);
Wait(500+random(100));
Result := True;
end;


eg.
TypeXAmount('9');//for iron
....
TypeXAmount('18')//for coal

This little function is for after the dtm has been right clicked, and option Withdraw X has been selected. It waits the perfect amount of time until the asterisk appears in the chat screen, meaning the amount is ready to be input :)

Use it if you want :D

munk

2008-05-16 18:12:56

looks good :)

It looks like you know/tried to get your standards right but there still a little bit off. Standards!

keep it up!

@benjaa - you never freed the DTM!! :( not good.

repeat
Wait(200+Random(100));
until findtext(mx,my,'mount',upchars,240,380,320,420);
:)

TheChineseMan

2008-05-16 22:14:38

hey thx muck ive been trying to add cases so that it will smelt all the types of bars but im having soo much problems with the withdraw ores procedure lol

TheChineseMan

2008-05-17 10:49:18

updated to chinesesmelter 3 can make all the bars now but still need abit of work on the bank bars

benjaa

2008-05-18 03:20:51

procedure responder;
begin
if (InChat('smelting') or InChat('lol') or InChat('smithing'))then
case Random(200) of
0 : TypeSend('im smelting '+Players[CurrentPlayer].Strings[0]+' bars');
1 : TypeSend('im making '+Players[CurrentPlayer].Strings[0]+' bars');
2 : TypeSend('smelting is soo boring!!!');
3 : TypeSend('10k more to go...');
4 : TypeSend('after this im going to make alot of money!!!!');
5 : TypeSend('...i cant take this anymore!');
6 : TypeSend('i need to get 99 smithing!');
7 : TypeSend('99 smithing is my dream');
end;
end;

Just to make it a bit more accurate :D
eg. "im making mithril bars"

n3ss3s

2008-05-18 04:10:56

Make a procedure named ScriptTerminate, SCAR calls it when the script stops, so you can free your DTMs in there.

TheChineseMan

2008-05-18 09:26:37

updated to chinese smelter 4!!!!!!!!

TheChineseMan

2008-05-19 23:19:00

thank you to the guy who stole my acc can i pls ahve it back now?!?!?!