SRL Archive - OSR Help

Random bottom left click and hold?


Wardancer

2013-02-16 19:13:59

I started having some "fun" playing around with simba without SMART. Actually, I made a script that works over multiple windows. The problem that I have is that it ends up randomly clicking at the bottom left coordinate (and holding that click), completely stopping the script. I'm not quite sure what approach I should take with this. I messed around (a lot) with a custom mouse click procedure, to no avail. I only ended up finding out how useless the x, y are for HoldMouse and ReleaseMouse. It really just clicks wherever I'm holding the mouse, not at the desired coordinate.

Like I said, the problem can happen randomly, but I can provoke it by closing the virtual machine (script is made to be used on a vps). I wonder if it's SMART randomly attempting to activate a new client.

At this point, I wonder if anyone has a rough idea of what goes wrong or if there are some other functions I could use to directly click at a particular coordinate without having to move the mouse (hoping this would bypass the issue).

Thank you for your time.

EDIT: Mea culpa. Doesn't seem to have this issue when I'm only running one vps.

EDIT2: Figured out what the problem was. The remote desktop computer software was enlarging the actual resolution of the server. To bypass this issue and have the real resolution when the RDC is turned off, I had to install a VNC server on the vps. I have to change all the coordinates now, gah.