SRL Archive - Help

Cordinate


punisher19

2011-12-26 12:38:44

I have to know some specific cordinates of the client.

My question is how I can find that?

tom99

2011-12-26 12:40:49

Drag corsair to client then use the colorpicker and click where you need to get the cords of the client.

punisher19

2011-12-26 12:42:34

If I do that I have the wrong coordinates…

PatDuffy

2011-12-26 12:43:50

What do you need the coordinates of?

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

tom99

2011-12-26 12:44:38

no that's how you do it, look in debug window.

punisher19

2011-12-26 12:46:26

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

2011-12-26 12:50:08

it doesn't click play because you click with right mouse button. try true instead.

punisher19

2011-12-26 12:51:39

doen't work with true too.

Any other ideas?

euphemism

2011-12-26 12:55:01

From: punisher19
doen't work with true too.

Any other ideas?


Use the built-in login functions within SRL.

Nebula

2011-12-26 13:57:10

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.
From: punisher19
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

2011-12-26 14:02:52

There are built in functions of SRL to log you in… it's "LoginPlayer" and is a very useful procedure :p