Log in

View Full Version : A question.



makke
12-23-2011, 04:41 PM
Im trying to Make a orb Making script and im stuck on the part where i am, supposed to Click on the option "Orb" In the chat box. But i can't Find any "commands" for it.
And Also i Have another Question, After The Molten Glass is all made into Orbs,
What can i do to tell the script it's time to Bank again?
Any Help is appreciated.

YoHoJo
12-23-2011, 04:45 PM
If the option is ALWYAS in thr exact same spot then just use coordinates to click the option.

To know when you are all done make DTM of the molten glass, and when it is not found that means you are ready to bank.

Dynamite
12-23-2011, 04:46 PM
Im trying to Make a orb Making script and im stuck on the part where i am, supposed to Click on the option "Orb" In the chat box. But i can't Find any "commands" for it.
And Also i Have another Question, After The Molten Glass is all made into Orbs,
What can i do to tell the script it's time to Bank again?
Any Help is appreciated.

Use a DTM or even better a TPA to click on the option "orb".

To tell the script that you have made all the orbs you could do:
[SIMBA]if not ExistsItem("The slot that Molten glass would be in") then
Bank;[SIMBA]

-Boom

makke
12-23-2011, 04:50 PM
If the option is ALWYAS in thr exact same spot then just use coordinates to click the option.

To know when you are all done make DTM of the molten glass, and when it is not found that means you are ready to bank.

Oh, i tought it was high ban rate if you click on the same spot several times, so i didn't think of using coordinates first.

Thanks A ton For the answers!

YoHoJo
12-23-2011, 04:51 PM
The function called Mouse in SRL has built in randomness you assign!
Have you started the script yet? Care to paste it here? Please put it in samba tags.

Dynamite
12-23-2011, 04:52 PM
Oh, i tought it was high ban rate if you click on the same spot several times, so i didn't think of using coordinates first.

Thanks A ton For the answers!

That's why you have randomisation :)

-Boom

OMGZ YOHOJO!

makke
12-23-2011, 04:57 PM
program GlassBlower;

{$i srl/srl.scar}

var
x, y: Integer;



Procedure MoltenGlass;

Begin
SetupSRL;

OpenBank('vwb', false, false)
Wait(500)
DepositAll;

Withdraw(0, 0, 0)
writeln('We Found Molten Glass!');
End;


Procedure Orb;

Begin;
CloseBank;
GameTab(tab_Inv);
InvMouse(1, 1);
Begin;
WriteLn('Starting Orbs Now!');

End;
End;

Begin
//Repeat
MoltenGlass;
Orb;
//Until(False);
End.

This is as far as i've gotten. im kind of new to scripting soo no laughs please:D

YoHoJo
12-23-2011, 05:00 PM
Lol okay no problem.
I was just making sure you're not using clickmouse/movemouse/holdmouse etc. Those will get you banned. You must use Mouse and MMouse. Nice start, noob! Lol

makke
12-23-2011, 05:32 PM
Lol okay no problem.
I was just making sure you're not using clickmouse/movemouse/holdmouse etc. Those will get you banned. You must use Mouse and MMouse. Nice start, noob! Lol

Humm, im back. im trying to use Mouse and there is a problem when it is gonna click. After it clicks the molten glass and it gonna press the orb option it clicks to fast and the orb option don't got the time to Pop up. soo my question is.
Is there anyways i can delay the click on Mouse?

Helper
12-23-2011, 05:49 PM
Use DTM there is a tutorial just search.

Certified By :norris:

Shuttleu
12-23-2011, 05:56 PM
Humm, im back. im trying to use Mouse and there is a problem when it is gonna click. After it clicks the molten glass and it gonna press the orb option it clicks to fast and the orb option don't got the time to Pop up. soo my question is.
Is there anyways i can delay the click on Mouse?

just put a Wait(250+Random(300)); in there somewhere

Also, you only need to run SetupSRL once

~shut