Page 1 of 2

My own test for butterfly daily in Xaviera

Posted: Fri Sep 09, 2011 9:40 am
by Blackt3ars
Hi guys been testing abit around v my own macro and i just playing around v the macros i know there is post which is full version for the daily in Xaviera but i just wanna use my own instead you know independent on other people.

So this is the very basic macro :
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="6405" z="5436" y="181">
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies");
</waypoint>
<!-- # 5 --><waypoint x="6326" z="5030" y="195"> </waypoint>
<!-- # 6 --><waypoint x="6547" z="4008" y="219"> </waypoint>
<!-- # 7 --><waypoint x="7022" z="3445" y="203"> </waypoint>
<!-- # 8 --><waypoint x="7207" z="3180" y="205"> </waypoint>
<!-- # 9 --><waypoint x="7359" z="3206" y="197"> </waypoint>
<!-- # 10 --><waypoint x="7342" z="3338" y="197"> </waypoint>
<!-- # 11 --><waypoint x="7436" z="3367" y="197"> </waypoint>
<!-- # 12 --><waypoint x="7553" z="3175" y="197"> </waypoint>
<!-- # 13 --><waypoint x="7641" z="3179" y="197"> </waypoint>
<!-- # 14 --><waypoint x="7648" z="3097" y="197"> </waypoint>
<!-- # 15 --><waypoint x="7556" z="3006" y="197"> </waypoint>
<!-- # 16 --><waypoint x="7625" z="2545" y="196"> </waypoint>
<!-- # 17 --><waypoint x="7648" z="2108" y="196"> </waypoint>
<!-- # 18 --><waypoint x="8075" z="2109" y="198"> </waypoint>
<!-- # 19 --><waypoint x="8172" z="1927" y="193"> </waypoint>
<!-- # 20 --><waypoint x="8244" z="1627" y="193"> </waypoint>
<!-- # 21 --><waypoint x="8284" z="1458" y="193"> </waypoint>
<!-- # 22 --><waypoint x="8243" z="1639" y="193"> </waypoint>
<!-- # 23 --><waypoint x="8103" z="2137" y="193"> </waypoint>
<!-- # 24 --><waypoint x="7876" z="2093" y="199"> </waypoint>
<!-- # 25 --><waypoint x="7650" z="2433" y="195"> </waypoint>
<!-- # 26 --><waypoint x="7553" z="3062" y="196"> </waypoint>
<!-- # 27 --><waypoint x="7650" z="3102" y="197"> </waypoint>
<!-- # 28 --><waypoint x="7636" z="3157" y="197"> </waypoint>
<!-- # 29 --><waypoint x="7492" z="3226" y="197"> </waypoint>
<!-- # 30 --><waypoint x="7439" z="3363" y="197"> </waypoint>
<!-- # 31 --><waypoint x="7343" z="3335" y="197"> </waypoint>
<!-- # 32 --><waypoint x="7362" z="3210" y="197"> </waypoint>
<!-- # 33 --><waypoint x="7127" z="3176" y="205"> </waypoint>
<!-- # 34 --><waypoint x="7047" z="3432" y="204"> </waypoint>
<!-- # 35 --><waypoint x="6610" z="3764" y="187"> </waypoint>
<!-- # 36 --><waypoint x="6557" z="3988" y="217"> </waypoint>
<!-- # 37 --><waypoint x="6286" z="5077" y="196"> </waypoint>
<!-- # 38 --><waypoint x="6425" z="5413" y="188"> </waypoint>
</waypoints>

Well kinda works ok but until the part for the Waypoint 38......kinda puzzle @.@ how can i make it to hand in the quest ?

is it something like
player:target_NPC(x);
sendMacro("CompleteQuest()"); yrest(2000);
??? haha i know im kinda well new but hope i can learn some stuff here then rather spoon feed on everyones waypoint

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 09, 2011 9:50 am
by rock5
You are using "AcceptQuestByName". Don't you realise in the same userfunction there is also "CompleteQuestByName"?

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 09, 2011 10:32 am
by Blackt3ars
so at waypoint 38

