Making a Geffen Daily Quest: Mage Hunter macro problem...

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
Message
Author
saintemelone
Noob
Noob
Posts: 5
Joined: 06 Mar 2013, 00:02
Noob?: Yes

Making a Geffen Daily Quest: Mage Hunter macro problem...

#1 Post by saintemelone »

Good day to all of you fellow botters.

I am trying to make a macro of Mage Hunter and incorporating it to the Daily Quest macro. Since everytime I check, there seems to be no suggestion or even any attempt of making a Mage Hunter macro. That is why I am asking your help in polishing my macro, so that it could help others. Somehow my efforts seem to be less fruitful. Here is my macro...

# Geffen Quest: Mage Hunter

macro MageHunter {
log Moving to Mage Hunter's Location
do move geffen 112 66
pause 1
log Geffen Quest: Mage Hunter
log Talking to Mage Hunter
do talknpc 111 66 c r0 c c c c c c n
stop
}

automacro GeffenInn {
console /Good luck and I wish you the best!/i
console /Please capture him!/i
run-once 1
priority 2
delay 0
exclusive 0
call {
log Geffen Quest Mage Hunter Start!
log Going To GeffenInn.
do move geffen_in 70 60
do talknpc 67 63 c r3 n
pause 1
do talknpc 63 63 c r1 c r0 n
do move pvp_y_room
stop
}
}

automacro PvPRoom1 {
console /YoYo mode waiting room?/i
run-once 1
priority 2
delay 0
exclusive 0
call {
log Geffen Quest Mage Hunter Start!
log Going To PvPRoom.
do move pvp_y_room 86 83
do talknpc 86 85 r1 n
call search
stop
}
}

macro search {
log Searching for Rebel Mage.
do move pvp_y_8-2 159 175
pause 1
do move pvp_y_8-2 132 122
pause 1
do move pvp_y_8-2 56 66
}

