Log in

View Full Version : Moving mouse.



Failure
09-02-2012, 09:18 AM
Hello there, I have a question since I'm trying something. I try to move my mouse in an game (FullScreen and or Windowed Mode) but it wont move the mouse at all!

Even if I set Target as the game (Using Select a Client thing) it wont move the mouse in the game!

Some help would be appreciated! :)

riwu
09-02-2012, 09:38 AM
Call SetUpSRL; at main program.

Failure
09-02-2012, 09:58 AM
Call SetUpSRL; at main program.

I have, I'm using MoveMouse instead of MMouse, is that the problem?

riwu
09-02-2012, 10:09 AM
Post the script. We are not psychologists.

Failure
09-02-2012, 10:15 AM
It doesn't look beautiful or anything, no need since it's not worth it hehe. For now, I found an alternative way.

Program New;

{$i srl/srl.simba}

var x, y:Integer;

//////////////////////////////////////////////////
//Use an Hammer or MPM7!//
//////////////////////////////////////////////////


Begin
SetupSRL;
ClearDebug;
MouseSpeed := 50

Repeat

If IsKeyDown(97) then //Numpad 1
Begin
Repeat
PressKey(82);
Wait(10);
Until IsKeyDown(98); //Numpad 2
End;

If IsKeyDown(99) then //Numpad 3
Begin
Repeat
KeyDown(103); //Camera left
Wait(1000);
KeyUp(103);
Wait(100);
KeyDown(104); //Camera right
Wait(1000);
KeyUp(104);
Until IsKeyDown(100); //Numpad 4
End;


Wait(50);

Until False;

End.

riwu
09-02-2012, 10:18 AM
Huh i dont see any MoveMouse there?

Failure
09-02-2012, 10:26 AM
Huh i dont see any MoveMouse there?

I removed it since it doesn't works anyways if an game is in FullScreen.