title
kann mir jemand helfen das die tasatur nit buggy wird bei nem bot der im hintergrund läuft?
kann mir jemand helfen das die tasatur nit buggy wird bei nem bot der im hintergrund läuft?
#RequireAdmin
#include <KeyCodes.au3>
#include <PostMessage.au3>
HotKeySet("{F2}","_start")
HotKeySet("{F3}","_pause")
HotKeySet("{F4}","_stop")
HotKeySet("{F5}","_sammeln")
Global $hwnd = WinGetHandle("NosTale")
While 1
WEnd
Func _start()
While 1
_PostMessage_Send($hwnd, "{space}", "650")
WEnd
EndFunc
Func _pause()
While 1
WEnd
EndFunc
Func _stop()
Exit
EndFunc
Hab jetzt in die Keycodes.au3 das eingefügtQuote:
Die "X" Taste ist nich in der Keycodes.au3 enthalten.
[Only registered and activated users can see links. Click Here To Register...]
Einfach per Hand einfügen. :D
Global Const $VK_x =0x59
Func _ReplaceKey($Key)
$Key = StringReplace($Key, "{x}", $VK_x)
#RequireAdmin
#include <KeyCodes.au3>
#include <PostMessage.au3>
HotKeySet("{F2}","_start")
HotKeySet("{F3}","_pause")
HotKeySet("{F4}","_stop")
Global $hwnd = WinGetHandle("NosTale")
While 1
WEnd
Func _start()
While 1
_PostMessage_Send($hwnd, "{space}", "650")
_PostMessage_Send($hwnd, "{c}", "400")
WEnd
EndFunc
Func _pause()
While 1
WEnd
EndFunc
Func _stop()
Exit
EndFunc
Quote:
Global Const $VK_x =0x58
Func _ReplaceKey($Key)
$Key = StringReplace($Key, "{x}", $VK_x)
Habs jetzt nicht weiter getestet.Quote:
#RequireAdmin
#include <KeyCodes.au3>
#include <PostMessage.au3>
HotKeySet("{F2}","_start")
HotKeySet("{F3}","_pause")
HotKeySet("{F4}","_stop")
Global $hwnd = WinGetHandle("NosTale")
While 1
WEnd
Func _start()
While 1
_PostMessage_Send($hwnd, "{space}", "650")
_PostMessage_Send($hwnd, "{X}", "400")
WEnd
EndFunc
Func _pause()
While 1
WEnd
EndFunc
Func _stop()
Exit
EndFunc