Page 1 of 1

death macro

Posted: Wed Sep 12, 2012 1:47 am
by kuripot
i try to use death macro.... and i use this

Code: Select all

	function quest()
	   local queststate = getQuestStatus("Catch Butterflies")
	   if queststate == "complete" then
		SlashCommand("run ReturnPet(1)");
		yrest(500)
		SlashCommand("run RotateCamera(999,999,999,999)");
		yrest(10000)
		__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))
	   end
	end
or i will use

Code: Select all

waitForLoadingScreen()
than?

Code: Select all

yrest(10000)
and my question is.... how can i removed the timer after resurrect cos it is time consuming





Died. Resurrecting player...
We will try to resurrect in 10 seconds.
Try to use the ingame resurrect macro ...
Player address changed: 0x2977CD00
Ranged skill found: PRIEST_ICE_BLADE
Maximum range of range attack skills is less than COMBAT_DISTANCE 225. Reducing
COMBAT_DISTANCE setting to 200.
You have died 8 times from the maximum 999 deaths/automatic resurrections.
Returning to waypoints.
Resting for 15 seconds.
Use MACRO: PRIEST_EMBRACE_OF_TH=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_AMPLIFIED_ATT=> <UNKNOWN> (1000/1000)
Use MACRO: PRIEST_GRACE_OF_LIFE=> <UNKNOWN> (19245/19245)
Use MACRO: PRIEST_MAGIC_BARRIER=> <UNKNOWN> (19245/19245)
Use MACRO: PRIEST_AMPLIFIED_ATT=> <UNKNOWN> (19488/19488)
Use MACRO: PRIEST_MAGIC_BARRIER=> <UNKNOWN> (19488/19488)
Use MACRO: PRIEST_MAGIC_BARRIER=> <UNKNOWN> (19488/19488)
Use MACRO: PRIEST_MAGIC_BARRIER=> <UNKNOWN> (19488/19488)
Resting finished after 15 seconds.
Resting for 10 seconds.
Resting finished after 10 seconds.
You have not defined a return path! We will use the normal waypoint file 'butter
flykill.xml' instead.
Using normal waypoint file 'butterflykill.xml' after resurrection.
Clearing target.
Moving to waypoint #59, (6327, 5133)

Re: death macro

Posted: Wed Sep 12, 2012 6:57 am
by gloover
the timer comes because you dont force the revive after your suicide - the the bot accepting this as a usual death.

use this script - this is more effective and you dont have this revivel timer:

Code: Select all

			RoMScript("SetCameraPosition (0,0,1000000)");
			repeat
				yrest(800)
				player:update()
			until not player.Alive
			RoMScript("BrithRevive();");
			waitForLoadingScreen(3)
			player:checkSkills(true);
			__WPL:setWaypointIndex(__WPL:findWaypointTag("start"))