Mining Recall {UOS}
  • Loginserver: illusions.com.br,2593
  • Ultima Online Custom
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mining Recall {UOS}
#1
Para fazer o macro funcionar você vai precisar:

2 tinker tool kit na backpack
3 pickaxe (para iniciar o macro)
spellbook (com a skill recall)
1 (ou mais runebook's)
set LRC 100%
magery 60+

Para configurar:


primeiramente com as runas marcadas em "caves" (15) caso use só um runebook.
reserve a ultima runa do livro para o recall proximo ao banco.
nos trechos:
Quote: useobject 0x400d30b3
waitforgump 0x554b87f3 15000
replygump 0x554b87f3 95
pause 3000
você marca o useobject referente ao seu runebook. (só usar o comando object inspector no seu runebook)

Configurado o runebook, a proxima etapa é configurar o local que você ira recalar (ultima runa do runebook), (no caso como o macro smelta os minerios pra você, é necessario o recall proximo a uma forja e do npc do banco.

Quote:if inregion 'town' 'self'
while findtype 0x19ba "any" "backpack"
usetype! 0x19ba
waitfortarget 15000
pause 1000
target 0x4009a7d1
pause 3000
endwhile
while findtype 0x19b9 "any" "backpack"
usetype! 0x19b9
waitfortarget 15000
pause 1000
target 0x4009a7d1
pause 3000
endwhile
while findtype 0x19b8 "any" "backpack"
usetype! 0x19b8
waitfortarget 15000
pause 1000
target 0x4009a7d1
pause 3000
endwhile

Na parte acima linhas 178 - 199, mudar o "Target 0x4009a7d1" pelo target da forja (object inspect > serial)

Por ultimo: configurar um agente organizer com o nome pedras, com as pedras "fire ruby, Dark Sapphire... etc" da sua bag para uma bag no banco.

codigo final:

Quote:removelist 'Runes'
removelist 'OreBook'
@clearjournal
if not listexists 'Runes'
  createlist 'Runes'
endif
if not listexists 'OreBook'
  createlist 'OreBook'
endif
if not @findobject 'Runas'
  promptalias 'Runas'
endif
// Se for usar mais de um runebook, 
// acrescentar uma pushlist 'orebook' 'nome do livro'
if list 'OreBook' == 0
  pushlist 'OreBook' 'Runas'
endif
if list 'Runes' == 0
  pushlist 'Runes' 5
  pushlist 'Runes' 11
  pushlist 'Runes' 17
  pushlist 'Runes' 23
  pushlist 'Runes' 29
  pushlist 'Runes' 35
  pushlist 'Runes' 41
  pushlist 'Runes' 47
  pushlist 'Runes' 53
  pushlist 'Runes' 59
  pushlist 'Runes' 65
  pushlist 'Runes' 71
  pushlist 'Runes' 77
  pushlist 'Runes' 83
  pushlist 'Runes' 89
endif
for 0 to 'OreBook'
  for 0 to 'Runes'
    pause 500
    while mana < 40
    endwhile
    if not findtype '0xe86' 'backpack'
      while counttype 0x1bf2 0 "backpack" < 4
        if not inregion 'town' 'self'
          useobject 0x400d30b3
          waitforgump 0x554b87f3 15000
          replygump 0x554b87f3 95
          pause 3000
        endif
        msg "bank"
        pause 1000
        @findtype '0x1bf2' '0' 'bank' '4' '2'
        moveitem "found" "backpack" 1 1 1 16
      endwhile
      while counttype 0x1eb8 0 "backpack" < 2
        usetype 0x1eb8
        waitforgump 0x38920abd 15000
        replygump 0x38920abd 23
        waitforgump 0x38920abd 15000
      endwhile
      while counttype 0xe86 0 "backpack" < 3
        usetype 0x1eb8
        waitforgump 0x38920abd 15000
        replygump 0x38920abd 114
        waitforgump 0x38920abd 15000
      endwhile
      replay
    endif
    @clearjournal
    pause 500
    useobject OreBook[]
    waitforgump 0x554b87f3 5000
    replygump 0x554b87f3 Runes[]
    pause 4000
    if injournal 'blocked' 'system'
      @clearjournal
      replay
    endif
    while not @injournal "There is no metal here to mine" "system"
      if weight > 350
        break
      endif
      if not findtype '0xe86' 'backpack'
        while counttype 0x1bf2 0 "backpack" < 4
          if not inregion 'town' 'self'
            useobject 0x400d30b3
            waitforgump 0x554b87f3 15000
            replygump 0x554b87f3 95
            pause 3000
          endif
          msg "bank"
          pause 1000
          @findtype '0x1bf2' '0' 'bank' '4' '2'
          moveitem "found" "backpack" 1 1 1 16
        endwhile
        while counttype 0x1eb8 0 "backpack" < 2
          usetype 0x1eb8
          waitforgump 0x38920abd 15000
          replygump 0x38920abd 23
          waitforgump 0x38920abd 15000
        endwhile
        while counttype 0xe86 0 "backpack" < 3
          usetype 0x1eb8
          waitforgump 0x38920abd 15000
          replygump 0x38920abd 114
          waitforgump 0x38920abd 15000
        endwhile
        replay
      endif
      if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
        useobject 'found'
      endif
      waitfortarget 500
      if direction == 0
        targettileoffset 0 -1 0
      elseif direction == 1
        targettileoffset 1 -1 0
      elseif direction == 2
        targettileoffset 1 0 0
      elseif direction == 3
        targettileoffset 1 1 0
      elseif direction == 4
        targettileoffset 0 1 0
      elseif direction == 5
        targettileoffset -1 1 0
      elseif direction == 6
        targettileoffset -1 0 0
      elseif direction == 7
        targettileoffset -1 -1 0
      endif
      pause 200
      if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
        useobject 'found'
      endif
      waitfortarget 500
      if direction == 1
        targettileoffset 0 -1 0
      elseif direction == 2
        targettileoffset 1 -1 0
      elseif direction == 3
        targettileoffset 1 0 0
      elseif direction == 4
        targettileoffset 1 1 0
      elseif direction == 5
        targettileoffset 0 1 0
      elseif direction == 6
        targettileoffset -1 1 0
      elseif direction == 7
        targettileoffset -1 0 0
      elseif direction == 0
        targettileoffset -1 -1 0
      endif
      pause 200
      if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack'
        useobject 'found'
      endif
      waitfortarget 500
      if direction == 7
        targettileoffset 0 -1 0
      elseif direction == 0
        targettileoffset 1 -1 0
      elseif direction == 1
        targettileoffset 1 0 0
      elseif direction == 2
        targettileoffset 1 1 0
      elseif direction == 3
        targettileoffset 0 1 0
      elseif direction == 4
        targettileoffset -1 1 0
      elseif direction == 5
        targettileoffset -1 0 0
      elseif direction == 6
        targettileoffset -1 -1 0
      endif
      pause 100
    endwhile
    if weight > 350
      useobject 0x400d30b3
      waitforgump 0x554b87f3 15000
      replygump 0x554b87f3 95
      pause 3000
      if inregion 'town' 'self'
        while findtype 0x19ba "any" "backpack"
          usetype! 0x19ba
          waitfortarget 15000
          pause 1000
          target! 0x4009a7d7
          pause 3000
        endwhile
        while findtype 0x19b9 "any" "backpack"
          usetype! 0x19b9
          waitfortarget 15000
          pause 1000
          target! 0x4009a7d7
          pause 3000
        endwhile
        while findtype 0x19b8 "any" "backpack"
          usetype! 0x19b8
          waitfortarget 15000
          pause 1000
          target! 0x4009a7d7
          pause 3000
        endwhile
        while @findtype '0x19b7' 'any' 'backpack' 'any' '2'
          msg 'bank'
          pause 2000
          moveitem 'found' 'bank'
          pause 800
        endwhile
        msg 'bank'
        organizer 'pedras'
        pause 3000
      endif
      while @findtype '0x1bf2' 'any' 'backpack' 'any' '2'
        msg 'bank'
        pause 2000
        moveitem 'found' 'bank'
        pause 800
      endwhile
      if not findtype '0xe86' 'backpack'
        while counttype 0x1bf2 0 "backpack" < 4
          if not inregion 'town' 'self'
            useobject 0x400d30b3
            waitforgump 0x554b87f3 15000
            replygump 0x554b87f3 95
            pause 3000
          endif
          msg "bank"
          pause 1000
          @findtype '0x1bf2' '0' 'bank' '4' '2'
          moveitem "found" "backpack" 1 1 1 16
        endwhile
        while counttype 0x1eb8 0 "backpack" < 2
          usetype 0x1eb8
          waitforgump 0x38920abd 15000
          replygump 0x38920abd 23
          waitforgump 0x38920abd 15000
        endwhile
        while counttype 0xe86 0 "backpack" < 3
          usetype 0x1eb8
          waitforgump 0x38920abd 15000
          replygump 0x38920abd 114
          waitforgump 0x38920abd 15000
        endwhile
        replay
      endif
    endif
  endfor
  poplist 'Runes' 'front'
endfor
//recall home so Ore container is found
pause 1000
poplist 'Runas' 'front'
 
Reply
#2
bacana, vou testar mais tarde!
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)