New Dailies in Xaveria

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
User avatar
rock5
Posts: 12173
Joined: Tue Jan 05, 2010 3:30 am
Location: Australia

Re: New Dailies in Xaveria

#41 Post by rock5 » Mon Jul 25, 2011 7:58 am

I don't think it's usable as a way to avoid death but I was thinking it might be an easy way to get to the respawn point, for example when leaving an instance, instead of using party invites. There would have to be a reliable and easy way to trigger it for it to be of practical use.
  • 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: New Dailies in Xaveria

#42 Post by lisa » Mon Jul 25, 2011 8:39 am

Ahh I see your point, I tend to always have a party for instance so I forget about people soloing. Not sure when I could do some testing on it, lots on my plate atm.
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

bobdole
Posts: 152
Joined: Thu May 26, 2011 6:30 pm

Re: New Dailies in Xaveria

#43 Post by bobdole » Mon Jul 25, 2011 9:22 am

The suicide code is:

Code: Select all

/script SetCameraPosition (0,0,1000000);
. You may need try with other values, for example (0,0,100000); (0,0,1000000000);. I just need to know how I would make that code work in a waypoint.

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

Re: New Dailies in Xaveria

#44 Post by rock5 » Mon Jul 25, 2011 9:27 am

Well you could just execute the command with a RoMScript

Code: Select all

RoMScript("SetCameraPosition (0,0,1000000)")
  • 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

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: New Dailies in Xaveria

#45 Post by Mushroomstamp » Mon Jul 25, 2011 3:24 pm

Has anyone else tested this? Camera zooms way out, but character doesn't die.

User avatar
MiesterMan
Posts: 543
Joined: Tue Jul 06, 2010 9:15 pm
Location: Between the Second and Third Circles of Hell

Re: New Dailies in Xaveria

#46 Post by MiesterMan » Mon Jul 25, 2011 11:46 pm

rock5 wrote:Can this be used to avoid dept even if you die normally or is it only if you die as part of the hack?
I have tested this in the past and no, if you die before the hack is activated then you will get debt. That's part of the reason having the bot do it is the only way I can see it working for this.

If we get it working, I'd like to put it in a timer with a function that will check hp often and also if you're in combat with another player. Not getting your PK bubble for this would be annoying (though it would avoid dropping gear).

Edit:
rock5 wrote:I don't think it's usable as a way to avoid death but I was thinking it might be an easy way to get to the respawn point, for example when leaving an instance, instead of using party invites. There would have to be a reliable and easy way to trigger it for it to be of practical use.
I had thought about this but then I remembered the functionality of it. The dungeon won't reset if you just die will it?

Edit2:
bobdole wrote:The suicide code is:

Code: Select all

/script SetCameraPosition (0,0,1000000);
. You may need try with other values, for example (0,0,100000); (0,0,1000000000);.
Are you serious?

jasn
Posts: 70
Joined: Sat Jun 25, 2011 8:25 am
Location: Sweden

Re: New Dailies in Xaveria

#47 Post by jasn » Tue Jul 26, 2011 9:35 am

about the ogest mob.
Doesnt every mob have some sort of "mob id" ? if u use that instead of the mob´s name in friend list would it work ? might put some sort of "range limitation" if possible, so u dont accidenlty stroll to close.

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: New Dailies in Xaveria

#48 Post by Germangold » Wed Jul 27, 2011 2:15 pm

Code: Select all

/script x,y,z = GetCameraPosition(); SetCameraPosition (0,0,1000000); 
/wait 9.0
/script SetCameraPosition(x,y,z); 
/wait 3.0
/script BrithRevive(); 
as marko works fine for me

Code: Select all

	function skipper()
		killstatus = getQuestStatus(killquest);
			if killstatus == "complete" then
					keyboardPress(key.VK_F9); yrest(29000);
					player = CPlayer.new();
					settings.load();	
					__WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); 	 
				
				
			end
	end

User avatar
Edamh
Posts: 106
Joined: Tue May 24, 2011 11:56 pm

Re: New Dailies in Xaveria

#49 Post by Edamh » Wed Jul 27, 2011 6:09 pm

[quote="Germangold"]

Code: Select all

