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

initevents
Set %Target 0
Set %Comida RUD_FUD_HND_RGG
Set %Tentativa 6
Set %Machado ZRF_BPH_FSF_ASF_FFF_POH_BSF
Set %Tempo 10
set %logs ZLK

cordenadas:
if #weight &gt;= 350
goto guardar

; Configure suas cordenadas

; Arvore 97
MOVE 689 956 0
GOSUB LUMBER 690 955 3280

; Arvore 98
MOVE 689 956 0
GOSUB LUMBER 688 957 3277

; Arvore 99
MOVE 691 962 0
GOSUB LUMBER 692 960 3296

; Arvore 100
MOVE 691 962 0
GOSUB LUMBER 692 963 3296

; Arvore 101
MOVE 695 968 0
GOSUB LUMBER 696 966 3302

; Arvore 102
MOVE 695 976 0
GOSUB LUMBER 696 975 3296

; Arvore 103
MOVE 695 982 0
GOSUB LUMBER 696 981 3302

; Arvore 104
MOVE 707 994 0
GOSUB LUMBER 708 993 3283

; Arvore 105
MOVE 711 994 0
GOSUB LUMBER 712 993 3293

; Arvore 106
MOVE 715 1004 0
GOSUB LUMBER 716 1005 3299

; Arvore 107
MOVE 714 1010 0
GOSUB LUMBER 712 1008 3299

; Arvore 108
MOVE 714 1010 0
GOSUB LUMBER 716 1011 3290

; Arvore 109
MOVE 707 1016 0
GOSUB LUMBER 708 1014 3286

; Arvore 112
MOVE 698 1018 0
MOVE 683 1018 0
MOVE 666 1019 0
MOVE 652 1022 0
GOSUB LUMBER 652 1020 3299

; Arvore 113
MOVE 652 1022 0
GOSUB LUMBER 652 1023 3302

; Arvore 114
MOVE 644 1022 0
GOSUB LUMBER 644 1023 3283

; Arvore 115
MOVE 642 1027 0
GOSUB LUMBER 640 1026 3283

; Arvore 116
MOVE 642 1027 0
GOSUB LUMBER 644 1029 3302

; Arvore 117
MOVE 642 1027 0
GOSUB LUMBER 644 1026 3277

; Arvore 117A
MOVE 638 1027 0
GOSUB LUMBER 636 1026 3277


; Arvore 118
MOVE 634 1027 0
MOVE 644 1017 0
MOVE 639 1016 0
GOSUB LUMBER 640 1017 3283

; Arvore 119
MOVE 639 1016 0
GOSUB LUMBER 640 1014 3280

; Arvore 120
MOVE 632 1016 0
GOSUB LUMBER 632 1014 3288

; Arvore 121
MOVE 629 1019 0
GOSUB LUMBER 628 1020 3280

; Arvore 122
MOVE 623 1025 0
GOSUB LUMBER 624 1026 3280

; Arvore 123
MOVE 617 1025 0
GOSUB LUMBER 616 1026 3290

; Arvore 124
MOVE 617 1019 0
GOSUB LUMBER 616 1020 3283

; Arvore 125
MOVE 609 1016 0
GOSUB LUMBER 608 1017 3280

; Arvore 126
MOVE 596 1019 0
GOSUB LUMBER 596 1020 3283

; Arvore 127
MOVE 596 1019 0
GOSUB LUMBER 596 1017 3296

; Arvore 128
MOVE 586 1026 0
GOSUB LUMBER 588 1026 3299

; Arvore 129
MOVE 586 1026 0
GOSUB LUMBER 584 1026 3290

; Arvore 130
MOVE 571 1024 0
GOSUB LUMBER 572 1023 3299

; Arvore 131
MOVE 569 1022 0
GOSUB LUMBER 568 1023 3280

; Arvore 132
MOVE 558 1019 0
GOSUB LUMBER 556 1020 3288


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 %Chance &gt;= %Tentativa
{
return
}

Set %Chance %Chance + 1

machado:
finditem %Machado C
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

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

delete journal
scanjournal

if #hits &lt; #maxhits
{
msg Guards ! $
}
if ATTEMPTING_TO_PEEK_INTO_YOUR in #journal
{
msg Guards ! $
}
if ATTEMPTING_TO_STEAL in #journal
{
msg Guards ! $
}
if TRYING_TO_STEAL in #journal
{
msg Guards ! $
}
if ATTACKING_YOU in #journal
{
msg Guards ! $
}
if HITS_YOU in #journal
{
msg Guards ! $
}

if catou_gravetos_podres in #journal
{
goto inicio
}

if chop in #journal
{
return
}

if ai in #journal
{
return
}

if put in #journal
{
goto inicio
}
if lumberjacking in #journal
{
goto inicio
}
if no_logs in #journal
{
return
}
if Nao_a_madeiras in #journal
{
return
}
if You_can't in #journal
{
return
}
if immune in #journal
{
return
}
if foliage in #journal
{
return
}
if too_far in #journal
{
return
}
if fail in #journal
{
goto inicio
}
if errado in #journal
{
goto inicio
}
goto jornal

;============guardar===============
guardar:

move 533 991 0 20s
;=========COORDENADAS ACIMA====
msg bank$
wait 60
set #contposx 50
set #contposy 50

pegar:
finditem %logs 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
goto coordenadas
return

; =-=-=- FIM -=-=-=