besoin d'aide

    Publicités

Users Who Are Viewing This Thread (Total: 0, Members: 0, Guests: 0)

Status
Not open for further replies.

ange26

Membre
Jun 9, 2012
5
0
301
Help

:welcome:
Bonjour,

j'ai fait un script(autoit) pour pouvoir faire toute une série de clic
dans metin2 serveur priver.

il ne marche pas dans la fenêtre de mon sp avez vous des solutions a me proposé voici mon script avec la correction que ma apporter TheHardButcher :

HotKeySet( "{r}" , "Start")
HotKeySet( "{e}" , "Close")

Func Start()
While (True)

MouseClick("right", 1330, 122, 90, 8)

MouseClick("right", 1450, 521, 1, 8)
MouseClick("right", 1450, 553, 1, 8)
MouseClick("right", 1450, 587, 1, 8)
MouseClick("right", 1450, 621, 1, 8)
MouseClick("right", 1450, 650, 1, 8)
MouseClick("right", 1450, 683, 1, 8)
MouseClick("right", 1450, 714, 1, 8)
MouseClick("right", 1450, 747, 1, 8)
MouseClick("right", 1450, 778, 1, 8)

MouseClick("right", 1483, 521, 1, 8)
MouseClick("right", 1483, 553, 1, 8)
MouseClick("right", 1483, 587, 1, 8)
MouseClick("right", 1483, 621, 1, 8)
MouseClick("right", 1483, 650, 1, 8)
MouseClick("right", 1483, 683, 1, 8)
MouseClick("right", 1483, 714, 1, 8)
MouseClick("right", 1483, 747, 1, 8)
MouseClick("right", 1483, 778, 1, 8)

MouseClick("right", 1516, 521, 1, 8)
MouseClick("right", 1516, 553, 1, 8)
MouseClick("right", 1516, 587, 1, 8)
MouseClick("right", 1516, 621, 1, 8)
MouseClick("right", 1516, 650, 1, 8)
MouseClick("right", 1516, 683, 1, 8)
MouseClick("right", 1516, 714, 1, 8)
MouseClick("right", 1516, 747, 1, 8)
MouseClick("right", 1516, 778, 1, 8)

MouseClick("right", 1545, 521, 1, 8)
MouseClick("right", 1545, 553, 1, 8)
MouseClick("right", 1545, 587, 1, 8)
MouseClick("right", 1545, 621, 1, 8)
MouseClick("right", 1545, 650, 1, 8)
MouseClick("right", 1545, 683, 1, 8)
MouseClick("right", 1545, 714, 1, 8)
MouseClick("right", 1545, 747, 1, 8)
MouseClick("right", 1545, 778, 1, 8)

MouseClick("right", 1578, 521, 1, 8)
MouseClick("right", 1578, 553, 1, 8)
MouseClick("right", 1578, 587, 1, 8)
MouseClick("right", 1578, 621, 1, 8)
MouseClick("right", 1578, 650, 1, 8)
MouseClick("right", 1578, 683, 1, 8)
MouseClick("right", 1578, 714, 1, 8)
MouseClick("right", 1578, 747, 1, 8)
MouseClick("right", 1578, 778, 1, 8)

MouseClick("left", 1554, 496, 1, 15)

MouseClick("right", 1450, 521, 1, 8)
MouseClick("right", 1450, 553, 1, 8)
MouseClick("right", 1450, 587, 1, 8)
MouseClick("right", 1450, 621, 1, 8)
MouseClick("right", 1450, 650, 1, 8)
MouseClick("right", 1450, 683, 1, 8)
MouseClick("right", 1450, 714, 1, 8)
MouseClick("right", 1450, 747, 1, 8)
MouseClick("right", 1450, 778, 1, 8)

