How to AutoIt Aeria 12Sky2?

08/03/2009 00:34 maluskhan#1
First off, Dont start flaming this thread with "use the search function" or "read the pages" bcos I HAVE!
Im Playing Aeria 12Sky2
using Vista 64 Home premiumSP1

I have downloaded, tested ALL the trainer(strikeraid), auto AOE(Kuchiha), autopots using pixel search(Jinong81) but theyv all faild on me. I have figured that the real issue is not the addresses bcos I can still speed using CE. The real problem for me is :
How to attach ( if this is the rite term) an AutoIt script to my 12sky2.exe

I have tried writing a simple press key "1" every 5 secs with AutoIt and it could work outside of the game but not ingame. After studying all the codes from bots and trainers using AutoIt, I used WinActive("TwelveSky2") but it still didnt work.

Even the undetectable pixel search autopot doesnt work for me even tho I have figured the box cordinates, get color etc

So Im down to my last straw, Posting this thread Hoping some1 with great knowledge ( Almost every1 here does) would help put my problem to rest. Thanks all
08/03/2009 00:37 strikeraid#2
To be honest. I have no clue what's wrong with yours. The only thing i could think of is that maybe you have an old TW2 file that is preventing you from accessing the game using the trainers.

when using CE to attach to TW2 do you use regular way or through "window list" ?
08/03/2009 00:46 maluskhan#3
I can see tw2 process in the CE's process list. Its not even hidden in the window list like few others hav.
I was giving CE scripting a try but its way too complicated to even start off.
08/03/2009 00:53 strikeraid#4
don't think winactive is what you're looking for. should probably be winactivate("TwelveSky2")

but thats not the problem right now. something is blocking you from sending keys to tw2. might be another game or another protection running. could be your antivirus? i don't really know the main cause. maybe you could ask someone who's running aeria to send their exact files to you so that you can see if it'll work. though i kind of doubt it will since you said you can use autoit to send buttons outside of game but not in it.

are you 100% sure you're running aeria? might sound like a dumb question, but its essential. i know for sure PH will block your keys sent to it.
08/03/2009 01:12 Kuchiha#5
If you're under Vista check you run your script with admin rights. On the first line of your script add this :
#RequireAdmin

Edit : for the winactive it's the name of the window that you need not the name of the process :
WinActive("TwelveSky2")
08/03/2009 06:39 maluskhan#6
I got it working now!
*strikeraid: lol Im not that nooby. Im playing Aeria game (US ver)

I think the real problem was my incomplete knowledge of AutoIt. I used to put it like this

Func AOE()
WinActive("TwelveSky2")
Send("1")
Sleep(1000)
EndFunc

I have moved it out like this

#RequireAdmin
WinActive("TwelveSky2")

Func AOE()
Send("1")
Sleep(1000)
EndFunc

After that, I closed all of the antivirus and firewall, just tw2, CE, aoe and some other minor stuff, and its working beautifully.

BIG THANKS to STRIKERAID AND KUCHIHA!
08/03/2009 06:58 strikeraid#7
Nahhh. it was all you. nice job.