<num 6> insert 'choiceoption'<>' command -> what it does ?

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Wir
Posts: 6
Joined: Sun Jan 02, 2011 11:15 am

<num 6> insert 'choiceoption'<>' command -> what it does ?

#1 Post by Wir » Tue Feb 01, 2011 2:06 am

<num 6> insert 'choiceoption'<>' command -> what it does ?

i understand it as choice the option for example daily quest board i want bot to pick 4rd possition on list so i type 4... but nothing happening (yes i mark board -> entered to it and i did all things needed to just accept quest from board)

JackBlonder
Posts: 99
Joined: Sat Dec 18, 2010 6:55 am

Re: <num 6> insert 'choiceoption'<>' command -> what it does

#2 Post by JackBlonder » Tue Feb 01, 2011 2:20 am

Do you target the black board beforeselecting the option in your waypoint file?

Code: Select all

							player:target_Object("board name");

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

Re: <num 6> insert 'choiceoption'<>' command -> what it does

#3 Post by rock5 » Tue Feb 01, 2011 2:24 am

This is only for npc dialog boxes with options. Not for bulletin boards or quests. For example you can use it to select one of the options when talking to your house maid or select the option to open a store when talking to a merchant.

I don't think there are any documented methods to select quests from the bulletin board although I see a lot of related function on the rom wiki list of functions so someone could create a userfunctions file for it.
  • 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: <num 6> insert 'choiceoption'<>' command -> what it does

#4 Post by lisa » Tue Feb 01, 2011 2:41 am

something along the lines of this.

Code: Select all

		player:target_NPC("Obsidian Stronghold Bulletin Board");
		sendMacro("OnClick_QuestListButton(1, 4)");  yrest(2000);
		sendMacro("AcceptQuest()"); yrest(2000);
When picking quests you need to use the code I provided.

The choice is only for NPC that are choices and not quests.

Code: Select all

		player:target_NPC("Mayren");
		sendMacro("ChoiceOption(3);");
Just for more info to complete a quest you need to use.

Code: Select all

		player:target_NPC("Oder");
		sendMacro("OnClick_QuestListButton(3, 1)");  yrest(2000);
		sendMacro("CompleteQuest()");
The (3, *) is to hand in a completed quest,
(1, *) is to accept a quest.

I attached my cactus daily WP, 3 quests from same board and handed in to same NPC, it's in Obsidian Stronghold.
This is set up to change class aswell, it is for doing dailys on a character that is 50/35, so gets quest on the lvl 50, switches to second class lvl 35 and then hands in all 3 quests at the same time.
So you can see a working usage.
Attachments
oscactusdaily.xml
my daily cactus quests in OS. lvl 40 minimum
(3.15 KiB) Downloaded 152 times
Last edited by lisa on Tue Feb 01, 2011 2:57 am, edited 3 times in total.
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

Wir
Posts: 6
Joined: Sun Jan 02, 2011 11:15 am

Re: <num 6> insert 'choiceoption'<>' command -> what it does

#5 Post by Wir » Tue Feb 01, 2011 2:42 am

ok i will try it thx

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

Re: <num 6> insert 'choiceoption'<>' command -> what it does

#6 Post by rock5 » Tue Feb 01, 2011 8:33 am

Still it would be nice if there were functions for taking quests by name for example which would require getting the info about the quests from the board.

I think I'll add it to my todo list.
  • 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: <num 6> insert 'choiceoption'<>' command -> what it does

#7 Post by lisa » Tue Feb 01, 2011 9:12 am

I thought it already was on your todo list, only reason I haven't been looking into it lol
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
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: <num 6> insert 'choiceoption'<>' command -> what it does

#8 Post by jduartedj » Tue Feb 01, 2011 3:57 pm

me too!

the problem is if the option in question is a quest accept/deliver then a diff code would have to be used. I don't know how exactly to approach this.
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates

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

Re: <num 6> insert 'choiceoption'<>' command -> what it does

#9 Post by rock5 » Tue Feb 01, 2011 6:31 pm

No, I had accepting and completing quests on my list buy not bulletin boards. Maybe they could be somehow merged and tackled at once? Hm...
  • 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: <num 6> insert 'choiceoption'<>' command -> what it does

#10 Post by lisa » Tue Feb 01, 2011 9:07 pm

the boards and npc quests should work in the same maner, I don't see any difference to them except the boards are only daily's so therefore only have the blue icon and not yellow.
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: <num 6> insert 'choiceoption'<>' command -> what it does

#11 Post by rock5 » Tue Feb 01, 2011 11:37 pm

Ah yes, my memory is not so good. I haven't done quests from a board in ages and for some reason I seemed to remember them being different than normal dialogs. My bad.
  • 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

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests