Page 1 of 1

RES_AUTOMATIC_AFTER_DEATH - help please. :)

Posted: Tue Aug 11, 2009 9:29 am
by ginokid
Am I using the new auto ress script properly??

I put it in the <script> section. Here is the code I assume you ment to use?

Code: Select all

<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />

Re: RES_AUTOMATIC_AFTER_DEATH - help please. :)

Posted: Tue Aug 11, 2009 9:49 am
by d003232
ginokid wrote:Am I using the new auto ress script properly??

I put it in the <script> section. Here is the code I assume you ment to use?

Code: Select all

<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
I don't know, which <script> section you mean?

You have to put that to the options, like the other options within your used profile, e.g.:

Code: Select all

		<!-- Log out and resurrect settings -->
		<option name="LOGOUT_TIME" value="0" />
		<option name="LOGOUT_SHUTDOWN" value="false" />
		<option name="LOGOUT_WHEN_STUCK" value="true" />
		<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
Just take a look to the 'default.xml' profile to see how. And I suppose you allready have the actual SVN update?

Re: RES_AUTOMATIC_AFTER_DEATH - help please. :)

Posted: Tue Aug 11, 2009 3:36 pm
by ginokid
Yes, thank you.

Re: RES_AUTOMATIC_AFTER_DEATH - help please. :)

Posted: Tue Aug 11, 2009 6:00 pm
by ginokid
Hi DOO

I updated my files with SVN and remade my profile using the demo as a template. It still ask's to press delete to resume even if I remove

Code: Select all

<onDeath>
      -- Additional Lua code to execute on death
      pauseOnDeath(); -- Stop the script
   </onDeath>
Any idea's?
Here is my current profile.

Code: Select all

<profile>
	<options>
		<!-- Try the bot with a new char mage or priest         -->
		<!-- At the pioneer village. Use demo.xml waypoint file -->
		<option name="HP_LOW"        value="95" />
		<option name="MP_LOW_POTION" value="25" />
		<option name="HP_LOW_POTION" value="65" />
		<option name="POTION_COOLDOWN"    value="15" />

		<option name="COMBAT_TYPE"        value="melee" />	<!-- Choose ranged/melee if not using class default -->
		<option name="COMBAT_DISTANCE"    value="50" />
		<option name="ANTI_KS"            value="true" />
		<option name="WAYPOINTS"          value="new.xml" />
		<option name="RETURNPATH"         value="return.xml" />
		<option name="PATH_TYPE"          value="waypoints" />
		<option name="WANDER_RADIUS"      value="500" />
		<option name="WAYPOINT_DEVIATION" value="0" />
		<option name="LOOT"               value="true" />
		<option name="LOOT_IN_COMBAT"     value="true" />
		<option name="LOOT_DISTANCE"      value="100" />
		<option name="LOOT_PAUSE_AFTER"   value="10" />
		<option name="RES_AUTOMATIC_AFTER_DEATH" value="true" />
		<option name="MAX_FIGHT_TIME"     value="15" />
		<option name="DOT_PERCENT"        value="90" />


		<!-- Log out settings -->
		<option name="LOGOUT_TIME" value="0" />
		<option name="LOGOUT_SHUTDOWN" value="false" />
		<option name="LOGOUT_WHEN_STUCK" value="true" />

		<option name="QUICK_TURN" value="false" />
	</options>

	<friends>
		<friend name="MyOtherCharacter1" />
		<friend name="MyOtherCharacter2" />
	</friends>

	<hotkeys>
		<hotkey name="HP_POTION"    key="VK_8" />
		<hotkey name="MP_POTION"    key="VK_9" />
		<hotkey name="ATTACK"       key="VK_1" />
		<hotkey name="RES_MACRO"    key="VK_EQUAL" />
	
	</hotkeys>

	<!-- define your skills depending from your actual primary class -->
	<!-- see the example for a priest/mage respectively mage/priest  -->
	<!-- delete skills you don't have or don't want to use.          -->
	<!-- For more skills to use see /database/skills.xml             -->
	<!-- demo skills for LvL 1 character for all classes             -->
	
	 <skills>
        <skill name="WARRIOR_SLASH" hotkey="VK_2" priority="100" />
        <skill name="WARRIOR_PROBING_ATTACK" hotkey="VK_3" priority="75" />
        <skill name="PRIEST_REGENERATE" hotkey="VK_7" priority="100" />
        <skill name="WARRIOR_TACTICAL_ATTACK" hotkey="VK_4" priority="20" />
        <skill name="WARRIOR_SURVIVAL_INSTINCT" hotkey="VK_6" priority="30" />
        <skill name="WARRIOR_OPEN_FLANK" hotkey="VK_5" priority="100" />
        <skill name="PRIEST_HOLY_AURA" hotkey="VK_0" priority="109" inbattle="true" hpper="15" />
        <skill name="WARRIOR_AGGRESSIVENESS" hotkey="VK_MINUS" priority="80" />
        </skills>
	

	
	<onLeaveCombat>
		-- Additional Lua code to execute after killing an enemy
	</onLeaveCombat>

	<onSkillCast>
		-- Additional Lua code to execute when casting a skill
		-- Note: arg1 contains the skill being used.
		-- i.e. arg1.Name will be the name of the skill being cast.
	</onSkillCast>
</profile>

Re: RES_AUTOMATIC_AFTER_DEATH - help please. :)

Posted: Tue Aug 11, 2009 6:03 pm
by d003232
ginokid wrote:Hi DOO

I updated my files with SVN and remade my profile using the demo as a template. It still ask's to press delete to resume even if I remove

Code: Select all

<onDeath>
      -- Additional Lua code to execute on death
      pauseOnDeath(); -- Stop the script
   </onDeath>
Any idea's?
Are you sure you have the SVN from today? Check that. AFter that post your MM protocol after resurrection.