SRL Archive - First Scripts

3to4PotionMixer!


Torrent of Flame

2008-03-06 17:40:23

Unique


Heyy, Welcome to my 3to4PotionMixer which works in Varrock West Bank to mix potions from 3 dose to 4 dose!

Request by Mr.SRL, and I took it on board.

Im currently working on the whole "It doesnt find the pot in the bank" thing. :]

Im also working on the Pin, as it seems to type it too fast at the moment 0_o

Might just be lagg I dont know :]


Post any Bugs or any feedback, its greatly appreciated.

I worked on standards too.

HUGE thanks to Dude Richard for helping me on this script, much appreciated man!


Enjoy, and thanks.

rockman

2008-03-06 23:01:38

Looks good, man. Only found this:


    repeat
MixingPotions;
BankThisShit;

I think it is mixing one potion and then banking it? You might want a repeat in the mixingpotions procedure.

KoKouKo

2008-03-07 00:36:08

nice first script this

case Random(30) of
0: TypeSend('Bored, notice how bored I am..');
1: MMouse(0, 0, 762, 499);
2: MMouse(0, 0, 762, 499);
3: MMouse(0, 0, 762, 499);
4: MMouse(0, 0, 762, 499);
5: MMouse(0, 0, 762, 499);
6: MMouse(0, 0, 762, 499);
7: MMouse(0, 0, 762, 499);
8: MMouse(0, 0, 762, 499);
9: MMouse(0, 0, 762, 499);
10: MMouse(0, 0, 762, 499);
can be changed to

case Random(30) of
0: TypeSend('Bored, notice how bored I am..');
1, 2, 3, 4, 5, 6, 7, 8, 9, 10: MMouse(0, 0, 762, 499);
its alot less typing in the future





line 193 says :confused:


//-----------------------------Banking the Willows----------------------------\\



.




if (FindDTM(FullVial, x, y, 151, 210, 595, 281)) then
begin
that should be

if (FindDTM(FullVial, x, y, 151, 210, 595, 281)) then
begin



.





if (FindDTM(FullVial, x, y, 547, 206, 734, 464)) then
begin
if IsUpText('(3)') then
Mouse(x, y, 5, 5, false);
ChooseOption('Use');
end else
i think should be

if (FindDTM(FullVial, x, y, 547, 206, 734, 464)) then
begin
if IsUpText('(3)') then
begin
Mouse(x, y, 5, 5, false);
ChooseOption('Use');
end;
end else

Torrent of Flame

2008-03-07 02:04:36

Thanks Rockman, I think I might need that :]

Im not really that fussed about standards at the minute.

And it says that because I took alot of procedures out of my Woodcutting script and edited them.

Dude R1chard

2008-03-08 09:19:39

Looks good now you've finished it :)

Thanks for crediting me (This is Dude Richard just some noob who obviously can't get member has hacked my acc :()

BTW: I see you actually called that procedure BankThisShit :p

Torrent of Flame

2008-03-08 10:14:47

Yall serious?

And Yeah, it was a nice name.

Richard

2008-03-08 10:50:03

lol yeah, I luckily managed to get the acc back, but i dnt think ill be getting the runescape acc back

Torrent of Flame

2008-03-08 11:05:15

How did he hack your RS acc too?

Richard

2008-03-08 11:37:36

Yep, it was only lvl 20 though, but it was the acc id been testing my new script on so i need to get more ores…

Torrent of Flame

2008-03-08 11:46:29

Aah.

Im not working on this, Im working on getting SMART working on my Willow Cutter, but it STILL doesnt work.

Posted in help lol.

Richard

2008-03-08 11:52:23

Well, I find smart easy enough, if you look in the smart tut section it should help you

EDIT: He hacked because I left the name and pass in a script I sent him

Torrent of Flame

2008-03-08 11:53:58

IT never has done.

ShowerThoughts

2008-03-08 12:26:10

does it work bc if my thoughts are right it shouldn't work great bc it would click wrong stuff

Torrent of Flame

2008-03-08 12:39:33

No it doesnt. It doesnt find the potions yet.

I was gunna make it for like one pot, but I tried to make it universal.

ShowerThoughts

2008-03-08 12:52:11

remember this rule:
you can post a small script, but it is better to do anything that you can to the script update so much as you can! and then release, don't do small not finished scripts NEVER!

Torrent of Flame

2008-03-08 16:28:59

Ok, but can I get some help on making it find potions please?

Torrent of Flame

2008-03-10 15:44:44

Well, If anyone can get this to actually find the potions in the bank, feel free too.

I cant get it to find the potion. Ever.

[S]paz

2008-03-10 16:05:12

make a mask, so get a bmp of an unfinished pot and then desaturate it, then use that as a mask. That way it will find the pot no matter what color, but u have to have set procedures since there all the same color,

make sense?

~Spaz

Richard

2008-03-10 16:10:43

From: [S]paz
make a mask, so get a bmp of an unfinished pot and then desaturate it, then use that as a mask. That way it will find the pot no matter what color, but u have to have set procedures since there all the same color,

make sense?

~Spaz


Probably be better to use DTMs as if you mask the BMP it might think the empty vial is the unfinished pot

Torrent of Flame

2008-03-10 16:17:06

I get you, I just dont know how to do that yet 0_o.

Ill work on my woodcutter till I get more experienced.