Register for your free account! | Forgot your password?

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

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

Advertisement



Autoit 3 tastenbot bei p-server Forsaken World

Discussion on Autoit 3 tastenbot bei p-server Forsaken World within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2
Received Thanks: 0
Autoit 3 tastenbot bei p-server Forsaken World

Hallöchen Alle Zusammen.
Schonmal im Voraus, Ich weiß nicht ob ich in dem Themengebiet richtig bin.
Mein Problem:

Ich spiele auf einen Pserver "Forsaken World-Aria" (englische Variante)
und brauche da einen sogenannten "Tastenbot"
es geht um die tasten 1-6 + Tab Taste
also mit der Tab Taste viesiere ich den Mob an..
ich habe da schoneinmal ein paar codes ausprobiert, aber leider kamen die nie im Spiel an.. er hat er immerwieder versucht auf den Destop zu klicken..
Der bot sollte im Hintergrund laufen, und die Skills Hintereinander laufen..

Könnte mir vllt jemand so einen Code erstellen damit die tastenkombination im Spiel funktioniert ? wäre Lieb.

Vielen Dank schonmal im Voraus

Mfg
CherryKeksi is offline  
Old 12/01/2012, 00:47   #2

 
lanara's Avatar
 
elite*gold: 139
Join Date: Oct 2006
Posts: 12,058
Received Thanks: 24,256
Arrow Off Topic -> AutoIt

#moved
lanara is offline  
Old 12/01/2012, 01:15   #3
 
aj1987's Avatar
 
elite*gold: 1003
Join Date: Feb 2010
Posts: 791
Received Thanks: 709
Exclamation

Ich denk das sollte funktionieren...
Thx falls es hilft

PHP Code:
#include <Misc.au3>

Local $hDLL DllOpen("user32.dll")

While 
Sleep(50)
    While 
_IsPressed("09"$hDLL)
        
Send("1")
        
Sleep(50)
        
Send("2")
        
Sleep(50)
        
Send("3")
        
Sleep(50)
        
Send("4")
        
Sleep(50)
        
Send("5")
        
Sleep(50)
        
Send("6")
        
Sleep(50)
    
WEnd
WEnd

DllClose
($hDLL
Wahlweise kannst du die Werte von Sleep, zwischen den Send auch erhöhen, wie dus brauchst...
aj1987 is offline  
Old 12/03/2012, 15:55   #4
 
H@CT0R's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 1,214
Received Thanks: 153
Würde controlsend probieren
H@CT0R is offline  
Old 12/03/2012, 19:35   #5
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
Quote:
Originally Posted by aj1987 View Post
Ich denk das sollte funktionieren...
Thx falls es hilft

PHP Code:
#include <Misc.au3>

Local $hDLL DllOpen("user32.dll")

While 
Sleep(50)
    While 
_IsPressed("09"$hDLL)
        
Send("{1}")
        
Sleep(50)
        
Send("{2}")
        
Sleep(50)
        
Send("{3}")
        
Sleep(50)
        
Send("{4}")
        
Sleep(50)
        
Send("{5}")
        
Sleep(50)
        
Send("{6}")
        
Sleep(50)
    
WEnd
WEnd

DllClose
($hDLL
Wahlweise kannst du die Werte von Sleep, zwischen den Send auch erhöhen, wie dus brauchst...
Code:
#include <Misc.au3>

Local $hDLL = DllOpen("user32.dll")

While 1
	If _IsPressed("09", $hDLL) Then
		For $i = 1 To 6
			_SendSleep('{' & $i & '}', 50)
		Next
	EndIf
	Sleep(100)
WEnd

DllClose($hDLL)

Func _SendSleep($sKey, $iSleep)
	Send($sKey)
	Sleep($iSleep)
EndFunc   ;==>_SendSleep
MfG
Achat is offline  
Thanks
1 User
Reply

Tags
autoit bot




All times are GMT +1. The time now is 13:56.


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.