InGame Mouse move and clicking
Heya guys,
Some days ago I made a bot for a game called World Of Tanks. So let's explain better what it does:
• It opens the game and logs you in (everything is ok here)
• Then the mouse should move to a button named Battle! (which starts you a battle) and click it (here is where the problem is)
• Exits the game and opens it again ...
So when in step 2 when it should move it to the button and press it it just stays at one place but if I move it a bit it teleports to the button but doesn't click it maybe it clicks while moving but as I said it doesnt want to move. I tried both fullscreen and windowed but still the same result.
If some1 know why this happens and could help me somehow it will be nice.
Thanks!
EDIT: Tried to do
MouseMove($xcoord,$ycoord,0)
and
MouseClick("main", , ,5,0)
instead of
MouseClick("main",$xcoord,$ycoord,5,0)
But the result was the same; also tried running as administrator and didnt help