Automated Refiner using only macros
Posted: 16 Jun 2011, 03:40
This macro will try to refine your desired armor up to +8 (default)
When elunium is 5 or less, it would halt refinement and get elus from your storage
edit the macro macro to your liking and please add some feedback (suggestions are welcomed)
I used my tidal shoes as an example
Upgrade is up to +8 only but you can add/reduce it according to your needs
When elunium is 5 or less, it would halt refinement and get elus from your storage
edit the macro macro to your liking and please add some feedback (suggestions are welcomed)
I used my tidal shoes as an example
Upgrade is up to +8 only but you can add/reduce it according to your needs
Code: Select all
#######################################################
# Automated NPC refine macro
# created by tambok143
#
#
# replace the talknpc coords and/or talk sequence
# replace all Tidal Shoes [1] to your armor/weapon to refine
# dont forget to edit these from config.txt
#
# storageAuto_useChatCommand @storage
# relogAfterStorage 0
#
# then add this block
#
# getAuto Elunium {
# minAmount
# maxAmount 60
# passive 1
# }
#
#
# on items_control
#
# all 50 0 0
#
############################################################
macro refinement {
lock elunium
do talknpc 73 38 c r0 c r0 c r0 c
release elunium
}
#----------autmacros start here
automacro refine_start0 {
priority 1
inventory Elunium >= 1
equipped shoes Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start1 {
priority 1
inventory Elunium >= 1
equipped shoes +1 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start2 {
priority 1
inventory Elunium >= 1
equipped shoes +2 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start3 {
priority 1
inventory Elunium >= 1
equipped shoes +3 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start4 {
priority 1
inventory Elunium >= 1
equipped shoes +4 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start5 {
priority 1
inventory Elunium >= 1
equipped shoes +5 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start6 {
priority 1
inventory Elunium >= 1
equipped shoes +6 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start7 {
priority 1
inventory Elunium >= 1
equipped shoes +7 Tidal Shoes [1]
run-once 1
call refinement
}
automacro refine_start8 {
priority 1
inventory Elunium >= 1
equipped shoes +8 Tidal Shoes [1]
run-once 1
call refinement
}
#--------------automacro for success
automacro success1 {
console /You successfully refined a weapon!/
equipped shoes +1 Tidal Shoes [1]
run-once 1
call {
do eq Tidal Shoes [1]
release all
}
}
automacro success2 {
console /You successfully refined a weapon!/
equipped shoes +2 Tidal Shoes [1]
run-once 1
call {
do eq +1 Tidal Shoes [1]
release all
}
}
automacro success3 {
console /You successfully refined a weapon!/
equipped shoes +3 Tidal Shoes [1]
run-once 1
call {
do eq +2 Tidal Shoes [1]
release all
}
}
automacro success4 {
console /You successfully refined a weapon!/
equipped shoes +4 Tidal Shoes [1]
run-once 1
call {
do eq +3 Tidal Shoes [1]
release all
}
}
automacro success5 {
console /You successfully refined a weapon!/
equipped shoes +5 Tidal Shoes [1]
run-once 1
call {
do eq +4 Tidal Shoes [1]
release all
}
}
automacro success6 {
console /You successfully refined a weapon!/
equipped shoes +6 Tidal Shoes [1]
run-once 1
call {
do eq +5 Tidal Shoes [1]
release all
}
}
automacro success7 {
console /You successfully refined a weapon!/
equipped shoes +7 Tidal Shoes [1]
run-once 1
call {
do eq +6 Tidal Shoes [1]
release all
}
}
automacro success8 {
console /You successfully refined a weapon!/
equipped shoes +8 Tidal Shoes [1]
run-once 1
call {
do eq +7 Tidal Shoes [1]
release all
}
}
#------------automacro for fails
automacro fail5 {
console /You failed to refine a weapon!/
equipped shoes none
inventory "+4 Tidal Shoes [1]" >= 1
call {
do eq +4 Tidal Shoes [1]
release all
}
}
automacro fail6 {
console /You failed to refine a weapon!/
equipped shoes none
inventory "+5 Tidal Shoes [1]" >= 1
call {
do eq +5 Tidal Shoes [1]
release all
}
}
automacro fail7 {
console /You failed to refine a weapon!/
equipped shoes none
inventory "+6 Tidal Shoes [1]" >= 1
call {
do eq +6 Tidal Shoes [1]
release all
}
}
automacro fail8 {
console /You failed to refine a weapon!/
equipped shoes none
inventory "+7 Tidal Shoes [1]" >= 1
call {
do eq +7 Tidal Shoes [1]
release all
}
}
#-------------automacro elunium check
automacro elunium {
priority 0
inventory Elunium <= 5
run-once 1
call {
do autostorage
release all
}
}