A good new daily quest in Ancient Kingdom of Rorazan!

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
do002
Posts: 58
Joined: Tue Jan 04, 2011 8:18 pm

A good new daily quest in Ancient Kingdom of Rorazan!

#1 Post by do002 » Tue Jun 19, 2012 6:59 pm

Hi, I've just discovered a new daily quest in the new zone that is very easy to do. All u have to do is accept the quest and dress wounds for 5 injured soldiers near by( by just talking to them). The quest name is 'Continue to save the wounded'. I'm just wondering if anyone could make a waypoint for this daily that'd be great.

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

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#2 Post by lisa » Tue Jun 19, 2012 7:54 pm

--=== Moved ===--
This sub forum is not for;

1. Making suggestions for userfunctions, waypoint files, scripts etc.
2. Talking about files that have there own threads elsewhere.
3. Starting a project that never gets finished.

This thread is for;

1. Sharing a userfunction, waypoint file, script etc. for others to share. Basically, if you don't have a file to attach then don't start a thread here.
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

do002
Posts: 58
Joined: Tue Jan 04, 2011 8:18 pm

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#3 Post by do002 » Mon Jun 25, 2012 5:11 am

Sorry about that. I have tried to work on a waypoint for it and came up with this

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
	<!-- #  1 --><waypoint x="-20099" z="-20977" y="808">
		player:target_NPC("Gilnovan");
		AcceptQuestByName("Continue to Save the Wounded");

dailyQuest1 = getQuestStatus("Continue to Save the Wounded");
if dailyQuest1 == "complete" then 
			player:target_NPC("Gilnovan");
			CompleteQuestByName("Continue to Save the Wounded");
		end

		
player:target_NPC("Injured Dwarf Warrior");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Angren Warrior");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Elven Mage");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Elven Champion");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Human Warrior");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Gilnovan");
		sendMacro("ChoiceOption(1);");
	</waypoint>
</waypoints>
It works fine but the only problem is it doesnt repeat the quest. It'd be great if you could give me a hand. Cheers

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

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#4 Post by lisa » Mon Jun 25, 2012 6:01 am

For daily quests what you do is check if you have done all 10 or not before going to accept the quest, code looks like this.

Code: Select all

	local dqCount, dqPerDay = RoMScript("Daily_count()");
	if dqCount ~= 10 then
So that checks if you have done all 10 and if not then .......

So in your waypoint it would probably go here.

Code: Select all

local dqCount, dqPerDay = RoMScript("Daily_count()");
if dqCount ~= 10 then
      player:target_NPC("Gilnovan");
      AcceptQuestByName("Continue to Save the Wounded");
else
    --do what you want to when you have done all 10 daily quests
end
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: A good new daily quest in Ancient Kingdom of Rorazan!

#5 Post by rock5 » Mon Jun 25, 2012 6:14 am

Also, it might sound backwards but you need to 'complete' the quest before 'accepting' it. The way you have it, if you come back from healing the sick, it will skip the accepting and do the completing then try to go heal the sick again without accepting the quest. So it should 'complete' the quest then 'accept' it again before healing again. The first time you talk to the npc the 'complete' part simple wont do anything. And you should put the check for if you have finished all 10 dailies after the complete but before the accept.
  • 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: A good new daily quest in Ancient Kingdom of Rorazan!

#6 Post by lisa » Mon Jun 25, 2012 6:20 am

Actually I see a flow issue with the order in which you do things.

Since there is only 1 waypoint it should theoretically just keep repeating the code in that waypoint until told to do otherwise. This is fine but you might need to look at the order in which you do things, possibly add in some checks aswell.

I'll do point form for what it does in the order it will do them.

1. targets the quest NPC
2. accepts the quest
3. checks the status of quest
4. if complete it then hands in the quest
5. it does all the things required to complete the quest, regardless of if you have quest or not.

So I would probably do it like this.

1. check daily quest count, if not done all 10 then target NPC and get quest.
2. do everything required to complete quest
3. hand in completed quest
4. this is where I would put the else for if you have completed 10 dailies.
5. end

Should end up looking like this.

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
   <!-- #  1 --><waypoint x="-20099" z="-20977" y="808">
 	local dqCount, dqPerDay = RoMScript("Daily_count()");
	if dqCount ~= 10 then  
		player:target_NPC("Gilnovan");
		AcceptQuestByName("Continue to Save the Wounded");
		player:target_NPC("Injured Dwarf Warrior");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Angren Warrior");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Elven Mage");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Elven Champion");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Injured Human Warrior");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Gilnovan");
		sendMacro("ChoiceOption(1);");
		player:target_NPC("Gilnovan");
        CompleteQuestByName("Continue to Save the Wounded");
	else
		player:sleep()
	end
   </waypoint>
</waypoints>
Unless the clicking of the NPC to do the quest has issues this should work, if you need to repeat parts of the quest then the code will need changing a little.
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

do002
Posts: 58
Joined: Tue Jan 04, 2011 8:18 pm

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#7 Post by do002 » Mon Jun 25, 2012 7:18 am

Thanks for the help Lisa and Rock. It works great now and this is going to help big time with the dailies.

IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#8 Post by IronWolf » Tue Jun 26, 2012 8:32 am

well forgive me for butting-in but, if you managed to get it work, will it be possible for you to share with us? i dont think that sharing this wp is like sharing a farming wp..

feel free to tell me im wrong :D

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

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#9 Post by lisa » Tue Jun 26, 2012 8:47 am

IronWolf wrote:well forgive me for butting-in but, if you managed to get it work, will it be possible for you to share with us? i dont think that sharing this wp is like sharing a farming wp..

feel free to tell me im wrong :D
Did you try the code I posted?
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

IronWolf
Posts: 50
Joined: Sun Aug 08, 2010 7:09 am

Re: A good new daily quest in Ancient Kingdom of Rorazan!

#10 Post by IronWolf » Tue Jun 26, 2012 2:22 pm

lisa wrote:
IronWolf wrote:well forgive me for butting-in but, if you managed to get it work, will it be possible for you to share with us? i dont think that sharing this wp is like sharing a farming wp..

feel free to tell me im wrong :D
Did you try the code I posted?

:oops: :oops: :oops: :oops: :oops:
sry :)

thanks alot... again! lisa :)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests