Jump to content

Recommended Posts

Posted (edited)

I will start off by saying i have very little experience coding in general. small amount of JAVA from HS but i have been able to take parts from examples and form together a script. Main issue im having is setting the 2 separate custom positions for the mouse. I'm attempting to save my X,Y via 2 separate binds with separate Global values so i can then call them in the F5 bind's KeyPress.

MouseClickDrag ( "left" , $aPosA[0], $aPosA[1], $aPosB[0], $aPosB[1], 1)

At the moment current error is "Subscript used on non-accessible variable" from the following line above.

-snip-

Edited by Jos
Posted

And honestly making it more efficient is a waste no matter what because of an internal cool-down with the process in-game. Original code i found was legit just a loop of all the above actions with a few exceptions i removed and changed. Figured out how to break it into separate segments to work with binds using some examples on here and other post that were answered and was making decent progress until i got stuck with the above problem which im sure is simple fix but with my lack of knowledge and its been 7-8 years since i tooled with JAVA.

Posted (edited)

So my understanding of leaving it blank was that it would return 2 separate values  but i didn't notice the error your directing me at when it was arranged like the bottom imageimage.thumb.png.c41e7bf3a11d9f5f24945aa127957680.png

-snip-

Edited by Jos
  • Developers
Posted (edited)

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question, I hope.

The Moderation team

PS: @argumentum, a bit disappointed as I thought you knew better than this!

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...