glix Posted January 20, 2007 Share Posted January 20, 2007 im making a bot that simply clicks on a designated color, but as soon as the mouse moves into the game window, the game mouse comes up and blocks whatever im going to click on with the color of the mouse, any ideas? Link to comment Share on other sites More sharing options...
theguy0000 Posted January 20, 2007 Share Posted January 20, 2007 there is probably a block on the GameGuard. You cannot automate the game. The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
glix Posted January 20, 2007 Author Share Posted January 20, 2007 there is no gameguard or any form of protection really Link to comment Share on other sites More sharing options...
glix Posted January 21, 2007 Author Share Posted January 21, 2007 is there anyway i can offset the actual mouse position from what the cursor is pointed to, by say one pixel? Link to comment Share on other sites More sharing options...
Maxvan1 Posted January 21, 2007 Share Posted January 21, 2007 You mean that the mouse from windows and the game mouse are not on the same position right? Happened to me when I was trying to modify a WoW bot... Try this... But change World of Warcraft to whatever game you are using... WinSetState("World of Warcraft", "", @SW_MAXIMIZE) I am a autoit noob, so I dont really know, just my guess... Link to comment Share on other sites More sharing options...
glix Posted January 21, 2007 Author Share Posted January 21, 2007 Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 21, 2007 Share Posted January 21, 2007 im making a bot that simply clicks on a designated color, but as soon as the mouse moves into the game window, the game mouse comes up and blocks whatever im going to click on with the color of the mouse, any ideas?If you already have the coordinates, you don't need to see the color anymore to do mouseclick(). MouseMove() out of the area you are interested in to search for the color, then MouseClick() on the coordinates found.Hope that helps... Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Maxvan1 Posted January 21, 2007 Share Posted January 21, 2007 This is an aimbot I assume? You can make a pixelsearch around your mouse (script it somewhere... I think its in the CS2 aimbot thread) It does not automaticly aim, but it clicks to their head as soon as you get close... Link to comment Share on other sites More sharing options...
glix Posted January 21, 2007 Author Share Posted January 21, 2007 (edited) Func Game_Bot() $coord = PixelSearch (0, 36, 619, 335, 0xDEFFFF) If Not @error Then MouseClick("Right", $coord[0], $coord[1]) Sleep (2000) Endif EndFunc if the mouse is in the way it returns the value of the cursor rather than the pixel i really want, and it must auto move. Edited January 21, 2007 by glix Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 21, 2007 Share Posted January 21, 2007 (edited) Func Game_Bot() $coord = PixelSearch (0, 36, 619, 335, 0xDEFFFF) If Not @error Then MouseClick("Right", $coord[0], $coord[1]) Sleep (2000) Endif EndFunc if the mouse is in the way it returns the value of the cursor rather than the pixel i really want, and it must auto move. How about: Func Game_Bot() ; Save current mouse pos and move out of the way Local $avMousePos = MouseGetPos() MouseMove($avMousePos[0], 340, 0) $coord = PixelSearch (0, 36, 619, 335, 0xDEFFFF) If Not @error Then MouseClick("Right", $coord[0], $coord[1]) Sleep (2000) Endif ; Restore mouse pos MouseMove($avMousePos[0], $avMousePos[1], 0) EndFunc Edited January 21, 2007 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
glix Posted January 21, 2007 Author Share Posted January 21, 2007 thanks works fine now 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