EliTe_ThuT Posted October 12, 2006 Share Posted October 12, 2006 Hi, I wanted to know if it was possible to make autoit work while the game (here TQ) is in fullscreen. Cause it doesn't seem to work. I just want to make a simple "pickit" script...I'm playing single player and I'm getting tired of always "ALT-look for good items-click"...lol...and also because I wanted to practice with autoit. Anyway... The script by itself is simple... I look for a certain color pixel then I click on this coord...and you set that in a function so you can use hotkeys... but that's not my problem...It's because I'm not able to make autoit work in Fullscreen. Is this possible? Link to comment Share on other sites More sharing options...
AzKay Posted October 12, 2006 Share Posted October 12, 2006 Which game? And autoit does work in fullscreen. What do you mean by work in fullscreen? # MY LOVE FOR YOU... IS LIKE A TRUCK- # Link to comment Share on other sites More sharing options...
EliTe_ThuT Posted October 12, 2006 Author Share Posted October 12, 2006 Which game? And autoit does work in fullscreen. What do you mean by work in fullscreen?TQ...Titan Quest.What I mean by it doesn't work in fullscreen is that when I start the script it works when the game is running 1024*768 (windowed) but it doesn't work when it fullscreen...it doesn't do anything...just like if there was not any script running... Link to comment Share on other sites More sharing options...
EliTe_ThuT Posted October 12, 2006 Author Share Posted October 12, 2006 (edited) Look...this is my script...why it doesn't work? ;;; Options;;; Opt("MouseCoordMode", 0) Opt("PixelCoordMode", 0) Opt("MouseClickDelay",0) Opt("MouseClickDownDelay",0) ;;;;;;;;;;;;;;;;;; ;;; Set HotKey;;; HotKeySet("{0}", "Search" ) HotKeySet("{ESCAPE}" , "_Exit") ;;; Body;;; While 1 Sleep (0) WEnd ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Start Searching for pixel;;; Func Search() While 1 Send("{ALT down}") $coord = PixelSearch(800, 200, 905, 228, 0xFFF52B, 4, 3) If Not @error Then MouseMove($coord[0],$coord[1],0) MouseClick('left') EndIf Send("{ALT up}") WEnd EndFunc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Func _Exit() Exit EndFunc Edited October 12, 2006 by EliTe_ThuT Link to comment Share on other sites More sharing options...
NELyon Posted October 12, 2006 Share Posted October 12, 2006 Does this game use something like XTrap? If so, then no pixelsearch for you Link to comment Share on other sites More sharing options...
EliTe_ThuT Posted October 13, 2006 Author Share Posted October 13, 2006 Does this game use something like XTrap? If so, then no pixelsearch for you No, it doesn't. Link to comment Share on other sites More sharing options...
1905russell Posted October 15, 2006 Share Posted October 15, 2006 (edited) $coord = PixelSearch(800, 200, 905, 228, 0xFFF52B, 4, 3) EndFuncCurious if you get a hit with PixelSearch with small screen on 0xFFF52B BTW- Use $coord = PixelSearch(800, 200, 905, 228, 0xFFF52B, 4) Then when in full screen - what color does PixelGetColor return at that location? Edited October 15, 2006 by 1905russell 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