/script x,y,z = GetCameraPosition(); SetCameraPosition (0,0,1000000); 
/wait 9.0
/script SetCameraPosition(x,y,z); 
/wait 3.0
The code from Germangold works. I have ntbuff to trigger the keypress for this macro at a certain HP %. Remember to recall your pet before using this code, though; the pet will lose loyalty if not recalled when this code is activated.

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: New Dailies in Xaveria

#50 Post by Mushroomstamp » Sat Jul 30, 2011 8:13 am

Edamh wrote:The code from Germangold works
Weird... doesn't work for me through the bot, or even an in-game macro. What could cause this to work for some but not others?

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

Re: New Dailies in Xaveria

#51 Post by lisa » Sat Jul 30, 2011 9:30 am

I tested from commandline WP and it worked fine, it took 6 seconds after doing command before char died though.
just this bit though

Code: Select all

SetCameraPosition (0,0,1000000);
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

Mushroomstamp
Posts: 210
Joined: Wed Oct 27, 2010 11:34 am

Re: New Dailies in Xaveria

#52 Post by Mushroomstamp » Sat Jul 30, 2011 12:48 pm

lisa wrote:I tested from commandline WP and it worked fine, it took 6 seconds after doing command before char died though.
Could slim/regular client, or different servers possibly affect this? If not, what could? The camera zooms way out to the commanded position, but character doesn't die... I've waited up to 60 seconds.

kanta
Posts: 424
Joined: Thu Nov 11, 2010 4:08 pm

Re: New Dailies in Xaveria

#53 Post by kanta » Sun Jul 31, 2011 9:47 am

Try playing around with the values a little bit. A while ago when I was messing around with the camera command I encountered the "suicide". My values were nothing like that one in his example.
Scout/Knight/Rogue 70/66/66

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: New Dailies in Xaveria

