SRL Archive - Help

Weird problem.


Failure

2012-08-23 08:22:23

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

2012-08-23 08:28:52

You need to -50 in the y axis because of the nav bar on top.

P1ng

2012-08-23 08:32:53

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

2012-08-23 08:38:46

But I'm using it for other applications, so I have to keep using -22?

riwu

2012-08-23 08:41:46

Dont call SetupSRL, just set MouseSpeed:=15.
Or call SRL_EnableNavBar after SetupSRL.