The Treasure Within

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.
Post Reply
Message
Author
whitewiz
Posts: 11
Joined: Fri Jan 10, 2014 2:36 pm

The Treasure Within

#1 Post by whitewiz » Wed Jan 22, 2014 10:43 pm

Quest Name: The Treasure Within
Zone: Chrysalia
Level: 71 to accept quest 63 to turn in
Chosen Why: near a housemaid, safe turn in. Collect quest items on primary class.
Quest Details: get Detoxification Potion when accepting the quest. Use on Lesser Poison Dragons. The dragons will drop a Great Turd. Harvest the Great Turd and receive Gold With a Smell. Turn in 10 Gold With a Smell to complete quest.
Complications: if you use Detoxification Potion without a Lesser Poison Dragon targeted you will get a poisoned debuff. Detoxification Potion has a cast time of 3 sec. Harvesting Great Turd has a cast time of 5 sec.

Problems with my code:
code often stalls when champ is casting rune pulse
character tries to kill dragon instead of detoxing
character runs after dragons that are green/detoxed

**Old code deleted**
Last edited by whitewiz on Mon Jan 27, 2014 8:11 pm, edited 1 time in total.

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: The Treasure Within

#2 Post by Bill D Cat » Wed Jan 22, 2014 11:52 pm

whitewiz wrote: Problems with my code:
character tries to kill dragon instead of detoxing
character runs after dragons that are green/detoxed
You could add the dragons to your friends list. This will keep the bot from attacking them or chasing them, but you'd still be able to target and use the quest item.

whitewiz
Posts: 11
Joined: Fri Jan 10, 2014 2:36 pm

Re: The Treasure Within

#3 Post by whitewiz » Thu Jan 23, 2014 12:19 am

Code: Select all

	<onLoad>
		changeOptionFriendMob("friend", "Lesser Poison Dragon", "Add")
	</onLoad>
added this but no improvement. still attacking yellow Dragons and chasing green/friendly dragons. and yes i downloaded the userfunction_profilechange

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: The Treasure Within

#4 Post by Bill D Cat » Thu Jan 23, 2014 1:14 am

You could try getting the mob ID(s) with Rock5's TooltipId add-on (http://solarstrike.net/phpBB3/viewtopic.php?f=27&t=4977) and using them instead of the mob names. It will also make it so the file can be used in any language without needing to edit the names of the mobs. It sounds like you'll need to add more than one ID if there are green and yellow dragons in various states of debuff.

whitewiz
Posts: 11
Joined: Fri Jan 10, 2014 2:36 pm

Re: The Treasure Within

#5 Post by whitewiz » Thu Jan 23, 2014 7:14 pm

But i only need to use the script in 1 language 8-)

I'm far more interested in getting him to use the potion than the other items. If he can't use the potion there is no point in making the script.

whitewiz
Posts: 11
Joined: Fri Jan 10, 2014 2:36 pm

Re: The Treasure Within

#6 Post by whitewiz » Thu Jan 23, 2014 7:17 pm

Calling an ingame macro or a hotbar item might be a solution
i'll look for some examples of how to do those

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: The Treasure Within

#7 Post by Bill D Cat » Fri Jan 24, 2014 12:06 am

This is how I would have written the code for the waypoint that you posted. Just to give you an idea what I meant by using the ID's.
Attachments
ChrysDragonModified.xml
(538 Bytes) Downloaded 171 times

whitewiz
Posts: 11
Joined: Fri Jan 10, 2014 2:36 pm

Re: The Treasure Within

#8 Post by whitewiz » Mon Jan 27, 2014 7:47 pm

I like the distance limits.
i added type=TRAVEL to keep from attacking mobs.
tested and working well
Thank you for your help Bill! ur d best :)
Attachments
Da63ULChr-TWDragonHarvestV2.xml
(1.59 KiB) Downloaded 165 times

User avatar
Bill D Cat
Posts: 555
Joined: Sat Aug 10, 2013 8:13 pm
Location: Deep in the Heart of Texas

Re: The Treasure Within

#9 Post by Bill D Cat » Mon Jan 27, 2014 8:48 pm

And now to take it one step further. Instead of repeating the same code in each waypoint, just turn it into a function in the <onload> section and call it as needed from the appropriate waypoints.
Attachments
Da63ULChr-TWDragonHarvestV2.xml
Modified to move code into a function.
(924 Bytes) Downloaded 175 times

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: The Treasure Within

#10 Post by beanybabe » Sat Aug 13, 2016 7:12 pm

Bill you wp needed some fixes to work here is my version.

I also included my swap class wp to turn this in if you leveling a lower class from higher one. I think if you set swap off it may work on main class I did not test that.
Attachments
chr the treasure within.xml
(3.35 KiB) Downloaded 147 times
ChrysDragonMod_2.xml
(898 Bytes) Downloaded 148 times

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests