Sythe.Org Forums     Register     FAQ     Members List     Calendar     Mark Forums Read    
 
Sythe.Org Forums  
   Runescape Gold

Sythe.org — A Virtual Goods Trading Hub

Make real cash! buying and selling in-game items.

We have a no-scam policy.

You can make thousands playing your favourite games here at Sythe.org.

Just sign up an account and follow the rules!


Take me to

Runescape Markets

Other Game Markets

Support Center

Register an Account

Close
Script Help
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 01-31-2010, 02:52 PM
Newcomer
 
Join Date: Oct 2009
Posts: 2
Default Script Help

i need help for a script that will use smooth mouse movement to click on a red block on a screen,
i want it to click the red block, the red block moves around the screen so it needs to be able to find the red block and click on it, maybe a 2-5 second delay inbetween

i have this so far but i need it to click once its on the red block and then repeat it



program New;
{.Include SRL/SRL.Scar}

Var
X, Y: Integer;
TB : TBox;

Begin
SetupSRL;
ActivateClient;
Wait(999);
GetClientDimensions(TB.x2, TB.y2);
If FindColorTolerance(x, y, 255, TB.x1, TB.y1, TB.x2, TB.y2, 15) Then
MMouse(X, Y, 0, 0);

End.

Last edited by figgmand : 01-31-2010 at 03:32 PM.
Reply With Quote
  #2  
Old 02-02-2010, 04:19 AM
Apprentice
BANNED
 
Join Date: Mar 2008
Posts: 720
Default Re: Script Help

Quote:
program New;
{.Include SRL/SRL.Scar}

Var
i,X, Y: Integer;
TB : TBox;

const
times=100;//change this number to how many times u want to find the color
//and click :P

Begin
SetupSRL;
ActivateClient;
Wait(999);
GetClientDimensions(TB.x2, TB.y2);
repeat
If FindColorTolerance(x, y, 255, TB.x1, TB.y1, TB.x2, TB.y2, 15) Then
begin
Mouse(X, Y, 0, 0,true);
wait(2000+random(3000));
inc(i);
end;
wait(100);
until(i=times);
End.
enjoy
Reply With Quote
Reply



Cheap RS Gold Store  Runescape Gold

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

All times are GMT +1. The time now is 07:17 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.1