Sign in to follow this  
Followers 0
illgamez

help with simple auto clicker for a game

7 posts in this topic

im looking for a ijji gunz script that will automatically move my cursor to the "Start Game" icon and double click it everyminute.

So i can automatically restart a game when im away from the computer. Thanks

Share this post


Link to post
Share on other sites



ummm...

See Mouseclick() or ControlClick()

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Ah!!! I have a script for this! I use it for luminary but you can just as well as use it for gunz!!!lemme go find it!

Just enter your name and password, and change luminary to gunz!

P.S. I did write this function myself though!

#include <IE.au3>
#include <GUIConstants.au3>
#include <GUIcombo.au3>
$ID = "You Ijji ID here"
$PASS = "Your Ijji Password here"
Login("http://luminary.ijji.com/",$ID,$PASS);change http://luminary.ijji.com/ to http://gunz.ijji.com/
Func Login($szURL,$szUsername,$szPassword)
$vGUI=GuiCreate("Logging In...", 100, 40,-1, -1 , BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS))
_IEErrorHandlerRegister ()
$oIE = _IECreateEmbedded ()
$Label_1 = GuiCtrlCreateLabel("Logging In...", 10, 10, 80, 30)
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 80, 1)
GuiSetState()
_IENavigate($oIE,$szURL)
$HTML=_IEBodyReadHTML($oIE)
$LoggedIn = StringInStr($HTML,"r_signin_btnlogin.gif")
If $LoggedIn = 0 Then
_IENavigate($oIE,"java script:goPlay('u_goonzu', '');",0)
Else
$oForm = _IEFormGetObjByName ($oIE, "form")
$oUser = _IEFormElementGetObjByName ($oForm, "memberid")
_IEFormElementSetValue ($oUser, $szUsername)
$oPass = _IEFormElementGetObjByName ($oForm, "password")
_IEFormElementSetValue ($oPass, $szPassword)
Sleep(1000)
_IENavigate($oIE,"java script:goSubmit(form);")
Sleep(500)
_IELoadWait($oIE)
Sleep(1000)
_IENavigate($oIE,"java script:goPlay('u_goonzu', '');",0)
EndIf
Sleep(3000)
GUIDelete($vGUI)
Exit
EndFunc
Edited by MethodZero

[center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

MouseClick ( "Left" , x, y , 2)
Sleep (90000)

Press Home to start, and End to stop.

Edited by Eru

Share this post


Link to post
Share on other sites

how do i make it loop now?

Share this post


Link to post
Share on other sites

how do i make it loop now?

Read the loops section of the helpfile. :P

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