Unable to drag across the screen

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Talhasdmn
Newbie
Posts: 1
Joined: Thu Jun 15, 2017 6:07 am

Unable to drag across the screen

Post by Talhasdmn » Thu Jun 15, 2017 6:16 am

Greetings,

I am trying to make a bot for Clash of Kings. I am playing it on Android Emulator (Nox Player).

So Far, I've been doing good. But I'm unable to drag the map of game. For that, What i manually do is left click, drag, and remove left click.

I've tried this code

MouseMove>x,y
LDown
MouseMove>x1,y1
LUp

But it didn't made any change. Just the mouse cursor moved to x1,y1.

I searched on forums and tried this one as well

LDblClick/LDown
Let>y=550
Repeat>y
MouseMove>850,y
Let>y=y-5
Wait>0.02
Until>y=150
LUp

But It moved the mouse straight upward, but didn't dragged the map of game.

I'd be glad if any of you can help me in this case :)

Thanks in Advance!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts