초보적인 이동 매크로. 시약 마법시약 메크로 입니다.(거미줄 드래그 귀찮아서 만듬) > 클래식어시스트 매크로

본문 바로가기
사이트 내 전체검색

클래식어시스트 매크로

 

초보적인 이동 매크로. 시약 마법시약 메크로 입니다.(거미줄 드래그 귀찮아서 만듬)

페이지 정보

profile_image
작성자 Sendol
댓글 1건 조회 143회 작성일 24-08-11 00:42

본문

시약을 사서 집에 옮기다가 거미줄때메 만든 허덥. 간단 메크로 입니다.



아이템 이동 메크로를 참고해서.  적당히 만들었어요.



#시약 옮기기
from Assistant import Engine
from ClassicAssist.UO.Data import Layer

#8개


#1. 인삼 0xf85
#2. 만드레이크뿌리 0xf86
#3. 마늘 0xf84
#4. 흑진수 0xf7a
#5. 밤그늘풀 0xf88
#6. 거미줄 0xf8d
#7. 유황가루 0xf8c
#8. 피이끼 0xf7b

#WaitForContents(0x42b71aad, 5000)


def MoveItemToContainer(src_cont, dst_cont, sel_item):
    cont = Engine.Items.GetItem(src_cont)

    if cont == None:
        print('Cannot find container')
        return

    if cont.Container == None:
        WaitForContents(src_cont, 5000)

    for item in cont.Container.GetItems():
        if item.ID == sel_item:
            MoveItem(item, dst_cont)
            Pause(1000)


## main
HeadMsg('이동 할 아이템이 있는 상자를 선택 해 주세요.')    
if PromptAlias('move_item_grade_source_cont') == 0:
    raise Exception()    
src_cont = GetAlias('move_item_grade_source_cont')
    
HeadMsg('목표 상자를 선택 해 주세요.')    
if PromptAlias('move_item_grade_destination_cont') == 0:
    raise Exception()    
dst_cont = GetAlias('move_item_grade_destination_cont')

# 1.대상, 2.목표, 3.아이템의 그래픽넘버
MoveItemToContainer(src_cont, dst_cont, 0xf85)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf86)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf84)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf7a)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf88)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf8d)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf8c)
Pause(1000)
MoveItemToContainer(src_cont, dst_cont, 0xf7b)
Pause(1000)

HeadMsg('끝.')

🔒 로그인 후 내용을 확인하세요

댓글목록

profile_image

gogong님의 댓글

gogong 작성일

감사합니다. 잘쓸게요.

Total 134건 2 페이지
클래식어시스트 매크로 목록
번호 제목 글쓴이 조회 날짜
114 바보울온 67 10-24
113 바보울온 277 10-22
112
[클어씨#47] 클어씨 프롭훈련 매크로 인기글 첨부파일 댓글1
바보울온 206 10-22
111 바보울온 291 10-21
110 바보울온 117 10-08
109 바보울온 155 09-16
108 바보울온 162 09-10
107 바보울온 330 09-02
106 바보울온 183 08-20
열람중 Sendol 144 08-11
104 바보울온 110 07-30
103 바보울온 276 07-21
102 느린보거북이 128 07-16
101 느린보거북이 90 07-16
100 느린보거북이 135 07-16
99 느린보거북이 135 07-16
98 Sendol 73 07-31
97
[클어씨#38] 펫훈련 보조용 매크로 인기글 첨부파일 댓글3
바보울온 441 07-15
96 바보울온 306 07-03
95 흑양파 139 06-24

검색

 


회사소개 개인정보취급방침 서비스이용약관 모바일 버전으로 보기 상단으로

TEL. 00-000-0000 FAX. 00-000-0000 서울 강남구 강남대로 1
대표:홍길동 사업자등록번호:000-00-00000 개인정보관리책임자:홍길동

Copyright © 소유하신 도메인. All rights reserved.