PDA

View Full Version : Script has been playing up. Has an edit been done to the "Mouse" function?



cycrosism
04-01-2013, 02:09 PM
If this isn't in the right section, could a mod/admin please move it to the appropriate section as I do not know where to post this.

I have been using the same script that I have written myself to macro on a different MMORPG that I play. However I noticed after the most recent SRL update (Which happened WHILE the script was running, which is pretty terrible and should not be done that way) I have noticed that the mouse function have been not functioning correctly.

Instead of doing Mouse(X, Y, 20, 20, True) for example, which you would expect for the mouse to click anywhere between X + 20 and Y + 20, it now sometimes clicks BEFORE one of the variables. So instead of it clicking on X+11 for example, sometimes it will click on X-11, even though (for example if X was 50), 50+11 = 61 the mouse happens to click BEFORE 50, which should never ever happen.

I am not sure if this has been a change in the Mouse function/procedure, but this very weird behaviour has only happened since SRL was updated.

Could someone explain what is going on?

Ashaman88
04-01-2013, 02:18 PM
The random var implies + and -. They changed it to reflect that. PS when an update happens while a script is running - I don't believe it affects the script then - only after you stop and start it again (at least I think). That was the thought process I believe

Olly
04-01-2013, 02:25 PM
http://villavu.com/forum/showthread.php?t=100256&p=1210754#post1210754http://villavu.com/forum/showthread.php?t=100256&p=1210754#post1210754

cycrosism
04-01-2013, 03:17 PM
The random var implies + and -. They changed it to reflect that.

Yeah that is what I thought had happened. That is a pretty terrible thing to change seeing as it was fine the way it was. No wonder my script has been stuffing up so much.