2024 년에도 울온을

이벤트 진행중 : Shrouded-sails

서드파티 & 매크로/UOS 스크립트

[UOS] 수리 작업대 채우기

작성자 : 히히😎 님 2023. 10. 4. 21:40
[작성자] 히히😎 님


수리 작업대에 수리 디드를 채워 주는 스크립입니다.

 

 


 1. 준 비 물

빈 스크롤, 수리 도구(ex : 테일러-바느질도구)

 

 

2. 사용 방법

수리 작업대에서 가방에 채울 만큼의 빈 스크롤과 수리 도구를 넣고,

해당 스크립을 실행 후, 수리 도구를 선택합니다.

 

 

3. 주 의 점 

해당 스크립은 가방에 105개 정도 자리가 필요합니다.
각종 룬북, 마법책 등을 제외한 모든 아이템을 정리해 주세요.


수리 작업대를 처음 사용하면 등록이 안 되는 경우가 있습니다.
수동으로 만든 수리 디드 1개를 채운 후 실행해 보세요.

 

 

 

 


 

드래그, 복사하시면 됩니다.

 

headmsg '수리 도구를 선택하세요!'
sysmsg '수리 도구를 선택하세요!'
promptalias 'tool'
if @findtype '0xa27f' '0' 'ground' '1' or @findtype '0xa278' '0' 'ground' '1'
  @setalias 'repairbench' found
endif
while @findtype '0xef3' '0' 'backpack'
  while @findtype '0xef3' '0' 'backpack' and counttype! '0x14f0' '444'  'backpack' < 100
    if not @gumpexists '0x1cc'
      useobject 'tool'
      pause 600
    endif
    replygump 0x1cc 8000
    waitfortarget 1000
    targettype '0xef3'
    waitforgump 0x1cc 1000
  endwhile
  if @gumpexists '0x1cc'
    replygump 0x1cc 0
  endif
  while @findtype '0x14f0' '444' 'backpack'
    if not @gumpexists '0x2415'
      useobject 'repairbench'
      pause 600
    endif
    if not @targetexists 'any'
      waitforgump 0x2415 1000
      replygump 0x2415 100
    endif
    waitfortarget 1000
    target 'backpack'
  endwhile
  if @gumpexists '0x2415'
    replygump 0x2415 0
  endif
  if not @findtype '0xef3' '0' 'backpack'
    break
  endif
endwhile

 

'서드파티 & 매크로 > UOS 스크립트' 카테고리의 다른 글

[UOS] Necromancy  (2) 2023.10.06
[UOS] Magery  (0) 2023.10.06
[UOS] Spirit Speak  (0) 2023.10.06
[UOS] Evaluating Intelligence  (0) 2023.10.05
[UOS] Animal Lore  (0) 2023.10.05