i put something like
player:target_NPC(x);
CompleteQuestByName()
am i right ?

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 09, 2011 11:36 am
by rock5
Blackt3ars wrote:so at waypoint 38

i put something like
player:target_NPC(x);
CompleteQuestByName()
am i right ?
No, you use it like AcceptQuestByName.
player:target_NPC(x);
CompleteQuestByName("Catch Butterflies");
After all it says "ByName".

Re: My own test for butterfly daily in Xaviera

Posted: Sat Sep 10, 2011 11:12 pm
by Blackt3ars
Tq~ =) rock

hehe well altho not so perfect but hell yea =) it is done~ and it able to run on Butter only hehe~

here i share out to everyone feel free to mod at your own desire =)

:
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="6405" z="5436" y="181">
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies");
</waypoint>
<!-- # 5 --><waypoint x="6326" z="5030" y="195">
player:mount();
</waypoint>
<!-- # 6 --><waypoint x="6547" z="4008" y="219"> </waypoint>
<!-- # 7 --><waypoint x="7022" z="3445" y="203"> </waypoint>
<!-- # 8 --><waypoint x="7207" z="3180" y="205"> </waypoint>
<!-- # 9 --><waypoint x="7359" z="3206" y="197"> </waypoint>
<!-- # 10 --><waypoint x="7342" z="3338" y="197">player:mount(); </waypoint>
<!-- # 11 --><waypoint x="7436" z="3367" y="197"> </waypoint>
<!-- # 12 --><waypoint x="7553" z="3175" y="197"> </waypoint>
<!-- # 13 --><waypoint x="7641" z="3179" y="197"> </waypoint>
<!-- # 14 --><waypoint x="7648" z="3097" y="197"> </waypoint>
<!-- # 15 --><waypoint x="7556" z="3006" y="197"> </waypoint>
<!-- # 16 --><waypoint x="7625" z="2545" y="196"> </waypoint>
<!-- # 17 --><waypoint x="7648" z="2108" y="196"> </waypoint>
<!-- # 18 --><waypoint x="8075" z="2109" y="198"> </waypoint>
<!-- # 19 --><waypoint x="8172" z="1927" y="193"> </waypoint>
<!-- # 20 --><waypoint x="8244" z="1627" y="193"> </waypoint>
<!-- # 21 --><waypoint x="8284" z="1458" y="193"> </waypoint>
<!-- # 22 --><waypoint x="8243" z="1639" y="193">
player:mount()
</waypoint>
<!-- # 23 --><waypoint x="8103" z="2137" y="193"> </waypoint>
<!-- # 24 --><waypoint x="7876" z="2093" y="199"> </waypoint>
<!-- # 25 --><waypoint x="7650" z="2433" y="195"> </waypoint>
<!-- # 26 --><waypoint x="7553" z="3062" y="196"> </waypoint>
<!-- # 27 --><waypoint x="7650" z="3102" y="197"> </waypoint>
<!-- # 28 --><waypoint x="7636" z="3157" y="197"> </waypoint>
<!-- # 29 --><waypoint x="7492" z="3226" y="197"> </waypoint>
<!-- # 30 --><waypoint x="7439" z="3363" y="197">player:mount(); </waypoint>
<!-- # 31 --><waypoint x="7343" z="3335" y="197"> </waypoint>
<!-- # 32 --><waypoint x="7362" z="3210" y="197"> </waypoint>
<!-- # 33 --><waypoint x="7127" z="3176" y="205"> </waypoint>
<!-- # 34 --><waypoint x="7047" z="3432" y="204"> </waypoint>
<!-- # 35 --><waypoint x="6610" z="3764" y="187"> </waypoint>
<!-- # 36 --><waypoint x="6557" z="3988" y="217"> </waypoint>
<!-- # 37 --><waypoint x="6286" z="5077" y="196"> </waypoint>
<!-- # 38 --><waypoint x="6425" z="5413" y="188">
player:target_NPC("Robbie Butcher");
CompleteQuestByName("Catch Butterflies");
</waypoint>
</waypoints>

Re: My own test for butterfly daily in Xaviera

Posted: Sun Sep 11, 2011 8:28 am
by rock5
Does it avoid Copper Gardeners or does it assume you have a character cabable of killing him?

