Thealphabetic
Posts: 9 Joined: Thu Aug 22, 2013 1:13 am
#1
Post
by Thealphabetic » Thu Aug 22, 2013 1:17 am
Hello all,
I've just started with micromacro and im trying to make a macro to do the daily quest in Ancient Kingdom. However, i've tried everything to just make a start by accepting the quest and then starting the battle, but it just wont work. Does sum1 know what im doing wrong?
Greetings, Thealphabetic
This is my code:
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="-18351" z="-22687" y="469">
player:update();
player:target_NPC("Anthony Taz");
yrest(500);
AcceptQuestByName("Demonstration Battle");
yrest(2000);
player:target_NPC("Anthony Taz");
yrest(500);
sendMacro("ChoiceOption(1);");
</waypoint>
</waypoints>
Last edited by
Thealphabetic on Sun Sep 22, 2013 12:20 am, edited 3 times in total.
rock5
Posts: 12173 Joined: Tue Jan 05, 2010 3:30 am
Location: Australia
#2
Post
by rock5 » Thu Aug 22, 2013 6:20 am
Firstly, please use
Code: Select all
tags when pasting code. Just select the code and click the "Code" button at the top of the edit box.
It looks ok. What exactly happens? What doesn't work?
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
How to: copy and paste in micromacro
________________________
Quote:
“They say hard work never hurt anybody, but I figure, why take the chance.”
Thealphabetic
Posts: 9 Joined: Thu Aug 22, 2013 1:13 am
#3
Post
by Thealphabetic » Thu Aug 22, 2013 6:37 am
Sometimes it fails to accept the quest, but i guess thats standard. But then i cant make Anthony Taz to start the fight. It is like the 2nd talk doesn't work.
rock5
Posts: 12173 Joined: Tue Jan 05, 2010 3:30 am
Location: Australia
#4
Post
by rock5 » Thu Aug 22, 2013 6:50 am
So it
does work, it's just that sometimes it fails?
I'm surprised AcceptQuestByName fails as it is a very reliable code. You could make sure you have the quest, eg.
Code: Select all
repeat
AcceptQuestByName("Demonstration Battle")
yrest(2000)
until getQuestStatus("Demonstration Battle") ~= "not accepted"But if there is any situation where it can't accept the quest then it will get stuck in that loop.
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
How to: copy and paste in micromacro
________________________
Quote:
“They say hard work never hurt anybody, but I figure, why take the chance.”
Thealphabetic
Posts: 9 Joined: Thu Aug 22, 2013 1:13 am
#5
Post
by Thealphabetic » Thu Aug 22, 2013 7:28 am
I guess i said it wrong, sorry for that.
The problem isnt accepting the quest, but making the mob spawn (by talking to the guy). The mob never spawns, i've tried it many many times but it doesnt work and if i try it with a macro i make ingame, then it does work. Do you maybe know why this is?
rock5
Posts: 12173 Joined: Tue Jan 05, 2010 3:30 am
Location: Australia
#6
Post
by rock5 » Thu Aug 22, 2013 10:13 am
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
How to: copy and paste in micromacro
________________________
Quote:
“They say hard work never hurt anybody, but I figure, why take the chance.”
Thealphabetic
Posts: 9 Joined: Thu Aug 22, 2013 1:13 am
#7
Post
by Thealphabetic » Thu Aug 22, 2013 12:20 pm
Yeah, i've tried that before even trying to make my own. But it wont trigger the mob. I dont know what it is.
rock5
Posts: 12173 Joined: Tue Jan 05, 2010 3:30 am
Location: Australia
#8
Post
by rock5 » Thu Aug 22, 2013 12:33 pm
Does it target Taz after accepting the quest? Does a dialog appear? If so, does the dialog look different than when you do it manually?
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
How to: copy and paste in micromacro
________________________
Quote:
“They say hard work never hurt anybody, but I figure, why take the chance.”