[UO][UOS] 루나 대장간에서 주괴 팔아 은행에 지피 넣기

 




 

* UOS 마지막 버전 받는 곳 :: https://github.com/her/uosteam/tree/master/uos

 

uosteam/uos at master · her/uosteam

:video_game: uosteam | scripts. Contribute to her/uosteam development by creating an account on GitHub.

github.com

*프리섭 마고에서 간간히, 슬렁슬렁, 휴식을 즐기고 있습니다.

스크립트에 포함이 되어 있어서 위치가 npc 주변이어야 함.

스크립트

루나(Luna) 에서 UOS를 사용하여 가방에 있는 주괴(ingots)를 팔고 금화(gold)를 은행(bank)에 넣는 스크립트

우선 UOS 상에서 팔 물품을 등록

- Agents -> Vendors -> Sell 선택 -> New로 신규 등록 -> insert를 눌러 가방의 주괴 선택 -> 개수를 999개로 변경
Sell 의 Enabled 체크!

UOS 설정

Macros 탭에서 스크립트를 등록

sysmsg "=== START SELL ===" 1151
msg "bank" 85
while counttype 0x1bf2 0 'backpack' > 0
  waitforcontext 0xf1 2 15000
  pause 300
  if counttype 0xeed 0 'backpack' > 40000
    if findtype 0xeed 'any' 'backpack'
      moveitem 'found' 'bank'
      pause 500
    endif
  endif
endwhile
if findtype 0xeed 'any' 'backpack'
  moveitem 'found' 'bank'
  pause 500
endif
msg "balance" 85
sysmsg "=== END SELL ===" 1151

 

728x90