Re: My own test for butterfly daily in Xaviera

Posted: Sun Sep 11, 2011 9:54 am
by Blackt3ars
Yea i have the character to kill it easily =) just using this waypoint to dual boxing....while macroing daily can swap to other account do other stuff =) multitasking and boxing is much easier this way hehe

Re: My own test for butterfly daily in Xaviera

Posted: Mon Sep 12, 2011 6:39 am
by Germangold
multiboxing is nice
i do use 5 windows for butterfly dailies :D

Re: My own test for butterfly daily in Xaviera

Posted: Mon Sep 12, 2011 8:43 am
by KaMaro
I have small problems. I do not accept and does not reflect the q.
Besides, if at this point:
Player: mount (); </ waypoint>

Should be within the name of my pet?
For example, Black Pegasus?
I wish that my character did not go on foot only rode on the pet.

in my addons folder, among others 2 others:

dailynotes
AdvQuestBook

This will not conflict with the macro?

//Ok, work.

Re: My own test for butterfly daily in Xaviera

Posted: Wed Sep 14, 2011 4:18 pm
by mafia
Accept quest works, but afterwards my character just stands there and does not continue on with the rest of the waypoints. There is no error message. I don't know what's wrong.

Re: My own test for butterfly daily in Xaviera

Posted: Thu Sep 15, 2011 4:51 am
by Blackt3ars
AS i know b4 you use the waypoint with the accept quest addon.

You need to click on the NPC ( like a green circle under the npc ) then activate the waypoint

It works fine for me and never fails me =D~

Re: My own test for butterfly daily in Xaviera

Posted: Thu Sep 15, 2011 11:46 pm
by Ghozie
why this error happened??? my profile configuration are ok.. tested in other waypoint..but this butterfly waypoint.. my character are not killing any mobs and he always try to move closer




--=== Edited by Lisa ===--

You had character name twice in image, I just edited it to show the MM window.
Edited by lisa
Edited by lisa

Re: My own test for butterfly daily in Xaviera

Posted: Thu Sep 15, 2011 11:56 pm
by lisa
Did you use load next character and with an older version of bot?

I suguest doing SVN update and SVN revert to make sure you are up to date.

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 16, 2011 8:52 am
by Ghozie
thanks LISA its working now... but my problem is the elite horse.. so i manually change the waypoint only inside the garden.. there's a userfunction that aborting the waypoint when reach the quest requirement which is 5/5 butterfly?... because my character keep killing butterfly even already reach 5/5 butterfly...

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 16, 2011 8:59 am
by lisa

Code: Select all

local queststate = getQuestStatus("Questname") -- replace Questname with the quest's name
if queststate == "complete" then
--do stuff
end

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 16, 2011 9:09 am
by Ghozie
im sorry but how to use that? i will copy paste??? where?


by the way i only use this userfunction [userfunction_QuestByName] no other userfunction

Re: My own test for butterfly daily in Xaviera

Posted: Fri Sep 16, 2011 8:15 pm
by lisa
I haven't used this WP but you are proibably looking at something like this.

You want the __WPL:setForcedWaypointType("NORMAL") just before the spot where you want to start killing butterflies, I just purely guessed when I placed it where I did, just move it to where is needed.
I called the function in those places again by guessing, So put the quest() in places where you might have already completed the quest.

With set to travel it won't fight back, i get TRAVEL and RUN confused sometimes might need to be RUN, and then it is set to NORMAL before you reach butterflies so it attacks again.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onload>
function quest()
	local queststate = getQuestStatus("Catch Butterflies")
	if queststate == "complete" then
		player:mount()
		__WPL:setForcedWaypointType("TRAVEL")
	end
