Jump to content
BryceTheCoder

MMouse not moving to my coords selected.. :(

Recommended Posts

Hii, um i use the mmouse function and obviously put in my x and y but it wont move exactly to that point. It always goes 50+ on my Y coordinate??

 

I have no idea why its doing this:/ Help plz?

 

And i also tried to do the client crap, hoping that wud fix it but it didnt.

I tried:

 

[sCAR]

{$DEFINE SPS}

{$I GMRL\GMRL.Scar}

var

C: TSCARClient;

begin

SetupGMRL;

C := GetClient;

SetClient©;

MMouse(56,54,0,0);

wait(300);

MMouse(510,34,0,0);

C.Free;

end.

 

[/sCAR]

Link to comment
Share on other sites

Yeah there is going to be a bit of confusion on coordinates with using the OSI includes (which GMRL uses and builds on).

 

Due to the recent RS update that added that crazy toolbar across the top OSI compensates by shifting the client area down 50 pixels. As a consequence when you are using a tool to pick coordinates (I abuse the color picker all the time for this) you then have to subtract 50 from the Y coordinate when using it in a script.

 

A better long term strategy might be to rework the entire OSI includes to leave the client area alone and adjust all coordinates by 50. It's doable just a ton of work. And since Freddy is maintaining this out of the goodness of heart on the side atm not likely to happen. Plus I may be in minority in this opinion.

Edited by Bixby Sayz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...