以下是天國的大大們互相討論的好文章,


在此分享~感謝!轉帖請註明出處唷


 


(以下都還未測試)


範例一


 


utomacro create {
        sp > 15%
        inventory "攜帶用熔礦爐" >= 1
        inventory "鐵" >= 5
        inventory "煤礦" >= 1
        call pharmacy
        run-once 1
}
macro pharmacy {
        do is 攜帶用熔礦爐 10
        pause 1
        do send 8e 01 e7 03 00 00 00 00 00 00
        release create
}


 


 


##### Blacksmith Forging #####
# 火靈原石 = 8e 01 e2 03 00 00 00 00 00 00
# 水靈原石 = 8e 01 e3 03 00 00 00 00 00 00
# 風靈原石 = 8e 01 e4 03 00 00 00 00 00 00
# 土靈原石 = 8e 01 e5 03 00 00 00 00 00 00
# 鐵 = 8e 01 e6 03 00 00 00 00 00 00
# 鋼鐵 = 8e 01 e7 03 00 00 00 00 00 00
# 星星的角 = 8e 01 e8 03 00 00 00 00 00 00


 


範例二


 


打鐵
automacro create {
        sp > 15%
        inventory "攜帶用熔礦爐" >= 1
        inventory "鐵礦石" >= 1
        call pharmacy
        run-once 1
}

macro pharmacy {
        do is 攜帶用熔礦爐
        pause 0.5
        do send 8e 01 e6 03 00 00 00 00 00 00
        release create
}
===========================================
storageAuto 1
# 是否開啟自動存倉功能
storageAuto_npc prontera 151 29
# 自動存倉的 NPC
storageAuto_distance 5
# 自動存倉時要站在距離 NPC 多遠的位置
storageAuto_npc_type 1
# 與 NPC 對話的類型,1=c r1 n,2=c c r1 n,3=自訂,自訂對話命令串寫在下一個設定
storageAuto_npc_steps
# 自訂與 NPC 對話命令串
storageAuto_password 0000
# 開倉密碼,請直接輸入設定的數字密碼即可
storageAuto_keepOpen 0
storageAuto_useChatCommand
relogAfterStorage 1
getAuto 鐵礦石 {
        minAmount 0
        maxAmount 140
        passive
}
getAuto 攜帶用熔礦爐 {
        minAmount 0
        maxAmount 140
        passive
}

然後當他打完鐵到0開啟自動領取之後
不會在執行卡住之後就斷線了...
之後程式打出這段↓↓↓
Attempt to get 140 x 攜帶用溶鐵爐  from storage, retry: 1
Storage Item Removed: 攜帶用溶鐵爐 <53> x 140
Cannot pickup item <inventory full>
Storage Item Added 攜帶用溶鐵爐 <53> x 140
Attempt to get 140 x 攜帶用溶鐵爐  from storage, retry: 2
Storage Item Removed: 攜帶用溶鐵爐 <53> x 140
Cannot pickup item <inventory full>
Storage Item Added 攜帶用溶鐵爐 <53> x 140






"do is 612"這方法是不行的,外掛不會接受直接使用物品編號
直接用"is 物品名稱"就行了,像"is 白色藥水"
另外"is @inventory (物品名稱)"也是可行的

"ss" 這個指令是對自己使用技能,"is" 是對自己使用物品

 
arrow
arrow
    全站熱搜

    aaa1314 發表在 痞客邦 留言(0) 人氣()