Lumberjack Minoc
Autor: Jexnico | Publicado: 2011-09-20T14:40:00-07:00

;/////////////////////////////////////////////////////////////////
; Macro básica feita por Away
; Por favor não tire os créditos
;/////////////////////////////////////////////////////////////////

Set %Target 0
Set %Comida RUD_FUD_HND_YSD_FWI_JQE
Set %Tentativa 6
Set %Machado ZRF_BPH_FSF_ASF_FFF_POH_MPH_BSF_NSF
set %Log ZLK
Set %Tempo 8

event sysmessage Macro feita por Away, Iniciando ...

cordenadas:
Arvore 01
MOVE 2489 559 0
{

}
GOSUB LUMBER 2488 558 3302
Arvore 2
{

}
wait 10s
MOVE 2488 550 0
GOSUB LUMBER 2488 549 3299
Arvore 3
{

}
wait 10s
MOVE 2485 552 0
GOSUB LUMBER 2484 552 3280
Arvore 4
{

}
wait 10s
MOVE 2480 551 0
GOSUB LUMBER 2480 550 3299
Arvore 5
{

}
wait 10s
MOVE 2477 558 0
GOSUB LUMBER 2476 558 3291
Arvore 6
{

}
wait 10s
MOVE 2477 552 0
GOSUB LUMBER 2476 552 3290
Arvore 7
{

}
wait 10s
MOVE 2477 548 0
GOSUB LUMBER 2476 549 3289
Arvore 8
{

}
wait 10s
MOVE 2480 548 0
GOSUB LUMBER 2480 549 3290
Arvore 9
{

}
wait 10s
MOVE 2495 541 0
GOSUB LUMBER 2496 540 3296
Arvore 10
{

}
wait 10s
MOVE 2495 538 0
GOSUB LUMBER 2496 537 3280
Arvore 11
{

}
wait 10s
MOVE 2497 532 0
GOSUB LUMBER 2496 531 3283
Arvore 12
{

}
wait 10s
MOVE 2499 532 0
GOSUB LUMBER 2500 531 3302
Arvore 13
{

}
wait 10s
MOVE 2497 528 0
GOSUB LUMBER 2496 528 3288
Arvore 14
{

}
wait 10s
MOVE 2497 526 0
GOSUB LUMBER 2496 525 3280
Arvore 15
{

}
wait 10s
MOVE 2503 530 0
GOSUB LUMBER 2504 531 3293
Arvore 16
{

}
wait 10s
MOVE 2503 529 0
GOSUB LUMBER 2504 528 3283
Arvore 17
{

}
wait 10s
MOVE 2503 526 0
GOSUB LUMBER 2504 525 3299
Arvore 18
{

}
wait 10s
MOVE 2503 526 0
GOSUB LUMBER 2504 525 3299
Arvore 19
{

}
wait 10s
MOVE 2503 526 0
GOSUB LUMBER 2504 525 3299
Arvore 20
{

}
wait 10s
MOVE 2502 526 0
GOSUB LUMBER 2480 550 3299
Arvore 21
{

}
wait 10s
MOVE 2497 513 0
GOSUB LUMBER 2496 513 3296
Arvore 22
{

}
wait 10s
MOVE 2497 507 0
GOSUB LUMBER 2496 507 3293
Arvore 23
{

}
wait 10s
MOVE 2499 507 0
GOSUB LUMBER 2500 507 3286
Arvore 24
{

}
wait 10s
MOVE 2497 503 0
GOSUB LUMBER 2496 504 3299
Arvore 25
{

}
wait 10s
MOVE 2498 501 0
GOSUB LUMBER 2496 501 3302
Arvore 26
{

}
wait 10s
MOVE 2502 497 0
GOSUB LUMBER 2504 498 3286
Arvore 27
{

}
wait 10s
MOVE 2501 494 0
GOSUB LUMBER 2500 495 3302
Arvore 28
{

}
wait 10s
MOVE 2501 491 0
GOSUB LUMBER 2500 492 3280
Arvore 29
{

}
wait 10s
MOVE 2501 491 0
GOSUB LUMBER 2500 489 3288
Arvore 30
{

}
wait 10s
MOVE 2508 491 0
GOSUB LUMBER 2508 492 3296
Arvore 31
{

}
wait 10s
MOVE 2509 495 0
GOSUB LUMBER 2508 495 3286
Arvore 32
{

}
wait 10s
MOVE 2509 497 0
GOSUB LUMBER 2508 498 3290
Arvore 33
{

}
wait 10s
MOVE 2509 500 0
GOSUB LUMBER 2508 501 3286
Arvore 34
{

}
wait 10s
MOVE 2509 506 0
GOSUB LUMBER 2508 507 3283
Arvore 35
{

}
wait 10s
MOVE 2511 505 0
GOSUB LUMBER 2512 504 3296
Arvore 36
{

}
wait 10s
MOVE 2511 502 0
GOSUB LUMBER 2512 501 3277
Arvore 37
{

}
wait 10s
MOVE 2511 499 0
GOSUB LUMBER 2512 498 3290
Arvore 38
{

}
wait 10s
MOVE 2511 496 0
GOSUB LUMBER 2512 495 3277
Arvore 39
{

}
wait 10s
MOVE 2517 491 0
GOSUB LUMBER 2516 492 3286
Arvore 40
{

}
wait 10s
MOVE 2517 497 0
GOSUB LUMBER 2516 498 3290
Arvore 41
{

}
wait 10s
MOVE 2522 493 0
GOSUB LUMBER 2520 492 3288
Arvore 42
{

}
wait 10s
MOVE 2522 495 0
GOSUB LUMBER 2520 495 3280
Arvore 43
{

}
wait 10s
MOVE 2523 495 0
GOSUB LUMBER 2524 495 3290
Arvore 44
{

}
wait 10s
MOVE 2521 497 0
GOSUB LUMBER 2520 498 3283
Arvore 45
{

}
wait 10s
MOVE 2521 500 0
GOSUB LUMBER 2520 501 3294
Arvore 46
{

}
wait 10s
MOVE 2521 503 0
GOSUB LUMBER 2520 504 3293
Arvore 47
{

}
wait 10s
MOVE 2521 509 0
GOSUB LUMBER 2520 510 3296
Arvore 48
{

}
wait 10s
MOVE 2517 509 0
GOSUB LUMBER 2516 507 3280

