Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 01:44

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Autoit won't run in certain windows?

Discussion on Autoit won't run in certain windows? within the AutoIt forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Autoit won't run in certain windows?

So I used to bot on some games in the past with Autoit and it worked fine. But now it seems like some games refuse to allow Autoit to run while the game is my active window.

I know this might be a game problem and not Autoit itself, but I figured I'd ask anyways. And if it IS an Autoit problem, if somebody knows a way around this, that'd be great. Or another program to make some basic scripts could work too.

The game I'm currently trying to run a script on is Mabinogi. But I've had this problem with several other games before, including a simple game on Eclipse engine.
~~~~~
Basically using even the most basic of basic scripts won't work. If I even try to use something like this:
Code:
While 1
	Sleep(1500)
	MouseClick("right", 1637, 541)
	Sleep(1000)
	MouseClick("left", 1644, 733)
WEnd
The script will run if I don't have the game selected just fine. But the second I make the game window my active window the script pretty much pauses. It just sits there and won't do anything until I click out of the game window. Once I do the script starts to run again.

Even if I just simply can't use autoit on this game anymore I'd like if somebody could at least tell me so I don't waste more time messing with it, haha.

Thanks.
BitOfHope is offline  
Old 08/16/2013, 19:30   #2
 
c0w's Avatar
 
elite*gold: 3653
The Black Market: 378/0/0
Join Date: Aug 2008
Posts: 30,854
Received Thanks: 529
maybe its just a problem with the game resolution?
c0w is offline  
Old 08/16/2013, 19:34   #3
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Quote:
Originally Posted by c0w View Post
maybe its just a problem with the game resolution?
No, I run the game in windowed mode.
BitOfHope is offline  
Old 08/18/2013, 03:34   #4
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Bump: Anybody else have any ideas?
BitOfHope is offline  
Old 08/18/2013, 08:07   #5
 
Croco™'s Avatar
 
elite*gold: 235
Join Date: Jan 2012
Posts: 920
Received Thanks: 377
Trie to run a tooltip with a counter. If the counter stops when you start the game u know that the game stops AutoIt. If not it could be that the game only blocks mouse clicks from external programs.
Croco™ is offline  
Old 08/18/2013, 12:08   #6
 
BitOfHope's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 71
Received Thanks: 11
Quote:
Originally Posted by Croco™ View Post
Trie to run a tooltip with a counter. If the counter stops when you start the game u know that the game stops AutoIt. If not it could be that the game only blocks mouse clicks from external programs.
Tooltip still works with the game selected.
BitOfHope is offline  
Old 09/12/2015, 17:26   #7
 
[Beatrice]'s Avatar
 
elite*gold: LOCKED
Join Date: Oct 2014
Posts: 1,258
Received Thanks: 12,469
Quote:
Originally Posted by BitOfHope View Post
So I used to bot on some games in the past with Autoit and it worked fine. But now it seems like some games refuse to allow Autoit to run while the game is my active window.

I know this might be a game problem and not Autoit itself, but I figured I'd ask anyways. And if it IS an Autoit problem, if somebody knows a way around this, that'd be great. Or another program to make some basic scripts could work too.

The game I'm currently trying to run a script on is Mabinogi. But I've had this problem with several other games before, including a simple game on Eclipse engine.
~~~~~
Basically using even the most basic of basic scripts won't work. If I even try to use something like this:
Code:
While 1
	Sleep(1500)
	MouseClick("right", 1637, 541)
	Sleep(1000)
	MouseClick("left", 1644, 733)
WEnd
The script will run if I don't have the game selected just fine. But the second I make the game window my active window the script pretty much pauses. It just sits there and won't do anything until I click out of the game window. Once I do the script starts to run again.

Even if I just simply can't use autoit on this game anymore I'd like if somebody could at least tell me so I don't waste more time messing with it, haha.

Thanks.
What about using controlclick? If you'd tell what you are actually trying to do, could help you better.
[Beatrice] is offline  
Old 09/12/2015, 19:21   #8
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Some games block access to send anything in window. For what game u need it ?
mlukac89 is offline  
Old 09/12/2015, 21:44   #9

 
Moneypulation's Avatar
 
elite*gold: 138
Join Date: Apr 2012
Posts: 3,494
Received Thanks: 1,769
Why are you pushing a two years old thread?
Moneypulation is offline  
Old 09/13/2015, 11:57   #10
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Haha i didnt look for date
mlukac89 is offline  
Closed Thread


Similar Threads Similar Threads
AutoIt v3 Windows Info (Problem)
01/14/2011 - AutoIt - 4 Replies
hallo ich will für mich ein kleinen bot coden aber mein AutoIt v3 Windows Info will nicht mit machen er zeigt immer 0x00000 Pixel also ich mach es auf dann gehe ich mouse und ziehe den finder Tool auf die Pixel was ich haben will aber es zeigt immer 0x00000 kann einer mir helfen danke schon mall MFG: T.M.B
AutoIt Solitaire Windows 7
03/03/2010 - General Coding - 0 Replies
Hallo Leute, Vor kurzem habe ich angefangen mich mal mit AutoIt zu beschäftigen, da ich nach jahrelangem Java-Programmieren was neues Probieren wollte. Nun möchte ich spasseshalber bzw. für den Lernerfolg ein kleines Skript schreiben was meine Punkte bei Solitaire für Windows 7 ändert. Ich hab die Adresse mit Cheatengine für die Punkte gefunden und hab mich auf die Suche nach dem BasePointer gemacht und habe ihn auch gefunden, allerdings wenn ich Solitaire neustarte ändert sich dieser...
AutoIt und Windows 7
10/07/2009 - Rappelz - 5 Replies
Hi, bin bisschen knapp mit der Zeit, sonst hätte ich es selber getestet aber hat das mal wer probiert? Idee: In Windows 7 kann man Windows XP als virtuelle Maschine einbinden, meine jetzt mit diesem XP Mode der als Patch von Microsoft angeboten wird und nicht die Software VritualPC. In diesem "XP Mode" dann Rappelz installieren. GameGuard würde damit doch theoretisch auch in dieser virtuellen Box laufen, so dass man unter Windows 7 AutoIt Skripte/Programme what ever laufen lassen könnte...



All times are GMT +1. The time now is 01:45.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.