Macro บอททำยา


ก่อนอื่นเรามาดู send packet กันก่อนนะครับ

##### Alchemist Brewing #####
# Red Potion = 8E 01 F5 01 00 00 00 00 00 00
# Yellow Potion = 8E 01 F7 01 00 00 00 00 00 00
# White Potion = 8E 01 F8 01 00 00 00 00 00 00
# Blue Potion = 8E 01 F9 01 00 00 00 00 00 00
# Adonyne = 8E 01 5D 02 00 00 00 00 00 00
# Aloevera = 8E 01 5E 02 00 00 00 00 00 00
# Red Slim = 8E 01 21 02 00 00 00 00 00 00
# Yellow Slim = 8E 01 22 02 00 00 00 00 00 00
# White Slim = 8E 01 23 02 00 00 00 00 00 00
# Alcohol = 8E 01 CA 03 00 00 00 00 00 00
# Fire Bottle = 8E 01 DF 1B 00 00 00 00 00 00
# Acid Bottle = 8E 01 E0 1B 00 00 00 00 00 00
# Plant Bottle = 8E 01 E1 1B 00 00 00 00 00 00
# Mine Bottle = 8E 01 E2 1B 00 00 00 00 00 00
# Coating Wax = 8E 01 E3 1B 00 00 00 00 00 00

พอเรารู้ send packet แล้วเราก็สามารถออกคำสั่งให้บอททำยาได้แล้วนะครับ

ตัวอย่างเช่น

automacro White {
sp >50%
inventory "Medicine Bowl" >= 200
inventory "Witch Starsand" >= 200
inventory "Empty Test Tube" >= 200
inventory "White Potion" >= 200 <----- ของที่พกในตัวมีไรบ้าง เท่าไร ถึงจะใช้สกิล (ใส่ให้ตรงกับที่จะทำ)
call white_Create
timeout 5 <---หน่วงเวลาในการทำ วินาที
run-once 1
}

macro white_Create {
do ss 497 1 <---- สำคัญนะ 497 คือ เลขสกิล 1 คือ lvสกิล
do send 8E 01 23 02 00 00 00 00 00 00 <----- คือpacket อ้างอิงจากข้างบนจ๊ะ
release all
}

ไม่มีความคิดเห็น:

แสดงความคิดเห็น

ทดสอบเทสๆ