goto cordenadas

sub lumber
comida:
finditem %Comida
if #findkind = -1
{
ignoreitem reset
event sysmessage Comida nao encontrada!
}

{

}

if #findkind = 1
{
ignoreitem #findid
goto comida
}

set #lobjectid #findid
event macro 17 0

Set %Chance 0
inicio:

if #weight &gt;= 430
goto guardar

if %Chance &gt;= %Tentativa
{
return
}
{

}

Set %Chance %Chance + 1

machado:
finditem %Machado ZRF_BPH_FSF_ASF_FFF_POH_BSF
if #findkind = -1
{
ignoreitem reset
event sysmessage Machado nao encontrado!
goto machado
}

if #findkind = 1
{
ignoreitem #findid
goto machado
}

set #lobjectid #findid
event macro 17 0


set #lTargetX %1
set #lTargetY %2
set #lTargetZ 0
set #lTargetKind 3
set #lTargetTile %3

target
event macro 25 0
event macro 22 0

Set #SCNT 0

if #hits &lt; #maxhits
{

}

; ============================================================
jornal:
if #SCNT &gt; %Tempo
{
goto inicio
}

delete journal
scanjournal

if put in #journal
{
goto inicio
}
if lumberjacking in #journal
{
goto inicio
}
if nothing in #journal
{
return
}
if immune in #journal
{
return
}

if foliage in #journal
{
return
}
if too_far in #journal
{
return
}
if you_have_no_line_of_sight in #journal
{
return
}

if fail in #journal
{
goto inicio
}
if you_can't_reach_this in #journal
{
return
}
if nao_ha_madeiras_aqui in #journal
{
return
}
goto jornal

;============guardar===============
guardar:
;configurar onde ira guardar (chama por bank)
;no easy uo ltargetx ltargety 0 50s
move 2508 561 0 90s
;=========COORDENADAS ACIMA====
msg bank$
wait 60
set #contposx 50
set #contposy 50

pegar:
finditem %Log C_
if #findkind = -1
{
goto sair
}
If #FindKind = 0
{
event drag #findID
wait 10
msg $
wait 10
click 93 166 p
}
If #FindKind = 1
{
IgnoreItem #FindID
goto pegar
}
goto pegar
return
sair:
click 156 180 r
wait 20
return

; =-=-=- FIM -=-=-=&nbsp;