Anthony Taz Daily Quest in Rorazan: Demonstration Battle

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Message
Author
Aron
Posts: 39
Joined: Tue Feb 19, 2013 10:30 am

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#21 Post by Aron » Mon Jul 15, 2013 6:58 am

The daily quest from Anthony Taz in Ancient Kingdom of Rorazan is where I do the dailies.
The waypoint #1 code is just a waypoint I inserted to stand still near the NPC Anthony Taz. To complete and accept quests I use the macro which vegasmike posted some time ago. And I inserted the yrests in that macro now, and its working alot better now.

Here is the code of the macro.

Code: Select all

/script TargetUnit("focus1")
/yrest 1500
/script UseAction(1)
/yrest 1500
/script ChoiceOption(1)
/yrest 1500
/script TargetNearestEnemy()
/yrest 1500
/run KillSequence("","2")()
The macro accepts the quest, speaks to Anthony Taz again to spawn a mob, targets the mob and kills it with DIYCE, which cant be anything from melee to ranged, in my case ranged.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#22 Post by rock5 » Mon Jul 15, 2013 10:00 am

I see, so while the waypoint is running you are pressing the macro? I'd say the waypoint targeting the npc would interfere with the macro. I would add a check in the waypoint to do nothing until the quest is complete instead of what it does now which is continuously target the npc and try to complete the quest. The code, as it's written now, is ideal for a normal waypoint file but for how you want to use it it should have an extra check.

Try adding this to the end of the waypoint

Code: Select all

     while getQuestStatus(questName) == "incomplete" do yrest(1000) end
I was going to use an 'if' statement but then it would still be continuously going to the waypoint which might interfere with the macro as well. The above macro will make sure it does absolutely nothing while you are using the macro.
  • 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.”
          • Ronald Reagan

Aron
Posts: 39
Joined: Tue Feb 19, 2013 10:30 am

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#23 Post by Aron » Mon Jul 15, 2013 4:36 pm

I am not pressing anything manually if the bot is working. Now it doesnt work at all. I did my dailies 10/10, left the char close to the NPC and had the NPC in focus (the macro requires that). Started the bot, and the bot doesnt even check if I done the dailies or not, it just tries to cast Shot and failes, and when it failed a couple of times the char starts to move and runs straight into the wall.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-18351" z="-22685" y="469">	</waypoint>
	
	<!-- #  1 --><waypoint x="-18351" z="469">         
      player:target_NPC(questGiverId);
      CompleteQuestByName(questName);
      
      local dqCount, dqPerDay = RoMScript("Daily_count()");
      if dqCount ~= 10 then
         AcceptQuestByName(questName);
      else
         inventory:update();
         player:update();
         if inventory:itemTotalCount(dailyTicket) > 0 then
            inventory:useItem(dailyTicket);
            yrest(2000)
            AcceptQuestByName(questName);         
         else
            player:sleep();
         end
      end
      yrest(10000)
	  while getQuestStatus(questName) == "incomplete" do yrest(1000) 
end
   </waypoint>
	
</waypoints>

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#24 Post by rock5 » Tue Jul 16, 2013 1:27 am

Maybe it's trying to attack something. Does the mm output reflect this? Try making the waypoint type 'travel'.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints type="TRAVEL">
Edit: If all you are using the bot for is turning in the dailies it might be easier to get the "dailynotes" addon.
http://www.curse.com/addons/rom/dailynotes
It can be set to automatically accept and complete quests when you click on npcs. So what you would do is just click-click-click-click-click-click-click until it's finished.
  • 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.”
          • Ronald Reagan

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#25 Post by lisa » Tue Jul 16, 2013 1:32 am

Is there more to the WP because it is trying to use variables that arn't defined?

Code: Select all

player:target_NPC(questGiverId);
      CompleteQuestByName(questName);
Also a huge gap between the 2 waypoints

Code: Select all

 <!-- #  1 --><waypoint x="-18351" z="-22685" y="469">   </waypoint>
   
   <!-- #  1 --><waypoint x="-18351" z="469">  
