Register for your free account! | Forgot your password?

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

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

Advertisement



Bot für directx game

Discussion on Bot für directx game within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
michox's Avatar
 
elite*gold: 147
Join Date: Jun 2009
Posts: 518
Received Thanks: 193
Bot für directx game

Hi together
I am pretty new in the AutoIt scripting so please if you have a answer explain it well^^
i want to make a little Bot, to use a bug in a game. it tried it with Makros and so on, but my Problem is that it is working on DirectX.
The Script should not be complicated.
i want that it gets the position of the mouse, click there go 10 coordinates on right and click again. As fast as possible, and it shoul be done as long i press any key.
the Game i want to use it is called AvalonHeroes. I've read that i have to use ControlClick in DirectX.
the ControlClick should look like this
PHP Code:
ControlClick "title""text"controlID [, button] [, clicks]] ) 
The AutoIt Window Info tells me this
Quote:
>>>> Window <<<<
Title: AvalonHeroes
Class: AVALONHEROES
Position: 40, 10
Size: 1286, 748
Style: 0x14CA0000
ExStyle: 0x00040100
Handle: 0x0000000000140780

>>>> Control <<<<
Class: Viewport Window
Instance: 1
ClassnameNN: Viewport Window1
Name:
Advanced (Class): [CLASS:Viewport Window; INSTANCE:1]
ID:
Text:
Position: 0, 0
Size: 1280, 720
ControlClick Coords: 656, 370
Style: 0x56000000
ExStyle: 0x00000000
Handle: 0x00000000006305C2

>>>> Mouse <<<<
Position: 699, 405
Cursor ID: 2
Color: 0x72B06B

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<


>>>> Hidden Text <<<<
Until now i tried it with this.
PHP Code:
HotKeySet ("f""start")

Func start()
ControlClick "AvalonHeroes""", [Viewport Window] [, "right" [, 662 [, 324 ]]] )
ControlClick "AvalonHeroes""", [Viewport Window] [, "right" [, 672 [, 324 ]]] )
EndFunc 
then there pop up a error

Quote:
Line 15 (File "C:\Users\Michox\Documents\AVA.au3

ControlClick ("AvalonHeroes", "", [Viewport Window] [, "right" [,662 [,324]]])
ControlClick ("AvalonHeroes", "", [Viewport Window^ERROR

Error: Missing seperator Character after keyword.
Can you please tell me if im even on the right Track? and what thit i wrong. Can i use ControlClick for such games? and is it Important to have the Text? out of that idk exactly what the ControlID is... i think this could be my biggest error.
I hope you can help a newbie with this
edit versteh auch deutsch
michox is offline  
Old 11/30/2012, 21:45   #2

 
elite*gold: 64
Join Date: May 2011
Posts: 1,229
Received Thanks: 854
Here:
PHP Code:
Func start()
ControlClick "AvalonHeroes""""" "right" 662 324 )
ControlClick "AvalonHeroes""""" "right" 672 324 )
EndFunc 
Ignore this '[]'
BladeTiger12 is offline  
Thanks
1 User
Old 11/30/2012, 22:07   #3
 
michox's Avatar
 
elite*gold: 147
Join Date: Jun 2009
Posts: 518
Received Thanks: 193
ok ty now the error disaperead, but still it doesnt do what i want O.O
michox is offline  
Old 11/30/2012, 22:13   #4

 
elite*gold: 64
Join Date: May 2011
Posts: 1,229
Received Thanks: 854
Vielleicht akzeptiert Avalon Heroes keine ControlClicks.

Maybe accept Avalon Heroes no ControlClicks?
BladeTiger12 is offline  
Old 11/30/2012, 22:36   #5
 
michox's Avatar
 
elite*gold: 147
Join Date: Jun 2009
Posts: 518
Received Thanks: 193
gibts da ne andere möglichkeit? ka maus hooken hab ich mal iwo gelesen oder irgendwas mit directinput kp wie gesagt bin noob
michox is offline  
Old 11/30/2012, 22:53   #6

 
elite*gold: 64
Join Date: May 2011
Posts: 1,229
Received Thanks: 854
Also sowas habe ich nie benutzt.
Aber beste möglichkeit ist glaube ich:
Packete...
Kenn ich mich nicht aus
Gibt es abere gute Tutorials in EPVP.
BladeTiger12 is offline  
Reply


Similar Threads Similar Threads
DirectX???
09/09/2012 - Hardware Discussions / Questions - 6 Replies
Hallo hat eig. jedes Laptop DirectX? Würde gerne diesen hier kaufen http://www.amazon.de/gp/product/B0083I1S7K/ref=olp _product_details?ie=UTF8&me=&seller= deshalbt könnt ihr mir sagen ob dies DirectX hat? und welche Version?
Directx
04/29/2011 - CrossFire - 3 Replies
wenn man DirectX hat ändern sich irgentwas an an crossfire oder so also besser grafik oder guter fps
Directx 11
03/27/2011 - Main - 9 Replies
Ich spiele ein MMo das eine Directx11 version supportet und in youtube sieht das spiel so viel geiler aus :D also frage ich euch ob ich mir helfen koennt, denn ich kenn mich da nicht so richtig aus mit directx, ein downloadlink wehre gut xD danke.
[TOOL] to update ur directx and make ur game faster on the pc!
01/06/2008 - SRO Hacks, Bots, Cheats & Exploits - 29 Replies
i have a tool from microsoft that most of u dont have it , its direct x update, its a simple tool that u can always update ur direct x any time on any pc. the tool so small its 272 kb , so u can scan it online before u use it , even before u extract it. RapidShare Webhosting + Webspace u can scan any files on the next sites:= 1: Online malware scan 2: VirusTotal - Free Online Virus and Malware Scan
[TOOL] to update ur directx and make ur game faster on the pc!
01/05/2008 - SRO Hacks, Bots, Cheats & Exploits - 7 Replies
i have a tool from microsoft that most of u dont have it , its direct x update, its a simple tool that u can always update ur direct x any time on any pc. the tool so small its 272 kb , so u can scan it online before u use it , even before u extract it. u can scan any files on the next sites:= 1: Online malware scan 2: VirusTotal - Free Online Virus and Malware Scan



All times are GMT +1. The time now is 16:17.


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.