automacro RebelMage Found {
console /Do not get close to me!/i
console /Who are you?/i
console /Tell me who you are!/i
run-once 1
priority 1
delay 0
exclusive 0
call {
log RebelMage Found!
log Talking to RebelMage
do talknpc 158 175 c c r0 c c c c c c c n
pause 1
do talknpc 131 122 c c r0 c c c c c c c n
pause 1
do talknpc 55 66 c c c c c r0 c c c c n
}

automacro RebelMageCaptureFail {
console /Kekekeke! They will never catch me!/i
console /You better go away! Otherwise I will blow you to smithereens!/i
exclusive 1
run-once 1
call search
log Pursuing Mage Hunter!
stop
}

automacro Surrender {
console /What horrible timing! You win I surrender!/i
console /I am exhausted to against them. I am out of here. I want to live a better life./i
run-once 1
exclusive 1
priority 1
delay 2
call {
relog
pause 1
do move geffen 112 66
do talknpc 111 66
log Geffen Quest: Mage Hunter Complete!
}
}

By the way, i would like to thank elgimikerox... I based my macro from his Geffen Thief macro.
The problem lies in that my char can't automatically warp to the pvproom.
Last edited by saintemelone on 06 Mar 2013, 12:08, edited 2 times in total.

Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Making a Geffen Daily Quest: Mage Hunter macro problem...

#2 Post by Raider »

do move pvp_y_8-2 159, 175 --> 159 175 :D
pause 1
do move pvp_y_8-2 132 122

saintemelone
Noob
Noob
Posts: 5
Joined: 06 Mar 2013, 00:02
Noob?: Yes

Re: Making a Geffen Daily Quest: Mage Hunter macro problem...

#3 Post by saintemelone »

Thanks on that one but the problems lies in that my char doesn't automatically warp itself in the pvproom although I followed the talk sequence. I manually walked my char to the pvproom izlude there I typed in macro search to find the 3 rebel mages. Though after the 3rd one southwest of the map near the bridge it failed to do a loop to search should all three of them disagreed to surrender. After successfully capturing one of the rebel mage it also failed to relog so that it could return to geffen and report to the mage hunter.

Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Making a Geffen Daily Quest: Mage Hunter macro problem...

#4 Post by Raider »

You are using the condition run-once, but were is your release command?
Read this please: http://www.openkore.com/index.php/Macro_plugin

saintemelone
Noob
Noob
Posts: 5
Joined: 06 Mar 2013, 00:02
Noob?: Yes

Re: Making a Geffen Daily Quest: Mage Hunter macro problem...

#5 Post by saintemelone »

Now I know the answer to my first problem. The problem lies in the portals.txt wherein there is no warp point from geffen to the pvp room. I have add this warp point code in the portals.txt

geffen_in 63 63 pvp_y_room 51 23 0 c r1 r0 n

and then revised my macro

# Geffen Quest: Mage Hunter

macro MageHunter {
log Moving to Mage Hunter's Location
do move geffen 112 66
pause 1
log Geffen Quest: Mage Hunter
log Talking to Mage Hunter
do talknpc 111 66 c r0 c c c c c c n
stop
}

automacro GeffenInn {
console /I will catch them someday..!/i
run-once 1
priority 2
delay 0
exclusive 0
call {
log Geffen Quest Mage Hunter Start!
log Going To GeffenInn.
do move geffen_in 70 60
do talknpc 67 63 c r3 n
pause 1
do move pvp_y_room
stop
}
}

automacro PvPRoom1 {
location pvp_y_room
run-once 1
priority 2
delay 0
exclusive 0
call {
log Geffen Quest Mage Hunter Start!
log Going To PvPRoom.
do move pvp_y_room 86 83
do talknpc 86 85 r1 n
call search
stop
}
}

macro search {
log Searching for Rebel Mage.
do move pvp_y_8-2 159 175
pause 1
do move pvp_y_8-2 132 122
pause 1
do move pvp_y_8-2 56 66
}

automacro RebelMage Found {
console /Do not get close to me!/i
console /Who are you?/i
console /Tell me who you are!/i
run-once 1
priority 1
delay 0
exclusive 0
call {
log RebelMage Found!
log Talking to RebelMage
do talknpc 158 175 c c r0 c c c c c c c n
pause 1
do talknpc 131 122 c c r0 c c c c c c c n
pause 1
do talknpc 55 66 c c c c c r0 c c c c n
}

automacro RebelMageCaptureFail {
console /Kekekeke! They will never catch me!/i
console /You better go away! Otherwise I will blow you to smithereens!/i
exclusive 1
run-once 1
call search
log Pursuing Mage Hunter!
stop
}

automacro Surrender {
console /You win I surrender!/i
run-once 1
exclusive 1
priority 1
delay 2
call {
release search
do relog
pause 1
do move geffen 112 66
do talknpc 111 66
log Geffen Quest: Mage Hunter Complete!
}
}

With this one it can now warp and search for the rebel mage on pvproom izlude. Kindly check for errors that I might have overlook.

saintemelone
Noob
Noob
Posts: 5
Joined: 06 Mar 2013, 00:02
Noob?: Yes

Re: Making a Geffen Daily Quest: Mage Hunter macro problem...

#6 Post by saintemelone »

Edited my macro with this one but the automacro doesn't trigger after my bot talks to the NPC Mage Hunter. Kindly check pls...

macro MageHunter {

$baselvl = $.lvl
if (($baselvl >= 50) && ($baselvl <= 150)) goto MageHunter
goto Requirement5A

:Requirement5A
log REQUIREMENT: LEVEL 50 TO 150.
goto end

:end
call dq3

:MageHunter
log Moving to Mage Hunter's Location
do move geffen 112 66
pause 2
log Geffen Quest: Mage Hunter
log Talking to Mage Hunter
do talknpc 111 66 c r0 c c c c c c n
pause 1
do talknpc 111 66 c n

automacro GeffenInn {
console /Please capture him!/i
delay 1
call CheckIn
}

macro CheckIn {
log Geffen Quest Mage Hunter Start!
log Going To Geffen Inn.
do move geffen_in 70 60
do talknpc 67 63 c r3 n
pause 1
do move pvp_y_room
stop
}

automacro PvPRoom1 {
location pvp_y_room
delay 1
timeout 30
call {
log Geffen Quest Mage Hunter Start!
log Going To PvP Room Izlude
do move pvp_y_room 86 83
do talknpc 86 85 r1 n
pause 1
call SearchRebelMage
stop
}
}

macro SearchRebelMage {
log Searching for Rebel Mage.
do move pvp_y_8-2 159 175
pause 0
do move pvp_y_8-2 132 122
pause 0
do move pvp_y_8-2 56 66
}

automacro RebelMage Found1 {
location pvp_y_8-2 159 175
console /Do not get close to me!/i
delay 1
exclusive 1
call {
log RebelMage Found!
log Talking to RebelMage
do talk resp 0
}
}

automacro RebelMage Found2 {
location pvp_y_8-2 132 122
console /Who are you?/i
delay 1
exclusive 1
call {
log RebelMage Found!
log Talking to RebelMage
do talk resp 0
}
}


automacro RebelMage Found3 {
location pvp_y_8-2 56 66
console /Tell me who you are!/i
delay 1
exclusive 1
call {
log RebelMage Found!
log Talking to RebelMage
do talk resp 0
}
}

automacro Surrender {
console /You win, I surrender!/i
delay 1
call {
do relog 1
pause 10
do move geffen 112 66
do talknpc 111 66 c c c n
log Geffen Quest: Mage Hunter Complete!
call dq3
}
}

Post Reply