#54 Post by Germangold » Tue Aug 02, 2011 8:13 am

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
	local dailycomplete_ptr = 0x9CD1E0;
	local dailycomplete_offset = 0xACF4;
	
	function getDailyComplete()
		return memoryReadBytePtr(getProc(),dailycomplete_ptr,dailycomplete_offset);
	end
	
	function checkDQCount()
		local _tmpQC = getDailyComplete();
		cprintf(cli.lightblue,"%s quests completed.\n",tostring(_tmpQC));
		if (_tmpQC == 10) then
			cprintf(cli.lightblue,"Completed max number of daily quests, trying to use a daily reset card.\n");
			inventory:update();
			player:update();
			-- note #202434 is the daily reset card
  			 if inventory:itemTotalCount(202434) => 1 then
  				    inventory:useItem(202434);
  			else
   				    error("No Daily Reset Cards left!")
     			 	    player:sleep();
   			end
	 	end	
	end
		
	killquest = RoMScript("TEXT('Sys424181_name')"); yrest(500) -- ie. catch butterflys
	
	function skipper()
		killstatus = getQuestStatus(killquest);
			if killstatus == "complete" then
					keyboardPress(key.VK_F9); yrest(29000);
					-- kills yourself
					player = CPlayer.new();
					settings.load();	
					__WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); 	 
				
				
			end
	end
	</onLoad>
	
	<!-- #  1 --><waypoint x="6426" z="5429" y="156" tag="npc">
		__WPL:setDirection(WPT_FORWARD);
		checkDQCount();
		player:target_NPC("Robbie Butcher");
		CompleteQuestByName(killquest);yrest(555); checkDQCount(); 
		AcceptQuestByName(killquest);yrest(555); 
		__WPL:setForcedWaypointType("NORMAL");
	</waypoint>
	<!-- #  2 --><waypoint x="6299" z="5152" y="168">	player:mount();
	__WPL:setForcedWaypointType("TRAVEL")</waypoint>
	<!-- #  3 --><waypoint x="6323" z="4935" y="168">	</waypoint>
	<!-- #  4 --><waypoint x="6419" z="4496" y="168">	</waypoint>
	<!-- #  5 --><waypoint x="6495" z="4219" y="168">	</waypoint>
	<!-- #  6 --><waypoint x="6511" z="4139" y="178">	</waypoint>
	<!-- #  7 --><waypoint x="6523" z="4075" y="190">	</waypoint>
	<!-- #  8 --><waypoint x="6565" z="3903" y="190">	</waypoint>
	<!-- #  9 --><waypoint x="6585" z="3823" y="174">	</waypoint>
	<!-- # 10 --><waypoint x="6645" z="3744" y="158">	</waypoint>
	<!-- # 11 --><waypoint x="6857" z="3651" y="158" >	</waypoint>
	<!-- # 12 --><waypoint x="6998" z="3506" y="176">	</waypoint>
	<!-- # 13 --><waypoint x="7089" z="3310" y="176">	</waypoint>
	<!-- # 14 --><waypoint x="7161" z="3187" y="176">	</waypoint>
	<!-- # 15 --><waypoint x="7279" z="3168" y="171">	</waypoint>
	<!-- # 16 --><waypoint x="7363" z="3203" y="168">	</waypoint>
	<!-- # 17 --><waypoint x="7332" z="3360" y="168">	</waypoint>
	<!-- # 18 --><waypoint x="7464" z="3395" y="168">	</waypoint>
	<!-- # 19 --><waypoint x="7493" z="3284" y="168">	</waypoint>
	<!-- # 20 --><waypoint x="7509" z="3173" y="168">	</waypoint>
	<!-- # 21 --><waypoint x="7587" z="3164" y="168">	</waypoint>
	<!-- # 22 --><waypoint x="7654" z="3132" y="168">	</waypoint>
	<!-- # 23 --><waypoint x="7661" z="3073" y="168">	</waypoint>
	<!-- # 24 --><waypoint x="7609" z="3063" y="168">	</waypoint>
	<!-- # 25 --><waypoint x="7549" z="3031" y="168">	</waypoint>
	<!-- # 26 --><waypoint x="7535" z="2975" y="168">	</waypoint>
	<!-- # 27 --><waypoint x="7553" z="2910" y="168">__WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 28 --><waypoint x="7568" z="2817" y="168" tag="pointofreturn">skipper()	</waypoint>
	<!-- # 29 --><waypoint x="7546" z="2674" y="168">	skipper()</waypoint>
	<!-- # 30 --><waypoint x="7568" z="2601" y="168">skipper()	</waypoint>
	<!-- # 31 --><waypoint x="7584" z="2532" y="168">skipper()	</waypoint>
	<!-- # 32 --><waypoint x="7594" z="2442" y="168">skipper()	</waypoint>
	<!-- # 33 --><waypoint x="7602" z="2377" y="168">	skipper()</waypoint>
	<!-- # 34 --><waypoint x="7609" z="2316" y="168">skipper()	</waypoint>
	<!-- # 35 --><waypoint x="7618" z="2241" y="168">skipper();	</waypoint>
	<!-- # 36 --><waypoint x="7627" z="2167" y="168">skipper();</waypoint>
	<!-- # 37 --><waypoint x="7646" z="2064" y="168">skipper();	</waypoint>
	<!-- # 38 --><waypoint x="7566" z="2029" y="168">skipper();	</waypoint>
	<!-- # 39 --><waypoint x="7479" z="2037" y="168">skipper();	</waypoint>
	<!-- # 40 --><waypoint x="7409" z="2053" y="165">skipper();</waypoint>
	<!-- # 41 --><waypoint x="7335" z="2073" y="162">skipper();	</waypoint>
	<!-- # 42 --><waypoint x="7272" z="2107" y="162">skipper();	</waypoint>
	<!-- # 43 --><waypoint x="7238" z="2142" y="162">skipper();	</waypoint>
	<!-- # 44 --><waypoint x="7171" z="2190" y="162">skipper();	</waypoint>
	<!-- # 45 --><waypoint x="7123" z="2206" y="162">skipper();</waypoint>
	<!-- # 46 --><waypoint x="7047" z="2211" y="162">skipper();	</waypoint>
	<!-- # 47 --><waypoint x="6979" z="2200" y="162">skipper();	</waypoint>
	<!-- # 48 --><waypoint x="6930" z="2184" y="162">skipper();	</waypoint>
	<!-- # 49 --><waypoint x="6916" z="2333" y="168">skipper();	</waypoint>
	<!-- # 50 --><waypoint x="6921" z="2390" y="168">skipper();</waypoint>
	<!-- # 51 --><waypoint x="6908" z="2437" y="168">skipper();</waypoint>
	<!-- # 52 --><waypoint x="6900" z="2476" y="168">skipper();	</waypoint>
	<!-- # 53 --><waypoint x="6944" z="2479" y="168">skipper();	</waypoint>
	<!-- # 54 --><waypoint x="6994" z="2523" y="168">skipper();</waypoint>
	<!-- # 55 --><waypoint x="7041" z="2541" y="168">skipper();	</waypoint>
	<!-- # 56 --><waypoint x="7093" z="2545" y="168">skipper();	</waypoint>
	<!-- # 57 --><waypoint x="7138" z="2547" y="168">skipper();	</waypoint>
	<!-- # 58 --><waypoint x="7188" z="2557" y="168">skipper();	</waypoint>
	<!-- # 59 --><waypoint x="7226" z="2565" y="168">skipper();	</waypoint>
	<!-- # 60 --><waypoint x="7263" z="2572" y="168">skipper();	</waypoint>
	<!-- # 61 --><waypoint x="7306" z="2584" y="168">skipper();	</waypoint>
	<!-- # 62 --><waypoint x="7344" z="2598" y="168">skipper();	</waypoint>
	<!-- # 63 --><waypoint x="7383" z="2613" y="168">skipper();	</waypoint>
	<!-- # 64 --><waypoint x="7467" z="2645" y="168">skipper();</waypoint>
	<!-- # 65 --><waypoint x="7500" z="2658" y="168">skipper();	</waypoint>
	<!-- # 66 --><waypoint x="7554" z="2678" y="168" tag="checkpoint">		
	__WPL:setForcedWaypointType("RUN")
	killstatus = getQuestStatus(killquest);
	if killstatus == "complete" then
		skipper();
	end
	
			__WPL:setWaypointIndex(__WPL:findWaypointTag("pointofreturn"));
	
	</waypoint>
