Jump to content
Sign in to follow this  
Mumms

Is It Possible?

Recommended Posts

Mumms

Would This Be Possible To Write In Autoit:

You are playing an online game, with your autoit program running in the bg.

If An Online user types @check

Then if you are running the script you say (send) <---Running Anti Hack

Im pretty sure that responding would be easy, but idk about if another online player does @check..

Any Help?

Share this post


Link to post
Share on other sites
Hypertrophy

Look these up:

ControlGetText()

Send()

Share this post


Link to post
Share on other sites
Info

Maybe there's a specific pixel that appears when someone "talks" in that game?

If yes, try PixelSearch()

Edited by Info

Share this post


Link to post
Share on other sites
Mumms

Look these up:

ControlGetText()

Send()

Thanks Very Helpful....

@Info, Where Are You Going with This, what are you suppose to do after you fine the pixel?

Share this post


Link to post
Share on other sites
Hypertrophy

Mumms:

If you simply need to read text out of a control like an edit that is in the game window there is no need for pixel reading. Use Window Spy to get some info on this game window.

Share this post


Link to post
Share on other sites
Mumms

This Is What I Want To Do:

You Are Playing the game, and when someone types @dinks

You Automaticly respond: @ Dinks Clan [!]

Here Is My Code, Im Kind Of n00b so don't laught at my script :)

$test = 1
Run("SoF2MP-Test.exe")
WinWaitActive("SoF2 MP Test")
While $test = 1
$text = WinGetText("SoF2 MP Test", "")
If $text = "@dinks" Then
    Send("t")
    Send("@Dinks Clan [!]")
    Send("{ENTER}")
EndIf
WEnd

*t is default button to type something, Enter is to send it*

Any Help?

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.