lolpaa Posted August 23, 2007 Share Posted August 23, 2007 (edited) so i have been worked out with this aimbot for kiekko.tk... I have got it worked but i just cant get right coordinates. could some1 help me in this problem i would be very happy. So meaning of coordinates would be to get cursor to the right spot so puck would go each time on left or right corner of the goal. So do somebody know what to do help me? Edited August 23, 2007 by lolpaa Link to comment Share on other sites More sharing options...
Achilles Posted August 23, 2007 Share Posted August 23, 2007 so i have been worked out with this aimbot for kiekko.tk... I have got it worked but i just cant get right coordinates. could some1 help me in this problem i would be very happy. So meaning of coordinates would be to get cursor to the right spot so puck would go each time on left or right corner of the goal. So do somebody know what to do help me?This might help you: It's taken from Valuater's AutoIt 1-2-3 expandcollapse popup; This is a demonstration for Object Create, similar to Level I. ; We are using AU3Info to get the Pixel search color. #include <GuiConstants.au3> Dim $My_Color = 0xA8FF93; from AU3Info. Dim $Game, $MID HotKeySet("{F8}","Get_coord") HotKeySet("{F9}","Game_Bot") opt("MouseCoordMode", 0) ;see Level I or Search Help for "options". Opt("PixelCoordMode", 0) GUICreate("Object - Game Bot", 614, 370) GUISetFont(9, 400, -1, "MS Sans Serif") $B_oIE3 = ObjCreate("Shell.Explorer.2") $Breaktime = GUICtrlCreateObj($B_oIE3, -45, -140, 540, 510) $html2 = "about:<br><br><br><br><br><br><br><br><br><br><Text>.......... Game Bots... Yes, You can Create Game Bots in AutoIt. <br><br>........... Check this easy one out!... Please Press *Enter Game* </Text>" $B_oIE3.navigate ($html2) GUICtrlCreateLabel ("*Game Bots*", 503, 80,150) GUICtrlSetFont( -1, 12, 700) GUICtrlCreateLabel ("PixelSearch", 505, 120,150) GUICtrlSetFont( -1, 12, 700) $BrkStart = GUICtrlCreateButton("&Enter Game", 505, 300, 80, 25) $BrkEnd = GUICtrlCreateButton("&Exit", 505, 330, 80, 25) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Or $msg = $BrkEnd Then Exit EndIf If $msg = $BrkStart Then $B_oIE3.navigate ("http://www.albinoblacksheep.com/flash/curveball.php") Sleep(1500); wait to load $B_oIE3.navigate ("http://www.albinoblacksheep.com/flash/curveball.php") Sleep(1500); bypass the advertisement MsgBox(262208, "How to Play", "Move the Racket to Hit the Ball " & @CRLF & "Or, Press [F9] to Use the Game Bot ") EndIf WEnd Func Game_Bot(); if $Game then $Game = True, If Not $Game then $Game = False, maybe think of $Game as "1". $Game = NOT $Game If $Game Then ToolTip('Press (F9) to Exit Game Bot',0,0) While $Game; search left, top, right bottom for my color, color varience of 50 shades, check every 10 pixels. $ball = PixelSearch( 49, 75, 430, 330, $My_Color, 50, 10) If Not @error Then MouseClick("left", $ball[0], $ball[1], 1, 0) WEnd ToolTip("") EndFunc Func Get_coord(); press F8 to get mouse coordinates $MID = NOT $MID While $MID $pos = MouseGetPos() ToolTip('Mouse coordinates ' & @CRLF & " X = " & $pos[0] & @CRLF & " Y = " & $pos[1],0,0) Sleep(20) WEnd ToolTip("") EndFunc My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
lolpaa Posted August 24, 2007 Author Share Posted August 24, 2007 This might help you: It's taken from Valuater's AutoIt 1-2-3 expandcollapse popup; This is a demonstration for Object Create, similar to Level I. ; We are using AU3Info to get the Pixel search color. #include <GuiConstants.au3> Dim $My_Color = 0xA8FF93; from AU3Info. Dim $Game, $MID HotKeySet("{F8}","Get_coord") HotKeySet("{F9}","Game_Bot") opt("MouseCoordMode", 0) ;see Level I or Search Help for "options". Opt("PixelCoordMode", 0) GUICreate("Object - Game Bot", 614, 370) GUISetFont(9, 400, -1, "MS Sans Serif") $B_oIE3 = ObjCreate("Shell.Explorer.2") $Breaktime = GUICtrlCreateObj($B_oIE3, -45, -140, 540, 510) $html2 = "about:<br><br><br><br><br><br><br><br><br><br><Text>.......... Game Bots... Yes, You can Create Game Bots in AutoIt. <br><br>........... Check this easy one out!... Please Press *Enter Game* </Text>" $B_oIE3.navigate ($html2) GUICtrlCreateLabel ("*Game Bots*", 503, 80,150) GUICtrlSetFont( -1, 12, 700) GUICtrlCreateLabel ("PixelSearch", 505, 120,150) GUICtrlSetFont( -1, 12, 700) $BrkStart = GUICtrlCreateButton("&Enter Game", 505, 300, 80, 25) $BrkEnd = GUICtrlCreateButton("&Exit", 505, 330, 80, 25) GUISetState() While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Or $msg = $BrkEnd Then Exit EndIf If $msg = $BrkStart Then $B_oIE3.navigate ("http://www.albinoblacksheep.com/flash/curveball.php") Sleep(1500); wait to load $B_oIE3.navigate ("http://www.albinoblacksheep.com/flash/curveball.php") Sleep(1500); bypass the advertisement MsgBox(262208, "How to Play", "Move the Racket to Hit the Ball " & @CRLF & "Or, Press [F9] to Use the Game Bot ") EndIf WEnd Func Game_Bot(); if $Game then $Game = True, If Not $Game then $Game = False, maybe think of $Game as "1". $Game = NOT $Game If $Game Then ToolTip('Press (F9) to Exit Game Bot',0,0) While $Game; search left, top, right bottom for my color, color varience of 50 shades, check every 10 pixels. $ball = PixelSearch( 49, 75, 430, 330, $My_Color, 50, 10) If Not @error Then MouseClick("left", $ball[0], $ball[1], 1, 0) WEnd ToolTip("") EndFunc Func Get_coord(); press F8 to get mouse coordinates $MID = NOT $MID While $MID $pos = MouseGetPos() ToolTip('Mouse coordinates ' & @CRLF & " X = " & $pos[0] & @CRLF & " Y = " & $pos[1],0,0) Sleep(20) WEnd ToolTip("") EndFunc So it didnt quite help me cause i cant figure this "right,bottom,left and top" wot are meanings of them cause that one u gave me gives only x and y. So here is some thing to clear my problem Case _IsPressed("25",$dll); left key $left = 75 $top = 255 $right = 85 $bottom = 265 ToolTip("LEFT key pressed") Case _IsPressed("27",$dll); right key $left = 710 $top = 255 $right = 720 $bottom = 265 ToolTip("Right key pressed") Case _IsPressed("10",$dll) ; shift key ToolTip("ShiFT key pressed!") $Pos = PixelSearch($left,$top,$right,$bottom, $Color) If IsArray($Pos) Then MouseMove($Pos[0],$Pos[1],0) MouseDown("left") sleep(700) MouseUp("left") u know what to do? this is not hole script but prob is on this area. Link to comment Share on other sites More sharing options...
lolpaa Posted August 25, 2007 Author Share Posted August 25, 2007 so i have been worked out with this aimbot for kiekko.tk... I have got it worked but i just cant get right coordinates. could some1 help me in this problem i would be very happy. So meaning of coordinates would be to get cursor to the right spot so puck would go each time on left or right corner of the goal. So do somebody know what to do help me?So i got that problem kind of done.. but i still need little help with it: so if i press right key it will "attack"(shoot) on ----> that side. And when im pressing left key it should "attack"(shoot) on <---- that side BUT when im pressing left it can't found that spot. Wot might be problem cause in my opinion coordinates are fine. Can u help me. i can try clear it up for u if u didnt understand me-. Link to comment Share on other sites More sharing options...
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