Coding-Problem

03/17/2010 20:14 menchecktor#16
Quote:
Originally Posted by General Desert View Post
EditEdit: Bin Thx geil :mofo:
wird noch warten müssen-.-

sieht jez so aus,aber funktioniert immer noch nich^^:
Code:
HotKeySet ("!q", "start")


Func start()
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1025, 583)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1025, 632)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1025, 678)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1080, 528)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1080, 580)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1080, 625)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1080, 675)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1125, 526)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1125, 576)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1125, 625)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1125, 680)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1180, 522)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1180, 578)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1180, 625)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1180, 678)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1230, 522)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1230, 578)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1230, 625)
	ControlClick("Guild Wars", "", 0, "Left", 2, 1025, 525)
	ControlClick("Guild Wars", "", 0, "Left", 1, 1230, 678)
EndFunc

while 1
sleep (100)
WEnd
03/17/2010 21:24 HardCore.1337#17
Das muss gehen.
Ansonsten vlt. falsche Koordianten?

Probier mal folgenden Script aus:

Code:
  WinSetState("Guild Wars", "", @SW_HIDE)
  ControlClick("Guild Wars", "", 0, "Left", 1, x, y)
  WinSetState("Guild Wars", "", @SW_SHOW)
geh in ein gebiet und gib resign ein. Dann such die x und y Coord´s und trag sie ein.
Sag dann obs geklappt hat.
Wenn nein, weiß ich auch nicht mehr
03/17/2010 22:18 kknb#18
fenstername
03/18/2010 16:42 HardCore.1337#19
...also Guild Wars ;)
03/22/2010 16:46 buFFy!#20
Quote:
Originally Posted by General Desert View Post
...also Guild Wars ;)
Nicht zwangsläufig.
03/22/2010 18:02 ddl#21
Jo, zB "Guild Wars - Sein Char Name"
03/22/2010 19:40 HardCore.1337#22
Das bezieht sich aber auf GWCA wenn ich mich nicht täusche. Oder geht das auch ohne der API?
03/22/2010 20:09 ddl#23
Das bezieht sich auf jede DLL die den Win Namen hooked/umschreibt.
03/22/2010 20:41 HardCore.1337#24
Der arbeitet ja aber ganz normal mit den AutoIt Befehlen (also ohne DLL ect.)
Er nutzt ja nur die tt6 Engine
03/23/2010 12:12 ddl#25
Ich wollt damit auch nur sagen, dass das GW Fenster auch anders heißen könnte!
03/23/2010 16:51 buFFy!#26
Quote:
Originally Posted by General Desert View Post
Der arbeitet ja aber ganz normal mit den AutoIt Befehlen (also ohne DLL ect.)
Er nutzt ja nur die tt6 Engine
Spätestens beim Multiclient 2.2 heißt das Fenster nicht mehr 'Guild Wars'.
03/23/2010 18:22 HardCore.1337#27
Da hast du auch wieder recht ;)
03/23/2010 20:56 kknb#28
sag ich doch
03/23/2010 21:43 Gabba2#29
Quote:
Originally Posted by kknb View Post
sag ich doch
Da hatter Recht
03/24/2010 00:52 in MIND#30
Quote:
Originally Posted by u-coRe View Post
Spätestens beim Multiclient 2.2 heißt das Fenster nicht mehr 'Guild Wars'.
is allerdings nich sicher ob er den auch benutzt...
könnts ja immernoch manuell oder mit Harboes multilauncher machen