</waypoints>

User avatar
nerf
Posts: 88
Joined: Thu Jan 27, 2011 10:44 am

Re: New Dailies in Xaveria

#55 Post by nerf » Sat Aug 06, 2011 5:19 pm

Germangold wrote:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
	local dailycomplete_ptr = 0x9CD1E0;
	local dailycomplete_offset = 0xACF4;
	
	function getDailyComplete()
		return memoryReadBytePtr(getProc(),dailycomplete_ptr,dailycomplete_offset);
	end
	
	function checkDQCount()
		local _tmpQC = getDailyComplete();
		cprintf(cli.lightblue,"%s quests completed.\n",tostring(_tmpQC));
		if (_tmpQC == 10) then
			cprintf(cli.lightblue,"Completed max number of daily quests, trying to use a daily reset card.\n");
			inventory:update();
			player:update();
			-- note #202434 is the daily reset card
  			 if inventory:itemTotalCount(202434) => 1 then
  				    inventory:useItem(202434);
  			else
   				    error("No Daily Reset Cards left!")
     			 	    player:sleep();
   			end
	 	end	
	end
		
	killquest = RoMScript("TEXT('Sys424181_name')"); yrest(500) -- ie. catch butterflys
	
	function skipper()
		killstatus = getQuestStatus(killquest);
			if killstatus == "complete" then
					keyboardPress(key.VK_F9); yrest(29000);
					-- kills yourself
					player = CPlayer.new();
					settings.load();	
					__WPL:setWaypointIndex(__WPL:findWaypointTag("npc")); 	 
				
				
			end
	end
	</onLoad>
	
	<!-- #  1 --><waypoint x="6426" z="5429" y="156" tag="npc">
		__WPL:setDirection(WPT_FORWARD);
		checkDQCount();
		player:target_NPC("Robbie Butcher");
		CompleteQuestByName(killquest);yrest(555); checkDQCount(); 
		AcceptQuestByName(killquest);yrest(555); 
		__WPL:setForcedWaypointType("NORMAL");
	</waypoint>
	<!-- #  2 --><waypoint x="6299" z="5152" y="168">	player:mount();
	__WPL:setForcedWaypointType("TRAVEL")</waypoint>
	<!-- #  3 --><waypoint x="6323" z="4935" y="168">	</waypoint>
	<!-- #  4 --><waypoint x="6419" z="4496" y="168">	</waypoint>
	<!-- #  5 --><waypoint x="6495" z="4219" y="168">	</waypoint>
	<!-- #  6 --><waypoint x="6511" z="4139" y="178">	</waypoint>
	<!-- #  7 --><waypoint x="6523" z="4075" y="190">	</waypoint>
	<!-- #  8 --><waypoint x="6565" z="3903" y="190">	</waypoint>
	<!-- #  9 --><waypoint x="6585" z="3823" y="174">	</waypoint>
	<!-- # 10 --><waypoint x="6645" z="3744" y="158">	</waypoint>
	<!-- # 11 --><waypoint x="6857" z="3651" y="158" >	</waypoint>
	<!-- # 12 --><waypoint x="6998" z="3506" y="176">	</waypoint>
	<!-- # 13 --><waypoint x="7089" z="3310" y="176">	</waypoint>
	<!-- # 14 --><waypoint x="7161" z="3187" y="176">	</waypoint>
	<!-- # 15 --><waypoint x="7279" z="3168" y="171">	</waypoint>
	<!-- # 16 --><waypoint x="7363" z="3203" y="168">	</waypoint>
	<!-- # 17 --><waypoint x="7332" z="3360" y="168">	</waypoint>
	<!-- # 18 --><waypoint x="7464" z="3395" y="168">	</waypoint>
	<!-- # 19 --><waypoint x="7493" z="3284" y="168">	</waypoint>
	<!-- # 20 --><waypoint x="7509" z="3173" y="168">	</waypoint>
	<!-- # 21 --><waypoint x="7587" z="3164" y="168">	</waypoint>
	<!-- # 22 --><waypoint x="7654" z="3132" y="168">	</waypoint>
	<!-- # 23 --><waypoint x="7661" z="3073" y="168">	</waypoint>
	<!-- # 24 --><waypoint x="7609" z="3063" y="168">	</waypoint>
	<!-- # 25 --><waypoint x="7549" z="3031" y="168">	</waypoint>
	<!-- # 26 --><waypoint x="7535" z="2975" y="168">	</waypoint>
	<!-- # 27 --><waypoint x="7553" z="2910" y="168">__WPL:setForcedWaypointType("NORMAL")	</waypoint>
	<!-- # 28 --><waypoint x="7568" z="2817" y="168" tag="pointofreturn">skipper()	</waypoint>
	<!-- # 29 --><waypoint x="7546" z="2674" y="168">	skipper()</waypoint>
	<!-- # 30 --><waypoint x="7568" z="2601" y="168">skipper()	</waypoint>
	<!-- # 31 --><waypoint x="7584" z="2532" y="168">skipper()	</waypoint>
	<!-- # 32 --><waypoint x="7594" z="2442" y="168">skipper()	</waypoint>
	<!-- # 33 --><waypoint x="7602" z="2377" y="168">	skipper()</waypoint>
	<!-- # 34 --><waypoint x="7609" z="2316" y="168">skipper()	</waypoint>
	<!-- # 35 --><waypoint x="7618" z="2241" y="168">skipper();	</waypoint>
	<!-- # 36 --><waypoint x="7627" z="2167" y="168">skipper();</waypoint>
	<!-- # 37 --><waypoint x="7646" z="2064" y="168">skipper();	</waypoint>
	<!-- # 38 --><waypoint x="7566" z="2029" y="168">skipper();	</waypoint>
	<!-- # 39 --><waypoint x="7479" z="2037" y="168">skipper();	</waypoint>
	<!-- # 40 --><waypoint x="7409" z="2053" y="165">skipper();</waypoint>
	<!-- # 41 --><waypoint x="7335" z="2073" y="162">skipper();	</waypoint>
	<!-- # 42 --><waypoint x="7272" z="2107" y="162">skipper();	</waypoint>
	<!-- # 43 --><waypoint x="7238" z="2142" y="162">skipper();	</waypoint>
	<!-- # 44 --><waypoint x="7171" z="2190" y="162">skipper();	</waypoint>
	<!-- # 45 --><waypoint x="7123" z="2206" y="162">skipper();</waypoint>
	<!-- # 46 --><waypoint x="7047" z="2211" y="162">skipper();	</waypoint>
	<!-- # 47 --><waypoint x="6979" z="2200" y="162">skipper();	</waypoint>
	<!-- # 48 --><waypoint x="6930" z="2184" y="162">skipper();	</waypoint>
	<!-- # 49 --><waypoint x="6916" z="2333" y="168">skipper();	</waypoint>
	<!-- # 50 --><waypoint x="6921" z="2390" y="168">skipper();</waypoint>
	<!-- # 51 --><waypoint x="6908" z="2437" y="168">skipper();</waypoint>
	<!-- # 52 --><waypoint x="6900" z="2476" y="168">skipper();	</waypoint>
	<!-- # 53 --><waypoint x="6944" z="2479" y="168">skipper();	</waypoint>
	<!-- # 54 --><waypoint x="6994" z="2523" y="168">skipper();</waypoint>
	<!-- # 55 --><waypoint x="7041" z="2541" y="168">skipper();	</waypoint>
	<!-- # 56 --><waypoint x="7093" z="2545" y="168">skipper();	</waypoint>
	<!-- # 57 --><waypoint x="7138" z="2547" y="168">skipper();	</waypoint>
	<!-- # 58 --><waypoint x="7188" z="2557" y="168">skipper();	</waypoint>
	<!-- # 59 --><waypoint x="7226" z="2565" y="168">skipper();	</waypoint>
	<!-- # 60 --><waypoint x="7263" z="2572" y="168">skipper();	</waypoint>
	<!-- # 61 --><waypoint x="7306" z="2584" y="168">skipper();	</waypoint>
	<!-- # 62 --><waypoint x="7344" z="2598" y="168">skipper();	</waypoint>
	<!-- # 63 --><waypoint x="7383" z="2613" y="168">skipper();	</waypoint>
	<!-- # 64 --><waypoint x="7467" z="2645" y="168">skipper();</waypoint>
	<!-- # 65 --><waypoint x="7500" z="2658" y="168">skipper();	</waypoint>
	<!-- # 66 --><waypoint x="7554" z="2678" y="168" tag="checkpoint">		
	__WPL:setForcedWaypointType("RUN")
	killstatus = getQuestStatus(killquest);
	if killstatus == "complete" then
		skipper();
	end
	
			__WPL:setWaypointIndex(__WPL:findWaypointTag("pointofreturn"));
	
	</waypoint>
