porfavor alguien k me arregle un par de cosillas de esta macro de lumber es urgente... necesito k tire los logs nada mas los tale y k esqive casa o castillos porqe cuando se topa con algo un poko grande de tamaño de keda ay pillado :S por lo demas la macro es perfecta. gracias a todos y espero k me arregleis el fallo anda, un saludo
;Primero usas la macro de buscar arboles y las locations las pones donde esta el comentario.
;La macro de buscar arboles conviene usarla en un bosque con muchos arboles como yew y donde no halla casas excesivamente grandes cerca
;Ya que si el obstaculo es muy grande la macro no es capaz de sobrepasarlo
initevents
sub seleccionar
Seleccionarhacha:
event SysMessage Selecciona tu hacha
event Macro 13 4
wait 5
espera:
if #targCurs = 1
goto espera
set %hacha BSF_FSF_ASF
return
start:
gosub seleccionar
;AQUI PONES LAS COORDENADAS QUE TE DE EL BUSKAR ARBOLES
goto start
sub ljing
moving:
event PathFind %1 %2
wait 1s
scanjournal 1
move %1 %2 1 5s
if can't_get in #journal
{
goto moving
}
ljagain:
finditem %hacha
set #lobjectid #findid
event macro 17 0
target
set #ltargetx %1
set #ltargety %2
set #ltargetz %3
set #ltargetkind 3
set #ltargettile %4
event macro 22 0
set %tiempomax #scnt + 8 ; CAMBIA EL TIEMPO SI ES MUY LARGO AUNQUE PARA UA ESTA PERFECTO
gosub scan
wait 10
if %arbolsiguiente 2
set %arbolsiguiente #false
return
goto ljagain
sub scan
scan:
deletejournal
scanjournal 2
if YOU_PUT in #journal || PONES_EL in #journal
{
event macro 9 7
event macro 8 7
wait 10
set %madera ZLK
Finditem %madera C_ , #BackpackID
If #FindKind <> -1
{
wait 10
wait 10
}
wait 1
return
}
if TALAS_DURANTE in #journal || #scnt >= %tiempomax
{
return
}
if AQUI_NO in #journal || IT_APPEARS in #journal || THAT_IS_TOO in #journal || You_can't in #journal || PARECE_QUE in #journal || ESO_ESTA in #journal || NO_LO in #journal
{
set %arbolsiguiente #true
return
}
goto scan