SRL Archive - OSR Help

Mouse missclicking ? SMART 7.2 + OSR


djborec

2013-07-01 09:36:42

I am using SMART v7.2 and OSR and I keep getting mouse missclicking.

Whetever I use MouseBox or MoveMouse or any other Like HumanMMouse etc…

From time to time script is missclicking on wrong places ,even when I log clicks ,it says correct position but clicks on wrong.

djborec

2013-07-02 14:50:12

Anyone? Its pretty annoying ,because there comes some situtaion which my script ca not handle because of all missclicks :/

Shatterhand

2013-07-02 14:53:20

Show the code you trying to run. :)

djborec

2013-07-03 04:38:37

removed code

djborec

2013-07-03 04:40:02

This is whole code, missclicking appeats everywhere I use mouse and click with it. Seems like its core problem more likely then script problem…

The Mayor

2013-07-03 04:57:33

From: djborec
This is whole code, missclicking appeats everywhere I use mouse and click with it. Seems like its core problem more likely then script problem…


Did you SetupSRL at the beginning of the script?


begin
{$IFDEF SIMBAMAJOR980}
SMART_SERVER := 10;
SMART_MEMBERS := TRUE;
SMART_SIGNED := FALSE;
SMART_SUPERDETAIL := FALSE;

{$ELSE}

{$ENDIF}

SetupSRL; //here

( main part of code removed ) //not sure why you done this?

end.

djborec

2013-07-03 05:05:49

From: The Mayor
Did you SetupSRL at the beginning of the script?


begin
{$IFDEF SIMBAMAJOR980}
SMART_SERVER := 10;
SMART_MEMBERS := TRUE;
SMART_SIGNED := FALSE;
SMART_SUPERDETAIL := FALSE;

{$ELSE}

{$ENDIF}

SetupSRL; //here

( main part of code removed ) //not sure why you done this?

end.



SetUpSRL;
DeclarePlayers;
ActivateClient;
ClearDebug;
saveSmartTime;

//Inicialization:
personCenter.x:=251;
personCenter.y:=154;

Repeat
If Not LoggedIn then Exit;
mainloop;
Until(AllPlayersInactive);

I removed it ,because I did not want any leecher to find out and run this script (took me some time to write this)

djborec

2013-07-03 06:56:09

From: djborec

SetUpSRL;
DeclarePlayers;
ActivateClient;
ClearDebug;
saveSmartTime;

//Inicialization:
personCenter.x:=251;
personCenter.y:=154;

Repeat
If Not LoggedIn then Exit;
mainloop;
Until(AllPlayersInactive);

I removed it ,because I did not want any leecher to find out and run this script (took me some time to write this)


Anyine had same problem??? I can not find anything on villavu…