MouseClick("right", 1483, 521, 1, 8)
MouseClick("right", 1483, 553, 1, 8)
MouseClick("right", 1483, 587, 1, 8)
MouseClick("right", 1483, 621, 1, 8)
MouseClick("right", 1483, 650, 1, 8)
MouseClick("right", 1483, 683, 1, 8)
MouseClick("right", 1483, 714, 1, 8)
MouseClick("right", 1483, 747, 1, 8)
MouseClick("right", 1483, 778, 1, 8)

MouseClick("right", 1516, 521, 1, 8)
MouseClick("right", 1516, 553, 1, 8)
MouseClick("right", 1516, 587, 1, 8)
MouseClick("right", 1516, 621, 1, 8)
MouseClick("right", 1516, 650, 1, 8)
MouseClick("right", 1516, 683, 1, 8)
MouseClick("right", 1516, 714, 1, 8)
MouseClick("right", 1516, 747, 1, 8)
MouseClick("right", 1516, 778, 1, 8)

MouseClick("right", 1545, 521, 1, 8)
MouseClick("right", 1545, 553, 1, 8)
MouseClick("right", 1545, 587, 1, 8)
MouseClick("right", 1545, 621, 1, 8)
MouseClick("right", 1545, 650, 1, 8)
MouseClick("right", 1545, 683, 1, 8)
MouseClick("right", 1545, 714, 1, 8)
MouseClick("right", 1545, 747, 1, 8)
MouseClick("right", 1545, 778, 1, 8)

MouseClick("right", 1578, 521, 1, 8)
MouseClick("right", 1578, 553, 1, 8)
MouseClick("right", 1578, 587, 1, 8)
MouseClick("right", 1578, 621, 1, 8)
MouseClick("right", 1578, 650, 1, 8)
MouseClick("right", 1578, 683, 1, 8)
MouseClick("right", 1578, 714, 1, 8)
MouseClick("right", 1578, 747, 1, 8)
MouseClick("right", 1578, 778, 1, 8)

MouseClick("left", 1477, 496, 1, 15)

WEnd
EndFunc ;==>Start
Func Close()
Exit
EndFunc ;==>Close

While 1==1
WEnd

donc si quelqu'un peut m aider je suis preneur

merci
cordialement
 
Last edited:

TheHardButcher

Programmeur C/C++
V
Dec 14, 2009
1,461
58
964
France
Ton programme ce ferme au moment même du lancement, j'ai rajouté 2 ligne a ton script ^^

HotKeySet( "{0}" , "Start")
HotKeySet( "{e}" , "Close")

Func Start()
While (True)

MouseClick("right", 1330, 150, 90, 8)

MouseClick("right", 1450, 521, 1, 8)
MouseClick("right", 1450, 553, 1, 8)
MouseClick("right", 1450, 587, 1, 8)
MouseClick("right", 1450, 621, 1, 8)
MouseClick("right", 1450, 650, 1, 8)
MouseClick("right", 1450, 683, 1, 8)
MouseClick("right", 1450, 714, 1, 8)
MouseClick("right", 1450, 747, 1, 8)
MouseClick("right", 1450, 778, 1, 8)

MouseClick("right", 1483, 521, 1, 8)
MouseClick("right", 1483, 553, 1, 8)
MouseClick("right", 1483, 587, 1, 8)
MouseClick("right", 1483, 621, 1, 8)
MouseClick("right", 1483, 650, 1, 8)
MouseClick("right", 1483, 683, 1, 8)
MouseClick("right", 1483, 714, 1, 8)
MouseClick("right", 1483, 747, 1, 8)
MouseClick("right", 1483, 778, 1, 8)

MouseClick("right", 1516, 521, 1, 8)
MouseClick("right", 1516, 553, 1, 8)
MouseClick("right", 1516, 587, 1, 8)
MouseClick("right", 1516, 621, 1, 8)
MouseClick("right", 1516, 650, 1, 8)
MouseClick("right", 1516, 683, 1, 8)
MouseClick("right", 1516, 714, 1, 8)
MouseClick("right", 1516, 747, 1, 8)
MouseClick("right", 1516, 778, 1, 8)

