The main problem I'm having now is when my character dies the bot "pauses". How do I make it respawn and keep botting after death?
I made sure I have the following things in my profile, I have the resurrect hot key macro in my bar and the key is set properly & I have the return "TRAVEL" waypoint xml also.
Code: Select all
1) Returning after death:
When your character dies, it may optionally resurrect and return to botting. In order to do this, you must set:
* A return path in profile options
* A resurrection macro in profile hotkeys
If you haven't already, set up a macro (type /macro in the game's chat). Your macro should contain this code:
Code:
/wait 1
/script AcceptResurrect();
Code: Select all
2) Waypoint scripting specifics:
You are able to customize your waypoints a bit more by editing them by hand. This allows you to set per-waypoint instructions and scripts.
type
This allows you to set the type of waypoint this is. Currently, only the following types are accepted:
NORMAL : A normal waypoint; attack anything in the way.
TRAVEL : Walk directly to the waypoint; do not target and attack unless provoked.
Example: <waypoint x="1234" z="5678" type="TRAVEL"></waypoint>
Code: Select all
<profile>
<options>
<option name="HP_LOW" value="50" />
<option name="HP_LOW_POTION" value="50" />
<option name="MP_LOW_POTION" value="50" />
<option name="COMBAT_TYPE" value="melee" />
<option name="COMBAT_DISTANCE" value="200" />
<option name="ANTI_KS" value="false" />
<option name="WAYPOINTS" value="new.xml" />
<option name="RETURNPATH" value="return.xml" />
<option name="PATH_TYPE" value="waypoints" />
<option name="WANDER_RADIUS" value="80" />
<option name="WAYPOINT_DEVIATION" value="50" />
<option name="LOOT" value="true" />
<option name="LOOT_TIME" value="2000" />
<option name="LOOT_DISTANCE" value="100" />
<option name="ENERGY_STORAGE_1" value="rage" />
<option name="ENERGY_STORAGE_2" value="energy" />
<option name="POTION_COOLDOWN" value="15" />
<option name="MAX_FIGHT_TIME" value="30" />
<option name="DOT_PERCENT" value="90" />
</options>
<friends>
<friend name="friendsname1" />
<friend name="friendsname2" />
<friend name="friendsname3" />
<friend name="friendsname4" />
<friend name="friendsname5" />
<friend name="friendsname6" />
</friends>
<hotkeys>
<hotkey name="HP_POTION" key="VK_7" />
<hotkey name="MP_POTION" key="VK_MINUS" />
<hotkey name="ATTACK" key="VK_1" />
<hotkey name="RES_MACRO" key="VK_EQUAL" />
</hotkeys>
<skills>
<skill name="WARRIOR_SLASH" hotkey="VK_2" priority="100" />
<skill name="WARRIOR_TACTICAL_ATTACK" hotkey="VK_3" priority="75" />
<skill name="WARRIOR_THUNDERING" hotkey="VK_4" priority="50" />
<skill name="WARRIOR_FRENZY" hotkey="VK_5" priority="25" />
<skill name="WARRIOR_ENRAGED" hotkey="VK_6" priority="20" />
</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>