View Full Version : mouse click without taking control
cynicz
06-28-2012, 09:44 PM
how can i click in the background so i can minimize my application without it taking control of my real mouse.
my script is as follows (very simple)
begin
repeat
MoveMouse(238, 269);
GetMousePos(x, y);
Wait(100);
ClickMouse(238, 269, mouse_right);
Wait(100);
MoveMouse(267, 298);
GetMousePos(x, y);
ClickMouse(280, 298, mouse_left);
Wait(500);
IncEx(BoltsToBuy, 10);
WriteLn('Bolts: ' + IntToStr(BoltsToBuy));
until (IsKeyDown(114)); //pres F3 to stop and continue to Proggie!
end.
wantonman
06-28-2012, 09:48 PM
well for anything not runescape you can use appa , but for runescape use S.M.A.R.T...
program
{$define SMART}
{$i srl/srl.simba}
begin
Smart_Server := 30;
Smart_Members := False;
Smart_Signed := True;
Smart_SuperDetail := False;
ClearDebug;
SetupSRL;
repeat
MoveMouse(238, 269);
GetMousePos(x, y);
Wait(100);
ClickMouse(238, 269, mouse_right);
Wait(100);
MoveMouse(267, 298);
GetMousePos(x, y);
ClickMouse(280, 298, mouse_left);
Wait(500);
IncEx(BoltsToBuy, 10);
WriteLn('Bolts: ' + IntToStr(BoltsToBuy));
until (IsKeyDown(114)); //pres F3 to stop and continue to Proggie!
end.
zer0hax0r
06-28-2012, 09:58 PM
well for anything not runescape you can use appa , but for runescape use S.M.A.R.T...
Can you please link me to 'appa'? I would appriciate it :P
cynicz
06-28-2012, 10:03 PM
yeah this is for a runescape private server "soulsplit" im trying to design a couple scripts
EtherFreak
06-28-2012, 10:11 PM
RED FLAG!!!!
I would highly recommend you edit your script a little so you dont get banned!
The following would slightly decrease your chance of getting banned. What you must remember is that all human players are not consistat with their clicking, mouse moving, timing, and duration. we want a bot to play like we do. I would also recommend you visit some of the tutorials.
http://villavu.com/forum/forumdisplay.php?f=28
Best of luck!
program new;
{$i srl/srl.simba}
begin
SetupSRL;
repeat
mmouse(238, 269,3,3); //moves mouse with some slop, I.E.to the point, but can vary 3 in ether direction
GetMousePos(x, y);
Wait(100+random(100));//adds some random time
ClickMouse(238, 269, mouse_right);
Wait(100+random(100)); //adds some random time
mmouse(267, 298,3,3); //adds some randomness to your mouse movement
GetMousePos(x, y);
ClickMouse(280, 298, mouse_left);
Wait(500+random(300));//adds some random time
IncEx(BoltsToBuy, 10);
WriteLn('Bolts: ' + IntToStr(BoltsToBuy));
until (IsKeyDown(114)); //pres F3 to stop and continue to Proggie!
end.
cynicz
06-28-2012, 10:19 PM
this is for a pserver so randomness isnt that important. I just need to get it to click without actually using my mouse so i can run 2 bots at once (1 buying rune bolts and 1 making dbolt tips)
this is for a pserver so randomness isnt that important. I just need to get it to click without actually using my mouse so i can run 2 bots at once (1 buying rune bolts and 1 making dbolt tips)
not possible, even with appa. your best bet is using a virtual machine, like what i use for my scripts for sousplit :D
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.