Jump to content
Sign in to follow this  

How would I go about doing this

Recommended Posts

What I'm trying to do is create a script that catches eggs for a game called dragon cave (google it if you'd like to try it). So far, my script opens the site, signs in, and goes to the specific page where the egg can be found. The thing that I thought would be the hardest thing of all to figure out how to do is actually picking up the egg.


This is what they look like. The only thing that separates the eggs is the description of the egg. How would I make my script identify an egg based on a certain description, and quickly click on the required egg? I've tried to figure out how to do this myself and I cannot for the life of me figure it out.

Could someone possibly tell me the required functions I would have to use in order to do this? I know it would most likely use IE.au3.

#include <IE.au3>


Func signIn()
Global $oIE = _IECreate("http://dragcave.net/login")

Local $user = _IEGetObjByName($oIE, "username")
Local $pass = _IEGetObjByName($oIE, "password")
Local $button = _IEGetObjByName($oIE, "submit")

_IEFormElementSetValue($user, "my username")
_IEFormElementSetValue($pass, "my password")

_IEAction ($button, "click")

_IELinkClickByText($oIE, "Alpine")




Share this post

Link to post
Share on other sites

I thought autoit was created to automate stuff like this.. My bad lol

I believe it was one of the big and main things it was used for, for half of it's life, and still probably is, but discussion of it got banned some time ago.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...