Jump to content

coord mode not working for me


Recommended Posts

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

  • Moderators

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.

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

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

  • Moderators

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.

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

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...