MouseClick("right", 1545, 521, 1, 8)
MouseClick("right", 1545, 553, 1, 8)
MouseClick("right", 1545, 587, 1, 8)
MouseClick("right", 1545, 621, 1, 8)
MouseClick("right", 1545, 650, 1, 8)
MouseClick("right", 1545, 683, 1, 8)
MouseClick("right", 1545, 714, 1, 8)
MouseClick("right", 1545, 747, 1, 8)
MouseClick("right", 1545, 778, 1, 8)

MouseClick("right", 1578, 521, 1, 8)
MouseClick("right", 1578, 553, 1, 8)
MouseClick("right", 1578, 587, 1, 8)
MouseClick("right", 1578, 621, 1, 8)
MouseClick("right", 1578, 650, 1, 8)
MouseClick("right", 1578, 683, 1, 8)
MouseClick("right", 1578, 714, 1, 8)
MouseClick("right", 1578, 747, 1, 8)
MouseClick("right", 1578, 778, 1, 8)

MouseClick("left", 1554, 496, 1, 15)

MouseClick("right", 1450, 521, 1, 8)
MouseClick("right", 1450, 553, 1, 8)
MouseClick("right", 1450, 587, 1, 8)
MouseClick("right", 1450, 621, 1, 8)
MouseClick("right", 1450, 650, 1, 8)
MouseClick("right", 1450, 683, 1, 8)
MouseClick("right", 1450, 714, 1, 8)
MouseClick("right", 1450, 747, 1, 8)
MouseClick("right", 1450, 778, 1, 8)

MouseClick("right", 1483, 521, 1, 8)
MouseClick("right", 1483, 553, 1, 8)
MouseClick("right", 1483, 587, 1, 8)
MouseClick("right", 1483, 621, 1, 8)
MouseClick("right", 1483, 650, 1, 8)
MouseClick("right", 1483, 683, 1, 8)
MouseClick("right", 1483, 714, 1, 8)
MouseClick("right", 1483, 747, 1, 8)
MouseClick("right", 1483, 778, 1, 8)

MouseClick("right", 1516, 521, 1, 8)
MouseClick("right", 1516, 553, 1, 8)
MouseClick("right", 1516, 587, 1, 8)
MouseClick("right", 1516, 621, 1, 8)
MouseClick("right", 1516, 650, 1, 8)
MouseClick("right", 1516, 683, 1, 8)
MouseClick("right", 1516, 714, 1, 8)
MouseClick("right", 1516, 747, 1, 8)
MouseClick("right", 1516, 778, 1, 8)

MouseClick("right", 1545, 521, 1, 8)
MouseClick("right", 1545, 553, 1, 8)
MouseClick("right", 1545, 587, 1, 8)
MouseClick("right", 1545, 621, 1, 8)
MouseClick("right", 1545, 650, 1, 8)
MouseClick("right", 1545, 683, 1, 8)
MouseClick("right", 1545, 714, 1, 8)
MouseClick("right", 1545, 747, 1, 8)
MouseClick("right", 1545, 778, 1, 8)

MouseClick("right", 1578, 521, 1, 8)
MouseClick("right", 1578, 553, 1, 8)
MouseClick("right", 1578, 587, 1, 8)
MouseClick("right", 1578, 621, 1, 8)
MouseClick("right", 1578, 650, 1, 8)
MouseClick("right", 1578, 683, 1, 8)
MouseClick("right", 1578, 714, 1, 8)
MouseClick("right", 1578, 747, 1, 8)
MouseClick("right", 1578, 778, 1, 8)

MouseClick("left", 1477, 496, 1, 15)

WEnd
EndFunc ;==>Start
Func Close()
Exit
EndFunc ;==>Close

While 1==1
WEnd
 
Status
Not open for further replies.