</waypoints>

This code resets the daily quest after completing 10 missions?

Germangold
Posts: 276
Joined: Thu Oct 22, 2009 3:58 am

Re: New Dailies in Xaveria

#56 Post by Germangold » Sat Aug 06, 2011 7:59 pm

>.< try it
its my latest verison

User avatar
nerf
Posts: 88
Joined: Thu Jan 27, 2011 10:44 am

Re: New Dailies in Xaveria

#57 Post by nerf » Sun Aug 07, 2011 4:29 am

Germangold wrote:>.< try it
its my latest verison

I get this error: micromacro/scripts/rom/classes/waypointlist.lua:81: Failed to compile and run Lua code for waypointlist onLoad event.

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

Re: New Dailies in Xaveria

#58 Post by rock5 » Sun Aug 07, 2011 5:14 am

I feel like I've already said this, a bit of daja vu .... Should be '>=' not '=>'.

Also, I'm not sure if it will let you put a command directly after an "error" command. There's no point for putting a 'sleep' after it anyway. You would use one or the other.
  • 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
nerf
Posts: 88
Joined: Thu Jan 27, 2011 10:44 am

Re: New Dailies in Xaveria

#59 Post by nerf » Sun Aug 07, 2011 7:44 am

rock5 wrote:I feel like I've already said this, a bit of daja vu .... Should be '>=' not '=>'.
thanks !



I have another problem, when I use the next code, resets the daily quest completing only one mission, how could I do to restart the daily quest after completing 10 missions?

rock5 wrote:local reset = inventory:findItem(202434) -- "Daily Quest Ticket"
if reset then
reset:use()
else
-- Out of daily tickets
-- logout, end or goto sleep
end

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

Re: New Dailies in Xaveria

#60 Post by rock5 » Sun Aug 07, 2011 11:04 am

Just check the number of completed quests. The code for it has been posted numerous times.

Code: Select all

dailyQuestCount, dailyQuestsPerDay= RoMScript("Daily_count()")
It's possible that "dailyQuestCount" remains at 10 when reset but the "dailyQuestsPetDay" increments so you might have to use both.

Code: Select all

local dailyQuestCount, dailyQuestsPerDay = RoMScript("Daily_count()")
if dailyQuestsPerDay - dailyQuestCount == 0 then -- out of dailies
	local reset = inventory:findItem(202434) -- "Daily Quest Ticket"
	if reset then
		reset:use()
	else
		-- Out of daily tickets
		-- logout, end or goto sleep
	end
end
  • 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: Ahrefs [Bot] and 4 guests