Steronius Posted June 8, 2006 Share Posted June 8, 2006 trying to re-write a bot from fullscreen mode to work on windowwed mode game. game is directx based. have tried to add: Opt("PixelCoordMode", 0) ;1=absolute, 0=relative, 2=client Opt("MouseCoordMode", 0) ;1=absolute, 0=relative, 2=client however, action remain in absolute mode regardless of setting to mode 0. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 8, 2006 Moderators Share Posted June 8, 2006 trying to re-write a bot from fullscreen mode to work on windowwed mode game.game is directx based.have tried to add: Opt("PixelCoordMode", 0) ;1=absolute, 0=relative, 2=client Opt("MouseCoordMode", 0) ;1=absolute, 0=relative, 2=clienthowever, action remain in absolute mode regardless of setting to mode 0.That makes sense if it's a "full screen" game. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
maaltan Posted June 8, 2006 Share Posted June 8, 2006 trying to re-write a bot from fullscreen mode to work on windowwed mode game.game is directx based.have tried to add: Opt("PixelCoordMode", 0) ;1=absolute, 0=relative, 2=client Opt("MouseCoordMode", 0) ;1=absolute, 0=relative, 2=clienthowever, action remain in absolute mode regardless of setting to mode 0.I was beating my head against the wall about this.I found out i had to make sure the window was in focus. Use winactivate before running your mouse script. and make sure you don't let it lose focus. mouse input will not work when the window does not have focus. Link to comment Share on other sites More sharing options...
Steronius Posted June 9, 2006 Author Share Posted June 9, 2006 (edited) I was beating my head against the wall about this.I found out i had to make sure the window was in focus. Use winactivate before running your mouse script. and make sure you don't let it lose focus. mouse input will not work when the window does not have focus.in pseudo i do thiswinactivatesleep(250)opt(...0)opt(...0)then pixelsearches & tooltips still do not attach to game clienti have also tried option 2 for client without success. i am using beta v3.1.1.119 Edited June 9, 2006 by Steronius Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 9, 2006 Moderators Share Posted June 9, 2006 in pseudo i do thiswinactivatesleep(250)opt(...0)opt(...0)then pixelsearches & tooltips still do not attach to game clienti have also tried option 2 for client without success. i am using beta v3.1.1.119Maybe you can't use those functions on the game itself... What game is it, maybe someone has a work around. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Steronius Posted June 9, 2006 Author Share Posted June 9, 2006 okay pixel searches and mouse is working for me now, but how do i change coordmode of tooltips? Link to comment Share on other sites More sharing options...
Simucal Posted June 9, 2006 Share Posted June 9, 2006 Dont think you can change coord mode of tooltips. You could "sort" of do it by getting the window position and size and use that information as offsets against the absolute coordinates. AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
Steronius Posted June 9, 2006 Author Share Posted June 9, 2006 Dont think you can change coord mode of tooltips. You could "sort" of do it by getting the window position and size and use that information as offsets against the absolute coordinates.poo!i was trying to avoid all that. 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