SRL Archive - Help

Parameters keep chaning on screen?!


Mahatna

2012-04-28 13:58:05

Hey guys im coding my first bot at the moment, every time i try to select parameters then enter them into my code then they have changed i have no idea why? never had this problem before? Thanks

Im using simbas Colour picker to get the Parameters.

Total

2012-04-28 13:59:44

The coordinates?

Mahatna

2012-04-28 14:00:07

Yeah sorry, but im not moving the window at all so i dont see how they change?

Total

2012-04-28 14:01:44

Don't understand what you mean. What are you doing with the coordinates?

Mahatna

2012-04-28 14:03:45

Ok say im using this code

Begin
If FindColor(X, Y, 2112087, 761, 201, 1072, 285) Then
Mouse(X, Y, 2, 2, 1);


End;


Notice the "761, 201, 1072, 285" the window i choose the script to search for the color. when i run it, it doesn't work, then i re check where i selected last time and its different co-ordinates.

P.S thanks for the repys/help,

Total

2012-04-28 14:06:02

You need to drag the crosshair onto your client first. Its the tool to the right of the color picker.

Mahatna

2012-04-28 14:17:35

Hmm thanks, that seemed to work, but now the mouse moves extremly slow

Home

2012-04-28 14:25:49

You forgot SetupSRL; from your Mainloop.


~Home

Abu

2012-04-29 12:07:45

From: Home
You forgot SetupSRL; from your Mainloop.



^^This and if you want to change your mouse speed you can add:

MouseSpeed := 20;

It is 15 by default.