Sign in to follow this  
Followers 0
Dre18nc

Somone Help

4 posts in this topic

Ok So I have this script that I am making. I want the mouse to move, click on a location, to pick up a potion in a game.

I have gotten as far as to pick it up, But for some reason it wont set it back down in any other inv spot..

It wont even set it back down in the same spot its picked up from. I dont understand why I can pick it up. but not set

it back down.

My script..

WinActivate("D2Loader")

MouseGetCursor()

MouseMove(684, 524)

MouseDown("left") (Wont let me set potion down after picking up here)

MouseMove(598, 516)

MouseDown("left")

Posted Image

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

what about using the MouseClick ( "button" [, x, y [, clicks [, speed ]]] ) function?

PS the problem is that you never send a mouseup command so its like holding the button down instate of clicking

Edited by botanic

Share this post


Link to post
Share on other sites

I tried that aswell no luckk...

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

try this

MouseMove(684, 524)

MouseDown("left") (Wont let me set potion down after picking up here)

mouseup("left")

MouseMove(598, 516)

MouseDown("left")

or dl the full scitie for autoit and use the script writer and just copy it

Edited by botanic

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0