Hadions Special Catalyst

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
pugzilla
Posts: 43
Joined: Tue Jun 16, 2015 3:58 pm

Hadions Special Catalyst

#1 Post by pugzilla » Sun Aug 07, 2016 3:45 pm

Tryin to make a script to farm Hadions Special Catalyst. Used seach didnt see anything

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
__WPL:setWaypointIndex(__WPL:findWaypointTag("quest"))
CharList = {
      {account=104 , chars={1,2,3,4,5,6,7,8}},
      {account=105 , chars={1,2,3,4,5,6,7,8}},
   }
</onLoad>

	<!-- #  1 --><waypoint x="4918" z="-3297" y="50">
			player:target_NPC(123633) -- Jess Hays
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_1")) -- 'What do you offer adventurers in return?'
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_3")) -- 'Which blessing can be had if enough materials have been gathered?'
			ChoiceOptionByName(getTEXT("SC_AC2_Q2_7")) -- 'Ready to support this phase'
			player:target_NPC(123633) -- Jess Hays
			AcceptQuestByName(427145) -- Construction of the Arcanium Chamber
			player:target_NPC(123633) -- Jess Hays
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_5")) -- 'I want to experience the ancient blessing.'
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_6")) -- 'Donate 3,000 gold coins'
			player:target_NPC(123633) -- Jess Hays
			CompleteQuestByName(427145) -- Construction of the Arcanium Chamber
      if CompleteQuestByName(427145) then
         __WPL:setWaypointIndex(__WPL:findWaypointTag("quest"))
      else
	 SetCharList(CharList)
	 LoginNextChar()
         ChangeChar()
         loadProfile()
         player:update()
         __WPL:setWaypointIndex(__WPL:findWaypointTag("quest"))
      end
	</waypoint>
</waypoints>


i made this one, but trying to make it better.
once completeing the quest you get Hadion Gift of Graditude which then can give you Executive Order from Haidon ( quest reset)
i know to use to use the items. but i dont know how to loop it back to the quest. right now if i use all that it just relogs to next char.

Code: Select all

			inventory:useItem(243266)
			player:rest(1);
			inventory:useItem(243265)
			player:rest(3);
Also once it Logs to next char . it loads the char fine but then says "Player address changed:0x23c30foo"
then logs to the next and works fine. then back to that and skips the next guy

kenzu38
Posts: 279
Joined: Sun Dec 02, 2012 8:52 am

Re: Hadions Special Catalyst

#2 Post by kenzu38 » Mon Aug 08, 2016 2:44 am

Try this (untested):

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
CharList = {
      {account=104 , chars={}},	-- you can leave the chars table blank if you want it to cycle through all chars
      {account=105 , chars={}},
   }
</onLoad>
	<!-- #  1 --><waypoint x="4918" z="-3297" y="50">
			player:target_NPC(123633) -- Jess Hays
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_1")) -- 'What do you offer adventurers in return?'
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_3")) -- 'Which blessing can be had if enough materials have been gathered?'
			ChoiceOptionByName(getTEXT("SC_AC2_Q2_7")) -- 'Ready to support this phase'
			player:target_NPC(123633) -- Jess Hays
			AcceptQuestByName(427145) -- Construction of the Arcanium Chamber
			player:target_NPC(123633) -- Jess Hays
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_5")) -- 'I want to experience the ancient blessing.'
			ChoiceOptionByName(getTEXT("SC_AC2_Q1_6")) -- 'Donate 3,000 gold coins'
			player:target_NPC(123633) -- Jess Hays
			CompleteQuestByName(427145) -- Construction of the Arcanium Chamber
			player:rest(1);
			inventory:useItem(243266)
			player:rest(1);
			if inventory:itemTotalCount(243265) > 0 then
				inventory:useItem(243265)
				player:rest(3);
			else
				 SetCharList(CharList)
	 			LoginNextChar()	-- already does player:update() if you are using the latest version
         end
         __WPL:setWaypointIndex(1)       -- you can also try using loadPaths(__WPL.FileName) on this line if it somehow doesn't work
   </waypoint>
</waypoints>
If I didn't read the LogInNextChar code wrong, you can probably just do it like this:

Code: Select all

CharList = {
      {account=104},
      {account=105},
         }
and it would still work and cycle through all your chars.
pugzilla wrote:but i dont know how to loop it back to the quest.
__WPL:setWaypointIndex(1) is the command to make it loop back, or like I commented in the code above, you can also use loadPaths(__WPL.FileName) to reload the WP altogether.
pugzilla wrote:Also once it Logs to next char . it loads the char fine but then says "Player address changed:0x23c30foo"
then logs to the next and works fine. then back to that and skips the next guy
I think it's because you had LoginNextChar() then did a ChangeChar() after that. ChangeChar() is not needed.

pugzilla
Posts: 43
Joined: Tue Jun 16, 2015 3:58 pm

Re: Hadions Special Catalyst

#3 Post by pugzilla » Tue Aug 09, 2016 5:33 pm

thanks alot works perfect!

rommer
Posts: 6
Joined: Mon Oct 26, 2015 11:27 am

Re: Hadions Special Catalyst

#4 Post by rommer » Sun Aug 28, 2016 2:06 am

Can you Add the folder here plz ;) than i can use it also ;) thx

Post Reply

Who is online

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