Sign in to follow this  
Followers 0
Steronius

coord mode not working for me

8 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

That makes sense if it's a "full screen" game.

[center]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.[/center]

Share this post


Link to post
Share on other sites

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.

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.

Share this post


Link to post
Share on other sites

#4 ·  Posted (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 this

winactivate

sleep(250)

opt(...0)

opt(...0)

then pixelsearches & tooltips still do not attach to game client

i have also tried option 2 for client without success. i am using beta v3.1.1.119

Edited by Steronius

Share this post


Link to post
Share on other sites

in pseudo i do this

winactivate

sleep(250)

opt(...0)

opt(...0)

then pixelsearches & tooltips still do not attach to game client

i have also tried option 2 for client without success. i am using beta v3.1.1.119

Maybe you can't use those functions on the game itself... What game is it, maybe someone has a work around.

[center]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.[/center]

Share this post


Link to post
Share on other sites

okay pixel searches and mouse is working for me now,

but how do i change coordmode of tooltips?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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.

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