SRL Archive - Research & Development Lounge

right click?


mriddler

2012-02-11 05:14:41

I am making a potion making bot and i need the bot to right click items so you can bring them out in 14 amounts.

I thought using this would do it but its not.

ClickMouse(37, 86, 2);

Help would be appreciated.

YoHoJo

2012-02-11 05:19:43

DO NOT use ClickMouse,HoldMouse,MoveMouse,MoveMouseSmooth etc in your script!
Those are extremely robotic/instant and can get you banned easily!
Instead use MMouse/Mouse (found inside the SRL include).
I suggest you look at some scripts, and read some more tutorials!

mriddler

2012-02-11 05:22:00

I am mostly making personal scripts for my other accounts to make money for my main.

Already made a tele tab maker.

YoHoJo

2012-02-11 05:22:32

Doesn't matter what/who they are for, using those functions will get you banned.

KeepBotting

2012-02-11 07:31:36

Make sure you give YoHoJo credit for helping you–he's awesome and deserves it.

As for advice, when withdrawing items from the bank, it would be best just to use Withdraw.

Withdraw(1, 1, 25);

The first parameter is the row of which you wish to withdraw from.
The second parameter is the column of which you wish to withdraw from.
The third parameter is the number of which you wish to withdraw.

If the number is something like 16, 37, or 902, the bot will click "Withdraw-X" and type in the corresponding number.