Log in

View Full Version : Weird problem.



Failure
08-23-2012, 12:22 PM
Hello, since a while I've been getting this weird problem.

The problem is : Whenever I do something like this
MoveMouse(245, 179);

It does not go to that coord. I must do

MoveMouse(245, 179-20);

Not exactly 20, but that gets it close to the orginal coord.
I've deleted and re-installed Simba and everything, but I can't seem to find an solution, any help would be appreciated!

http://prntscr.com/e9kqn

As you see, after the execution of running the script it goes to a diffrent coordination...

CephaXz
08-23-2012, 12:28 PM
You need to -50 in the y axis because of the nav bar on top.

P1ng
08-23-2012, 12:32 PM
It is due to the edition of the navbar in the runescape client (that thing up the top with forums etc. links).

In order to counter this wizzup? added a function to SetupSRL that resets the client area excluding this bar.

Thus, any co-ordinates picked using the colour picker tool will need to have 50px deducted from their co-ordinates to be accurate.

Failure
08-23-2012, 12:38 PM
But I'm using it for other applications, so I have to keep using -22?

riwu
08-23-2012, 12:41 PM
Dont call SetupSRL, just set MouseSpeed:=15.
Or call SRL_EnableNavBar after SetupSRL.