Cara é o seguinte, ele funciona legal se por só pra atacar, mais quando ele le o comando pra verificar hp, simplesmente pula pro end, e seleciona outro mob, e vai nesse ciclo, alguma sugestão?
Code:
:main //main script part
send tab //proximo target
send 1
goto atak //proximo comando
:atak //comandos para atacar o mob
send 1 //hit normal no mob
if 314, 59 730478
goto atak
end_while
end_if
End_Repeat
tentei modificar, só que ele le o comando IF e encerra , nao chega nem a passar pelo goto atak. sugestão?
[EDIT]
Peguei uma versao mais atual do UOpilot (2.2) e peguei o script original, modifiquei a coordenada (usei a coordenada exata com virgula e tudo) e modifiquei a cor tambem agora ta funfando vlw aew ^^, vo estudar o programa um pouco mais e tentar adicionar poti '-' qualquer progresso eu posto aqui .
[EDIT2]
FIZ OUTRO SCRIPT MELHOR NA SESSÃO PT.
https://progamercity.net/l-portugues...html#post25069
Posts e scripts traduzidos xD
---------- Post added 2012-04-09 at 02:01 AM ---------- Previous post was 2012-04-07 at 08:07 PM ----------
i've asked him to help me, cuz i were in trouble , but, now i'm sending you all guys, a little help i think. i've changed (improved) his script, added a function that makes you rest or heal, when you are with low hp, so lets post tha script bro's ^^
Code:
Repeat 10 //repete 10 vezes
:main //main script part
if 151, 42 3288370 // Verify your HP, just do the same that you see in the tutorial, but with your health bar
goto zodk // If your hp are low, or reach the amount that you've set , exec. the HEAL/REST label <zodk>
:zodk
send 7 // here you can change the 7 by the number that you've set as hotkey for Hpotion or rest action.
while 151, 42 3288370 //(dont forget 2 set the colors and coordinates 2) verify yours HP again, if its still low, --
goto zodk // -- execute heal again,
end_while
end_if
send tab //next target
if 415, 50 730478 //veify the monsters health
goto atak //Perform atack
:atak //atack label, it contains the atack moves
send 1 //default atack (simple atk)
while 415, 50 730478 //verify if the monsters still alive, if yes--
goto atak //--perform atack again
end_while
end_if
End_Repeat
That's all folks, so if y'all have any questions, just ask, i'll try to answer as soon as possible. and sorry my english, cuz' i'm 15 and have learned english by myself ^^
Mod's sorry for the portuguese posts, i was busy and a little lazy too, i wont do it again, never again, I swear xD
[EDIT]
I've added a buff script, and an improved heal script too, but it dont work perfectly, so i'm testing it and fixing some bugs, i''l try to fix and post it later .