EDIT MACRO AJUDA

Bem-vindo!

Ao se registrar conosco, você poderá discutir, compartilhar e enviar mensagens privadas com outros membros da nossa comunidade.

Registrar agora!
  • PROMOÇÃO DE NATAL NO AR

    Novo servidor: CraftLandia Olimpo


Status
Não está aberto para novas respostas.

douglasm123456

Excelente
Banido
Entrou
Mai 5, 2013
Mensagens
4,002
Pontuação de reação
231
Idade
28
Cubos
0
Eu to com um macro aqui e estou precisando de ajuda, o macro é de vender fungo na warp vip, servidor propano. o meu problema é que ela só tem 22 home eu tentei adicionar mais home no macro e aparece um erro queria saber se alguem pode me ajudar.

Aqui a macro que eu coloquei mais homes
$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);}$$
/home fungo022
$${endif;}$$
$${if(%#fung%=23);}$$
/home fungo023
$${endif;}$$
$${if(%#fung%=24);}$$
/home fungo024
$${endif;}$$
$${if(%#fung%=25);}$$
/home fungo025
$${endif;}$$
$${if(%#fung%=26);}$$
/home fungo026
$${endif;}$$
$${if(%#fung%=27);}$$
/home fungo027
$${endif;}$$
$${if(%#fung%=28);}$$
/home fungo028
$${endif;}$$
$${if(%#fung%=29);}$$
/home fungo029
$${if(%#fung%=30);}$$
/home fungo030
$${endif;}$$
$${if(%#fung%=31);}$$
/home fungo031
$${endif;}$$
$${if(%#fung%=32);}$$
/home fungo032
$${endif;}$$
$${if(%#fung%=33);}$$
/home fungo033
$${endif;}$$
$${if(%#fung%=34);}$$
/home fungo034
$${endif;}$$
$${if(%#fung%=35);}$$
/home fungo035
$${endif;}$$
$${if(%#fung%=36);}$$
/home fungo036
$${endif;}$$
$${if(%#fung%=37);}$$
/home fungo037
$${if(%#fung%=38);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$

Aqui o print com o erro quando eu colocos mais home na macro.

JSK465X.png

E aqui esta a macro original só com 22 home

$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$


Aqui é o topico aonde eu achei a macro. http://forum.craftlandia.com.br/ipb/index.php?/topic/346181-macro-vender-fungo-na-warp-vip/
 
acho que voce nao colocou

$${endif;}$$
depois do ultimo comando de home
 
Tem que por else, ou está faltando o endif


Enviado do meu iPhone usando Tapatalk
 
douglasm123456 disse:
Eu coloquei o endif e continua a mesma coisa.
Coloque o do baú 38,parece que colocou apenas no 37 e tem o 38,só que não pra home nenhuma
@Edit:Geralmente macros que possuem sistema de armazenamento possuem condições que ao chegar a 1 baú a mais do número total de baús duplo a macro desliga,veja se vc implantou esse sistema,pois se não implantou essa edição não irá servir de nada.
 
na parte do 37 e 38 vc esqueceu:
está assim:
$${endif;}$$
$${if(%#fung%=37);}$$
/home fungo037
$${if(%#fung%=38);

deveria estar assim:

$${if(%#fung%=37);}$$
/home fungo037
$${endif;}$$
$${if(%#fung%=38);}$$
/home fungo038
$${endif;
 
Testa esse:
Código:
$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);}$$
/home fungo022
$${endif;}$$
$${if(%#fung%=23);}$$
/home fungo023
$${endif;}$$
$${if(%#fung%=24);}$$
/home fungo024
$${endif;}$$
$${if(%#fung%=25);}$$
/home fungo025
$${endif;}$$
$${if(%#fung%=26);}$$
/home fungo026
$${endif;}$$
$${if(%#fung%=27);}$$
/home fungo027
$${endif;}$$
$${if(%#fung%=28);}$$
/home fungo028
$${endif;}$$
$${if(%#fung%=29);}$$
/home fungo029
$${if(%#fung%=30);}$$
/home fungo030
$${endif;}$$
$${if(%#fung%=31);}$$
/home fungo031
$${endif;}$$
$${if(%#fung%=32);}$$
/home fungo032
$${endif;}$$
$${if(%#fung%=33);}$$
/home fungo033
$${endif;}$$
$${if(%#fung%=34);}$$
/home fungo034
$${endif;}$$
$${if(%#fung%=35);}$$
/home fungo035
$${endif;}$$
$${if(%#fung%=36);}$$
/home fungo036
$${endif;}$$
$${if(%#fung%=37);}$$
/home fungo037
$${if(%#fung%=38);
$${endif;}$$
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>38);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$
 
douglasm123456 disse:
Eu to com um macro aqui e estou precisando de ajuda, o macro é de vender fungo na warp vip, servidor propano. o meu problema é que ela só tem 22 home eu tentei adicionar mais home no macro e aparece um erro queria saber se alguem pode me ajudar.

Aqui a macro que eu coloquei mais homes
$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);}$$
/home fungo022
$${endif;}$$
$${if(%#fung%=23);}$$
/home fungo023
$${endif;}$$
$${if(%#fung%=24);}$$
/home fungo024
$${endif;}$$
$${if(%#fung%=25);}$$
/home fungo025
$${endif;}$$
$${if(%#fung%=26);}$$
/home fungo026
$${endif;}$$
$${if(%#fung%=27);}$$
/home fungo027
$${endif;}$$
$${if(%#fung%=28);}$$
/home fungo028
$${endif;}$$
$${if(%#fung%=29);}$$
/home fungo029
$${if(%#fung%=30);}$$
/home fungo030
$${endif;}$$
$${if(%#fung%=31);}$$
/home fungo031
$${endif;}$$
$${if(%#fung%=32);}$$
/home fungo032
$${endif;}$$
$${if(%#fung%=33);}$$
/home fungo033
$${endif;}$$
$${if(%#fung%=34);}$$
/home fungo034
$${endif;}$$
$${if(%#fung%=35);}$$
/home fungo035
$${endif;}$$
$${if(%#fung%=36);}$$
/home fungo036
$${endif;}$$
$${if(%#fung%=37);}$$
/home fungo037
$${if(%#fung%=38);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$

Aqui o print com o erro quando eu colocos mais home na macro.

JSK465X.png

E aqui esta a macro original só com 22 home

$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$


Aqui é o topico aonde eu achei a macro. http://forum.craftlandia.com.br/ipb/index.php?/topic/346181-macro-vender-fungo-na-warp-vip/
douglasm123456 disse:
Eu to com um macro aqui e estou precisando de ajuda, o macro é de vender fungo na warp vip, servidor propano. o meu problema é que ela só tem 22 home eu tentei adicionar mais home no macro e aparece um erro queria saber se alguem pode me ajudar.

Aqui a macro que eu coloquei mais homes
$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);}$$
/home fungo022
$${endif;}$$
$${if(%#fung%=23);}$$
/home fungo023
$${endif;}$$
$${if(%#fung%=24);}$$
/home fungo024
$${endif;}$$
$${if(%#fung%=25);}$$
/home fungo025
$${endif;}$$
$${if(%#fung%=26);}$$
/home fungo026
$${endif;}$$
$${if(%#fung%=27);}$$
/home fungo027
$${endif;}$$
$${if(%#fung%=28);}$$
/home fungo028
$${endif;}$$
$${if(%#fung%=29);}$$
/home fungo029
$${if(%#fung%=30);}$$
/home fungo030
$${endif;}$$
$${if(%#fung%=31);}$$
/home fungo031
$${endif;}$$
$${if(%#fung%=32);}$$
/home fungo032
$${endif;}$$
$${if(%#fung%=33);}$$
/home fungo033
$${endif;}$$
$${if(%#fung%=34);}$$
/home fungo034
$${endif;}$$
$${if(%#fung%=35);}$$
/home fungo035
$${endif;}$$
$${if(%#fung%=36);}$$
/home fungo036
$${endif;}$$
$${if(%#fung%=37);}$$
/home fungo037
$${if(%#fung%=38);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$

Aqui o print com o erro quando eu colocos mais home na macro.

JSK465X.png

E aqui esta a macro original só com 22 home

$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$


Aqui é o topico aonde eu achei a macro. http://forum.craftlandia.com.br/ipb/index.php?/topic/346181-macro-vender-fungo-na-warp-vip/
$${
if(macrodfungo);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
unset(macrodfungo);
stop();
else;
#fung=1;
log("&d[VENDER FUNGOS] &2 Seu Macro Iniciou .&5<>");
set(macrodfungo);
do;
do;
if(%#fung%=1);}$$
/home fungo01
$${endif;}$$
$${if(%#fung%=2);}$$
/home fungo02
$${endif;}$$
$${if(%#fung%=3);}$$
/home fungo03
$${endif;}$$
$${if(%#fung%=4);}$$
/home fungo04
$${endif;}$$
$${if(%#fung%=5);}$$
/home fungo05
$${endif;}$$
$${if(%#fung%=6);}$$
/home fungo06
$${endif;}$$
$${if(%#fung%=7);}$$
/home fungo07
$${endif;}$$
$${if(%#fung%=8);}$$
/home fungo08
$${endif;}$$
$${if(%#fung%=9);}$$
/home fungo09
$${endif;}$$
$${if(%#fung%=10);}$$
/home fungo010
$${endif;}$$
$${if(%#fung%=11);}$$
/home fungo011
$${endif;}$$
$${if(%#fung%=12);}$$
/home fungo012
$${endif;}$$
$${if(%#fung%=13);}$$
/home fungo013
$${endif;}$$
$${if(%#fung%=14);}$$
/home fungo014
$${endif;}$$
$${if(%#fung%=15);}$$
/home fungo015
$${endif;}$$
$${if(%#fung%=16);}$$
/home fungo016
$${endif;}$$
$${if(%#fung%=17);}$$
/home fungo017
$${endif;}$$
$${if(%#fung%=18);}$$
/home fungo018
$${endif;}$$
$${if(%#fung%=19);}$$
/home fungo019
$${endif;}$$
$${if(%#fung%=20);}$$
/home fungo020
$${endif;}$$
$${if(%#fung%=21);}$$
/home fungo021
$${endif;}$$
$${if(%#fung%=22);}$$
/home fungo022
$${endif;}$$
$${if(%#fung%=23);}$$
/home fungo023
$${endif;}$$
$${if(%#fung%=24);}$$
/home fungo024
$${endif;}$$
$${if(%#fung%=25);}$$
/home fungo025
$${endif;}$$
$${if(%#fung%=26);}$$
/home fungo026
$${endif;}$$
$${if(%#fung%=27);}$$
/home fungo027
$${endif;}$$
$${if(%#fung%=28);}$$
/home fungo028
$${endif;}$$
$${if(%#fung%=29);}$$
/home fungo029
$${endif;}$$
$${if(%#fung%=30);}$$
/home fungo030
$${endif;}$$
$${if(%#fung%=31);}$$
/home fungo031
$${endif;}$$
$${if(%#fung%=32);}$$
/home fungo032
$${endif;}$$
$${if(%#fung%=33);}$$
/home fungo033
$${endif;}$$
$${if(%#fung%=34);}$$
/home fungo034
$${endif;}$$
$${if(%#fung%=35);}$$
/home fungo035
$${endif;}$$
$${if(%#fung%=36);}$$
/home fungo036
$${endif;}$$
$${if(%#fung%=37);}$$
/home fungo037
$${endif;}$$
$${if(%#fung%=38);
log("&d[VENDER FUNGOS] &2 Seu Macro Parou. &5<>");
log("&d[VENDER FUNGOS] &2 Acabo os baus!");
unset(macrodfungo);
unset(oioi);
keyup(forward);
keyup(left);
stop;
endif;
wait(7);
key(use);
wait(3);
for(#bau132,0,53);
slotclick(%#bau132%,l,true);
wait(50ms);
next;
getslotitem(53,#id,#stack1);
getslotitem(54,#id1,#stack);
wait(200ms);
gui();
if(%#stack1%=0);
inc(#fung);
#return=0;
else;
#return=1;
endif;
if(%#stack%=64);
#return=1;
endif;
if(%#fung%>20);
#return=1;
endif;
until(%#return%);
}$$
/warp vip
$${
wait(4200ms);
do;
look(east);
keydown(forward);
until(%XPOS%==718);
keyup(forward)
do;
look(south);
keydown(forward);
until(%ZPOS%==667);
do;
keydown(jump);
until(%ZPOS%==670);
keyup(jump);
do;
until(%ZPOS%==673);
keyup(forward);
do;
look(east);
keydown(forward);
until(%XPOS%==722);
keyup(forward);
look(south);
look(,6);
do(8);
key(attack);
wait(400ms);
loop;
loop;
endif;
}$$
 
Status
Não está aberto para novas respostas.

Usuários que estão visualizando este tópico

Voltar
Topo