Schwachsinn ignoriert mich!
D:\Documents and Settings\admin\Desktop\New Folder\tt6.au3 (567) : ==> Cannot assign values to constants.: $WM_LBUTTONUP = 0x0202 ^ ERROR
#include "tt6.au3"
;info window
$win = GUICreate("Status Window", 200, 150, 5, 5)
GUISetState(@SW_SHOW)
$label_pos = GUICtrlCreateLabel("x: -00000.00 y:-00000.00 ", 10, 10)
$label_cou = GUICtrlCreateLabel("c: -00000.0000 ", 10, 30)
Sleep(1000)
AdlibEnable("status", 200)
Func status()
$course = _memoryread($memcourse,$hprocess,'float')
$posx = _memoryread($memx,$hprocess,'float')
$posy = _memoryread($memy,$hprocess,'float')
$string = StringFormat("x: %.2f y: %.2f", $posx, $posy)
GUICtrlSetData($label_pos, $string)
$string = StringFormat("c: %.4f", $course)
GUICtrlSetData($label_cou, $string)
EndFunc
; Main
Opt("sendkeydelay", 25)
Opt("Sendkeydowndelay", 500)
PrepMoveTo()
$timer = TimerInit()
$once = true
InitDest(-5977.27392578125,2288.14672851563)
While Not MoveTo(0,0,0)
Sleep(10)
$time = TimerDiff($timer)
if $time > 500 and $once Then
ControlSend("Guild Wars","","","{enter}")
sleep(500)
ControlSend("Guild Wars", "", "", "Ich tippe nur während er läuft")
sleep(50)
ControlSend("Guild Wars","","","{enter}")
$once =false
endif
WEnd
StopMoveTo()
Wayout()
If $gotBlocked then
_GH()
_GH()
_HM()
_Wayount
EndIf