Hunting board macro (eventMacro)
Posted: 28 Mar 2018, 14:34
Here is a little macro i made based of another macro i found in this forums. It is for iRO:RE hunting boards and i've been using it all night flawlessly. It gets all the hunting quests from the board, kill the monsters you want from the different maps, turn in the quest for the exp, ask for the quest again and repeat.
Note: change the bold parts to their corresponding value
Note: change the bold parts to their corresponding value
Code: Select all
automacro BoardQuest1 {
exclusive 1
priority 1
timeout 120
BaseLevel > 75
QuestActive [b]QuestID1[/b], [b]QuestID2[/b]
macro_delay 3
call {
if (&questCompleteCount([b]QuestID1[/b]) == 1 && &questCompleteCount([b]QuestID2[/b]) == 1) call Quest1
log Quest not Completed yet
}
}
macro [b]Quest1[/b] {
log completed quest of [b]Quest1[/b]
do conf lockMap [b]mapID[/b]
lock BoardQuest1
}
###################################################################################################################
automacro BoardQuest2 {
exclusive 1
priority 2
timeout 120
BaseLevel > 75
QuestHuntCompleted [b]QuestID1 MobID1[/b], [b]QuestID2 MobID2[/b]
QuestActive [b]QuestID3[/b], [b]QuestID4[/b]
macro_delay 3
call {
if (&questCompleteCount([b]QuestID3[/b]) == 1 && &questCompleteCount([b]QuestID4[/b]) == 1) call Quest2
log Quest not Completed yet
}
}
macro Quest2 {
log completed quest of [b]Quest2[/b]
do conf lockMap [b]mapID[/b]
lock BoardQuests2
}
###################################################################################################################
automacro BoardQuest3 {
exclusive 1
priority 3
timeout 120
BaseLevel > 75
QuestHuntCompleted [b]QuestID1[/b] MobID1, [b]QuestID2 MobID2[/b], [b]QuestID3[/b] MobID3, [b]QuestID4 MobID4[/b]
QuestActive [b]QuestID5[/b], [b]QuestID6[/b], [b]QuestID7[/b]
macro_delay 3
call {
if (&questCompleteCount([b]QuestID5[/b]) == 1 && &questCompleteCount([b]QuestID6[/b]) == 1 && &questCompleteCount([b]QuestID7[/b]) == 1) call Quest3
log Quest not Completed yet
}
}
macro Quest3 {
log All quests completed!
do respawn
do move [b]mapID[/b] #(map where the hunting board is)
do talknpc [b]X Y[/b] [b]NPCResponseSequence[/b] #for example c c r1 c r17 n
do talknpc [b]X Y[/b] [b]NPCResponseSequence[/b]
... #and so on until you turned in all quests
do talknpc [b]X Y[/b] [b]NPCResponseSequence[/b] #this last line is to take all the quests again once turned in
do conf lockMap [b]mapID[/b] #should be the map the whole macro chain started in.
release all
do relog 3
}