Page 3 of 6

Re: New Dailies in Xaveria

Posted: Mon Jul 25, 2011 7:58 am
by rock5
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.

Re: New Dailies in Xaveria

Posted: Mon Jul 25, 2011 8:39 am
by lisa
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.

Re: New Dailies in Xaveria

Posted: Mon Jul 25, 2011 9:22 am
by bobdole
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.

Re: New Dailies in Xaveria

Posted: Mon Jul 25, 2011 9:27 am
by rock5
Well you could just execute the command with a RoMScript

Code: Select all

RoMScript("SetCameraPosition (0,0,1000000)")

Re: New Dailies in Xaveria

Posted: Mon Jul 25, 2011 3:24 pm
by Mushroomstamp
Has anyone else tested this? Camera zooms way out, but character doesn't die.

Re: New Dailies in Xaveria

Posted: Mon Jul 25, 2011 11:46 pm
by MiesterMan
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?

Re: New Dailies in Xaveria

Posted: Tue Jul 26, 2011 9:35 am
by jasn
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.

Re: New Dailies in Xaveria

Posted: Wed Jul 27, 2011 2:15 pm
by Germangold

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

Re: New Dailies in Xaveria

Posted: Wed Jul 27, 2011 6:09 pm
by Edamh
[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.

Re: New Dailies in Xaveria

Posted: Sat Jul 30, 2011 8:13 am
by Mushroomstamp
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?

Re: New Dailies in Xaveria

Posted: Sat Jul 30, 2011 9:30 am
by lisa
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);

Re: New Dailies in Xaveria

Posted: Sat Jul 30, 2011 12:48 pm
by Mushroomstamp
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.

Re: New Dailies in Xaveria

Posted: Sun Jul 31, 2011 9:47 am
by kanta
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.

Re: New Dailies in Xaveria

Posted: Tue Aug 02, 2011 8:13 am
by Germangold

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>

Re: New Dailies in Xaveria

Posted: Sat Aug 06, 2011 5:19 pm
by nerf
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?

Re: New Dailies in Xaveria

Posted: Sat Aug 06, 2011 7:59 pm
by Germangold
>.< try it
its my latest verison

Re: New Dailies in Xaveria

Posted: Sun Aug 07, 2011 4:29 am
by nerf
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.

Re: New Dailies in Xaveria

Posted: Sun Aug 07, 2011 5:14 am
by rock5
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.

Re: New Dailies in Xaveria

Posted: Sun Aug 07, 2011 7:44 am
by nerf
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

Re: New Dailies in Xaveria

Posted: Sun Aug 07, 2011 11:04 am
by rock5
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