Qutazs Posted September 25, 2009 Posted September 25, 2009 Hello everyone, this is my first time here on the boards, and the very first time using AutoIT (I was using AutoHotKey before). I can say, that right now I really like AutoIT and the possibilities, but I have ran into a problem. $var = 1 While $var = 1 Sleep (5000) $PID = ProcessExists("WoW.exe") If $PID Then ControlSend("World of Warcraft", "", "GxWindowClassD3d", "2",1) WEnd This SHOULD send the key "2" into the World of Warcraft window, even if it ain't the highlighted window (means; not being the active window). Can anyone see what I'm doing wrong? It worked perfectly when I wrote it like this: $var = 1 While $var = 1 Sleep (5000) $PID = ProcessExists("WoW.exe") If $PID Then Send("2") WEnd But then it HAS to be active - And that's hard when I want it to run in the background while in school. Ty in advance :-)
Andreik Posted September 25, 2009 Posted September 25, 2009 Maybe WOW use something for protection like GameGuad or something similar, in this case ControlSend will not work.
jvanegmond Posted September 25, 2009 Posted September 25, 2009 WoW doesn't have gameguard. Do your research. @Qutasz, you can do a control send without specifying a control, this works on WoW for sure. But perhaps it still has to be active. I've never tried running it in the background, because I usually wanted to see what the bot was doing for validation of it running properly. Anyway, this is the code: ControlSend("WindowTitle", "", "", "Send text") github.com/jvanegmond
Qutazs Posted September 25, 2009 Author Posted September 25, 2009 WoW doesn't have gameguard. Do your research. @Qutasz, you can do a control send without specifying a control, this works on WoW for sure. But perhaps it still has to be active. I've never tried running it in the background, because I usually wanted to see what the bot was doing for validation of it running properly. Anyway, this is the code: ControlSend("WindowTitle", "", "", "Send text") I will try, and get back to you :-)
Qutazs Posted September 25, 2009 Author Posted September 25, 2009 The script is now working #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_Comment=This is an Autojoin/ANTI-AFK script for WoW Honor / XP farming (BG ONLY!) #AutoIt3Wrapper_Res_Description=Autjoin/ANTI-AFK WoW #AutoIt3Wrapper_Res_Fileversion=1.0.0.1 #AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y #AutoIt3Wrapper_Res_LegalCopyright=TOtallyANoNymous #AutoIt3Wrapper_Res_Language=1080 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** $var = 1 While $var = 1 Sleep (5000) $PID = ProcessExists("WoW.exe") If $PID Then ControlSend("World of Warcraft", "", "", "2") WEnd
jvanegmond Posted September 25, 2009 Posted September 25, 2009 Great! Good to know. : ) github.com/jvanegmond
Qutazs Posted September 25, 2009 Author Posted September 25, 2009 Ok just to clarify something. This was just the first part for my "all-in-one" pack for honor farming in WoW. It will have the possibility of auto-login, auto-queue, auto-join and anti-afk. It will come in an install file, which will install the program itself + the associated wow addon (the one that queues you). Just need to wait a bit more for a beta release :-)
jvanegmond Posted September 25, 2009 Posted September 25, 2009 What are you clarifying here? It looks like all new information to me, none of it of any relevance. github.com/jvanegmond
Qutazs Posted September 25, 2009 Author Posted September 25, 2009 What are you clarifying here? It looks like all new information to me, none of it of any relevance.I see what you mean, sorry, its early in my current position But that whats im making atm.
jvanegmond Posted September 25, 2009 Posted September 25, 2009 That's great. I usually post this stuff on my Twitter page or on my blog. 8) github.com/jvanegmond
Qutazs Posted September 25, 2009 Author Posted September 25, 2009 I think I'm gonna do that once I have a working beta version
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