Hi
Ich versuch mich grad an dem Mode 0 aber iwie will der bei mir nicht zu dem einen Punkte laufen wenn ich den Mode 0 einstelle.... stelle ich stattdesssen Mode 1 ein, dann läuft er ohne Probleme dorthin.
Hier mal eben das kurze Test Script:
PHP Code:
#cs ----------------------------------------------------------------------------
TT6 movement engine demo, runs around Isle of the Nameless
#ce ----------------------------------------------------------------------------
#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
PrepMoveTo()
MoveTo(0,-6072.1064453125,2409.58374023438)
[COLOR="Red"]$timer = TimerInit()
$once = true
InitDest(-6072.1064453125,2409.58374023438)
While Not MoveTo(0,0,0)
Sleep(10)
$time = TimerDiff($timer)
if $time > "delta" and $once Then
;Befehle an andere Fenster
ControlSend("Unbennannt - Editor", "", "", "Ich tippe nur während er läuft")
$once =false
endif
WEnd [/COLOR]
StopMoveTo()
Kann sein, dass bei dem rot markiertem ein Fehler drin ist, weil ich das noch nicht so recht verstanden habe. aber wenn ich das ganze rote weglasse und ihn nur mit Mode 0 laufen lassen will, dann weiß er gar nicht wie er laufen soll und rennt gegen ne Wand.
Wer es testen will, ist wenn man vom Tempel des Balthasar nach drauen geht und startet.
Bitte kann mir jemand helfen... ich möchte, dass er
während er dorthin läuft im Editor den kleinen Text reintippt