Ajuda

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Ajuda

Ajuda

by diegogbrato » 30 Jul 2021, 13:20

Gostaria de ajuda com este código, Obtive o mesmo na internet, uso ele em um jogo para ele adivinhar senhas, ele funciona muito bem nos 3 dígitos, mas quando tento utilizá-lo no de 4 dígitos, ele não segue a ordem de combinações, e assim acaba perdendo muitas outras combinações possíveis .
Vou deixar um explicação para que entendam.
No jogo vc acessa um codelock existem 2 tipos de 3 e 4 dígitos
no de 3 dígitos ele segue perfeitamente a ordem
ele gira a ultima casa até zerar [0] [0] [essa 0]
ae ele passa a primeira casa e na segunda ele gira 1 numero apenas [0] [1] [0]
volta pra terceira e gira os 10 dígitos novamente até zerar e ele repete isso até zerar as duas ultimas casas 0 [0] [0]
volta para primeira e poe um digito [1] 0 0
e vai repetindo isso em loop
Funciona muito bem no de 3 dígitos
Quando ele passa pro de 4 dígitos ele nao faz a ordem correta de concluir 0 [1] 0 0 depois 0 [2] 0 0 e assim dar sequencia.
Alguma alma boa consegue ajudar?

Code: Select all



#SingleInstance, Force
SendMode Input
SetWorkingDir, %A_ScriptDir%
MsgBox, ############### Unknown ############### `n`n=========================`n for 3 dial lock F1`n=========================`n for 4 dial lock F2`n=========================`n TERMINATE F3`n=========================`n TERMINATE F4 )`n`n###################### SIMPLE ######################`n`n###################################################`n -->"1 5 [0] or 1 8 4 [0]"<--`n###################################################`n -->"SOURCE.AutoHotKeY."<--`n
F1::
Loop, {
Loop, 9{
Send, {f Down}
Sleep, 6450
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
}
Send, {f Down}
Sleep, 6450
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
}
Return
F2::
Loop, {
Loop, 1{
Loop, 9{
Send, {f Down}
Sleep, 6450
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 1000
}
Send, {f Down}
Sleep, 6450
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
}
Sleep, 1000
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 1650
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
Sleep, 900
Send, {f Down}
Sleep, 45
Send, {f Up}
}
Return
F3::ExitApp
F4::Pause

Top