Log in

View Full Version : Cordinate



punisher19
12-26-2011, 05:38 PM
I have to know some specific cordinates of the client.

My question is how I can find that?

tom99
12-26-2011, 05:40 PM
Drag corsair to client then use the colorpicker and click where you need to get the cords of the client.

punisher19
12-26-2011, 05:42 PM
If I do that I have the wrong coordinates...

PatDuffy
12-26-2011, 05:43 PM
What do you need the coordinates of?

A little more information could prove valuable to people trying to help you.

tom99
12-26-2011, 05:44 PM
no that's how you do it, look in debug window.

punisher19
12-26-2011, 05:46 PM
this is my SIMBA code:

program Autologin;
{$DEFINE SMART}
{$i SRL/SRL.scar}


procedure Login;
begin
TypeSend('Login Name');
wait(1000+Random(200));
TypeSend('Password');
wait(2000+Random(500));
Mouse(628,701,1,1,false);
end;


begin
SetupSRL;
Login;
end.


If I run that it enters my login Name and Password correctly. But After it is logged in the mouse doesn't click PLAY...
Now I need the right cordinates of the play button.

is that clear enough?

tom99
12-26-2011, 05:50 PM
it doesn't click play because you click with right mouse button. try true instead.

punisher19
12-26-2011, 05:51 PM
doen't work with true too.

Any other ideas?

euphemism
12-26-2011, 05:55 PM
doen't work with true too.

Any other ideas?

Use the built-in login functions within SRL.

Nebula
12-26-2011, 06:57 PM
Since logging in normally takes longer than 2 seconds, try increasing the wait. 7 should be long enough but if that doesn't work try longer.

this is my SIMBA code:

program Autologin;
{$DEFINE SMART}
{$i SRL/SRL.scar}


procedure Login;
begin
TypeSend('Login Name');
wait(1000+Random(200));
TypeSend('Password');
wait(7000+Random(500));
Mouse(628,701,1,1,true);
end;


begin
SetupSRL;
Login;
end.


If I run that it enters my login Name and Password correctly. But After it is logged in the mouse doesn't click PLAY...
Now I need the right cordinates of the play button.

is that clear enough?

PatDuffy
12-26-2011, 07:02 PM
There are built in functions of SRL to log you in... it's "LoginPlayer" and is a very useful procedure :p