Sign in to follow this  
Followers 0
Masterphilly

Making Multiple Cursors

3 posts in this topic

hello everybody, i'm new to AutoIt, it's only been about 2 weeks since i started, but i understand most of the basics

so i was trying to create a script to play this armorgame called Podz. it involves clicking on all the green balls before the time runs out without clicking on any of the red ones. my biggest problem with the game is that once you click on a green ball, it doesn't disappear right away and the next time the cursor comes by, it clicks on the already clicked green ball, and i lose the level because of the red ball below it.

here is the program, it works for the first few levels that don't have any red balls:

Func podz()

sleep(100)

while $ycor < 593

If _IsPressed("45") Then ExitLoop

While $xcor < 727

MouseMove( $xcor, $ycor,0)

If PixelGetColor($xcor,$ycor) = 10870552 Then MouseClick("left")

$xcor += 2

WEnd

$ycor+=3

mousemove(0, $ycor,0)

$xcor = 0

WEnd

EndFunc

While 1

if _IsPressed("53") then

$xcor = 259

$ycor = 200

podz()

EndIf

if _IsPressed("54") Then

exit

EndIf

WEnd

PodzArmorGames.au3

Share this post


Link to post
Share on other sites



This is about botting a game?

http://www.autoitscript.com/forum/index.php?showannouncement=12&f=2


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

i'm sorry, i didn't realize that, i everywhere i looked about automating games pointed me to AutoIt, but it would also be a very practical ability to know how to do, so maybe if you know how to create multiple cursors....

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0