Copy/paste issue or typo?

Code: Select all

   while getQuestStatus(questName) == "incomplete" do yrest(1000) 
end
That will basically sit there forever waiting for the quest to be complete, so it means you need to be actually doing something to complete quest.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#26 Post by rock5 » Tue Jul 16, 2013 1:58 am

lisa wrote:Is there more to the WP because it is trying to use variables that arn't defined?

Code: Select all

player:target_NPC(questGiverId);
      CompleteQuestByName(questName);
I think at some point I convinced myself that there was more to the file or the variable was set somewhere else, but considering it again I think you're right, he may actually be using empty variables instead of the quest names.
lisa wrote:Also a huge gap between the 2 waypoints
I didn't notice that. Well that would explain why it's trying to run through a wall.
lisa wrote:Copy/paste issue or typo?

Code: Select all

   while getQuestStatus(questName) == "incomplete" do yrest(1000)
end
That will basically sit there forever waiting for the quest to be complete, so it means you need to be actually doing something to complete quest.
That's what I told him to add when I thought he was using the macro while the bot was running. Seeing as he isn't doing that he shouldn't have added it.

But I think DailyNotes is the right solution if all the bot does is turn in the quests.
  • 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.”
          • Ronald Reagan

Aron
Posts: 39
Joined: Tue Feb 19, 2013 10:30 am

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#27 Post by Aron » Tue Jul 16, 2013 5:59 am

Sorry I forgot to mention that, I am using DailyNotes too. Should I try doing this without the macro or? But then I will lose some speed in it.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#28 Post by rock5 » Tue Jul 16, 2013 6:32 am

DailyNotes is not going to do the quest for you. Use the macro to do the quest and Daily notes to turn in the quests.
  • 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.”
          • Ronald Reagan

Aron
Posts: 39
Joined: Tue Feb 19, 2013 10:30 am

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#29 Post by Aron » Tue Jul 16, 2013 6:35 am

Thats what I am using right now, but it still doesnt work. The DailyNotes are handing in and accepting the quest while the macro is doing the quest.

User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#30 Post by rock5 » Tue Jul 16, 2013 12:03 pm

LoL.

I guess that means you would have to disable DN while using the macro. That adds a bit more complexity but it's still easy. Just make a macro with

Code: Select all

/dn
in it and place it on your actionbar or use the addonmanager button if you are using addonmanager. Then click it, un-tick your quest and go use your macro. When you are ready to turn in the quest click the button again, tick the quest then click-click-click-click-click-click-click-click-click-click-click-click-click-click the npc.
  • 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.”
          • Ronald Reagan

User avatar
lolita
Posts: 139
Joined: Thu Oct 20, 2011 5:39 am
Location: Serbia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#31 Post by lolita » Tue Jul 16, 2013 6:22 pm

while server was online today, i looked at this Quest, ad here is what i found

Code: Select all

quest giver npc id: 119856
id of mob's spawned by npc: 106474,106475,106476
quest ID: 425124
so quest work like this:
1.accept quest
2. talk with npc to spawn one of 3 mob's from above
3. mob spawn for only 3-4 seconds
4. mob have only 4k or 5k Hp, if you kill it quest is complete, else you must talk with npc to spawn another one

so i guest he useing diyce (do it yourself combat engine addon) cose it take to long for bot to target mob and kill it, mob disapire before that. Diyce target mob and kill it really fast
player profile should be set to use only instant skills, or use diyce addon like he intended
unfortunately i cant test it now, cose server is offline :(
ill post my version when i test it
Life is a journey, not destination :D

User avatar
lolita
Posts: 139
Joined: Thu Oct 20, 2011 5:39 am
Location: Serbia

Re: Anthony Taz Daily Quest in Rorazan: Demonstration Battle

#32 Post by lolita » Sat Jul 20, 2013 2:51 pm

you can download my version of file here
report any bugs
Life is a journey, not destination :D

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests