Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 04:37

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

Advertisement



AutIt Problem

Discussion on AutIt Problem within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 79
Received Thanks: 9
AutIt Problem

Hi,
ich hab mir gestern hier im forum so eine autoit anleitung angesehen und hab mir dann gleich mal einen autologin bot gemacht. so jetzt mein problem ich starte metin2 immer im fenstermodus (das soll auch so bleiben) aber immer wenn es gestartet wird verrutscht es um ein paar millimeter auf dem desktop also dann stimmen die *** und yyy werte nicht mehr. also kann man das irgendwie so machen das autoit nur die koordinaten von einem bestimmten fenster benutzt ? also das man das fenster dann praktisch auch verschieben könnte aber trozdem noch das richtige an klickt...

hier noch mein script:
Quote:
mousemove ( 417, 21) ; hier ist mein metin2 symbol aufm desktop
mouseclick ("left")
mouseclick ("left")
sleep (5000) ; warten bis metin gestartet wurde
mousemove ( 506,690) ; soll auf server7 gehen, aber das geht ja nicht >.< (nur manchmal^^)
mouseclick ("left")
sleep (100)
mousemove( 764, 607) ; hier auf ch2 (geht auch manchmal daneben
mouseclick ("left")
mousemove ( 763, 902) ; hier auf einloggen
mouseclick ("left")
sleep (100)
send ("***")
send ("{Enter}") ; id eingeben
send ("***")
send ("{Enter}") ; pw eingeben
sleep (10000)
mousemove ( 260,627) ; auf start klicken
mouseclick ("left")
exit
michael3000 is offline  
Old 12/24/2009, 12:00   #2
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,804
Dafür gibt's ne extra AutoIT-Sektion...:



#Reported

@Topic:

Schau dir die Seite an:



Opt("MouseCoordMode", 1-3)
Opt("PixelCoordMode", 1-3)

PixelCoordMode Sets the way coords are used in the pixel functions, either absolute coords or coords relative to the window defined by hwnd (default active window):
0 = relative coords to the defined window
1 = absolute screen coordinates (default)
2 = relative coords to the client area of the defined window

MouseCoordMode Sets the way coords are used in the mouse functions, either absolute coords or coords relative to the current active window:
0 = relative coords to the active window
1 = absolute screen coordinates (default)
2 = relative coords to the client area of the active window

Lesen und denken und du hast es.
AllesVergeben is offline  
Thanks
1 User
Old 12/24/2009, 12:06   #3
 
elite*gold: 0
Join Date: Sep 2008
Posts: 79
Received Thanks: 9
dankö
michael3000 is offline  
Old 12/24/2009, 12:49   #4
 
Der-Eddy's Avatar
 
elite*gold: 400
Join Date: Nov 2008
Posts: 67,909
Received Thanks: 19,503
ich würde raten das:
Quote:
mousemove ( 417, 21) ; hier ist mein metin2 symbol aufm desktop
mouseclick ("left")
mouseclick ("left")
gegen
Quote:
Run ("C:\...\Metin2*") ; Pfad eingeben
zu tauschen
Der-Eddy is offline  
Old 12/24/2009, 14:23   #5
 
DraaaKe's Avatar
 
elite*gold: 99
Join Date: May 2009
Posts: 1,020
Received Thanks: 400
Und zum Schluss das auf Start Klicken.. nur aufwendig mach einfach:

Send("{Enter}")
DraaaKe is offline  
Reply

« Moblock | Patch »

Similar Threads Similar Threads
[Problem] Problem with server starting - cannot find quest index for PaxHeader
12/22/2009 - Metin2 Private Server - 1 Replies
Hello! I have this same problem as here when i'm starting my server: http://www.elitepvpers.com/forum/metin2-pserver-di scussions-questions/307143-metin2-serverfiles-ques t-index-fehler.html But I didn't know the answer.. how to repair this? Greetings



All times are GMT +2. The time now is 04:37.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.