end
</onload>
<!-- # 1 --><waypoint x="6405" z="5436" y="181">
player:target_NPC("Robbie Butcher");
AcceptQuestByName("Catch Butterflies");
</waypoint>
<!-- # 5 --><waypoint x="6326" z="5030" y="195">
player:mount(); 
</waypoint>
<!-- # 6 --><waypoint x="6547" z="4008" y="219"> </waypoint>
<!-- # 7 --><waypoint x="7022" z="3445" y="203"> </waypoint>
<!-- # 8 --><waypoint x="7207" z="3180" y="205">__WPL:setForcedWaypointType("NORMAL") </waypoint>
<!-- # 9 --><waypoint x="7359" z="3206" y="197"> </waypoint>
<!-- # 10 --><waypoint x="7342" z="3338" y="197">player:mount(); </waypoint>
<!-- # 11 --><waypoint x="7436" z="3367" y="197"> </waypoint>
<!-- # 12 --><waypoint x="7553" z="3175" y="197"> </waypoint>
<!-- # 13 --><waypoint x="7641" z="3179" y="197"> </waypoint>
<!-- # 14 --><waypoint x="7648" z="3097" y="197"> </waypoint>
<!-- # 15 --><waypoint x="7556" z="3006" y="197">quest() </waypoint>
<!-- # 16 --><waypoint x="7625" z="2545" y="196">quest() </waypoint>
<!-- # 17 --><waypoint x="7648" z="2108" y="196">quest() </waypoint>
<!-- # 18 --><waypoint x="8075" z="2109" y="198">quest() </waypoint>
<!-- # 19 --><waypoint x="8172" z="1927" y="193">quest() </waypoint>
<!-- # 20 --><waypoint x="8244" z="1627" y="193">quest() </waypoint>
<!-- # 21 --><waypoint x="8284" z="1458" y="193">quest() </waypoint>
<!-- # 22 --><waypoint x="8243" z="1639" y="193">quest()
player:mount()
</waypoint>
<!-- # 23 --><waypoint x="8103" z="2137" y="193">quest() </waypoint>
<!-- # 24 --><waypoint x="7876" z="2093" y="199">quest() </waypoint>
<!-- # 25 --><waypoint x="7650" z="2433" y="195">quest() </waypoint>
<!-- # 26 --><waypoint x="7553" z="3062" y="196">quest() </waypoint>
<!-- # 27 --><waypoint x="7650" z="3102" y="197">quest() </waypoint>
<!-- # 28 --><waypoint x="7636" z="3157" y="197">quest() </waypoint>
<!-- # 29 --><waypoint x="7492" z="3226" y="197">quest() </waypoint>
<!-- # 30 --><waypoint x="7439" z="3363" y="197">player:mount(); </waypoint>
<!-- # 31 --><waypoint x="7343" z="3335" y="197"> </waypoint>
<!-- # 32 --><waypoint x="7362" z="3210" y="197"> </waypoint>
<!-- # 33 --><waypoint x="7127" z="3176" y="205"> </waypoint>
<!-- # 34 --><waypoint x="7047" z="3432" y="204"> </waypoint>
<!-- # 35 --><waypoint x="6610" z="3764" y="187"> </waypoint>
<!-- # 36 --><waypoint x="6557" z="3988" y="217"> </waypoint>
<!-- # 37 --><waypoint x="6286" z="5077" y="196"> </waypoint>
<!-- # 38 --><waypoint x="6425" z="5413" y="188">
player:target_NPC("Robbie Butcher");
CompleteQuestByName("Catch Butterflies");
</waypoint>
</waypoints>

Re: My own test for butterfly daily in Xaviera

Posted: Sat Sep 17, 2011 4:08 am
by Blackt3ars
@.@ wow i never knew my post are Stick Tq lisa =X

Anyway this waypoint i`ve made up just to farm Butter Daily no other daily like the meat and etc.

And the Waypoint end up on the smaller garden are which normally the Fierce Gale will walk into there ( sometimes )

My character able to kill it easily.

So b4 using this waypoint i suggest that only useable for those people who`s character able to kill the fierce gale.

Is pretty much good area to farm as inside the small garden have 4 butterfly and outside near the middle area there is 2.

Re: My own test for butterfly daily in Xaviera

Posted: Sat Sep 17, 2011 7:32 am
by Ghozie
what'wrong lisa why it stop?

Re: My own test for butterfly daily in Xaviera

Posted: Sat Sep 17, 2011 7:37 am
by lisa
try

Code: Select all

function quest()
instead of

Code: Select all

local function quest()