bravo Posted November 14, 2007 Posted November 14, 2007 Hello, I'm new here and do not know autoit what so ever but I found a script that I wanted to use called a Pong aimbot script made by the member DarkShadow. Since I don't know Autoit I just downloaded the Autoit v3 and copied & pasted his script into a .txt file and save it as pong.au3 and used the "compile to exe" feature and it compiled it btu when I try to run it I get an error "Line-1 Error: Only Object-type variables allowed in an "With' statement." He posted a compiled version the link was dead since the domain name it was posted on is no longer active. I just wanted to use it and I don't know how to code autoit like I said so could someone help me or point me to sth to read so I could find out and fix it? or if someone would be so kind to do so for me :/ Opt("MouseCoordMode", 0) Opt("PixelCoordMode", 0) Opt("MouseClickDelay", 0) Opt("MouseClickDownDelay", 0) HotKeySet("{esc}", "_Exit") $oGame = ObjCreate ("ShockwaveFlash.ShockwaveFlash.1") $GameForm = GUICreate("Pong Aimbot", 820, 660, -1, -1) $GUIActiveX = GUICtrlCreateObj ($oGame, 10, 10, 800, 580) $exitbutton = GUICtrlCreateButton("Exit", 704, 624, 89, 25) GUISetState() With $oGame .bgcolor = "#000000" .Movie = 'http://www.2flashgames.com/anjh123hhf923/flash/f-178.swf' .ScaleMode = 2 .Loop = True .wmode = "Opaque" EndWith $searchcolor = 0xfcfffb While 1 $coord = PixelSearch(10, 10, 800, 580, $searchcolor) While IsArray($coord) MouseMove($coord[0], $coord[1], 0) MouseClick("Left") $coord = PixelSearch($coord[0] - 10, $coord[1] - 10, $coord[0] + 10, $coord[1] + 10, $searchcolor) WEnd WEnd Func _Exit() Exit EndFunc
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now